Function at 0x100171ab
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10017417
mov dword [ebp - 0x10], 6
mov dword [ebp - 0x58], 0x68807383
mov dword [ebp - 0xc], 0x39d3cd36
mov dword [ebp - 8], 0x5a47b6c4
mov dword [ebp - 0x54], 0
mov dword [ebp - 4], 0
jmp 0x100171f0
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 2
jge 0x10017203
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x7c], 0x1afd061a
jmp 0x100171e9
mov dword [ebp - 4], 0
jmp 0x10017213
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 2
jge 0x10017226
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x74], 0xfffffffb
jmp 0x1001720c
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0xc], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x74]
mov dword [ebp - 0x64], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x74]
add eax, 0x3ade45a9
cmp eax, dword [ebp - 8]
je 0x10017257
mov dword [ebp - 0x14], 1
jmp 0x1001725b
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x14], eax
je 0x10017276
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x7c], 0
jne 0x10017276
and dword [ebp - 0x18], 0
jmp 0x1001727d
mov dword [ebp - 0x18], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x74]
cmp eax, dword [ebp - 0x18]
jge 0x10017295
mov dword [ebp - 0x1c], 1
jmp 0x10017299
and dword [ebp - 0x1c], 0
imul eax, dword [ebp - 0x1c], 0xfff7
mov dword [ebp - 0x54], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x74]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x6c], eax
mov eax, 0xfff9
test eax, eax
jne 0x100172cb
cmp dword [ebp - 0x10], 0
jne 0x100172cb
and dword [ebp - 0x20], 0
jmp 0x100172d2
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x20], eax
je 0x100172e3
mov dword [ebp - 0x24], 1
jmp 0x100172e7
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0x24], eax
jle 0x100172f8
mov dword [ebp - 0x28], 1
jmp 0x100172fc
and dword [ebp - 0x28], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x7c]
cmp dword [ebp - 0x28], eax
jg 0x10017314
mov dword [ebp - 0x2c], 1
jmp 0x10017318
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x2c], eax
jne 0x10017329
mov dword [ebp - 0x30], 1
jmp 0x1001732d
and dword [ebp - 0x30], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x74]
cmp dword [ebp - 0x30], eax
jle 0x10017345
mov dword [ebp - 0x34], 1
jmp 0x10017349
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x34]
jle 0x1001735a
mov dword [ebp - 0x38], 1
jmp 0x1001735e
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x38]
add eax, 0xb108
cmp eax, dword [ebp - 8]
jl 0x10017374
mov dword [ebp - 0x3c], 1
jmp 0x10017378
and dword [ebp - 0x3c], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x3c]
sub ecx, dword [ebp + eax - 0x7c]
push 4
pop eax
imul eax, eax, 0
cmp ecx, dword [ebp + eax - 0x74]
je 0x1001739a
mov dword [ebp - 0x40], 1
jmp 0x1001739e
and dword [ebp - 0x40], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x74]
cmp dword [ebp - 0x40], eax
jg 0x100173b6
mov dword [ebp - 0x44], 1
jmp 0x100173ba
and dword [ebp - 0x44], 0
cmp dword [ebp - 0x44], 0xfffd
jb 0x100173cc
mov dword [ebp - 0x48], 1
jmp 0x100173d0
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x48]
sub eax, 3
je 0x100173e6
or eax, 0xffffffff
je 0x100173e6
mov dword [ebp - 0x4c], 1
jmp 0x100173ea
and dword [ebp - 0x4c], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x4c]
sub ecx, dword [ebp + eax - 0x74]
test ecx, ecx
jle 0x10017404
mov dword [ebp - 0x50], 1
jmp 0x10017408
and dword [ebp - 0x50], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x50]
mov dword [ebp + eax - 0x7c], ecx
jmp 0x10017433
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax]
test eax, eax
je 0x10017433
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov esp, ebp
pop ebp
ret