Function at 0x4145f0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x104
push ebx
push ebp
push esi
push edi
push 0
lea eax, [esp + 0x24]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov edx, dword [0x41db6c]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
push 0
push edx
push 0
push 0
sub ebp, ecx
push ebp
sub edi, eax
push edi
push ecx
mov ecx, dword [esp + 0x134]
push eax
mov eax, dword [esp + 0x13c]
push 0xcf0000
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov edx, dword [0x41db6c]
push 0
push edx
push 0xa
mov esi, eax
push esi
push 0
push 0
push 0
push 0
mov dword [esp + 0x3c], esi
call fcn.00414990
add esp, 0x20
mov dword [0x41e018], eax
lea eax, [esp + 0x84]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [0x41e018]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_GetDC]
push 0xd
mov esi, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push esi
call ebx
lea eax, [esp + 0x30]
push eax
push esi
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
mov ecx, dword [esp + 0x44]
push 0x11
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push esi
call ebx
lea edx, [esp + 0x30]
push edx
push esi
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x44]
jle 0x414704
push 0xd
mov dword [esp + 0x18], 0xd
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push esi
call ebx
lea ecx, [esp + 0x30]
push ecx
push esi
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
mov edx, dword [esp + 0x44]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x124]
push ecx
push edx
push esi
lea ebx, [esp + 0xa4]
call fcn.00414010
mov eax, dword [0x41e018]
mov ecx, dword [eax]
add esp, 0x10
push esi
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ebx, dword [esp + 0x10]
lea eax, [ebx + 4]
imul eax, dword [esp + 0x44]
cmp eax, edi
mov esi, edi
jg 0x414751
mov esi, eax
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x40]
lea ecx, [eax + edx]
mov edx, dword [esp + 0x18]
add edx, 4
imul ecx, edx
cmp ecx, ebp
jle 0x41476c
mov ecx, ebp
push 1
mov eax, ebp
sub eax, ecx
cdq
sub eax, edx
push ecx
sar eax, 1
push esi
push eax
mov eax, edi
sub eax, esi
mov esi, dword [esp + 0x2c]
cdq
sub eax, edx
sar eax, 1
push eax
push esi
call dword [sym.imp.USER32.dll_MoveWindow]
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov ecx, dword [0x41e018]
push eax
push ecx
call fcn.00414a50
mov esi, dword [0x41e018]
lea edx, [esp + 0x9c]
call fcn.004143d0
mov eax, dword [esp + 0x128]
mov ecx, dword [0x41e018]
push ebx
lea edx, [esp + 0xa0]
push edx
push eax
push ecx
call fcn.00414420
mov edx, dword [0x41e018]
mov eax, dword [edx]
add esp, 0x18
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [0x41e018]
mov edx, dword [ecx]
push 0
push 0
push 0x197
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x41e018]
push eax
call fcn.00414bc0
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
add esp, 4
push 0
push 0
push 0
lea ecx, [esp + 0x74]
push ecx
call esi
test eax, eax
je 0x414860
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
lea edx, [esp + 0x68]
push edx
call edi
lea eax, [esp + 0x68]
push eax
call ebx
push 0
push 0
push 0
lea ecx, [esp + 0x74]
push ecx
call esi
test eax, eax
jne 0x414841
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret