Function at 0x4f9e10
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x572c60
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x5b8250]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x6c], 0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x50]
call fcn.004fbc70
mov dword [ebp - 4], 1
push 0x18
push 0
lea ecx, [ebp - 0xa4]
push ecx
call fcn.005392b0
add esp, 0xc
push 0x13
lea edx, [ebp - 0x38]
push edx
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea eax, [ebp - 0x38]
mov dword [ebp - 0x98], eax
push 0x13
lea ecx, [ebp - 0x4c]
push ecx
push 0xf
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea edx, [ebp - 0x4c]
mov dword [ebp - 0x94], edx
push 0x13
lea eax, [ebp - 0x24]
push eax
push 0x12
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea ecx, [ebp - 0x24]
push ecx
call fcn.005387ee
add esp, 4
mov dword [ebp - 0xa0], eax
push 0x13
lea edx, [ebp - 0x24]
push edx
push 0x10
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea eax, [ebp - 0x24]
push eax
call fcn.005387ee
add esp, 4
mov dword [ebp - 0x9c], eax
push 0x13
lea ecx, [ebp - 0x24]
push ecx
push 0x1010
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea edx, [ebp - 0x24]
push edx
call fcn.005387ee
add esp, 4
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0xffffffff
jne 0x4f9f7b
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x60]
call fcn.004fbc70
mov byte [ebp - 4], 2
push 0
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebp - 0x50]
call fcn.004fd400
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0xffffffff
jne 0x4f9f4f
mov dword [ebp - 0x68], 0
jmp 0x4f9f69
lea ecx, [ebp - 0x50]
call fcn.004fd8c0
mov esi, eax
sub esi, dword [ebp - 0x58]
lea ecx, [ebp - 0x60]
call fcn.004fd8c0
sub esi, eax
mov dword [ebp - 0x68], esi
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.004fc1a0
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0xa4], ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00539af1
add esp, 4
imul eax, eax, 3
add eax, 0x64
mov dword [ebp - 0x64], eax
xor ecx, ecx
mov eax, dword [ebp - 0x64]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0051d4c8
add esp, 4
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x64]
sub ecx, 1
push ecx
mov edx, dword [ebp - 0x5c]
push edx
lea eax, [ebp - 0xa4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
test eax, eax
je 0x4f9ff1
mov edx, dword [ebp - 0x5c]
push edx
lea ecx, [ebp - 0x50]
call fcn.004fc5b0
cmp dword [ebp - 0x5c], 0
je 0x4fa009
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
push ecx
call fcn.00538881
add esp, 4
push 0x5915bc
push 1
lea edx, [ebp - 0x84]
push edx
lea ecx, [ebp - 0x50]
call fcn.004fdae0
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x88], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x88]
push ecx
call fcn.004fc820
add esp, 8
mov byte [ebp - 0x51], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x84]
call fcn.004fc1a0
movzx edx, byte [ebp - 0x51]
test edx, edx
je 0x4fa098
lea eax, [ebp - 0x50]
push eax
push 0x59598c
lea ecx, [ebp - 0x74]
push ecx
call fcn.004fc8c0
add esp, 0xc
mov dword [ebp - 0x7c], eax
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x8c], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x50]
call fcn.004fc510
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x74]
call fcn.004fc1a0
lea ecx, [ebp - 0x50]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004fbb30
mov edx, dword [ebp - 0x6c]
or edx, 1
mov dword [ebp - 0x6c], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.004fc1a0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053aa3c
mov esp, ebp
pop ebp
ret