Function at 0x416f20
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x65f018]
xor eax, esp
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, ecx
mov ecx, dword [ebp + 0x1c]
push edi
mov edi, dword [ebp + 0x14]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x18]
push eax
mov dword [edi + 0xc], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi], 0
push dword [ebx + 0x20]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
call esi
push dword [esp + 0x30]
mov ecx, ebx
call fcn.0044febd
push dword [esp + 0x18]
push dword [eax + 0x20]
call esi
mov esi, dword [sym.imp.USER32.dll_MonitorFromPoint]
push 0
push 0xa
push 0xa
mov dword [esp + 0x28], esi
call esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x3c], 0
push ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x30], 0
push ecx
push 0
push eax
mov eax, dword [sym.imp.api_ms_win_shcore_scaling_l1_1_1.dll_GetDpiForMonitor]
mov dword [esp + 0x1c], eax
call eax
mov eax, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x60
push dword [esp + 0x40]
mov dword [esp + 0x18], eax
push 0xe
call eax
push 0
push 0xa
push 0xa
mov ebx, eax
call esi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x2c], 0
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x40], 0
push ecx
push 0
push eax
call dword [esp + 0x1c]
push 0x60
push dword [esp + 0x40]
push 0x14
call dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov esi, dword [ecx + 4]
mov edx, esi
sub edx, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0x18]
sub ecx, ebx
mov eax, dword [eax]
mov dword [edi], eax
mov dword [edi + 4], edx
mov eax, dword [esp + 0x24]
mov dword [edi + 8], ecx
mov dword [edi + 0xc], esi
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.004543e6
mov esi, eax
mov dword [esp + 0x28], esi
test esi, esi
je 0x417362
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x3c]
push eax
mov ecx, dword [ecx]
push dword [ecx - 0xc]
push ecx
push dword [esi + 8]
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
cmp dword [esp + 0x30], 0x430
jne 0x417194
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [esp + 0x1c]
mov si, ax
mov eax, dword [esp + 0x18]
and esi, 0x3ff
push 0
push 0xa
push 0xa
mov ebx, dword [eax + 4]
mov dword [esp + 0x44], ebx
call edi
lea ecx, [esp + 0x30]
mov dword [esp + 0x2c], 0
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x34], 0
push ecx
push 0
push eax
call dword [esp + 0x1c]
cmp esi, 0x12
mov eax, 0x168
mov ecx, 0x1e6
mov esi, dword [esp + 0x10]
cmove ecx, eax
mov eax, dword [esp + 0x3c]
cdq
idiv ecx
push 0x60
push dword [esp + 0x34]
shl eax, 4
add eax, 0x14
push eax
call esi
push 0
push 0xa
push 0xa
sub ebx, eax
call edi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x30], 0
push ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x30], 0
push ecx
push 0
push eax
call dword [esp + 0x1c]
push 0x60
push dword [esp + 0x34]
push 0x52
call esi
mov edi, eax
mov eax, dword [esp + 0x14]
push 0
push 0xa
push 0xa
mov esi, dword [eax]
call dword [esp + 0x28]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x30], 0
push ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x30], 0
push ecx
push 0
push eax
call dword [esp + 0x1c]
push 0x60
push dword [esp + 0x34]
push 0x14
call dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 8]
sub ecx, eax
lea eax, [edi + esi]
mov edi, dword [esp + 0x20]
mov dword [edi], eax
mov dword [edi + 4], ebx
mov dword [edi + 8], ecx
mov eax, dword [esp + 0x38]
mov dword [edi + 0xc], eax
jmp 0x41734e
cmp byte [ebp + 0xc], 0
je 0x4172c7
mov eax, dword [esp + 0x18]
push 0
push 0xa
push 0xa
mov ebx, dword [eax + 4]
mov dword [esp + 0x48], ebx
call dword [esp + 0x28]
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], 0
push ecx
push 0
push eax
mov dword [esp + 0x40], 0
call esi
mov edi, dword [esp + 0x10]
push 0x60
push dword [esp + 0x34]
push 0x24
call edi
push 0
sub ebx, eax
push 0xa
mov dword [esp + 0x40], ebx
mov ebx, dword [esp + 0x24]
push 0xa
call ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x30], 0
push ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x30], 0
push ecx
push 0
push eax
call esi
push 0x60
push dword [esp + 0x34]
push 0x64
call edi
mov esi, dword [esp + 0x14]
push 0
push 0xa
push 0xa
mov edi, dword [esi]
add edi, eax
call ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x30], 0
push ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x30], 0
push ecx
push 0
push eax
call dword [esp + 0x1c]
push 0x60
push dword [esp + 0x34]
push 0xa
call dword [esp + 0x1c]
mov esi, dword [esi + 8]
push 0
push 0xa
push 0xa
sub esi, eax
call ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x30], 0
push ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x30], 0
push ecx
push 0
push eax
call dword [esp + 0x1c]
push 0x60
push dword [esp + 0x34]
push 0x28
call dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
mov edx, dword [ecx]
mov ecx, edx
sub ecx, dword [ebx]
cmp ecx, eax
mov eax, dword [esp + 0x20]
cmovl edi, edx
mov dword [eax], edi
mov edi, eax
mov ebx, dword [esp + 0x38]
mov dword [edi + 4], ebx
mov dword [edi + 8], esi
mov eax, dword [esp + 0x3c]
mov dword [edi + 0xc], eax
jmp 0x41734e
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x30]
push ecx
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
push dword [esi + 8]
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
push 0
push 0xa
push 0xa
call dword [esp + 0x28]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x38], 0
push ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x30], 0
push ecx
push 0
push eax
call dword [esp + 0x1c]
mov esi, dword [esp + 0x30]
push 0x60
push dword [esp + 0x3c]
push esi
call dword [esp + 0x1c]
mov edx, dword [edi]
add eax, edx
mov dword [edi + 8], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 8]
mov ecx, eax
mov dword [esp + 0x2c], eax
sub ecx, ebx
lea eax, [edx + esi]
cmp eax, ecx
jle 0x417340
mov edx, dword [esp + 0x2c]
sub edx, esi
sub edx, ebx
mov dword [edi], edx
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
add eax, ebx
cmp edx, eax
jge 0x41734e
mov dword [edi], eax
mov eax, dword [esp + 0x28]
push dword [eax + 4]
mov eax, dword [esp + 0x28]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
test eax, eax
jle 0x41738b
mov eax, dword [edi + 8]
sub eax, dword [edi]
test eax, eax
jle 0x41738b
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0058fc43
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [esp + 0x44]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0058fc43
mov esp, ebp
pop ebp
ret 0x18