Function at 0x4b8520
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x22
push 0
push 0
dec ecx
jne 0x4b8528
push ecx
push ebx
push esi
push edi
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b882f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x18
lea eax, [ebp - 0x20]
push eax
push 0x1001
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xcc]
push eax
call sub.kernel32.dll_GetTimeZoneInformation
mov esi, dword [ebp - 0xcc]
test esi, esi
jge 0x4b857f
lea eax, [ebp - 8]
mov edx, 0x4b8848
call fcn.00404f1c
jmp 0x4b8587
lea eax, [ebp - 8]
call fcn.00404e84
lea eax, [ebp - 0xd0]
push eax
neg esi
mov dword [ebp - 0xdc], esi
fild dword [ebp - 0xdc]
fdiv dword [0x4b884c]
fstp xword [ebp - 0xe8]
wait
lea eax, [ebp - 0xe8]
mov dword [ebp - 0xd8], eax
mov byte [ebp - 0xd4], 3
lea eax, [ebp - 0xd8]
push eax
push 0x4b8858
push dword [ebp - 8]
push 0x4b8868
lea eax, [ebp - 0xec]
mov edx, 3
call fcn.00405220
mov eax, dword [ebp - 0xec]
xor ecx, ecx
pop edx
call fcn.0040a538
mov edx, dword [ebp - 0xd0]
lea eax, [ebp - 8]
call fcn.00404f1c
push dword [edi]
mov eax, dword [0x4bb318]
push dword [eax]
push 0x4b8878
mov eax, dword [0x4bb2bc]
push dword [eax]
push 0x4b8884
lea eax, [ebp - 0xf0]
call fcn.004b83c4
push dword [ebp - 0xf0]
push 0x4b8878
lea eax, [ebp - 0xf4]
lea edx, [ebp - 0x20]
mov ecx, 0x18
call fcn.004050f4
push dword [ebp - 0xf4]
push 0x4b8884
lea edx, [ebp - 0xf8]
mov eax, 0x4b8890
call fcn.0047727c
push dword [ebp - 0xf8]
push 0x4b88a8
push dword [ebp - 8]
push 0x4b88b4
mov eax, dword [0x4bb78c]
push dword [eax + 4]
push dword [eax]
call fcn.00474d3c
movzx eax, ax
lea edx, [ebp - 0xfc]
call fcn.00409490
push dword [ebp - 0xfc]
push 0x4b88c4
mov eax, dword [0x4bb78c]
push dword [eax + 4]
push dword [eax]
call fcn.00474d64
movzx eax, ax
lea edx, [ebp - 0x100]
call fcn.00409490
push dword [ebp - 0x100]
push 0x4b88d0
mov eax, dword [0x4bb724]
push dword [eax + 4]
push dword [eax]
call fcn.00474d3c
movzx eax, ax
lea edx, [ebp - 0x104]
call fcn.00409490
push dword [ebp - 0x104]
push 0x4b88c4
mov eax, dword [0x4bb724]
push dword [eax + 4]
push dword [eax]
call fcn.00474d64
movzx eax, ax
lea edx, [ebp - 0x108]
call fcn.00409490
push dword [ebp - 0x108]
push 0x4b88e4
lea edx, [ebp - 0x10c]
mov eax, dword [0x4bb360]
mov eax, dword [eax]
mov eax, dword [eax + 0x3a8]
call fcn.00451714
push dword [ebp - 0x10c]
push dword [ebp - 4]
mov eax, edi
mov edx, 0x17
call fcn.00405220
push dword [edi]
push 0x4b88f0
lea edx, [ebp - 0x110]
mov eax, dword [0x4bb628]
mov eax, dword [eax]
call fcn.00409490
push dword [ebp - 0x110]
push 0x4b88fc
mov eax, edi
mov edx, 4
call fcn.00405220
mov eax, dword [0x4bb360]
mov eax, dword [eax]
mov eax, dword [eax + 0x508]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
je 0x4b878f
mov eax, edi
mov edx, 0x4b890c
call fcn.00405168
mov eax, dword [0x4bb360]
mov eax, dword [eax]
mov eax, dword [eax + 0x534]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
je 0x4b87b4
mov eax, edi
mov edx, 0x4b8924
call fcn.00405168
mov eax, edi
mov edx, 0x4b88a8
call fcn.00405168
test bl, bl
je 0x4b87de
lea edx, [ebp - 0x114]
mov eax, dword [edi]
call fcn.004b835c
mov edx, dword [ebp - 0x114]
mov eax, edi
call fcn.00404ed8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b8836
lea eax, [ebp - 0x114]
mov edx, 2
call fcn.00404ea8
lea eax, [ebp - 0x10c]
call fcn.00404e84
lea eax, [ebp - 0x108]
mov edx, 8
call fcn.00404ea8
lea eax, [ebp - 0xd0]
call fcn.00404e84
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404ea8
ret