Function at 0x40fc97
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push esi
movzx eax, byte [ebp + 0x28]
test eax, eax
je 0x40fe5b
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x3c], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x40fd04
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
push dword [ebp - 0x2c]
push 0x7b59
push 1
push dword [ebp - 0x30]
call fcn.0040fe72
add esp, 0x10
jmp 0x40fe59
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x40fd31
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
jmp 0x40fe59
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x40fd6b
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0x1b
jge 0x40fe59
push 1
lea ecx, [ebp - 0x74]
call fcn.004291a2
mov dword [ebp - 8], 0
jmp 0x40fd91
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jge 0x40fda7
push dword [ebp - 8]
lea ecx, [ebp - 0x74]
call fcn.00429290
and dword [eax], 0
jmp 0x40fd8a
push 0
lea ecx, [ebp - 0x74]
call fcn.00429290
mov esi, eax
push 0
lea ecx, [ebp - 0x74]
call fcn.00429290
mov ecx, dword [esi]
cmp ecx, dword [eax]
jle 0x40fdcc
mov dword [ebp - 0x14], 1
jmp 0x40fdd0
and dword [ebp - 0x14], 0
push 0
lea ecx, [ebp - 0x74]
call fcn.00429290
cmp dword [eax], 0
jne 0x40fde9
xor eax, eax
jne 0x40fde9
and dword [ebp - 0x10], 0
jmp 0x40fdf0
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0x10], 0xa3888451
jb 0x40fe02
mov dword [ebp - 0xc], 1
jmp 0x40fe06
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0xc]
test eax, eax
je 0x40fe2a
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x40fe2a
mov dword [ebp - 0x18], 1
jmp 0x40fe2e
and dword [ebp - 0x18], 0
cmp dword [ebp - 0x18], 0x4952f341
jne 0x40fe40
mov dword [ebp - 0x1c], 1
jmp 0x40fe44
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
lea ecx, [ebp - 0x74]
call fcn.00429274
jmp 0x40fd60
jmp 0x40fe6d
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x68], eax
push 0
push dword [ebp - 0x68]
call fcn.0040e015
pop ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret