Function at 0x45cfc0
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d5f73
mov eax, dword fs:[0]
push eax
sub esp, 0x2c0
mov eax, dword [0x65a000]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x1c], ax
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x21e]
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x1a], xmm0
call fcn.005a7690
xor eax, eax
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], 0
mov word [ebp - 0x238], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], eax
mov word [ebp - 0x250], ax
mov dword [ebp - 0x284], 7
mov dword [ebp - 0x288], eax
mov word [ebp - 0x298], ax
mov dword [ebp - 0x254], 7
mov dword [ebp - 0x258], eax
mov word [ebp - 0x268], ax
mov dword [ebp - 0x26c], 7
mov dword [ebp - 0x270], eax
mov word [ebp - 0x280], ax
add esp, 8
lea eax, [ebp - 0x220]
push eax
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.0045d6d0
cmp word [ebp - 0x220], 0
movzx edi, ax
jne 0x45d0b8
xor ecx, ecx
jmp 0x45d0d0
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45d0c1
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x238]
call fcn.004058d0
lea eax, [ebp - 0x238]
push eax
mov ecx, esi
call fcn.00460070
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
cmovae eax, dword [ebp - 0x238]
mov ecx, str.Arabic
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45d136
test dx, dx
je 0x45d132
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45d136
add eax, 4
add ecx, 4
test dx, dx
jne 0x45d110
xor eax, eax
jmp 0x45d13b
sbb eax, eax
or eax, 1
push 0xa
mov dword [ebp - 0x29c], 7
mov dword [ebp - 0x2a0], 0
lea ecx, [ebp - 0x2b0]
push str.RTLREADING
test eax, eax
jne 0x45d174
mov word [ebp - 0x2b0], ax
call fcn.004058d0
mov byte [ebp - 4], 5
push 1
jmp 0x45d188
xor eax, eax
mov word [ebp - 0x2b0], ax
call fcn.004058d0
mov byte [ebp - 4], 6
push 0
lea eax, [ebp - 0x2b0]
add esi, 0xc
push eax
mov ecx, esi
call fcn.00407870
mov byte [ebp - 4], 4
cmp dword [ebp - 0x29c], 8
jb 0x45d1b4
push dword [ebp - 0x2b0]
call fcn.0048166b
add esp, 4
push edi
push str._04x
push 0xffffffffffffffff
lea eax, [ebp - 0x1c]
push 5
push eax
call fcn.005a4e29
xor eax, eax
add esp, 0x14
mov dword [ebp - 0x2b4], 7
mov dword [ebp - 0x2b8], 0
mov word [ebp - 0x2c8], ax
cmp word [ebp - 0x1c], ax
jne 0x45d1f1
xor ecx, ecx
jmp 0x45d206
lea ecx, [ebp - 0x1c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45d1f7
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x2c8]
call fcn.004058d0
mov byte [ebp - 4], 7
push 0xc
xor eax, eax
push str.MSETUPLANGID
lea ecx, [ebp - 0x2b0]
mov dword [ebp - 0x29c], 7
mov dword [ebp - 0x2a0], 0
mov word [ebp - 0x2b0], ax
call fcn.004058d0
lea eax, [ebp - 0x2c8]
push eax
lea eax, [ebp - 0x2b0]
push eax
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.00407490
cmp dword [ebp - 0x29c], 8
jb 0x45d279
push dword [ebp - 0x2b0]
call fcn.0048166b
add esp, 4
xor eax, eax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x2b4], 8
mov dword [ebp - 0x29c], 7
mov dword [ebp - 0x2a0], 0
mov word [ebp - 0x2b0], ax
jb 0x45d2b1
push dword [ebp - 0x2c8]
call fcn.0048166b
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
push eax
push str._04x
push 0xffffffffffffffff
lea eax, [ebp - 0x1c]
push 5
push eax
call fcn.005a4e29
add esp, 0x14
cmp word [ebp - 0x1c], 0
jne 0x45d2db
xor ecx, ecx
jmp 0x45d2f0
lea ecx, [ebp - 0x1c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45d2e1
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x6fb1e0
call fcn.004058d0
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
push eax
push str._04x
push 0xffffffffffffffff
lea eax, [ebp - 0x1c]
push 5
push eax
call fcn.005a4e29
add esp, 0x14
cmp word [ebp - 0x1c], 0
jne 0x45d329
xor ecx, ecx
jmp 0x45d33f
lea ecx, [ebp - 0x1c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45d330
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x6fb1f8
call fcn.004058d0
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
push eax
push str._04x
push 0xffffffffffffffff
lea eax, [ebp - 0x1c]
push 5
push eax
call fcn.005a4e29
add esp, 0x14
cmp word [ebp - 0x1c], 0
jne 0x45d378
xor ecx, ecx
jmp 0x45d38f
lea ecx, [ebp - 0x1c]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45d380
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x6fb1c8
call fcn.004058d0
cmp dword [ebp - 0x224], 8
jb 0x45d3b5
push dword [ebp - 0x238]
call fcn.0048166b
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005a4646
mov esp, ebp
pop ebp
ret