Function at 0x45f8b928
Capabilities:
Identify system language via api

Disassembly:
push 0x6a0
mov eax, 0x45fb96de
call fcn.45fb1aab
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x694], eax
xor ebx, ebx
mov dword [ebp - 0x684], ebx
mov dword [ebp - 0x68c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x220]
call fcn.45f8bd35
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
mov dword [ebp - 0x67c], eax
mov dword [ebp - 0x6a8], esi
mov edi, esi
shr edi, 0x10
and edi, 0xf
shl edi, 0x10
mov edx, 0x3ff
and esi, edx
or edi, esi
lea ecx, [edx + 1]
or edi, ecx
mov dword [ebp - 0x6a4], edi
mov dword [ebp - 0x6a0], eax
mov esi, eax
shr esi, 0x10
and esi, 0xf
shl esi, 0x10
and eax, edx
or esi, eax
or esi, ecx
mov dword [ebp - 0x69c], esi
mov dword [ebp - 0x698], 0x409
xor eax, eax
mov dword [ebp - 0x690], eax
cmp eax, 5
jge 0x45f8babe
mov dword [ebp - 0x688], ebx
cmp dword [ebp - 0x688], eax
jge 0x45f8ba01
mov ecx, dword [ebp + eax*4 - 0x6a8]
mov edx, dword [ebp - 0x688]
cmp ecx, dword [ebp + edx*4 - 0x6a8]
je 0x45f8bbc6
inc dword [ebp - 0x688]
jmp 0x45f8b9d7
cmp bl, bl
jne 0x45f8bbc6
mov ecx, dword [0x4603911c]
mov dword [ebp - 0x680], ecx
mov byte [ebp - 4], 1
mov edi, dword [ebp + eax*4 - 0x6a8]
push edi
push 0x45dd4200
lea eax, [ebp - 0x680]
push eax
call fcn.45f905ab
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
lea esi, [ebp - 0x67c]
call fcn.45f8f423
mov byte [ebp - 4], 2
mov eax, esi
push eax
lea eax, [ebp - 0x680]
call fcn.45f8f831
push 0x45dc2d64
mov eax, esi
push eax
call fcn.45f8f7e2
lea eax, [ebp - 0x428]
push eax
mov eax, esi
push eax
call fcn.45f8f7e2
push ebx
push ebx
push dword [ebp - 0x67c]
call dword [0x4603b348]
mov dword [ebp - 0x684], eax
cmp eax, ebx
je 0x45f8bb99
mov dword [ebp - 0x68c], edi
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x67c]
add eax, 0xfffffff4
push eax
call fcn.45f8f362
pop ecx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x680]
add eax, 0xfffffff4
push eax
call fcn.45f8f362
pop ecx
cmp dword [ebp - 0x684], ebx
jne 0x45f8bc05
lea eax, [ebp - 0x220]
push eax
lea esi, [ebp - 0x67c]
call fcn.45f8f423
mov byte [ebp - 4], 3
push 0x45dcc9c0
mov eax, esi
push eax
call fcn.45f8f7e2
push dword [ebp - 0x67c]
lea eax, [ebp - 0x678]
call fcn.45f8f176
pop ecx
mov dword [ebp - 0x680], eax
cmp eax, 0xffffffff
je 0x45f8bbf2
mov edi, dword [0x45db143c]
lea eax, [ebp - 0x64c]
push eax
call edi
pop ecx
test eax, eax
jle 0x45f8bbcc
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x67c]
call fcn.45f8f58f
lea eax, [ebp - 0x64c]
push eax
lea eax, [ebp - 0x67c]
push eax
call fcn.45f8f7e2
push 0x45dc2d64
lea eax, [ebp - 0x67c]
push eax
call fcn.45f8f7e2
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x67c]
push eax
call fcn.45f8f7e2
push ebx
push ebx
push dword [ebp - 0x67c]
call dword [0x4603b348]
mov dword [ebp - 0x684], eax
cmp eax, ebx
je 0x45f8bbcc
lea eax, [ebp - 0x64c]
push eax
call edi
pop ecx
mov dword [ebp - 0x68c], eax
jmp 0x45f8bbe6
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x67c]
add eax, 0xfffffff4
push eax
call fcn.45f8f362
pop ecx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x680]
add eax, 0xfffffff4
push eax
call fcn.45f8f362
pop ecx
mov eax, dword [ebp - 0x690]
inc eax
jmp 0x45f8b9c2
push dword [ebp - 0x680]
lea esi, [ebp - 0x678]
call fcn.45f8f1b7
pop ecx
test eax, eax
jne 0x45f8bb14
push dword [ebp - 0x680]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x67c]
add eax, 0xfffffff4
push eax
call fcn.45f8f362
pop ecx
or dword [ebp - 4], 0xffffffff
jmp 0x45f8bc17
mov eax, dword [ebp - 0x694]
cmp eax, ebx
je 0x45f8bc29
mov ecx, dword [ebp - 0x68c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x684]
call fcn.45fb1b16
ret 4