Function at 0x4c6788
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.00405bac
mov eax, dword [ebp + 0x10]
call fcn.00405bac
mov eax, dword [ebp + 0xc]
call fcn.00405bac
xor eax, eax
push ebp
push 0x4c6a31
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 4]
call fcn.0040b9d8
mov edx, dword [ebp - 0x50]
mov eax, 0x4c6a50
call fcn.00406670
dec eax
jne 0x4c6824
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4bc6c4]
call fcn.004bcbf4
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x4910d8]
call fcn.004a3688
mov edx, eax
mov ebx, dword [ebp - 0xc]
mov eax, ebx
call fcn.004c5b58
mov eax, ebx
call fcn.004c5b4c
call fcn.004a7a78
jmp 0x4c6835
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4bb7d4]
call fcn.004bcbf4
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4c69f5
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp + 0xc], 0
je 0x4c6894
mov eax, dword [ebp - 0xc]
add eax, 0x90
mov edx, dword [ebp + 0xc]
call fcn.00405bc4
lea edx, [ebp - 0x54]
mov eax, dword [ebp + 8]
call fcn.0040c428
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0xc]
add eax, 0x94
call fcn.00405bc4
mov eax, dword [ebp - 0xc]
add eax, 0xa8
xor edx, edx
call fcn.00405bc4
mov eax, dword [ebp - 0xc]
add eax, 0xac
xor edx, edx
call fcn.00405bc4
jmp 0x4c68f3
cmp dword [0x4fa820], 0
je 0x4c68f3
mov eax, dword [ebp - 0xc]
add eax, 0x90
mov edx, dword [0x4fa820]
call fcn.00405bc4
lea edx, [ebp - 0x58]
mov eax, dword [0x4fa824]
call fcn.0040c428
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0xc]
add eax, 0x94
call fcn.00405bc4
mov eax, dword [ebp - 0xc]
add eax, 0xa8
mov edx, dword [0x4fa828]
call fcn.00405bc4
mov eax, dword [ebp - 0xc]
add eax, 0xac
mov edx, dword [0x4fa82c]
call fcn.00405bc4
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x40
call fcn.00403638
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.00405dac
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x40
call fcn.00403638
push 0x20
lea eax, [ebp - 0x4c]
push eax
push 0x5a
push 0x400
call sub.kernel32.dll_GetLocaleInfoW_1
push dword [ebp - 8]
push 0x4c6a70
lea eax, [ebp - 0x5c]
lea edx, [ebp - 0x4c]
mov ecx, 0x20
call fcn.00405dac
push dword [ebp - 0x5c]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00406164
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.00405bc4
cmp dword [ebp + 0x10], 0
je 0x4c699c
mov eax, dword [ebp - 0xc]
add eax, 0x114
mov edx, dword [ebp + 0x10]
call fcn.00405bc4
mov eax, dword [ebp - 0xc]
add eax, 0xec
mov edx, dword [ebp - 4]
call fcn.00405bc4
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x188], esi
xor eax, eax
push ebp
push 0x4c69d5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.004c5238
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c69df
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c69fc
mov eax, dword [ebp - 0xc]
call fcn.00403d70
ret