Function at 0x10047019
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100703f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1004722e
lea eax, [ebp + 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x10047210
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x40], 5
mov dword [ebp - 0x14], 0xa
jmp 0x10047078
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xfffffffb
jg 0x1004720e
push 2
lea ecx, [ebp - 0x64]
call fcn.100214ae
and dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
jmp 0x100470a0
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x100470b3
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x58], 1
jmp 0x10047099
push 0x126b
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x64]
push eax
push 0x62fc
push 0
push 0x4a16
call fcn.10047c09
add esp, 0x18
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x58], 0xfffffff1
jmp 0x100470f9
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x58]
inc eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x58], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x58], 6
je 0x100471fd
mov dword [ebp - 0x2c], 0xfffffffe
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x18], 0
jmp 0x10047128
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x1004713b
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x3c], 0xfffffffd
jmp 0x10047121
push 0
lea ecx, [ebp - 0x64]
call fcn.1002154c
mov dword [eax], 0xf365653d
push 0
lea ecx, [ebp - 0x64]
call fcn.1002154c
mov ecx, 0x52509e71
sub ecx, dword [eax]
imul eax, ecx, 0xb3e7
cmp eax, dword [ebp - 0x14]
jne 0x10047170
mov dword [ebp - 0x20], 1
jmp 0x10047174
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x20], eax
jle 0x10047185
mov dword [ebp - 0x24], 1
jmp 0x10047189
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, 0xe6aa1654
sub eax, dword [ebp - 0x28]
push 4
pop ecx
shl ecx, 0
sub eax, dword [ebp + ecx - 0x58]
cmp eax, 0x8d5feaf8
je 0x100471b1
mov dword [ebp - 0x30], 1
jmp 0x100471b5
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x30], eax
jl 0x100471c6
mov dword [ebp - 0x34], 1
jmp 0x100471ca
and dword [ebp - 0x34], 0
cmp dword [ebp - 0x34], 0x87642760
jb 0x100471de
or eax, 0xffffffff
jne 0x100471de
and dword [ebp - 0x1c], 0
jmp 0x100471e5
mov dword [ebp - 0x1c], 1
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x1c]
mov dword [ebp + eax - 0x3c], ecx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x40], eax
jmp 0x100470e4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.10021530
jmp 0x10047071
jmp 0x1004722c
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
test eax, eax
je 0x1004722c
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
jmp 0x1004723c
push 0x2958
push 1
call fcn.10047004
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret