Function at 0x405400
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x44cec8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov ebp, ecx
push 1
mov dword [esp + 0x18], ebp
call fcn.00404440
mov esi, eax
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0x28], esi
je 0x40543a
mov eax, dword [esi]
push esi
call dword [eax + 4]
cmp esi, ebx
mov dword [esp + 0x34], ebx
je 0x4057d4
mov dword [esp + 0xc], ebx
mov ecx, dword [esi]
lea edx, [esp + 0xc]
push edx
push esi
mov byte [esp + 0x3c], 1
call dword [ecx + 0x20]
cmp eax, ebx
jge 0x405479
mov eax, dword [esp + 0xc]
cmp eax, ebx
mov byte [esp + 0x34], 0
je 0x405471
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [esi]
push esi
jmp 0x4057c9
push edi
call fcn.00441da2
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov ecx, dword [0x46669c]
xor eax, eax
mov ax, word [0x46411c]
mov byte [esp + 0x38], 2
push eax
push 0xae
push ecx
lea ecx, [esp + 0x28]
call fcn.00405020
push 4
push str._...
lea ecx, [esp + 0x24]
call fcn.004050f0
mov edx, dword [esp + 0x1c]
push edx
lea ecx, [esp + 0x18]
call fcn.00401810
push 0x450ad0
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c], 3
call fcn.004018a0
mov ecx, dword [0x466688]
mov edi, dword [esp + 0x24]
cmp ecx, edi
mov byte [esp + 0x38], 4
je 0x40552d
cmp ecx, ebx
je 0x405514
cmp edi, ebx
je 0x40550c
push edi
call fcn.004015b0
cmp eax, ebx
je 0x40552d
mov ecx, dword [0x466688]
cmp ecx, ebx
je 0x405514
mov ecx, dword [ecx]
jmp 0x405516
xor ecx, ecx
mov eax, dword [esp + 0x10]
push ecx
push 0x450e28
push eax
push ebp
call fcn.004048e0
mov esi, dword [esp + 0x14]
jmp 0x40554c
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x405539
mov eax, dword [esi]
jmp 0x40553b
xor eax, eax
mov ecx, dword [esp + 0x10]
push eax
push 0x450e28
push ecx
push ebp
call fcn.004048e0
mov ecx, dword [0x466680]
cmp ecx, edi
je 0x405590
cmp ecx, ebx
je 0x405581
cmp edi, ebx
je 0x40556e
push edi
call fcn.004015b0
cmp eax, ebx
je 0x405590
mov ecx, dword [0x466680]
cmp ecx, ebx
je 0x405581
mov ecx, dword [ecx]
mov edx, dword [esp + 0x10]
push ecx
push 0x450e14
push edx
jmp 0x4055a5
mov edx, dword [esp + 0x10]
xor ecx, ecx
push ecx
push 0x450e14
push edx
jmp 0x4055a5
cmp esi, ebx
je 0x405598
mov eax, dword [esi]
jmp 0x40559a
xor eax, eax
push eax
mov eax, dword [esp + 0x14]
push 0x450e14
push eax
push ebp
call fcn.004048e0
mov ecx, dword [0x466684]
cmp ecx, edi
je 0x4055ef
cmp ecx, ebx
je 0x4055e0
cmp edi, ebx
je 0x4055cd
push edi
call fcn.004015b0
cmp eax, ebx
je 0x4055ef
mov ecx, dword [0x466684]
cmp ecx, ebx
je 0x4055e0
mov ecx, dword [ecx]
push ecx
mov ecx, dword [esp + 0x14]
push 0x450e04
push ecx
jmp 0x405604
xor ecx, ecx
push ecx
mov ecx, dword [esp + 0x14]
push 0x450e04
push ecx
jmp 0x405604
cmp esi, ebx
je 0x4055f7
mov eax, dword [esi]
jmp 0x4055f9
xor eax, eax
mov edx, dword [esp + 0x10]
push eax
push 0x450e04
push edx
push ebp
call fcn.004048e0
mov ecx, dword [0x46668c]
cmp ecx, edi
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
je 0x4057e6
test ecx, ecx
je 0x405648
test edi, edi
je 0x405640
push edi
call fcn.004015b0
test eax, eax
je 0x4057e6
mov ecx, dword [0x46668c]
test ecx, ecx
je 0x405648
mov ecx, dword [ecx]
jmp 0x40564a
xor ecx, ecx
push ecx
lea ecx, [esp + 0x24]
call fcn.004052d0
push str._BR_
push 0x450df8
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], 5
call fcn.00404da0
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x2c]
call fcn.00401810
mov esi, dword [esp + 0x28]
test esi, esi
mov byte [esp + 0x38], 6
je 0x40568b
mov eax, dword [esi]
jmp 0x40568d
xor eax, eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
push eax
push str.Products
push ecx
push edx
call fcn.004048e0
test esi, esi
je 0x4056d2
lea eax, [esi + 8]
push eax
call ebp
test eax, eax
jne 0x4056d2
mov eax, dword [esi]
test eax, eax
je 0x4056b9
push eax
call ebx
mov eax, dword [esi + 4]
test eax, eax
je 0x4056c9
push eax
call fcn.00441c59
add esp, 4
push esi
call fcn.00441c59
add esp, 4
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x38], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4056f5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
push str.none
push str.divStatus
push edx
push eax
call fcn.004046e0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
push str.inline
push str.divResults
push ecx
push edx
call fcn.004046e0
test edi, edi
je 0x40575b
lea eax, [edi + 8]
push eax
call ebp
test eax, eax
jne 0x40575b
mov eax, dword [edi]
test eax, eax
je 0x405742
push eax
call ebx
mov eax, dword [edi + 4]
test eax, eax
je 0x405752
push eax
call fcn.00441c59
add esp, 4
push edi
call fcn.00441c59
add esp, 4
test esi, esi
pop edi
je 0x40578c
lea ecx, [esi + 8]
push ecx
call ebp
test eax, eax
jne 0x40578c
mov eax, dword [esi]
test eax, eax
je 0x405773
push eax
call ebx
mov eax, dword [esi + 4]
test eax, eax
je 0x405783
push eax
call fcn.00441c59
add esp, 4
push esi
call fcn.00441c59
add esp, 4
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x34], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4057af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xc]
test eax, eax
mov byte [esp + 0x34], 0
je 0x4057c2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
push eax
mov dword [esp + 0x38], 0xffffffff
call dword [edx + 8]
mov ecx, dword [esp + 0x2c]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret
test esi, esi
je 0x4057ee
mov eax, dword [esi]
jmp 0x4057f0
xor eax, eax
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x14]
push str.Products
push eax
push ecx
call fcn.004048e0
jmp 0x4056f9