Function at 0x462490
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x4ccbf8]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
xorps xmm0, xmm0
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [0x54f7dc]
xor edi, edi
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
sub ebx, dword [ebp - 0x14]
sub esi, dword [ebp - 0x10]
dec ebx
mov dword [eax + 0x10], 0
sub esi, 2
mov eax, dword [0x54f7dc]
mov dword [ebp - 0x2c], esi
cmp dword [eax + 4], edi
jle 0x46252d
nop dword [eax]
mov eax, dword [eax + 8]
mov esi, dword [eax + edi*4]
push dword [esi]
call fcn.00462ae0
add esp, 4
mov dword [esi + 8], eax
test eax, eax
je 0x46251f
mov eax, dword [0x54f7dc]
inc dword [eax + 0x10]
mov eax, dword [0x54f7dc]
inc edi
cmp edi, dword [eax + 4]
jl 0x462500
mov esi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
test edx, edx
js 0x462700
cmp edx, dword [eax + 4]
jge 0x462700
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0x10]
push 0x4a1824
mov edi, dword [ecx + edx*4]
lea eax, [eax + eax*4]
mov dword [ebp - 0x28], edi
shl eax, 2
sub esi, eax
push dword [edi + 0x10]
add esi, 0x14
mov dword [ebp - 0x18], esi
call fcn.00436680
add esp, 8
test eax, eax
je 0x462576
mov dword [eax + 0x44], 1
mov ecx, dword [ebp - 0x20]
test ecx, ecx
js 0x4626d3
mov eax, dword [0x54f7dc]
cmp ecx, dword [eax + 4]
jge 0x4626d3
mov edx, dword [ebp - 0x1c]
cmp ecx, edx
je 0x4626d3
mov eax, dword [eax + 8]
push 0
push esi
push ebx
mov eax, dword [eax + ecx*4]
mov ecx, ebx
neg ecx
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x20], edx
mov eax, ebx
push 0
cmovge eax, ecx
push eax
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_MoveWindow]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [edi + 0x10]
call esi
call fcn.00435f20
cmp dword [eax + 0xe00], 0
jne 0x4626b4
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4626b4
mov edi, 1
test ebx, ebx
jle 0x4626b1
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
xor esi, esi
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x24]
neg esi
mov edx, dword [ebp - 0x20]
sub ecx, ebx
cmp edx, dword [ebp - 0x1c]
push 1
push dword [ebp - 0x18]
lea eax, [esi + ebx]
push ebx
push 0
cmovge eax, ecx
push eax
mov eax, dword [ebp - 0x28]
push dword [eax + 0x10]
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x1c]
push 1
push dword [ebp - 0x18]
cmovge esi, dword [ebp - 0x24]
push ebx
push 0
push esi
mov esi, dword [ebp - 0x2c]
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [ebp - 0x28]
push dword [eax + 0x10]
call dword [sym.imp.USER32.dll_UpdateWindow]
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [ebp - 0x24]
add esi, edi
mov dword [ebp - 0x24], esi
cmp esi, dword [ebp - 0x30]
jge 0x462683
lea eax, [edi + edi]
mov edi, eax
cmp eax, 0x1e
mov eax, 0x1e
cmovg edi, eax
jmp 0x46269b
mov ecx, ebx
lea eax, [edi + edi*2]
sub ecx, esi
cmp ecx, eax
jge 0x46269b
sar edi, 1
mov eax, 1
cmp edi, 1
cmovl edi, eax
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, ebx
jl 0x462608
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [ebp - 0x28]
push 1
push dword [ebp - 0x18]
push ebx
push 0
push 0
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [ebp - 0x2c]
push 0
push dword [eax + 0x10]
call esi
jmp 0x4626ea
push 1
push esi
push ebx
push 0
push 0
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_MoveWindow]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [edi + 0x10]
call esi
push 0
push dword [edi + 0x14]
call esi
mov eax, dword [0x54f7dc]
mov edx, dword [ebp - 0x1c]
xor edi, edi
cmp dword [eax + 4], edi
jle 0x462772
mov ecx, dword [eax + 8]
mov esi, dword [ecx + edi*4]
cmp edi, edx
je 0x46276c
test byte [esi + 8], 1
mov eax, dword [esi + 0x14]
je 0x46275b
push 0x10
push 0x14
push ebx
push dword [ebp - 0x18]
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 4]
not eax
and eax, 1
push eax
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_ShowWindow]
add dword [ebp - 0x18], 0x14
jmp 0x462764
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x54f7dc]
inc edi
cmp edi, dword [eax + 4]
jl 0x462707
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047f41c
mov esp, ebp
pop ebp
ret