Function at 0x4695e0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x508ba3
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x5512c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x68], eax
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x50], esi
mov byte [ebp - 4], 5
xor ecx, ecx
mov word [ebp - 0x48], cx
mov ebx, 7
push esi
mov eax, 0x5191b4
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], esi
call fcn.00459a30
mov byte [ebp - 4], 6
mov eax, dword [ebp + 0xc]
cmp dword [eax - 4], 1
mov dword [ebp - 0x64], esi
jle 0x46966e
mov edx, dword [eax - 0xc]
push edx
lea eax, [ebp + 0xc]
push eax
call fcn.00459540
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov word [ebp - 0x2c], cx
mov ecx, eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], esi
lea edi, [ecx + 2]
nop
mov dx, word [ecx]
add ecx, 2
cmp dx, si
jne 0x469680
sub ecx, edi
sar ecx, 1
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00459a30
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2c]
lea ebx, [ebp - 0x54]
call fcn.0045f510
test al, al
mov edi, 8
sete byte [ebp - 0x49]
mov byte [ebp - 4], 6
cmp dword [ebp - 0x18], edi
jb 0x4696c6
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004e4321
add esp, 4
xor ebx, ebx
cmp byte [ebp - 0x49], bl
je 0x469728
cmp dword [ebp - 0x34], edi
jb 0x4696de
mov eax, dword [ebp - 0x48]
push eax
call fcn.004e4321
add esp, 4
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x50]
xor ecx, ecx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
cmp eax, ebx
je 0x469701
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x58]
cmp eax, ebx
je 0x469714
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x5c]
cmp eax, ebx
je 0x469d8c
jmp 0x469d84
mov ecx, dword [ebp - 0x54]
xor eax, eax
mov dword [ebp - 0x60], eax
cmp ecx, ebx
je 0x469746
mov edx, dword [ecx]
lea eax, [ebp - 0x60]
push eax
push ecx
mov ecx, dword [edx + 0xb4]
call ecx
mov eax, dword [ebp - 0x60]
mov esi, eax
mov dword [ebp - 0x70], esi
cmp eax, ebx
je 0x469800
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esi]
mov eax, dword [ecx]
lea edx, [ebp - 0x5c]
push edx
push 0x50e89c
push esi
mov dword [ebp - 0x74], esi
call eax
mov eax, dword [ebp - 0x5c]
cmp eax, ebx
jne 0x46983d
cmp dword [ebp - 0x34], edi
jb 0x46978d
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004e4321
mov eax, dword [ebp - 0x5c]
add esp, 4
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x50]
xor edx, edx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
cmp ecx, ebx
je 0x4697b3
mov eax, dword [ecx]
push ecx
mov ecx, dword [eax + 8]
call ecx
mov eax, dword [ebp - 0x5c]
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x58]
cmp ecx, ebx
je 0x4697c9
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push ecx
call eax
mov eax, dword [ebp - 0x5c]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x4697d9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 1
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x54]
cmp eax, ebx
je 0x469da1
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x469d9e
cmp dword [ebp - 0x34], edi
jb 0x469811
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004e4321
add esp, 4
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x50]
xor edx, edx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
cmp eax, ebx
je 0x469701
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x469701
push str._root_node
mov edi, eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x60], esi
cmp esi, ebx
jne 0x46985d
push 0x8007000e
call fcn.0045a310
lea edx, [ebp - 0x58]
push edx
mov byte [ebp - 4], 8
mov ecx, dword [edi]
mov eax, dword [ecx + 0x90]
push esi
push edi
call eax
push esi
mov byte [ebp - 4], 6
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x58]
cmp eax, ebx
jne 0x4698aa
lea esi, [ebp - 0x48]
call fcn.0046d280
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x50]
cmp eax, ebx
je 0x46989e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x58]
jmp 0x469d5e
mov ecx, dword [eax]
lea edx, [ebp - 0x6c]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
mov dword [ebp - 0x60], ebx
cmp dword [ebp - 0x6c], ebx
jle 0x469d0a
mov ecx, dword [ebp - 0x68]
add ecx, 0x28
mov dword [ebp - 0x68], ecx
jmp 0x4698d0
lea esi, [ebp - 0xa0]
call fcn.00469df0
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x58]
mov edx, dword [eax]
mov edx, dword [edx + 0x1c]
lea ecx, [ebp - 0x50]
push ecx
mov ecx, dword [ebp - 0x60]
push ecx
push eax
call edx
xor eax, eax
mov word [ebp - 0x2c], ax
mov esi, 7
push 2
mov eax, 0x51d6d4
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x78], bl
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
call fcn.00459a30
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
push ecx
mov ecx, dword [ebp - 0x50]
lea edi, [ebp - 0x64]
call fcn.0045fa10
mov byte [ebp - 4], 9
cmp dword [ebp - 0x18], 8
mov byte [ebp - 0x49], al
jb 0x469941
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004e4321
add esp, 4
cmp byte [ebp - 0x49], bl
je 0x46994f
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xa0], eax
xor ecx, ecx
mov word [ebp - 0x2c], cx
push 4
mov eax, str.name
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
call fcn.00459a30
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x50]
push edx
lea edx, [ebp - 0x48]
call fcn.0045f950
mov edi, 8
mov byte [ebp - 4], 9
mov byte [ebp - 0x49], al
cmp dword [ebp - 0x18], edi
jb 0x46999a
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004e4321
add esp, 4
cmp byte [ebp - 0x49], bl
je 0x4699ba
mov edx, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x4699aa
lea edx, [ebp - 0x48]
lea edi, [ebp - 0x9c]
call fcn.00459460
mov edi, 8
xor ecx, ecx
mov word [ebp - 0x2c], cx
push 4
mov eax, str.type
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
call fcn.00459a30
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x50]
push edx
lea edx, [ebp - 0x48]
call fcn.0045f950
mov byte [ebp - 4], 9
mov byte [ebp - 0x49], al
cmp dword [ebp - 0x18], edi
jb 0x469a00
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004e4321
add esp, 4
cmp byte [ebp - 0x49], bl
je 0x469a20
mov edx, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x469a10
lea edx, [ebp - 0x48]
lea edi, [ebp - 0x98]
call fcn.00459460
mov edi, 8
xor ecx, ecx
mov word [ebp - 0x2c], cx
push 6
mov eax, str.remark
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
call fcn.00459a30
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x50]
push edx
lea edx, [ebp - 0x48]
call fcn.0045f950
mov byte [ebp - 4], 9
mov byte [ebp - 0x49], al
cmp dword [ebp - 0x18], edi
jb 0x469a66
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004e4321
add esp, 4
cmp byte [ebp - 0x49], bl
je 0x469a86
mov edx, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x469a76
lea edx, [ebp - 0x48]
lea edi, [ebp - 0x94]
call fcn.00459460
mov edi, 8
xor ecx, ecx
mov word [ebp - 0x2c], cx
push 0xa
mov eax, str.regeditkey
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
call fcn.00459a30
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x50]
push edx
lea edx, [ebp - 0x48]
call fcn.0045f950
mov byte [ebp - 4], 9
mov byte [ebp - 0x49], al
cmp dword [ebp - 0x18], edi
jb 0x469acc
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004e4321
add esp, 4
cmp byte [ebp - 0x49], bl
je 0x469aec
mov edx, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x469adc
lea edx, [ebp - 0x48]
lea edi, [ebp - 0x90]
call fcn.00459460
mov edi, 8
xor ecx, ecx
mov word [ebp - 0x2c], cx
push 0xb
mov eax, str.regeditpath
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
call fcn.00459a30
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x50]
push edx
lea edx, [ebp - 0x48]
call fcn.0045f950
mov byte [ebp - 4], 9
mov byte [ebp - 0x49], al
cmp dword [ebp - 0x18], edi
jb 0x469b32
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004e4321
add esp, 4
cmp byte [ebp - 0x49], bl
je 0x469b52
mov edx, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x469b42
lea edx, [ebp - 0x48]
lea edi, [ebp - 0x8c]
call fcn.00459460
mov edi, 8
xor ecx, ecx
mov word [ebp - 0x2c], cx
push 0xb
mov eax, str.homepageurl
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
call fcn.00459a30
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x50]
push edx
lea edx, [ebp - 0x48]
call fcn.0045f950
mov byte [ebp - 4], 9
mov byte [ebp - 0x49], al
cmp dword [ebp - 0x18], edi
jb 0x469b98
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004e4321
add esp, 4
cmp byte [ebp - 0x49], bl
je 0x469bb3
mov edx, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x469ba8
lea edx, [ebp - 0x48]
lea edi, [ebp - 0x88]
call fcn.00459460
xor ecx, ecx
mov word [ebp - 0x2c], cx
push 8
mov eax, str.priority
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
call fcn.00459a30
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x50]
push edx
lea edi, [ebp - 0x64]
call fcn.0045fa10
mov byte [ebp - 4], 9
cmp dword [ebp - 0x18], 8
mov byte [ebp - 0x49], al
jb 0x469bfa
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004e4321
add esp, 4
cmp byte [ebp - 0x49], bl
je 0x469c08
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x84], ecx
xor edx, edx
push 8
mov eax, str.position
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
call fcn.00459a30
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x50]
push eax
lea edi, [ebp - 0x64]
call fcn.0045fa10
mov byte [ebp - 4], 9
cmp dword [ebp - 0x18], 8
mov byte [ebp - 0x49], al
jb 0x469c4f
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004e4321
add esp, 4
cmp byte [ebp - 0x49], bl
je 0x469c5a
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x80], edx
xor eax, eax
mov word [ebp - 0x2c], ax
push 6
mov eax, str.cityid
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
call fcn.00459a30
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x13
push ecx
mov ecx, dword [ebp - 0x50]
lea edx, [ebp - 0x48]
call fcn.0045f950
mov edi, 8
mov byte [ebp - 4], 9
mov byte [ebp - 0x49], al
cmp dword [ebp - 0x18], edi
jb 0x469ca5
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004e4321
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
cmp byte [ebp - 0x49], bl
je 0x469cc9
mov edx, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x469cc1
lea edx, [ebp - 0x48]
lea edi, [ebp - 0x7c]
call fcn.00459460
mov ecx, dword [ebp - 0x68]
lea edi, [ebp - 0xa0]
call fcn.0046cc10
mov eax, dword [ebp - 0x50]
cmp eax, ebx
je 0x469ce9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x50], ebx
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 6
call fcn.00469e90
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp eax, dword [ebp - 0x6c]
jl 0x4698d0
jmp 0x469d0f
mov esi, 7
mov eax, dword [ebp - 0x58]
cmp eax, ebx
je 0x469d23
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x34], 8
jb 0x469d38
mov eax, dword [ebp - 0x48]
push eax
call fcn.004e4321
mov eax, dword [ebp - 0x58]
add esp, 4
xor ecx, ecx
mov word [ebp - 0x48], cx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
cmp ecx, ebx
je 0x469d5a
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push ecx
call eax
mov eax, dword [ebp - 0x58]
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x469d6a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x5c]
cmp eax, ebx
je 0x469d7d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x70]
mov byte [ebp - 4], 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x54]
cmp eax, ebx
je 0x469da1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x469dc7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e3e00
mov esp, ebp
pop ebp
ret 8