Function at 0x100bfef0
Capabilities:
Get geographical location
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f128d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x1012eb00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
push str.LC_ALL
mov dword [ebp - 0x38], esi
call edi
mov edx, eax
add esp, 4
test edx, edx
je 0x100bff3b
cmp byte [edx], 0
jne 0x100bff65
push str.LC_CTYPE
call edi
mov edx, eax
add esp, 4
test edx, edx
je 0x100bff50
cmp byte [edx], 0
jne 0x100bff65
push str.LANG
call edi
mov edx, eax
add esp, 4
test edx, edx
je 0x100bff97
cmp byte [edx], 0
je 0x100bff97
mov ecx, edx
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100bff80
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.1004aee0
jmp 0x100c010d
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea eax, [ebp - 0x1c]
push 0xa
push eax
push 0x59
xorps xmm0, xmm0
mov word [ebp - 0x14], 0
push 0x400
movq qword [ebp - 0x1c], xmm0
call edi
xorps xmm0, xmm0
test eax, eax
jne 0x100bffe2
movups xmmword [esi], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], 1
mov dword [esi + 0x14], 0xf
mov word [esi], 0x43
jmp 0x100c010d
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x24], 0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x20], 0
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100c0000
sub ecx, edx
lea eax, [ebp - 0x1c]
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.1004aee0
push 0xa
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push eax
push 0x5a
push 0x400
call edi
test eax, eax
je 0x100c005b
push 1
push 0x100f6bc4
lea ecx, [ebp - 0x34]
call fcn.1004a7d0
lea ecx, [ebp - 0x1c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100c0045
sub ecx, edx
lea eax, [ebp - 0x1c]
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.1004a7d0
cmp byte [ebp + 0xc], 0
jne 0x100c00d9
push 0xa
lea eax, [ebp - 0x1c]
push eax
push 0x1004
push 0x400
call edi
test eax, eax
je 0x100c00d9
cmp byte [ebp - 0x1c], 0
lea ecx, [ebp - 0x1c]
je 0x100c0086
inc ecx
cmp byte [ecx], 0
jne 0x100c0080
lea edx, [ebp - 0x1c]
mov eax, edx
cmp eax, ecx
je 0x100c009d
nop
mov al, byte [edx]
sub al, 0x30
cmp al, 9
ja 0x100c009d
inc edx
cmp edx, ecx
jne 0x100c0090
cmp byte [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
je 0x100c00ac
inc eax
cmp byte [eax], 0
jne 0x100c00a6
cmp edx, eax
jne 0x100c00d9
push 9
push str..windows_
lea ecx, [ebp - 0x34]
call fcn.1004a7d0
lea ecx, [ebp - 0x1c]
mov edx, eax
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100c00c7
sub ecx, edi
lea eax, [ebp - 0x1c]
push ecx
push eax
mov ecx, edx
jmp 0x100c00e3
push 6
push str..UTF_8
lea ecx, [ebp - 0x34]
call fcn.1004a7d0
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
movups xmm0, xmmword [ebp - 0x34]
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x24]
movq qword [esi + 0x10], xmm0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100e4fca
mov esp, ebp
pop ebp
ret