Function at 0x405440
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x44c5c8
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.00404480
mov esi, eax
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0x28], esi
je 0x40547a
mov eax, dword [esi]
push esi
call dword [eax + 4]
cmp esi, ebx
mov dword [esp + 0x34], ebx
je 0x405814
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 0x4054b9
mov eax, dword [esp + 0xc]
cmp eax, ebx
mov byte [esp + 0x34], 0
je 0x4054b1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [esi]
push esi
jmp 0x405809
push edi
call fcn.004414a2
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov ecx, dword [0x4655dc]
xor eax, eax
mov ax, word [0x46311c]
mov byte [esp + 0x38], 2
push eax
push 0xae
push ecx
lea ecx, [esp + 0x28]
call fcn.00405060
push 4
push str._...
lea ecx, [esp + 0x24]
call fcn.00405130
mov edx, dword [esp + 0x1c]
push edx
lea ecx, [esp + 0x18]
call fcn.00401820
push 0x44faf0
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c], 3
call fcn.004018b0
mov ecx, dword [0x4655c8]
mov edi, dword [esp + 0x24]
cmp ecx, edi
mov byte [esp + 0x38], 4
je 0x40556d
cmp ecx, ebx
je 0x405554
cmp edi, ebx
je 0x40554c
push edi
call fcn.004015c0
cmp eax, ebx
je 0x40556d
mov ecx, dword [0x4655c8]
cmp ecx, ebx
je 0x405554
mov ecx, dword [ecx]
jmp 0x405556
xor ecx, ecx
mov eax, dword [esp + 0x10]
push ecx
push 0x44fe48
push eax
push ebp
call fcn.00404920
mov esi, dword [esp + 0x14]
jmp 0x40558c
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x405579
mov eax, dword [esi]
jmp 0x40557b
xor eax, eax
mov ecx, dword [esp + 0x10]
push eax
push 0x44fe48
push ecx
push ebp
call fcn.00404920
mov ecx, dword [0x4655c0]
cmp ecx, edi
je 0x4055d0
cmp ecx, ebx
je 0x4055c1
cmp edi, ebx
je 0x4055ae
push edi
call fcn.004015c0
cmp eax, ebx
je 0x4055d0
mov ecx, dword [0x4655c0]
cmp ecx, ebx
je 0x4055c1
mov ecx, dword [ecx]
mov edx, dword [esp + 0x10]
push ecx
push 0x44fe34
push edx
jmp 0x4055e5
mov edx, dword [esp + 0x10]
xor ecx, ecx
push ecx
push 0x44fe34
push edx
jmp 0x4055e5
cmp esi, ebx
je 0x4055d8
mov eax, dword [esi]
jmp 0x4055da
xor eax, eax
push eax
mov eax, dword [esp + 0x14]
push 0x44fe34
push eax
push ebp
call fcn.00404920
mov ecx, dword [0x4655c4]
cmp ecx, edi
je 0x40562f
cmp ecx, ebx
je 0x405620
cmp edi, ebx
je 0x40560d
push edi
call fcn.004015c0
cmp eax, ebx
je 0x40562f
mov ecx, dword [0x4655c4]
cmp ecx, ebx
je 0x405620
mov ecx, dword [ecx]
push ecx
mov ecx, dword [esp + 0x14]
push 0x44fe24
push ecx
jmp 0x405644
xor ecx, ecx
push ecx
mov ecx, dword [esp + 0x14]
push 0x44fe24
push ecx
jmp 0x405644
cmp esi, ebx
je 0x405637
mov eax, dword [esi]
jmp 0x405639
xor eax, eax
mov edx, dword [esp + 0x10]
push eax
push 0x44fe24
push edx
push ebp
call fcn.00404920
mov ecx, dword [0x4655cc]
cmp ecx, edi
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
je 0x405826
test ecx, ecx
je 0x405688
test edi, edi
je 0x405680
push edi
call fcn.004015c0
test eax, eax
je 0x405826
mov ecx, dword [0x4655cc]
test ecx, ecx
je 0x405688
mov ecx, dword [ecx]
jmp 0x40568a
xor ecx, ecx
push ecx
lea ecx, [esp + 0x24]
call fcn.00405310
push str._BR_
push 0x44fe18
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], 5
call fcn.00404de0
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x2c]
call fcn.00401820
mov esi, dword [esp + 0x28]
test esi, esi
mov byte [esp + 0x38], 6
je 0x4056cb
mov eax, dword [esi]
jmp 0x4056cd
xor eax, eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
push eax
push str.Products
push ecx
push edx
call fcn.00404920
test esi, esi
je 0x405712
lea eax, [esi + 8]
push eax
call ebp
test eax, eax
jne 0x405712
mov eax, dword [esi]
test eax, eax
je 0x4056f9
push eax
call ebx
mov eax, dword [esi + 4]
test eax, eax
je 0x405709
push eax
call fcn.00441359
add esp, 4
push esi
call fcn.00441359
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 0x405735
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.00404720
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
push str.inline
push str.divResults
push ecx
push edx
call fcn.00404720
test edi, edi
je 0x40579b
lea eax, [edi + 8]
push eax
call ebp
test eax, eax
jne 0x40579b
mov eax, dword [edi]
test eax, eax
je 0x405782
push eax
call ebx
mov eax, dword [edi + 4]
test eax, eax
je 0x405792
push eax
call fcn.00441359
add esp, 4
push edi
call fcn.00441359
add esp, 4
test esi, esi
pop edi
je 0x4057cc
lea ecx, [esi + 8]
push ecx
call ebp
test eax, eax
jne 0x4057cc
mov eax, dword [esi]
test eax, eax
je 0x4057b3
push eax
call ebx
mov eax, dword [esi + 4]
test eax, eax
je 0x4057c3
push eax
call fcn.00441359
add esp, 4
push esi
call fcn.00441359
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 0x4057ef
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 0x405802
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 0x40582e
mov eax, dword [esi]
jmp 0x405830
xor eax, eax
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x14]
push str.Products
push eax
push ecx
call fcn.00404920
jmp 0x405739