Function at 0x43f180
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58dc73
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x59c
mov eax, dword [0x5f4964]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov byte [ebp - 0x460], 0
push 0x40f
push 0
lea eax, [ebp - 0x45f]
push eax
call fcn.0056b960
add esp, 0xc
mov dword [ebp - 0x14], 0x410
push SysReAllocStringLen
push 0x5a595c
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x460]
push edx
push 0x5a5978
push 0x5a597c
call fcn.004433b0
add esp, 0x18
movzx eax, al
test eax, eax
je 0x43f20a
cmp dword [ebp - 0x14], 0
jne 0x43f211
xor al, al
jmp 0x43f48c
mov ecx, dword [ebp - 0x14]
sub ecx, 1
push ecx
lea edx, [ebp - 0x460]
push edx
lea ecx, [ebp - 0x50]
call fcn.0040c9a0
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
push ecx
call fcn.0043e7f0
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.0040a0e0
movzx edx, al
test edx, edx
je 0x43f280
mov byte [ebp - 0x509], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00403540
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00403540
mov al, byte [ebp - 0x509]
jmp 0x43f48c
mov byte [ebp - 0x461], 0
mov byte [ebp - 4], 2
push 0
lea ecx, [ebp - 0x478]
call fcn.00401b70
mov dword [ebp - 0x584], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x508]
call fcn.0040f670
mov dword [ebp - 0x588], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x34]
call fcn.00403560
mov dword [ebp - 0x58c], eax
mov eax, dword [ebp - 0x58c]
push eax
lea ecx, [ebp - 0x528]
call fcn.00403470
mov dword [ebp - 0x590], eax
mov byte [ebp - 4], 5
push 1
lea ecx, [ebp - 0x478]
push ecx
lea edx, [ebp - 0x528]
push edx
lea ecx, [ebp - 0x508]
call fcn.0040f710
mov byte [ebp - 0x591], al
movzx eax, byte [ebp - 0x591]
sub eax, 1
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x50a], al
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x528]
call fcn.00403540
movzx ecx, byte [ebp - 0x50a]
test ecx, ecx
je 0x43f42b
push str.account
lea edx, [ebp - 0x478]
push edx
lea eax, [ebp - 0x544]
push eax
call fcn.004ae040
add esp, 0xc
mov dword [ebp - 0x598], eax
mov ecx, dword [ebp - 0x598]
mov dword [ebp - 0x59c], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x59c]
push edx
mov ecx, dword [ebp + 8]
call fcn.00407cd0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x544]
call fcn.00403540
push str.country_code
lea eax, [ebp - 0x478]
push eax
lea ecx, [ebp - 0x560]
push ecx
call fcn.004ae040
add esp, 0xc
mov dword [ebp - 0x5a0], eax
mov edx, dword [ebp - 0x5a0]
mov dword [ebp - 0x5a4], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x5a4]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00407cd0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x560]
call fcn.00403540
push str.token
lea ecx, [ebp - 0x478]
push ecx
lea edx, [ebp - 0x57c]
push edx
call fcn.004ae040
add esp, 0xc
mov dword [ebp - 0x5a8], eax
mov eax, dword [ebp - 0x5a8]
mov dword [ebp - 0x5ac], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x5ac]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.00407cd0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x57c]
call fcn.00403540
mov byte [ebp - 0x461], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x508]
call fcn.00411570
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x478]
call fcn.00402120
jmp 0x43f458
mov dword [ebp - 4], 1
mov dl, byte [ebp - 0x461]
mov byte [ebp - 0x57d], dl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00403540
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00403540
mov al, byte [ebp - 0x57d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0056ab51
mov esp, ebp
pop ebp
ret