Function at 0x4671ea
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
cmp dword [ebx + 8], edi
jbe 0x46726d
mov dword [ebp - 0xc], edi
mov esi, dword [ebx]
add esi, dword [ebp - 0xc]
test dword [esi + 0x3c], 0x8080
je 0x467263
lea ecx, [esi + 0x18]
call fcn.00467045
test al, al
je 0x467225
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x46724e
mov edx, dword [esi + 0x38]
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x28]
or edx, 0x80
push edx
mov edx, dword [esi + 0x34]
sub edx, eax
push edx
mov edx, dword [esi + 0x30]
sub edx, ecx
push edx
push eax
push ecx
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowPos]
test byte [esi + 0x3c], 0x80
je 0x467263
push 0x40
push edi
mov ecx, ebx
call fcn.0048e2d7
dec edi
sub dword [ebp - 0xc], 0x40
add dword [ebp - 0xc], 0x40
inc edi
cmp edi, dword [ebx + 8]
jb 0x4671ff
mov esi, dword [ebx + 8]
mov eax, esi
shl eax, 6
call fcn.00401000
and dword [ebp - 4], 0
mov eax, esp
mov dword [ebp - 0x18], eax
test esi, esi
je 0x4673aa
mov dword [ebp - 8], eax
and dword [ebp - 0xc], 0
mov dword [ebp - 0x20], esi
test esi, esi
jbe 0x467355
and dword [ebp - 0x14], 0
mov esi, dword [ebx]
add esi, dword [ebp - 0x14]
lea ecx, [esi + 0x18]
call fcn.00467045
test al, al
jne 0x46733a
lea eax, [esi + 8]
push ecx
push eax
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x46733a
xor edi, edi
mov dword [ebp - 0x10], edi
cmp dword [ebx + 8], edi
jbe 0x46733a
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xc], eax
je 0x46732c
mov edx, dword [ebx]
lea ecx, [edi + edx + 0x18]
call fcn.00467045
test al, al
jne 0x46732c
test byte [edi + edx + 0x3c], 0x80
jne 0x46732c
lea eax, [edi + edx + 8]
push eax
lea eax, [esi + 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x46732c
mov eax, dword [ebx]
add eax, edi
lea ecx, [eax + 8]
lea edx, [esi + 8]
mov dword [ebp - 0x1c], eax
call fcn.0046705c
test al, al
je 0x467367
mov ecx, dword [ebp - 0x1c]
add ecx, 0x18
lea edx, [esi + 0x18]
call fcn.0046705c
test al, al
je 0x467367
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
add edi, 0x40
cmp eax, dword [ebx + 8]
jb 0x4672cf
mov edi, dword [ebp - 8]
inc dword [ebp - 4]
add dword [ebp - 8], 0x40
push 0x10
pop ecx
push 0x40
push dword [ebp - 0xc]
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call fcn.0048e2d7
mov esi, dword [ebx + 8]
cmp dword [ebp - 0x20], esi
je 0x46737c
test esi, esi
jne 0x46728e
jmp 0x4673aa
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
add dword [ebp - 0x14], 0x40
cmp eax, dword [ebx + 8]
jb 0x4672a1
jmp 0x467355
xor edx, edx
test esi, esi
jbe 0x4673aa
mov eax, dword [ebp - 4]
and dword [ebp - 0x14], edx
shl eax, 6
add eax, dword [ebp - 0x18]
mov esi, dword [ebx]
add esi, dword [ebp - 0x14]
inc dword [ebp - 4]
add dword [ebp - 0x14], 0x40
push 0x10
mov edi, eax
add eax, 0x40
pop ecx
inc edx
rep movsd dword es:[edi], dword [esi]
cmp edx, dword [ebx + 8]
jb 0x46738e
mov edi, dword [ebp - 4]
test edi, edi
jle 0x4673f4
mov esi, dword [ebp - 0x18]
add esi, 0x3c
lea ecx, [esi - 0x24]
call fcn.00467045
test al, al
jne 0x4673ee
test dword [esi], 0x8000
jne 0x4673ee
push dword [esi - 4]
mov eax, dword [esi - 0x10]
mov edx, dword [esi - 8]
mov ecx, dword [esi - 0x14]
sub edx, eax
push edx
mov edx, dword [esi - 0xc]
sub edx, ecx
push edx
push eax
push ecx
push dword [esi - 0x38]
push dword [esi - 0x3c]
call dword [sym.imp.USER32.dll_SetWindowPos]
add esi, 0x40
dec edi
jne 0x4673b7
mov edi, dword [ebp - 4]
test edi, edi
jle 0x467454
mov esi, dword [ebp - 0x18]
add esi, 0x3c
mov eax, dword [esi]
test al, al
js 0x46744e
test eax, 0x8040
je 0x46744e
lea ecx, [esi - 0x24]
call fcn.00467045
test al, al
je 0x467427
push 5
push dword [esi - 0x3c]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x46744e
mov edx, dword [esi - 4]
mov eax, dword [esi - 0x10]
mov ecx, dword [esi - 0x14]
or edx, 0x40
push edx
mov edx, dword [esi - 8]
sub edx, eax
push edx
mov edx, dword [esi - 0xc]
sub edx, ecx
push edx
push eax
push ecx
push dword [esi - 0x38]
push dword [esi - 0x3c]
call dword [sym.imp.USER32.dll_SetWindowPos]
add esi, 0x40
dec edi
jne 0x467401
mov ecx, ebx
call fcn.0048e45f
push ebx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
lea esp, [ebp - 0x3c]
pop edi
pop esi
pop ebx
leave
ret