Function at 0x416ea0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8ddb
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x4f52c0]
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, 0x4c8a90
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], esi
call fcn.004022e0
mov byte [ebp - 4], 6
mov eax, dword [ebp + 0xc]
cmp dword [eax - 4], 1
mov dword [ebp - 0x64], esi
jle 0x416f2e
mov edx, dword [eax - 0xc]
push edx
lea eax, [ebp + 0xc]
push eax
call fcn.00401de0
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 0x416f40
sub ecx, edi
sar ecx, 1
push ecx
lea ecx, [ebp - 0x2c]
call fcn.004022e0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2c]
lea ebx, [ebp - 0x54]
call fcn.0040cda0
test al, al
mov edi, 8
sete byte [ebp - 0x49]
mov byte [ebp - 4], 6
cmp dword [ebp - 0x18], edi
jb 0x416f86
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00499080
add esp, 4
xor ebx, ebx
cmp byte [ebp - 0x49], bl
je 0x416fe8
cmp dword [ebp - 0x34], edi
jb 0x416f9e
mov eax, dword [ebp - 0x48]
push eax
call fcn.00499080
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 0x416fc1
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 0x416fd4
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 0x4176b2
jmp 0x4176aa
mov ecx, dword [ebp - 0x54]
xor eax, eax
mov dword [ebp - 0x60], eax
cmp ecx, ebx
je 0x417006
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 0x4170c0
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 0x4be7fc
push esi
mov dword [ebp - 0x74], esi
call eax
mov eax, dword [ebp - 0x5c]
cmp eax, ebx
jne 0x4170fd
cmp dword [ebp - 0x34], edi
jb 0x41704d
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00499080
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 0x417073
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 0x417089
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 0x417099
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 0x4176c7
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x4176c4
cmp dword [ebp - 0x34], edi
jb 0x4170d1
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00499080
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 0x416fc1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x416fc1
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 0x41711d
push 0x8007000e
call fcn.00402be0
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 0x41716a
lea esi, [ebp - 0x48]
call fcn.0041ac10
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x50]
cmp eax, ebx
je 0x41715e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x58]
jmp 0x417684
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 0x417630
mov ecx, dword [ebp - 0x68]
add ecx, 0x28
mov dword [ebp - 0x68], ecx
jmp 0x417190
lea esi, [ebp - 0xa4]
call fcn.00417710
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, 0x4c9d34
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x78], bl
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
call fcn.004022e0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
push ecx
mov ecx, dword [ebp - 0x50]
lea edi, [ebp - 0x64]
call fcn.0040d2d0
mov byte [ebp - 4], 9
cmp dword [ebp - 0x18], 8
mov byte [ebp - 0x49], al
jb 0x417201
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00499080
add esp, 4
cmp byte [ebp - 0x49], bl
je 0x41720f
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xa4], 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.004022e0
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x50]
push edx
lea edx, [ebp - 0x48]
call fcn.0040d210
mov edi, 8
mov byte [ebp - 4], 9
mov byte [ebp - 0x49], al
cmp dword [ebp - 0x18], edi
jb 0x41725a
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00499080
add esp, 4
cmp byte [ebp - 0x49], bl
je 0x41727a
mov edx, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x41726a
lea edx, [ebp - 0x48]
lea edi, [ebp - 0xa0]
call fcn.00401d00
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.004022e0
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x50]
push edx
lea edx, [ebp - 0x48]
call fcn.0040d210
mov byte [ebp - 4], 9
mov byte [ebp - 0x49], al
cmp dword [ebp - 0x18], edi
jb 0x4172c0
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00499080
add esp, 4
cmp byte [ebp - 0x49], bl
je 0x4172e0
mov edx, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x4172d0
lea edx, [ebp - 0x48]
lea edi, [ebp - 0x9c]
call fcn.00401d00
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.004022e0
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x50]
push edx
lea edx, [ebp - 0x48]
call fcn.0040d210
mov byte [ebp - 4], 9
mov byte [ebp - 0x49], al
cmp dword [ebp - 0x18], edi
jb 0x417326
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00499080
add esp, 4
cmp byte [ebp - 0x49], bl
je 0x417346
mov edx, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x417336
lea edx, [ebp - 0x48]
lea edi, [ebp - 0x98]
call fcn.00401d00
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.004022e0
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x50]
push edx
lea edx, [ebp - 0x48]
call fcn.0040d210
mov byte [ebp - 4], 9
mov byte [ebp - 0x49], al
cmp dword [ebp - 0x18], edi
jb 0x41738c
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00499080
add esp, 4
cmp byte [ebp - 0x49], bl
je 0x4173ac
mov edx, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x41739c
lea edx, [ebp - 0x48]
lea edi, [ebp - 0x94]
call fcn.00401d00
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.004022e0
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x50]
push edx
lea edx, [ebp - 0x48]
call fcn.0040d210
mov byte [ebp - 4], 9
mov byte [ebp - 0x49], al
cmp dword [ebp - 0x18], edi
jb 0x4173f2
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00499080
add esp, 4
cmp byte [ebp - 0x49], bl
je 0x417412
mov edx, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x417402
lea edx, [ebp - 0x48]
lea edi, [ebp - 0x90]
call fcn.00401d00
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.004022e0
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x50]
push edx
lea edx, [ebp - 0x48]
call fcn.0040d210
mov byte [ebp - 4], 9
mov byte [ebp - 0x49], al
cmp dword [ebp - 0x18], edi
jb 0x417458
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00499080
add esp, 4
cmp byte [ebp - 0x49], bl
je 0x417478
mov edx, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x417468
lea edx, [ebp - 0x48]
lea edi, [ebp - 0x8c]
call fcn.00401d00
mov edi, 8
xor ecx, ecx
mov word [ebp - 0x2c], cx
push 0xf
mov eax, str.homepageurl_ext
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
call fcn.004022e0
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x50]
push edx
lea edx, [ebp - 0x48]
call fcn.0040d210
mov byte [ebp - 4], 9
mov byte [ebp - 0x49], al
cmp dword [ebp - 0x18], edi
jb 0x4174be
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00499080
add esp, 4
cmp byte [ebp - 0x49], bl
je 0x4174d9
mov edx, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x4174ce
lea edx, [ebp - 0x48]
lea edi, [ebp - 0x88]
call fcn.00401d00
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.004022e0
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x50]
push edx
lea edi, [ebp - 0x64]
call fcn.0040d2d0
mov byte [ebp - 4], 9
cmp dword [ebp - 0x18], 8
mov byte [ebp - 0x49], al
jb 0x417520
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00499080
add esp, 4
cmp byte [ebp - 0x49], bl
je 0x41752e
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.004022e0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x50]
push eax
lea edi, [ebp - 0x64]
call fcn.0040d2d0
mov byte [ebp - 4], 9
cmp dword [ebp - 0x18], 8
mov byte [ebp - 0x49], al
jb 0x417575
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00499080
add esp, 4
cmp byte [ebp - 0x49], bl
je 0x417580
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.004022e0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x14
push ecx
mov ecx, dword [ebp - 0x50]
lea edx, [ebp - 0x48]
call fcn.0040d210
mov edi, 8
mov byte [ebp - 4], 9
mov byte [ebp - 0x49], al
cmp dword [ebp - 0x18], edi
jb 0x4175cb
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00499080
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 0x4175ef
mov edx, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x4175e7
lea edx, [ebp - 0x48]
lea edi, [ebp - 0x7c]
call fcn.00401d00
mov ecx, dword [ebp - 0x68]
lea edi, [ebp - 0xa4]
call fcn.0041a5f0
mov eax, dword [ebp - 0x50]
cmp eax, ebx
je 0x41760f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x50], ebx
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 6
call fcn.004177c0
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp eax, dword [ebp - 0x6c]
jl 0x417190
jmp 0x417635
mov esi, 7
mov eax, dword [ebp - 0x58]
cmp eax, ebx
je 0x417649
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 0x41765e
mov eax, dword [ebp - 0x48]
push eax
call fcn.00499080
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 0x417680
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 0x417690
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 0x4176a3
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 0x4176c7
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 0x4176ed
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.0049908b
mov esp, ebp
pop ebp
ret 8