Function at 0x1003144b
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006b233
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x100314da
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x38], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
movzx eax, byte [eax]
test eax, eax
je 0x100314c4
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp dword [eax], 5
jb 0x100314b6
mov dword [ebp - 0x24], 1
jmp 0x100314ba
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
jmp 0x100314d5
push 0x24ff
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x10031696
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x68], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x1003153c
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x1003151e
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xd
jl 0x10031537
mov dword [ebp - 0x34], 1
cmp dword [ebp - 0x34], 0
je 0x10031535
jmp 0x10031537
jmp 0x10031513
jmp 0x10031696
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x54], 0x1adc
cmp dword [ebp - 0x54], 0x500
jge 0x1003165d
lea eax, [ebp - 0x20]
push eax
push 0x1000c28c
call fcn.10050cbb
pop ecx
pop ecx
mov eax, dword [ebp - 0x20]
inc eax
push eax
lea ecx, [ebp - 0x7c]
call fcn.10041554
and dword [ebp - 4], 0
mov dword [ebp - 0x1c], 1
jmp 0x10031593
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x20]
jge 0x100315de
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x1000c368
call fcn.10050cbb
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x28]
lea ecx, [ebp - 0x7c]
call fcn.100415c0
mov ecx, eax
call fcn.100141ef
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x7c]
call fcn.100415c0
mov ecx, eax
call fcn.100141ef
jmp 0x1003158c
mov byte [ebp - 0xd], 0
lea eax, [ebp - 0xd]
push eax
mov eax, dword [ebp - 0x20]
inc eax
push eax
lea ecx, [ebp - 0x94]
call fcn.1001a3b1
mov byte [ebp - 4], 1
movsd xmm0, qword [0x1000c878]
movsd qword [ebp - 0x84], xmm0
lea eax, [ebp - 0x84]
push eax
push 0
lea eax, [ebp - 0x94]
push eax
push 1
lea eax, [ebp - 0x7c]
push eax
call fcn.1003136d
add esp, 0xc
movsd xmm0, qword [ebp - 0x84]
movsd qword [esp], xmm0
push 0x1000c4e8
call fcn.10050eef
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x94]
call fcn.1001a412
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.100415bb
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x10031679
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 1
jge 0x10031696
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x64]
call fcn.10014130
mov dword [eax], 0x94dd
jmp 0x1003166e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret