Function at 0x606820
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
xor ebx, ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00406d68
xor eax, eax
push ebp
push 0x606a37
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x54]
xor ecx, ecx
mov edx, 0x40
call fcn.00403b8c
push 0x20
lea eax, [ebp - 0x54]
push eax
push 0x59
push 0x400
call sub.kernel32.dll_GetLocaleInfoW_1
lea eax, [ebp - 0x14]
lea edx, [ebp - 0x54]
mov ecx, 0x20
call fcn.00406f90
lea eax, [ebp - 0x54]
xor ecx, ecx
mov edx, 0x40
call fcn.00403b8c
push 0x20
lea eax, [ebp - 0x54]
push eax
push 0x5a
push 0x400
call sub.kernel32.dll_GetLocaleInfoW_1
push dword [ebp - 0x14]
push 0x606a54
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x54]
mov ecx, 0x20
call fcn.00406f90
push dword [ebp - 0x58]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00407348
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x606a0c
cmp dword [ebp - 0xc], 0
je 0x606a0c
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx]
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x18], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x1a0], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1a0]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 8]
call fcn.00478ddc
mov edx, dword [ebp - 0x5c]
mov eax, 0x606a64
call fcn.004078ac
test eax, eax
jle 0x606977
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
jne 0x606966
xor ecx, ecx
mov dl, 1
mov eax, dword [0x5a79b4]
call fcn.005bc374
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.005c0b5c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.005e245c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
add eax, 0x118
mov edx, dword [ebp - 0x14]
call fcn.00406d80
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
add eax, 0xec
mov edx, dword [ebp - 8]
call fcn.00406d80
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp + 0xc]
mov dword [eax + 0x188], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 4]
mov dword [eax + 0x304], edx
mov dword [eax + 0x300], 0x6066a4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 4]
mov dword [eax + 0x374], edx
mov dword [eax + 0x370], 0x60652c
cmp byte [ebp + 8], 0
je 0x6069f2
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 8]
call fcn.006061f4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.005e1938
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x12c]
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x606a3e
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.00406d78
lea eax, [ebp - 0x14]
call fcn.00406d70
lea eax, [ebp - 8]
call fcn.00406d70
ret