Function at 0x424540
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x1c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42495d
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
mov eax, 2
call fcn.00424504
pop ecx
push ebp
mov eax, 3
call fcn.00424504
pop ecx
push ebp
mov eax, 4
call fcn.00424504
pop ecx
push 0xfffffffffffffff0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
push eax
call sub.user32.dll_GetWindowLongA
mov edx, 0x50000
mov ecx, dword [0x466934]
cmp byte [ecx + 0x1c], 0
jne 0x4245b0
or edx, 0x80000
test bl, bl
je 0x4245b8
or eax, edx
jmp 0x4245bf
or ecx, 0xffffffff
sub ecx, edx
and eax, ecx
push eax
push 0xfffffffffffffff0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
push eax
call sub.user32.dll_SetWindowLongA
lea ecx, [ebp - 0x1c]
mov dl, 0xb
mov eax, dword [0x466934]
call fcn.0041d8d4
test bl, bl
je 0x424697
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
mov edx, 0x424974
call fcn.004049a8
lea ecx, [ebp - 0x24]
mov dl, 3
mov eax, dword [0x466934]
call fcn.0041d8d4
mov eax, dword [ebp - 0x24]
call fcn.00404b5c
push eax
push 0
push 0xc
push 0x65
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [ebp + 8]
push eax
call fcn.00424108
pop ecx
mov eax, dword [ebp + 8]
push eax
mov eax, dword [0x466bf0]
call fcn.004240e4
pop ecx
push 8
push 0x3e8
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov edx, dword [ebp + 8]
add eax, dword [edx - 0x10]
push eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x14]
mov eax, dword [ebp + 8]
add ecx, dword [eax - 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x18]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
call fcn.00413750
lea eax, [ebp - 0x34]
call fcn.004240ac
pop ecx
jmp 0x424911
lea eax, [ebp - 0x1c]
mov edx, 0x424980
call fcn.00404964
mov eax, dword [0x4669b8]
call fcn.00404b5c
push eax
push 0
push 0xc
push 0x65
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
push eax
call sub.user32.dll_GetWindowDC
mov dword [ebp - 0xc], eax
mov eax, dword [0x466a2c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_SelectObject
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x18], eax
push 0x20
call sub.user32.dll_GetSystemMetrics
dec eax
add eax, eax
add eax, 0x3c
mov dword [ebp - 0x10], eax
mov dl, 1
mov eax, dword [0x412bdc]
call fcn.004037b0
mov dword [ebp - 0x20], eax
xor edx, edx
push ebp
push 0x4247c2
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, dword [0x4669b8]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x4247ac
inc esi
xor ebx, ebx
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x38]
mov edx, ebx
mov eax, dword [ebp - 0x20]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x38]
call fcn.0040495c
push eax
lea ecx, [ebp - 0x3c]
mov edx, ebx
mov eax, dword [ebp - 0x20]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x3c]
call fcn.00404b5c
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_GetTextExtentPoint32A
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x14]
jle 0x4247a2
add eax, 0x10
mov dword [ebp - 0x14], eax
mov ecx, 0x280
sub ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x14]
jge 0x4247a2
mov eax, dword [ebp - 0x14]
sub eax, ecx
cdq
idiv ecx
inc eax
imul dword [ebp - 4]
add dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 4]
add dword [ebp - 0x18], eax
inc ebx
dec esi
jne 0x42473c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4247c9
mov eax, dword [ebp - 0x20]
call fcn.004037e0
ret
mov eax, dword [ebp - 0x1c]
call fcn.00404b5c
push eax
push 0
push 0xc
push 4
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x424964
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.004046a4
lea eax, [ebp - 0x24]
call fcn.00404680
lea eax, [ebp - 0x1c]
call fcn.00404680
ret