Function at 0x45ea9f
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x485707
push dword fs:[0]
mov dword fs:[0], esp
sub esp, 0x12c
push 0
push dword [0x4b5fe8]
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x20]
push ecx
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [0x48686c]
mov ecx, dword [0x48685c]
lea edx, [eax + ecx + 4]
mov eax, dword [ebp - 0x14]
sub eax, edx
mov dword [ebp - 0x10], eax
push 0x56c
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x1c]
sub dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x1c]
sub dword [ebp - 0x10], ecx
xor eax, eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x10], 0
setl al
dec eax
and eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
push 0x43f
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x20]
push ecx
push eax
call fcn.00461b6a
nop
nop
nop
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x20]
sub eax, dword [0x486858]
sub eax, 2
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x10]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x30], eax
push 0
mov ecx, dword [0x48685c]
add ecx, 2
push ecx
mov edx, dword [0x486858]
add edx, 2
push edx
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_MoveWindow]
push 7
call fcn.0047cae3
nop
nop
nop
push 7
call fcn.0047d1ca
add esp, 4
push 0
call fcn.00401692
lea ecx, [ebp - 0x138]
call fcn.004032b0
inc dword [ebp - 4]
mov eax, 0x48bba0
lea ecx, [ebp - 0x138]
call fcn.004165b8
mov eax, 0x7c3800
call fcn.00401655
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x138]
push ecx
push 0
push 0
push eax
push 3
call fcn.004789d6
push eax
push dword [0x48685c]
push dword [0x486858]
push 0
push 0
call fcn.0047e09b
push dword [ebp - 0x28]
push dword [0x4b5fe8]
call dword [sym.imp.USER32.dll_SetParent]
test eax, eax
jne 0x45ec26
push 0
push 0x48e4b8
push 0x48e4bc
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
push dword [0x48685c]
push dword [0x486858]
push 0
push 0
push dword [0x4b5fe8]
call dword [sym.imp.USER32.dll_MoveWindow]
mov edx, dword [0x48685c]
mov eax, dword [ebp - 0x30]
lea ecx, [eax + edx + 2]
mov dword [ebp - 0x30], ecx
push 0x56c
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [ebp - 0x14]
add dword [ebp - 0x30], ecx
push 0x441
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
mov edx, dword [0x48686c]
add edx, 2
push edx
mov eax, dword [0x486868]
add eax, 2
push eax
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_MoveWindow]
push 8
call fcn.0047cae3
nop
nop
nop
push 7
call fcn.0047d1ca
add esp, 4
push 0
call fcn.00401692
lea ecx, [ebp - 0x138]
push ecx
push 0
push 0
push dword [ebp - 0x34]
push 4
call fcn.004789d6
push eax
push dword [0x48686c]
push dword [0x486868]
push 0
push 0
call fcn.0047e09b
push 4
call fcn.00401692
mov eax, dword [ebp - 0x24]
cmp al, 2
ja 0x45ed4f
imul eax, eax, 0x2580
add eax, 0x7c3800
call fcn.00401655
lea ecx, [ebp - 0x138]
push ecx
push 0x1d4c
push 0xa
push eax
push dword [ebp - 0x24]
call fcn.004789d6
inc dword [ebp - 0x24]
jmp 0x45ed1c
mov byte [ebp - 0x24], 0
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [ebp - 0x24]
mov ecx, dword [0x4b5e84]
cmp edx, dword [ecx + 0x10c]
jae 0x45edd0
cmp edx, dword [ecx + 0x110]
jae 0x45ed7a
mov eax, 0x7c8300
jmp 0x45eda2
mov edx, dword [0x4b5e84]
mov eax, dword [edx + 0x10c]
shl eax, 1
xor edx, edx
mov ecx, 3
div ecx
cmp dword [ebp - 0x24], eax
jae 0x45ed9d
mov eax, 0x7c5d80
jmp 0x45eda2
mov eax, 0x7c3800
call fcn.00401655
push eax
push 0x32
push 0x32
mov eax, dword [ebp - 0x24]
mov ecx, 0xa
xor edx, edx
div ecx
shl eax, 6
add eax, 0xd
push eax
imul edx, edx, 0x33
add edx, 1
push edx
call fcn.0047e09b
inc dword [ebp - 0x24]
jmp 0x45ed5a
lea ecx, [ebp - 0x138]
call fcn.004192c5
push dword [ebp - 0x28]
push dword [0x4b5fec]
call dword [sym.imp.USER32.dll_SetParent]
test eax, eax
jne 0x45ee03
push 0
push 0x48e4c0
push 0x48e4c4
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
push dword [0x48686c]
push dword [0x486868]
push 0
push 0
push dword [0x4b5fec]
call dword [sym.imp.USER32.dll_MoveWindow]
push 0
call fcn.0047cae3
nop
nop
nop
push 5
push dword [0x4b5fe8]
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [0x4b5fec]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x434
push 0xf
push dword [ebp + 8]
call fcn.00460863
dec dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret