Function at 0x41a360
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ac50b
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x4e52d0]
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, 0x4bb300
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], esi
call fcn.004026c0
mov byte [ebp - 4], 6
mov eax, dword [ebp + 0xc]
cmp dword [eax - 4], 1
mov dword [ebp - 0x64], esi
jle 0x41a3ee
mov edx, dword [eax - 0xc]
push edx
lea eax, [ebp + 0xc]
push eax
call fcn.004021c0
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 0x41a400
sub ecx, edi
sar ecx, 1
push ecx
lea ecx, [ebp - 0x2c]
call fcn.004026c0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2c]
lea ebx, [ebp - 0x54]
call fcn.00410a50
test al, al
mov edi, 8
sete byte [ebp - 0x49]
mov byte [ebp - 4], 6
cmp dword [ebp - 0x18], edi
jb 0x41a446
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004912d0
add esp, 4
xor ebx, ebx
cmp byte [ebp - 0x49], bl
je 0x41a4a8
cmp dword [ebp - 0x34], edi
jb 0x41a45e
mov eax, dword [ebp - 0x48]
push eax
call fcn.004912d0
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 0x41a481
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 0x41a494
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 0x41ab72
jmp 0x41ab6a
mov ecx, dword [ebp - 0x54]
xor eax, eax
mov dword [ebp - 0x60], eax
cmp ecx, ebx
je 0x41a4c6
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 0x41a580
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 0x4b17dc
push esi
mov dword [ebp - 0x74], esi
call eax
mov eax, dword [ebp - 0x5c]
cmp eax, ebx
jne 0x41a5bd
cmp dword [ebp - 0x34], edi
jb 0x41a50d
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004912d0
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 0x41a533
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 0x41a549
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 0x41a559
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 0x41ab87
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x41ab84
cmp dword [ebp - 0x34], edi
jb 0x41a591
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004912d0
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 0x41a481
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x41a481
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 0x41a5dd
push 0x8007000e
call fcn.00402bc0
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 0x41a62a
lea esi, [ebp - 0x48]
call fcn.0041e220
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x50]
cmp eax, ebx
je 0x41a61e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x58]
jmp 0x41ab44
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 0x41aaf0
mov ecx, dword [ebp - 0x68]
add ecx, 0x28
mov dword [ebp - 0x68], ecx
jmp 0x41a650
lea esi, [ebp - 0xa4]
call fcn.0041abd0
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, 0x4bca4c
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x78], bl
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
call fcn.004026c0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
push ecx
mov ecx, dword [ebp - 0x50]
lea edi, [ebp - 0x64]
call fcn.00410f50
mov byte [ebp - 4], 9
cmp dword [ebp - 0x18], 8
mov byte [ebp - 0x49], al
jb 0x41a6c1
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004912d0
add esp, 4
cmp byte [ebp - 0x49], bl
je 0x41a6cf
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.004026c0
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x50]
push edx
lea edx, [ebp - 0x48]
call fcn.00410e90
mov edi, 8
mov byte [ebp - 4], 9
mov byte [ebp - 0x49], al
cmp dword [ebp - 0x18], edi
jb 0x41a71a
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004912d0
add esp, 4
cmp byte [ebp - 0x49], bl
je 0x41a73a
mov edx, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x41a72a
lea edx, [ebp - 0x48]
lea edi, [ebp - 0xa0]
call fcn.004020e0
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.004026c0
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x50]
push edx
lea edx, [ebp - 0x48]
call fcn.00410e90
mov byte [ebp - 4], 9
mov byte [ebp - 0x49], al
cmp dword [ebp - 0x18], edi
jb 0x41a780
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004912d0
add esp, 4
cmp byte [ebp - 0x49], bl
je 0x41a7a0
mov edx, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x41a790
lea edx, [ebp - 0x48]
lea edi, [ebp - 0x9c]
call fcn.004020e0
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.004026c0
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x50]
push edx
lea edx, [ebp - 0x48]
call fcn.00410e90
mov byte [ebp - 4], 9
mov byte [ebp - 0x49], al
cmp dword [ebp - 0x18], edi
jb 0x41a7e6
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004912d0
add esp, 4
cmp byte [ebp - 0x49], bl
je 0x41a806
mov edx, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x41a7f6
lea edx, [ebp - 0x48]
lea edi, [ebp - 0x98]
call fcn.004020e0
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.004026c0
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x50]
push edx
lea edx, [ebp - 0x48]
call fcn.00410e90
mov byte [ebp - 4], 9
mov byte [ebp - 0x49], al
cmp dword [ebp - 0x18], edi
jb 0x41a84c
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004912d0
add esp, 4
cmp byte [ebp - 0x49], bl
je 0x41a86c
mov edx, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x41a85c
lea edx, [ebp - 0x48]
lea edi, [ebp - 0x94]
call fcn.004020e0
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.004026c0
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x50]
push edx
lea edx, [ebp - 0x48]
call fcn.00410e90
mov byte [ebp - 4], 9
mov byte [ebp - 0x49], al
cmp dword [ebp - 0x18], edi
jb 0x41a8b2
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004912d0
add esp, 4
cmp byte [ebp - 0x49], bl
je 0x41a8d2
mov edx, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x41a8c2
lea edx, [ebp - 0x48]
lea edi, [ebp - 0x90]
call fcn.004020e0
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.004026c0
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x50]
push edx
lea edx, [ebp - 0x48]
call fcn.00410e90
mov byte [ebp - 4], 9
mov byte [ebp - 0x49], al
cmp dword [ebp - 0x18], edi
jb 0x41a918
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004912d0
add esp, 4
cmp byte [ebp - 0x49], bl
je 0x41a938
mov edx, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x41a928
lea edx, [ebp - 0x48]
lea edi, [ebp - 0x8c]
call fcn.004020e0
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.004026c0
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x50]
push edx
lea edx, [ebp - 0x48]
call fcn.00410e90
mov byte [ebp - 4], 9
mov byte [ebp - 0x49], al
cmp dword [ebp - 0x18], edi
jb 0x41a97e
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004912d0
add esp, 4
cmp byte [ebp - 0x49], bl
je 0x41a999
mov edx, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x41a98e
lea edx, [ebp - 0x48]
lea edi, [ebp - 0x88]
call fcn.004020e0
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.004026c0
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x50]
push edx
lea edi, [ebp - 0x64]
call fcn.00410f50
mov byte [ebp - 4], 9
cmp dword [ebp - 0x18], 8
mov byte [ebp - 0x49], al
jb 0x41a9e0
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004912d0
add esp, 4
cmp byte [ebp - 0x49], bl
je 0x41a9ee
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.004026c0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x50]
push eax
lea edi, [ebp - 0x64]
call fcn.00410f50
mov byte [ebp - 4], 9
cmp dword [ebp - 0x18], 8
mov byte [ebp - 0x49], al
jb 0x41aa35
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004912d0
add esp, 4
cmp byte [ebp - 0x49], bl
je 0x41aa40
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.004026c0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x14
push ecx
mov ecx, dword [ebp - 0x50]
lea edx, [ebp - 0x48]
call fcn.00410e90
mov edi, 8
mov byte [ebp - 4], 9
mov byte [ebp - 0x49], al
cmp dword [ebp - 0x18], edi
jb 0x41aa8b
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004912d0
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 0x41aaaf
mov edx, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x41aaa7
lea edx, [ebp - 0x48]
lea edi, [ebp - 0x7c]
call fcn.004020e0
mov ecx, dword [ebp - 0x68]
lea edi, [ebp - 0xa4]
call fcn.0041dab0
mov eax, dword [ebp - 0x50]
cmp eax, ebx
je 0x41aacf
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.0041ac80
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp eax, dword [ebp - 0x6c]
jl 0x41a650
jmp 0x41aaf5
mov esi, 7
mov eax, dword [ebp - 0x58]
cmp eax, ebx
je 0x41ab09
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 0x41ab1e
mov eax, dword [ebp - 0x48]
push eax
call fcn.004912d0
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 0x41ab40
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 0x41ab50
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 0x41ab63
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 0x41ab87
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 0x41abad
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.004912db
mov esp, ebp
pop ebp
ret 8