Function at 0x605d70
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406d68
mov eax, dword [ebp - 8]
call fcn.00406d68
mov eax, dword [ebp - 0xc]
call fcn.00406d68
xor eax, eax
push ebp
push 0x60605e
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
lea edx, [ebp - 0x64]
mov eax, dword [ebp - 4]
call fcn.00478ddc
mov edx, dword [ebp - 0x64]
mov eax, 0x60607c
call fcn.004078ac
dec eax
jne 0x605e11
xor ecx, ecx
mov dl, 1
mov eax, dword [0x5d7b20]
call fcn.005d80a8
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, dword [0x5a79b4]
call fcn.005bc374
mov edx, eax
mov eax, dword [ebp - 0x14]
call fcn.005e245c
mov eax, dword [ebp - 0x14]
call fcn.005e243c
call fcn.005c0b5c
jmp 0x605e22
xor ecx, ecx
mov dl, 1
mov eax, dword [0x5d6c30]
call fcn.005d80a8
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x60601f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x60]
xor ecx, ecx
mov edx, 0x40
call fcn.00403b8c
push 0x20
lea eax, [ebp - 0x60]
push eax
push 0x59
push 0x400
call sub.kernel32.dll_GetLocaleInfoW_1
lea eax, [ebp - 0x18]
lea edx, [ebp - 0x60]
mov ecx, 0x20
call fcn.00406f90
lea eax, [ebp - 0x60]
xor ecx, ecx
mov edx, 0x40
call fcn.00403b8c
push 0x20
lea eax, [ebp - 0x60]
push eax
push 0x5a
push 0x400
call sub.kernel32.dll_GetLocaleInfoW_1
push dword [ebp - 0x18]
push 0x60609c
lea eax, [ebp - 0x68]
lea edx, [ebp - 0x60]
mov ecx, 0x20
call fcn.00406f90
push dword [ebp - 0x68]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00407348
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x37c], 0xa
mov eax, dword [ebp - 0x14]
add eax, 0x118
mov edx, dword [ebp - 0x18]
call fcn.00406d80
mov eax, dword [ebp - 0x14]
add eax, 0xec
mov edx, dword [ebp - 4]
call fcn.00406d80
cmp dword [ebp - 8], 0
je 0x605f9b
cmp dword [ebp - 0xc], 0
je 0x605f9b
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.00605ce0
mov eax, dword [ebp - 0x20]
call fcn.006060d0
test al, al
je 0x605f9b
mov ecx, 1
mov dl, 1
mov eax, dword [0x603be0]
call fcn.006041d0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add eax, 0x10
mov edx, dword [ebp - 8]
call fcn.00406d80
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.00479ed8
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0x1c]
call fcn.006053d4
test al, al
je 0x605f9b
mov eax, dword [ebp - 0x14]
add eax, 0x1d4
mov edx, 0x6060ac
call fcn.00406d80
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
call fcn.00479c10
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x14]
add eax, 0x1dc
call fcn.00406d80
mov eax, dword [ebp - 0x14]
add eax, 0x1d8
mov edx, 0x6060cc
call fcn.00406d80
mov eax, dword [ebp - 0x14]
add eax, 0x1cc
mov edx, dword [ebp - 0x20]
call fcn.00406d80
xor eax, eax
push ebp
push 0x605fbb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
call fcn.005e1914
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x605fc5
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x12c], 0xc8
jl 0x605fe7
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x12c], 0x12c
jge 0x605fe7
mov byte [ebp - 0xd], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x606026
cmp dword [ebp - 0x1c], 0
je 0x606016
mov eax, dword [ebp - 0x1c]
call fcn.00604404
test al, al
je 0x60600e
mov eax, dword [ebp - 0x1c]
call fcn.00605808
mov eax, dword [ebp - 0x1c]
call fcn.004044bc
mov eax, dword [ebp - 0x14]
call fcn.004044bc
ret