Function at 0x4506ff
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe8
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x450aae
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x7c], eax
lea eax, [ebp + 0x38]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x74], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xcc]
movzx eax, byte [eax]
test eax, eax
je 0x4507b2
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0xa4], eax
push dword [ebp - 0xa4]
push 0
push dword [ebp - 0x64]
push 0x45e5
push 0x42e3
call fcn.00455bc2
add esp, 0x14
jmp 0x450aac
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x8c]
movzx eax, byte [eax]
test eax, eax
je 0x45083d
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
movzx eax, byte [eax]
test eax, eax
je 0x450838
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
jmp 0x450aac
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x48], eax
push 0
mov ecx, dword [ebp - 4]
call fcn.00431e5c
mov ecx, dword [ebp - 0x48]
mov dword [eax], ecx
cmp dword [ebp - 0x48], 0
je 0x450a70
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 1
jle 0x4508f4
push 0
mov ecx, dword [ebp - 4]
call fcn.00431e5c
push 0
mov ecx, dword [ebp - 4]
call fcn.00431e5c
cmp dword [eax], 0x6896
jge 0x45090f
mov dword [ebp - 0x20], 1
jmp 0x450913
and dword [ebp - 0x20], 0
push 0
mov ecx, dword [ebp - 4]
call fcn.00431e5c
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax]
jg 0x45092d
mov dword [ebp - 0x38], 1
jmp 0x450931
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0x38], eax
je 0x450944
mov dword [ebp - 0x28], 1
jmp 0x450948
and dword [ebp - 0x28], 0
cmp dword [ebp - 0x28], 0xbe74fd57
ja 0x45095a
mov dword [ebp - 0x18], 1
jmp 0x45095e
and dword [ebp - 0x18], 0
push 0
mov ecx, dword [ebp - 4]
call fcn.00431e5c
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [eax]
jle 0x450978
mov dword [ebp - 0x30], 1
jmp 0x45097c
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0x30], eax
jl 0x45098f
mov dword [ebp - 0x40], 1
jmp 0x450993
and dword [ebp - 0x40], 0
mov eax, 0x70669599
sub eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x1c]
cmp eax, dword [ecx]
jl 0x4509ab
mov dword [ebp - 0x24], 1
jmp 0x4509af
and dword [ebp - 0x24], 0
push 0
mov ecx, dword [ebp - 4]
call fcn.00431e5c
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax]
jg 0x4509c9
mov dword [ebp - 0x2c], 1
jmp 0x4509cd
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0xb8]
mov eax, dword [eax]
cmp dword [ebp - 0x2c], eax
jge 0x4509e3
mov dword [ebp - 0xc], 1
jmp 0x4509e7
and dword [ebp - 0xc], 0
push 0
mov ecx, dword [ebp - 4]
call fcn.00431e5c
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0xc], eax
jge 0x450a09
mov dword [ebp - 0x10], 1
jmp 0x450a0d
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
imul eax, dword [ebp - 0x10], 0xffffffff
cmp eax, 0xca7bc41b
ja 0x450a2c
mov dword [ebp - 0x34], 1
jmp 0x450a30
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x34], eax
jle 0x450a46
mov dword [ebp - 0xc8], 1
jmp 0x450a4d
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0xe8], eax
push 0
mov ecx, dword [ebp - 4]
call fcn.00431e5c
cmp dword [eax], 0
je 0x450a70
mov dword [ebp - 0x3c], 1
jmp 0x450a74
and dword [ebp - 0x3c], 0
cmp dword [ebp - 0x3c], 0x33d4965d
jge 0x450a86
mov dword [ebp - 0x44], 1
jmp 0x450a8a
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
add eax, dword [ebp - 0x44]
jne 0x450a9d
mov dword [ebp - 0x4c], 1
jmp 0x450aa1
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0xd0]
mov ecx, dword [ebp - 0x4c]
mov dword [eax], ecx
jmp 0x450af9
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xe0], eax
push 0x107d
push 1
push 0x7cd9
push 0x977
push 0x3601
push 0x7f6a
push dword [ebp - 0xd8]
push 0x5761
push 0x7bb5
push dword [ebp - 0xe0]
call fcn.00436e11
add esp, 0x28
mov esp, ebp
pop ebp
ret