Function at 0x45704f
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
nop
mov eax, dword [ebp + 0x10]
cmp eax, 0x3e
jne 0x457094
mov eax, dword [esi + 0x10]
cmp eax, 2
jl 0x45708a
mov eax, dword [esi + 0x10]
sub eax, 2
lea eax, [eax*4]
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x28]
lea eax, [eax + ecx]
movsx eax, byte [eax + 2]
cmp eax, 0x2d
je 0x457094
mov eax, 0
jmp 0x4572d4
push dword [0x48e770]
call fcn.0041cc08
pop ecx
mov eax, dword [0x497e28]
test eax, eax
jne 0x4572c4
push dword [ebp + 0x10]
push esi
push dword [ebp + 8]
call fcn.00456ad7
add esp, 0xc
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x4572c4
push 0
push dword [0x478670]
push 0
push dword [ebp + 8]
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0x82000000
push 0x475813
push str.xcccodeclass
push 0x8080008
call sub.USER32.DLL_CreateWindowExA
mov dword [0x497e28], eax
mov eax, dword [0x497e28]
test eax, eax
je 0x4572c4
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x50], eax
push dword [0x497e28]
call sub.USER32.DLL_GetDC
mov dword [ebp - 0xc], eax
push 0x46e09c
call sub.GDI32.DLL_CreateFontIndirectA
mov dword [ebp - 8], eax
push dword [esi + 0x10]
push esi
push dword [ebp + 8]
call fcn.0045158e
add esp, 0xc
push dword [ebp - 8]
push dword [ebp - 0xc]
call sub.GDI32.DLL_SelectObject
mov dword [ebp - 8], eax
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0xc]
call sub.GDI32.DLL_GetTextMetricsA
push 0
push 0
push 0x184
push dword [0x497e28]
call sub.USER32.DLL_SendMessageA
mov eax, dword [esi]
mov byte [eax + 0x95c7], 0
mov ebx, 0
jmp 0x4571e1
inc dword [ebp - 0x60]
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x50]
push dword [eax + 8]
call fcn.0046038e
pop ecx
push eax
mov eax, dword [ebp - 0x50]
push dword [eax + 8]
push dword [ebp - 0xc]
call sub.GDI32.DLL_GetTextExtentPoint32A
mov eax, dword [ebp - 0x58]
cmp eax, ebx
jle 0x4571c1
mov ebx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x50]
push dword [eax + 8]
push 0
push 0x180
push dword [0x497e28]
call sub.USER32.DLL_SendMessageA
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x457195
push dword [ebp - 8]
push dword [ebp - 0xc]
call sub.GDI32.DLL_SelectObject
mov dword [ebp - 8], eax
push dword [ebp - 8]
call sub.GDI32.DLL_DeleteObject
push dword [ebp - 0xc]
push dword [0x497e28]
call sub.USER32.DLL_ReleaseDC
mov eax, dword [ebp - 0x60]
cmp eax, 8
jle 0x45721b
mov dword [ebp - 0x60], 8
cmp ebx, 0x46
jge 0x457225
mov ebx, 0x46
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x4572b9
mov eax, dword [ebp - 0x44]
imul eax, dword [ebp - 0x60]
mov edi, eax
push 2
call sub.USER32.DLL_GetSystemMetrics
add eax, 0xa
push eax
push 0x20
call sub.USER32.DLL_GetSystemMetrics
mov ecx, eax
pop eax
shl ecx, 1
add eax, ecx
add ebx, eax
push edi
push ebx
lea eax, [ebp - 0x4c]
push eax
push esi
push dword [ebp + 8]
call fcn.00456a52
add esp, 0x14
push dword [ebp + 8]
push 0
push 0x400
push dword [0x497e28]
call sub.USER32.DLL_SendMessageA
push 1
mov eax, edi
add eax, 4
push eax
mov eax, ebx
add eax, 4
push eax
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
push dword [0x497e28]
call sub.USER32.DLL_MoveWindow
push 5
push dword [0x497e28]
call sub.USER32.DLL_ShowWindow
push dword [0x48e770]
call sub.KERNEL32.DLL_SetEvent
mov eax, 1
jmp 0x4572d4
push dword [0x497e28]
call sub.USER32.DLL_DestroyWindow
push dword [0x48e770]
call sub.KERNEL32.DLL_SetEvent
mov eax, 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret