Function at 0x7ef83701
Capabilities:
Identify system language via api

Disassembly:
mov eax, 0x7ef94fb4
call fcn.7ef890d8
sub esp, 0x560
and dword [ebp - 0x14], 0
call dword [0x7ef96254]
movzx eax, ax
and eax, 0x3ff
mov dword [ebp - 0x18], eax
and dword [ebp - 0x10], 0
cmp dword [ebp - 0x14], 0xff
je 0x7ef839b1
mov ecx, dword [ebp + 8]
call fcn.7ef86664
movzx eax, al
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xff
je 0x7ef839ac
mov ecx, dword [ebp + 8]
call fcn.7ef86664
movzx eax, al
mov dword [ebp - 0x220], eax
mov ecx, dword [ebp + 8]
call fcn.7ef86664
movzx eax, al
mov dword [ebp - 0x224], eax
push dword [ebp - 0x220]
lea eax, [ebp - 0x328]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
call dword [eax]
mov eax, dword [ebp - 0x224]
shl eax, 1
push eax
lea eax, [ebp - 0x21c]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
call dword [eax]
cmp dword [ebp - 0x14], 0
je 0x7ef837b7
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
jne 0x7ef839ac
mov eax, dword [ebp - 0x220]
and byte [ebp + eax - 0x328], 0
mov eax, dword [ebp - 0x224]
and word [ebp + eax*2 - 0x21c], 0
push 0
push 0
push 0x205
lea eax, [ebp - 0x530]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x21c]
push eax
push 0
push dword [ebp - 0x10]
call dword [0x7ef9612c]
lea eax, [ebp - 0x328]
push eax
call fcn.7ef865bd
pop ecx
mov dword [ebp - 0x538], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x538]
push eax
lea eax, [ebp - 0x534]
push eax
mov ecx, 0x7efa5fa0
call fcn.7ef83e83
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x538]
call fcn.7ef86114
mov eax, dword [0x7efa5fa4]
mov dword [ebp - 0x560], eax
mov eax, dword [ebp - 0x560]
mov dword [ebp - 0x53c], eax
mov eax, dword [ebp - 0x534]
sub eax, dword [ebp - 0x53c]
neg eax
sbb eax, eax
inc eax
movzx eax, al
neg eax
sbb eax, eax
inc eax
movzx eax, al
test eax, eax
je 0x7ef83887
lea eax, [ebp - 0x530]
push eax
mov ecx, dword [ebp - 0x534]
add ecx, 0x10
call fcn.7ef86086
jmp 0x7ef839ac
lea eax, [ebp - 0x530]
push eax
call fcn.7ef865bd
pop ecx
mov dword [ebp - 0x550], eax
mov dword [ebp - 4], 1
lea eax, [ebp - 0x328]
push eax
call fcn.7ef865bd
pop ecx
mov dword [ebp - 0x554], eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x554]
push eax
lea ecx, [ebp - 0x54c]
call fcn.7ef86007
mov byte [ebp - 4], 3
lea eax, [ebp - 0x550]
push eax
lea ecx, [ebp - 0x548]
call fcn.7ef86007
mov byte [ebp - 4], 2
lea eax, [ebp - 0x54c]
mov dword [ebp - 0x564], eax
mov byte [ebp - 4], 4
push dword [ebp - 0x564]
lea ecx, [ebp - 0x544]
call fcn.7ef86007
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x564]
add eax, 4
push eax
lea ecx, [ebp - 0x540]
call fcn.7ef86007
mov byte [ebp - 4], 6
lea eax, [ebp - 0x544]
push eax
lea eax, [ebp - 0x56c]
push eax
mov ecx, 0x7efa5fa0
call fcn.7ef83b8e
mov eax, dword [ebp - 0x56c]
mov dword [ebp - 0x55c], eax
mov al, byte [ebp - 0x568]
mov byte [ebp - 0x558], al
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x540]
call fcn.7ef86114
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x544]
call fcn.7ef86114
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x548]
call fcn.7ef86114
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54c]
call fcn.7ef86114
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x554]
call fcn.7ef86114
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x550]
call fcn.7ef86114
jmp 0x7ef8372a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret