Function at 0x100373e2
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10062d0d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x100375f9
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
movzx eax, byte [eax]
test eax, eax
je 0x10037587
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x30], eax
mov eax, dword [0x1007ecf0]
and eax, 1
jne 0x10037472
mov eax, dword [0x1007ecf0]
or eax, 1
mov dword [0x1007ecf0], eax
and dword [ebp - 4], 0
mov ecx, 0x1007ed38
call fcn.1002ac78
push 0x100632bf
call fcn.1004ad02
pop ecx
or dword [ebp - 4], 0xffffffff
movzx eax, byte [0x1007ebfc]
test eax, eax
je 0x100374d5
mov ecx, 0x1007ed38
call fcn.10042438
movzx eax, al
test eax, eax
jne 0x100374d5
push dword [ebp - 0x24]
lea eax, [ebp - 0x38]
push eax
mov ecx, 0x1007ed38
call fcn.1002ab0a
lea eax, [ebp - 0xa0]
push eax
mov ecx, 0x1007ed38
call fcn.1002aafc
push eax
lea ecx, [ebp - 0x38]
call fcn.1002ab1f
movzx eax, al
test eax, eax
je 0x100374d5
lea ecx, [ebp - 0x38]
call fcn.10042441
mov ecx, dword [ebp - 0x30]
mov eax, dword [eax + 4]
mov dword [ecx], eax
jmp 0x1003777f
mov eax, dword [ebp - 0x24]
push dword [eax]
lea eax, [ebp - 0xb8]
push eax
call fcn.1002921d
pop ecx
pop ecx
mov dword [ebp - 4], 1
lea eax, [ebp - 0xb8]
push eax
call fcn.10033e30
pop ecx
mov dword [ebp - 0x28], eax
push dword [ebp - 0x24]
push 0x1921
push 0x65bd
push 0x1e69
push 0x2a6a
push 0xc6b
push 1
push 0x174d
push 1
push 0x4c87
push 0x66c4
push 0x1007ebfc
push 0x4924
lea eax, [ebp - 0x28]
push eax
push 0x188c
push 0x703d
push 0x5ac9
push 0x1007ed38
push 1
call fcn.10036ad2
add esp, 0x4c
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
call fcn.1000b2a7
jmp 0x1003777f
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x100375af
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], 0
jg 0x100375f4
push 0x3157
push 1
push 0x193
push 0x4c3e
push 0x456e
push 0x339e
push 1
push 0x7b90
push 0
push 0x768b
push 0x6e72
push 0x6a44
call fcn.100373e2
add esp, 0x30
jmp 0x100375a4
jmp 0x1003777f
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x60], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax]
test eax, eax
je 0x1003764a
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x10037645
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
jmp 0x1003777f
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x100376b7
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xfffffff0
jge 0x1003777f
mov dword [ebp - 0x20], 6
mov dword [ebp - 0x8c], 1
mov dword [ebp - 0x94], 0
mov eax, 0xffff
test eax, eax
je 0x10037762
push 0xfffffffffffffff6
pop eax
test eax, eax
je 0x100376f4
cmp dword [ebp - 0x20], 0
jne 0x10037709
push 0
mov ecx, dword [ebp - 0x6c]
call fcn.1000b3b1
cmp dword [eax], 0
jne 0x10037709
and dword [ebp - 0x2c], 0
jmp 0x10037710
mov dword [ebp - 0x2c], 1
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x74]
mov ecx, dword [ecx]
imul ecx, dword [ebp - 0x2c]
imul ecx, dword [ebp - 0x20]
add eax, ecx
mov ecx, dword [ebp - 0x1c]
sub eax, dword [ecx]
cmp eax, 0x2536
jne 0x10037737
mov dword [ebp - 0x34], 1
jmp 0x1003773b
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x34]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x84]
imul ecx, dword [eax]
mov eax, dword [ebp - 0x1c]
imul ecx, dword [eax]
mov eax, dword [ebp - 0x1c]
cmp ecx, dword [eax]
jg 0x10037762
mov dword [ebp - 0x3c], 1
jmp 0x10037766
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x3c]
sub ecx, dword [eax]
sub ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x94], ecx
jmp 0x100376ac
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret