Function at 0x531198
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.00406264
mov eax, dword [ebp + 0x10]
call fcn.00406264
mov eax, dword [ebp + 0xc]
call fcn.00406264
xor eax, eax
push ebp
push 0x531441
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 4]
call fcn.0040c79c
mov edx, dword [ebp - 0x50]
mov eax, 0x531460
call fcn.00406d40
dec eax
jne 0x531234
xor ecx, ecx
mov dl, 1
mov eax, dword [0x516498]
call fcn.005169c8
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x4eaedc]
call fcn.004fd468
mov edx, eax
mov ebx, dword [ebp - 0xc]
mov eax, ebx
call fcn.0051f92c
mov eax, ebx
call fcn.0051f920
call fcn.00501858
jmp 0x531245
xor ecx, ecx
mov dl, 1
mov eax, dword [0x5155a8]
call fcn.005169c8
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x531405
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp + 0xc], 0
je 0x5312a4
mov eax, dword [ebp - 0xc]
add eax, 0x90
mov edx, dword [ebp + 0xc]
call fcn.0040627c
lea edx, [ebp - 0x54]
mov eax, dword [ebp + 8]
call fcn.0040d350
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0xc]
add eax, 0x94
call fcn.0040627c
mov eax, dword [ebp - 0xc]
add eax, 0xa8
xor edx, edx
call fcn.0040627c
mov eax, dword [ebp - 0xc]
add eax, 0xac
xor edx, edx
call fcn.0040627c
jmp 0x531303
cmp dword [0x55bc84], 0
je 0x531303
mov eax, dword [ebp - 0xc]
add eax, 0x90
mov edx, dword [0x55bc84]
call fcn.0040627c
lea edx, [ebp - 0x58]
mov eax, dword [0x55bc88]
call fcn.0040d350
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0xc]
add eax, 0x94
call fcn.0040627c
mov eax, dword [ebp - 0xc]
add eax, 0xa8
mov edx, dword [0x55bc8c]
call fcn.0040627c
mov eax, dword [ebp - 0xc]
add eax, 0xac
mov edx, dword [0x55bc90]
call fcn.0040627c
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x40
call fcn.0040367c
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.0040647c
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x40
call fcn.0040367c
push 0x20
lea eax, [ebp - 0x4c]
push eax
push 0x5a
push 0x400
call sub.kernel32.dll_GetLocaleInfoW_1
push dword [ebp - 8]
push 0x531480
lea eax, [ebp - 0x5c]
lea edx, [ebp - 0x4c]
mov ecx, 0x20
call fcn.0040647c
push dword [ebp - 0x5c]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00406834
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.0040627c
cmp dword [ebp + 0x10], 0
je 0x5313ac
mov eax, dword [ebp - 0xc]
add eax, 0x114
mov edx, dword [ebp + 0x10]
call fcn.0040627c
mov eax, dword [ebp - 0xc]
add eax, 0xec
mov edx, dword [ebp - 4]
call fcn.0040627c
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x188], esi
xor eax, eax
push ebp
push 0x5313e5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.0051f00c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5313ef
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53140c
mov eax, dword [ebp - 0xc]
call fcn.00403dbc
ret