Function at 0x40ebae
Capabilities:
Identify system language via api

Disassembly:
push ebp
push ebx
call fcn.00475020
call fcn.0040c1a2
push 0x91
push 5
call fcn.0041dcfb
push 0xffffffec
push 0x8f
call fcn.004575af
push eax
call sub.USER32.dll_GetWindowLongW
mov ebx, eax
or ebx, 0x20
push ebx
push 0xffffffec
push 0x8f
call fcn.004575af
push eax
call sub.USER32.dll_SetWindowLongW
push 0x5a
call fcn.0046d770
push eax
mov eax, 0x52f028
push eax
push 0
push 0x69
call fcn.00455280
push 0x17
call fcn.0046d770
push eax
mov eax, 0x52f028
push eax
push 1
push 0x69
call fcn.00455280
push 8
call fcn.0046d770
push eax
mov eax, 0x52f028
push eax
push 2
push 0x69
call fcn.00455280
mov ebp, dword [0x63d618]
mov ebx, dword [ebp + 8]
cmp ebx, 1
jne 0x40ed15
call sub.KERNEL32.dll_GetUserDefaultLangID
mov ebx, eax
and ebx, 0x3ff
push ebx
mov ebx, 4
cmp ebx, dword [esp]
jne 0x40ecaf
mov eax, 0x53c904
push eax
call fcn.0040f369
push 2
push 0x69
call fcn.004552e5
mov eax, 0x53c904
push eax
push 0x69
call fcn.0045531d
jmp 0x40ed0f
mov ebx, 9
cmp ebx, dword [esp]
jne 0x40ece5
mov eax, str.English
push eax
call fcn.0040f369
push 1
push 0x69
call fcn.004552e5
mov eax, str.English
push eax
push 0x69
call fcn.0045531d
jmp 0x40ed0f
mov eax, 0x52fd14
push eax
call fcn.0040f369
push 0
push 0x69
call fcn.004552e5
mov eax, 0x52fd14
push eax
push 0x69
call fcn.0045531d
pop eax
jmp 0x40edbf
mov ebp, dword [0x63d5fc]
push dword [ebp]
mov edx, 0x53c904
mov ecx, dword [esp]
call fcn.0042b340
je 0x40ed59
mov eax, 0x53c904
push eax
call fcn.0040f369
push 2
push 0x69
call fcn.004552e5
mov eax, 0x53c904
push eax
push 0x69
call fcn.0045531d
jmp 0x40edbe
mov edx, str.English
mov ecx, dword [esp]
call fcn.0042b340
je 0x40ed94
mov eax, str.English
push eax
call fcn.0040f369
push 1
push 0x69
call fcn.004552e5
mov eax, str.English
push eax
push 0x69
call fcn.0045531d
jmp 0x40edbe
mov eax, 0x52fd14
push eax
call fcn.0040f369
push 0
push 0x69
call fcn.004552e5
mov eax, 0x52fd14
push eax
push 0x69
call fcn.0045531d
pop eax
call fcn.0040d216
mov ebp, dword [0x63d618]
push dword [ebp + 0x7c]
push 0x8e
call fcn.004552e5
mov ebp, dword [0x63d618]
push dword [ebp + 0x4c]
push 0x70
call fcn.004552e5
mov ebp, dword [0x63d618]
push dword [ebp + 0x50]
push 0x71
call fcn.004552e5
mov ebp, dword [0x63d618]
push dword [ebp + 0x54]
push 0x72
call fcn.004552e5
mov ebp, dword [0x63d618]
push dword [ebp + 0x58]
push 0x73
call fcn.004552e5
mov ebp, dword [0x63d618]
push dword [ebp + 0x5c]
push pe_nt_image_headers32
call fcn.004552e5
mov ebp, dword [0x63d618]
push dword [ebp + 0x60]
push 0x81
call fcn.004552e5
mov ebp, dword [0x63d618]
push dword [ebp + 0x68]
push 0x82
call fcn.004552e5
mov ebp, dword [0x63d618]
push dword [ebp + 0x64]
push 0x83
call fcn.004552e5
mov ebp, dword [0x63d618]
push dword [ebp + 0x6c]
push 0x87
call fcn.004552e5
mov ebp, dword [0x63d618]
push dword [ebp + 0x70]
push 0x88
call fcn.004552e5
mov ebp, dword [0x63d618]
push dword [ebp + 0x78]
push 0x8d
call fcn.004552e5
mov ebp, dword [0x63d618]
push dword [ebp + 0x74]
push 0x8c
call fcn.004552e5
mov ebp, dword [0x63d618]
mov ebx, dword [ebp + 4]
xor ebx, 1
and ebx, ebx
jne 0x40eedd
mov ebp, dword [0x63d618]
mov ebx, dword [ebp + 8]
xor ebx, 1
and ebx, ebx
jne 0x40eedd
jmp 0x40eee4
mov eax, 1
jmp 0x40eee6
xor eax, eax
and eax, eax
je 0x40eef9
push 1
push 0x82
call fcn.00459934
call fcn.00427bf4
mov ebp, dword [0x63d618]
mov ebx, dword [ebp + 8]
cmp ebx, 1
jne 0x40ef1d
call fcn.0040e91f
call fcn.004073f4
call fcn.0040a1b8
jmp 0x40ef0c
xor eax, eax
pop ebx
pop ebp
ret