Function at 0x41ab90
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aaa4b
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x4e42d0]
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, 0x4ba358
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], esi
call fcn.004030c0
mov byte [ebp - 4], 6
mov eax, dword [ebp + 0xc]
cmp dword [eax - 4], 1
mov dword [ebp - 0x64], esi
jle 0x41ac1e
mov edx, dword [eax - 0xc]
push edx
lea eax, [ebp + 0xc]
push eax
call fcn.00402bc0
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 0x41ac30
sub ecx, edi
sar ecx, 1
push ecx
lea ecx, [ebp - 0x2c]
call fcn.004030c0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2c]
lea ebx, [ebp - 0x54]
call fcn.004113e0
test al, al
mov edi, 8
sete byte [ebp - 0x49]
mov byte [ebp - 4], 6
cmp dword [ebp - 0x18], edi
jb 0x41ac76
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0048f6c0
add esp, 4
xor ebx, ebx
cmp byte [ebp - 0x49], bl
je 0x41acd8
cmp dword [ebp - 0x34], edi
jb 0x41ac8e
mov eax, dword [ebp - 0x48]
push eax
call fcn.0048f6c0
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 0x41acb1
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 0x41acc4
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 0x41b3a2
jmp 0x41b39a
mov ecx, dword [ebp - 0x54]
xor eax, eax
mov dword [ebp - 0x60], eax
cmp ecx, ebx
je 0x41acf6
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 0x41adb0
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 0x4b083c
push esi
mov dword [ebp - 0x74], esi
call eax
mov eax, dword [ebp - 0x5c]
cmp eax, ebx
jne 0x41aded
cmp dword [ebp - 0x34], edi
jb 0x41ad3d
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0048f6c0
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 0x41ad63
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 0x41ad79
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 0x41ad89
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 0x41b3b7
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x41b3b4
cmp dword [ebp - 0x34], edi
jb 0x41adc1
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0048f6c0
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 0x41acb1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x41acb1
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 0x41ae0d
push 0x8007000e
call fcn.004035c0
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 0x41ae5a
lea esi, [ebp - 0x48]
call fcn.0041ec50
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x50]
cmp eax, ebx
je 0x41ae4e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x58]
jmp 0x41b374
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 0x41b320
mov ecx, dword [ebp - 0x68]
add ecx, 0x28
mov dword [ebp - 0x68], ecx
jmp 0x41ae80
lea esi, [ebp - 0xa4]
call fcn.0041b400
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, 0x4bbcf8
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x78], bl
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
call fcn.004030c0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
push ecx
mov ecx, dword [ebp - 0x50]
lea edi, [ebp - 0x64]
call fcn.004118e0
mov byte [ebp - 4], 9
cmp dword [ebp - 0x18], 8
mov byte [ebp - 0x49], al
jb 0x41aef1
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0048f6c0
add esp, 4
cmp byte [ebp - 0x49], bl
je 0x41aeff
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.004030c0
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x50]
push edx
lea edx, [ebp - 0x48]
call fcn.00411820
mov edi, 8
mov byte [ebp - 4], 9
mov byte [ebp - 0x49], al
cmp dword [ebp - 0x18], edi
jb 0x41af4a
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0048f6c0
add esp, 4
cmp byte [ebp - 0x49], bl
je 0x41af6a
mov edx, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x41af5a
lea edx, [ebp - 0x48]
lea edi, [ebp - 0xa0]
call fcn.00402ae0
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.004030c0
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x50]
push edx
lea edx, [ebp - 0x48]
call fcn.00411820
mov byte [ebp - 4], 9
mov byte [ebp - 0x49], al
cmp dword [ebp - 0x18], edi
jb 0x41afb0
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0048f6c0
add esp, 4
cmp byte [ebp - 0x49], bl
je 0x41afd0
mov edx, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x41afc0
lea edx, [ebp - 0x48]
lea edi, [ebp - 0x9c]
call fcn.00402ae0
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.004030c0
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x50]
push edx
lea edx, [ebp - 0x48]
call fcn.00411820
mov byte [ebp - 4], 9
mov byte [ebp - 0x49], al
cmp dword [ebp - 0x18], edi
jb 0x41b016
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0048f6c0
add esp, 4
cmp byte [ebp - 0x49], bl
je 0x41b036
mov edx, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x41b026
lea edx, [ebp - 0x48]
lea edi, [ebp - 0x98]
call fcn.00402ae0
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.004030c0
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x50]
push edx
lea edx, [ebp - 0x48]
call fcn.00411820
mov byte [ebp - 4], 9
mov byte [ebp - 0x49], al
cmp dword [ebp - 0x18], edi
jb 0x41b07c
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0048f6c0
add esp, 4
cmp byte [ebp - 0x49], bl
je 0x41b09c
mov edx, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x41b08c
lea edx, [ebp - 0x48]
lea edi, [ebp - 0x94]
call fcn.00402ae0
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.004030c0
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x50]
push edx
lea edx, [ebp - 0x48]
call fcn.00411820
mov byte [ebp - 4], 9
mov byte [ebp - 0x49], al
cmp dword [ebp - 0x18], edi
jb 0x41b0e2
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0048f6c0
add esp, 4
cmp byte [ebp - 0x49], bl
je 0x41b102
mov edx, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x41b0f2
lea edx, [ebp - 0x48]
lea edi, [ebp - 0x90]
call fcn.00402ae0
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.004030c0
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x50]
push edx
lea edx, [ebp - 0x48]
call fcn.00411820
mov byte [ebp - 4], 9
mov byte [ebp - 0x49], al
cmp dword [ebp - 0x18], edi
jb 0x41b148
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0048f6c0
add esp, 4
cmp byte [ebp - 0x49], bl
je 0x41b168
mov edx, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x41b158
lea edx, [ebp - 0x48]
lea edi, [ebp - 0x8c]
call fcn.00402ae0
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.004030c0
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x50]
push edx
lea edx, [ebp - 0x48]
call fcn.00411820
mov byte [ebp - 4], 9
mov byte [ebp - 0x49], al
cmp dword [ebp - 0x18], edi
jb 0x41b1ae
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0048f6c0
add esp, 4
cmp byte [ebp - 0x49], bl
je 0x41b1c9
mov edx, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x41b1be
lea edx, [ebp - 0x48]
lea edi, [ebp - 0x88]
call fcn.00402ae0
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.004030c0
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x50]
push edx
lea edi, [ebp - 0x64]
call fcn.004118e0
mov byte [ebp - 4], 9
cmp dword [ebp - 0x18], 8
mov byte [ebp - 0x49], al
jb 0x41b210
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0048f6c0
add esp, 4
cmp byte [ebp - 0x49], bl
je 0x41b21e
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.004030c0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x50]
push eax
lea edi, [ebp - 0x64]
call fcn.004118e0
mov byte [ebp - 4], 9
cmp dword [ebp - 0x18], 8
mov byte [ebp - 0x49], al
jb 0x41b265
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0048f6c0
add esp, 4
cmp byte [ebp - 0x49], bl
je 0x41b270
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.004030c0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x14
push ecx
mov ecx, dword [ebp - 0x50]
lea edx, [ebp - 0x48]
call fcn.00411820
mov edi, 8
mov byte [ebp - 4], 9
mov byte [ebp - 0x49], al
cmp dword [ebp - 0x18], edi
jb 0x41b2bb
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0048f6c0
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 0x41b2df
mov edx, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x41b2d7
lea edx, [ebp - 0x48]
lea edi, [ebp - 0x7c]
call fcn.00402ae0
mov ecx, dword [ebp - 0x68]
lea edi, [ebp - 0xa4]
call fcn.0041e4e0
mov eax, dword [ebp - 0x50]
cmp eax, ebx
je 0x41b2ff
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.0041b4b0
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp eax, dword [ebp - 0x6c]
jl 0x41ae80
jmp 0x41b325
mov esi, 7
mov eax, dword [ebp - 0x58]
cmp eax, ebx
je 0x41b339
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 0x41b34e
mov eax, dword [ebp - 0x48]
push eax
call fcn.0048f6c0
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 0x41b370
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 0x41b380
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 0x41b393
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 0x41b3b7
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 0x41b3dd
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.0048f6cb
mov esp, ebp
pop ebp
ret 8