Function at 0x4c1430
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f8203
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x59c
mov eax, dword [0x530790]
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.004ccbe0
add esp, 0xc
mov dword [ebp - 0x14], 0x410
push SysReAllocString
push 0x50a714
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x460]
push edx
push 0x50a730
push 0x50a734
call fcn.004c5660
add esp, 0x18
movzx eax, al
test eax, eax
je 0x4c14ba
cmp dword [ebp - 0x14], 0
jne 0x4c14c1
xor al, al
jmp 0x4c173c
mov ecx, dword [ebp - 0x14]
sub ecx, 1
push ecx
lea edx, [ebp - 0x460]
push edx
lea ecx, [ebp - 0x50]
call fcn.00411400
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
push ecx
call fcn.004c0aa0
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.0040b0b0
movzx edx, al
test edx, edx
je 0x4c1530
mov byte [ebp - 0x509], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00403550
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00403550
mov al, byte [ebp - 0x509]
jmp 0x4c173c
mov byte [ebp - 0x461], 0
mov byte [ebp - 4], 2
push 0
lea ecx, [ebp - 0x478]
call fcn.00401b80
mov dword [ebp - 0x584], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x508]
call fcn.00409080
mov dword [ebp - 0x588], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x34]
call fcn.00403570
mov dword [ebp - 0x58c], eax
mov eax, dword [ebp - 0x58c]
push eax
lea ecx, [ebp - 0x528]
call fcn.00403480
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.00409120
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.00403550
movzx ecx, byte [ebp - 0x50a]
test ecx, ecx
je 0x4c16db
push str.account
lea edx, [ebp - 0x478]
push edx
lea eax, [ebp - 0x544]
push eax
call fcn.004c7010
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.00407ba0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x544]
call fcn.00403550
push str.country_code
lea eax, [ebp - 0x478]
push eax
lea ecx, [ebp - 0x560]
push ecx
call fcn.004c7010
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.00407ba0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x560]
call fcn.00403550
push str.token
lea ecx, [ebp - 0x478]
push ecx
lea edx, [ebp - 0x57c]
push edx
call fcn.004c7010
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.00407ba0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x57c]
call fcn.00403550
mov byte [ebp - 0x461], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x508]
call fcn.0040af80
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x478]
call fcn.00402130
jmp 0x4c1708
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.00403550
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00403550
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.004cd040
mov esp, ebp
pop ebp
ret