Function at 0x450330
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x114
push ebx
push ebp
mov ebp, dword [esp + 0x124]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 7
call edi
mov ecx, dword [esp + 0x128]
push 7
lea ebx, [ecx + eax*2]
call edi
mov esi, eax
push 4
add esi, esi
call edi
push 0
lea edx, [esp + 0x2c]
push edx
push 0
add eax, esi
push 0x30
add ebp, eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
sub eax, ecx
sub eax, ebx
cdq
sub eax, edx
mov esi, eax
mov eax, dword [esp + 0x34]
sar esi, 1
add esi, ecx
mov ecx, dword [esp + 0x2c]
sub eax, ecx
sub eax, ebp
cdq
sub eax, edx
mov edi, eax
mov eax, dword [0x51aed8]
sar edi, 1
add edi, ecx
test eax, eax
je 0x4503c0
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4503c0
mov eax, dword [0x51aed8]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [0x51aec4]
mov edx, dword [0x51aed0]
mov eax, dword [esp + 0x130]
push 0
push ecx
mov ecx, dword [0x51e604]
push 0
push edx
push ebp
push ebx
push edi
push esi
mov esi, dword [sym.imp.USER32.dll_CreateWindowExW]
push 0x88c00000
push eax
push ecx
push 8
mov dword [0x51aed8], 0
call esi
lea edx, [esp + 0x18]
push edx
push eax
mov dword [0x51aed8], eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [0x51aec4]
mov ecx, dword [0x51aed8]
mov edx, dword [esp + 0x24]
sub edx, dword [esp + 0x1c]
push 0
push eax
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
push 0
push ecx
mov ecx, dword [esp + 0x144]
push edx
push eax
push 0
push 0
push 0x50000001
push ecx
push str.static
push 0
call esi
mov ebx, eax
mov eax, dword [0x51aee0]
test eax, eax
jne 0x450567
push eax
push eax
push eax
push str.DISPLAY
lea ebp, [eax + 0xc]
call dword [sym.imp.GDI32.dll_CreateDCW]
push 0x4f3fb8
mov edi, eax
call fcn.004a4b10
add esp, 4
push 0x1f
push eax
lea edx, [esp + 0x5c]
push edx
mov byte [esp + 0x5b], 1
mov byte [esp + 0x5f], 0
call fcn.004cb3f1
add esp, 0xc
xor eax, eax
push eax
lea ecx, [esp + 0x1b]
push ecx
push 0x4ad3e0
lea edx, [esp + 0x44]
push edx
push edi
mov word [esp + 0xa6], ax
mov byte [esp + 0x2b], al
call dword [sym.imp.GDI32.dll_EnumFontFamiliesExW]
cmp byte [esp + 0x17], 0
je 0x4504f1
push 0x4f3fb8
mov ebp, 0xb
call fcn.004a4b10
lea edx, [esp + 0x9c]
add esp, 4
sub edx, eax
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4504e0
jmp 0x450512
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [esp + 0x98]
push eax
push 0x40
push edi
call dword [sym.imp.GDI32.dll_GetTextFaceW]
push 0x5a
push edi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push edi
mov esi, eax
call dword [sym.imp.GDI32.dll_DeleteDC]
imul esi, ebp
lea ecx, [esp + 0x98]
push ecx
push 0
push 2
push 0
push 4
push 1
push 0
mov eax, 0xc71c71c7
imul esi
push 0
push 0
push 0x190
sar edx, 4
push 0
mov eax, edx
push 0
shr eax, 0x1f
push 0
add eax, edx
push eax
call dword [sym.imp.GDI32.dll_CreateFontW]
mov dword [0x51aee0], eax
push 1
push eax
push 0x30
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [0x51aed8]
push 4
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push 0xffffffffffffffff
mov dword [0x5164f4], 0
call fcn.00401930
add esp, 8
pop edi
pop esi
pop ebp
mov dword [0x5164f4], 1
mov eax, 1
pop ebx
add esp, 0x114
ret 0x10