Function at 0x4c58a0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 8], ebx
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405bcc
mov eax, dword [ebp + 0x10]
call fcn.00405bcc
mov eax, dword [ebp + 0xc]
call fcn.00405bcc
xor eax, eax
push ebp
push 0x4c5b49
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 4]
call fcn.0040b914
mov edx, dword [ebp - 0x50]
mov eax, 0x4c5b68
call fcn.00406690
dec eax
jne 0x4c593c
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4bb7dc]
call fcn.004bbd0c
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x490220]
call fcn.004a27ac
mov edx, eax
mov ebx, dword [ebp - 0xc]
mov eax, ebx
call fcn.004c4c70
mov eax, ebx
call fcn.004c4c64
call fcn.004a6b9c
jmp 0x4c594d
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4ba8ec]
call fcn.004bbd0c
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4c5b0d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp + 0xc], 0
je 0x4c59ac
mov eax, dword [ebp - 0xc]
add eax, 0x90
mov edx, dword [ebp + 0xc]
call fcn.00405be4
lea edx, [ebp - 0x54]
mov eax, dword [ebp + 8]
call fcn.0040c364
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0xc]
add eax, 0x94
call fcn.00405be4
mov eax, dword [ebp - 0xc]
add eax, 0xa8
xor edx, edx
call fcn.00405be4
mov eax, dword [ebp - 0xc]
add eax, 0xac
xor edx, edx
call fcn.00405be4
jmp 0x4c5a0b
cmp dword [0x4f1830], 0
je 0x4c5a0b
mov eax, dword [ebp - 0xc]
add eax, 0x90
mov edx, dword [0x4f1830]
call fcn.00405be4
lea edx, [ebp - 0x58]
mov eax, dword [0x4f1834]
call fcn.0040c364
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0xc]
add eax, 0x94
call fcn.00405be4
mov eax, dword [ebp - 0xc]
add eax, 0xa8
mov edx, dword [0x4f1838]
call fcn.00405be4
mov eax, dword [ebp - 0xc]
add eax, 0xac
mov edx, dword [0x4f183c]
call fcn.00405be4
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x40
call fcn.004035d8
push 0x20
lea eax, [ebp - 0x4c]
push eax
push 0x59
push 0x400
call sub.kernel32.dll_GetLocaleInfoW_1
lea eax, [ebp - 8]
lea edx, [ebp - 0x4c]
mov ecx, 0x20
call fcn.00405dcc
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x40
call fcn.004035d8
push 0x20
lea eax, [ebp - 0x4c]
push eax
push 0x5a
push 0x400
call sub.kernel32.dll_GetLocaleInfoW_1
push dword [ebp - 8]
push 0x4c5b88
lea eax, [ebp - 0x5c]
lea edx, [ebp - 0x4c]
mov ecx, 0x20
call fcn.00405dcc
push dword [ebp - 0x5c]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00406184
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x37c], edi
mov eax, dword [ebp - 0xc]
add eax, 0x118
mov edx, dword [ebp - 8]
call fcn.00405be4
cmp dword [ebp + 0x10], 0
je 0x4c5ab4
mov eax, dword [ebp - 0xc]
add eax, 0x114
mov edx, dword [ebp + 0x10]
call fcn.00405be4
mov eax, dword [ebp - 0xc]
add eax, 0xec
mov edx, dword [ebp - 4]
call fcn.00405be4
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x188], esi
xor eax, eax
push ebp
push 0x4c5aed
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.004c4350
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c5af7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c5b14
mov eax, dword [ebp - 0xc]
call fcn.00403d10
ret