Function at 0x652c01
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
push edi
mov dword [ebp - 0x24], eax
mov edi, eax
mov esi, dword [ebx + 0x10]
mov dword [ebp - 0x14], esi
test esi, esi
je 0x652c95
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x28], eax
dec ecx
add eax, edi
and ecx, eax
mov eax, dword [ebx + 4]
mov esi, dword [eax + ecx*4]
test dword [esi + 0x3c], 0x8080
je 0x652c8a
lea eax, [esi + 0x18]
push eax
call fcn.00652986
test al, al
je 0x652c54
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x652c7c
mov eax, dword [esi + 0x38]
or eax, 0x80
push eax
mov eax, dword [esi + 0x34]
sub eax, dword [esi + 0x2c]
push eax
mov eax, dword [esi + 0x30]
sub eax, dword [esi + 0x28]
push eax
push dword [esi + 0x2c]
push dword [esi + 0x28]
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowPos]
test byte [esi + 0x3c], 0x80
je 0x652c8a
push edi
push ebx
call fcn.006528a0
dec edi
mov esi, dword [ebx + 0x10]
inc edi
mov dword [ebp - 0x14], esi
cmp edi, esi
jb 0x652c1e
mov eax, esi
shl eax, 6
call fcn.0068a010
xor ecx, ecx
mov eax, esp
mov dword [ebp - 0x20], eax
mov edi, ecx
mov dword [ebp - 0xc], edi
test esi, esi
je 0x652f1f
mov dword [ebp - 0x10], eax
mov eax, ecx
mov dword [ebp - 4], eax
test esi, esi
je 0x652e07
mov edx, dword [ebx + 0xc]
add eax, edx
mov ecx, dword [ebx + 8]
dec ecx
mov dword [ebp - 0x28], edx
and ecx, eax
mov eax, dword [ebx + 4]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x1c], eax
add eax, 0x18
push eax
mov dword [ebp - 0x18], eax
call fcn.00652986
test al, al
jne 0x652ddf
mov eax, dword [ebp - 0x1c]
push dword [ebp - 0x18]
add eax, 8
push eax
mov dword [ebp - 0x28], eax
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x652ddf
mov edx, eax
mov dword [ebp - 8], eax
cmp dword [ebx + 0x10], eax
jbe 0x652ddf
mov eax, dword [ebp - 4]
cmp eax, edx
je 0x652dd2
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
add eax, edx
dec ecx
and ecx, eax
mov eax, dword [ebx + 4]
mov eax, dword [eax + ecx*4]
add eax, 0x18
push eax
call fcn.00652986
mov edx, dword [ebp - 8]
test al, al
jne 0x652dcf
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
add eax, edx
dec ecx
and ecx, eax
mov eax, dword [ebx + 4]
mov eax, dword [eax + ecx*4]
test byte [eax + 0x3c], 0x80
jne 0x652dcf
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
add eax, edx
dec ecx
and ecx, eax
mov eax, dword [ebx + 4]
mov eax, dword [eax + ecx*4]
add eax, 8
push eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x652dcc
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
mov eax, dword [ebp - 8]
dec ecx
push dword [ebp - 0x28]
add eax, edx
and ecx, eax
mov eax, dword [ebx + 4]
mov eax, dword [eax + ecx*4]
add eax, 8
push eax
call fcn.00652f41
test al, al
je 0x652e1d
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
mov eax, dword [ebp - 8]
dec ecx
push dword [ebp - 0x18]
add eax, edx
and ecx, eax
mov eax, dword [ebx + 4]
mov eax, dword [eax + ecx*4]
add eax, 0x18
push eax
call fcn.00652f41
test al, al
je 0x652e1d
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
inc edx
mov dword [ebp - 8], edx
cmp edx, dword [ebx + 0x10]
jb 0x652d1a
mov eax, dword [ebp - 0x10]
mov edi, eax
mov esi, dword [ebp - 0x1c]
add eax, 0x40
push 0x10
pop ecx
push dword [ebp - 4]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0xc]
inc edi
mov dword [ebp - 0x10], eax
push ebx
mov dword [ebp - 0xc], edi
call fcn.006528a0
mov esi, dword [ebp - 0x14]
xor ecx, ecx
mov eax, dword [ebx + 0x10]
cmp esi, eax
je 0x652e2e
mov esi, eax
mov dword [ebp - 0x14], esi
test eax, eax
jne 0x652cb6
jmp 0x652e71
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, dword [ebx + 0x10]
jae 0x652e05
jmp 0x652cc3
test eax, eax
je 0x652e71
mov eax, edi
shl eax, 6
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 8]
add eax, ecx
mov esi, dword [ebx + 4]
dec edx
and edx, eax
mov eax, dword [ebp - 0x1c]
push 0x10
mov edi, eax
add eax, 0x40
pop ecx
mov esi, dword [esi + edx*4]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x24]
inc edi
inc ecx
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], ecx
cmp ecx, dword [ebx + 0x10]
jb 0x652e3d
test edi, edi
jle 0x652f1f
mov esi, dword [ebp - 0x20]
mov ebx, edi
add esi, 0x3c
lea eax, [esi - 0x24]
push eax
call fcn.00652986
test al, al
jne 0x652eb9
test dword [esi], 0x8000
jne 0x652eb9
push dword [esi - 4]
mov eax, dword [esi - 8]
sub eax, dword [esi - 0x10]
push eax
mov eax, dword [esi - 0xc]
sub eax, dword [esi - 0x14]
push eax
push dword [esi - 0x10]
push dword [esi - 0x14]
push dword [esi - 0x38]
push dword [esi - 0x3c]
call dword [sym.imp.USER32.dll_SetWindowPos]
add esi, 0x40
sub ebx, 1
jne 0x652e81
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp + 8]
add esi, 0x18
test byte [esi + 0x24], 0x80
jne 0x652f17
test dword [esi + 0x24], 0x8040
je 0x652f17
push esi
call fcn.00652986
test al, al
je 0x652ef0
push 5
push dword [esi - 0x18]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x652f17
mov eax, dword [esi + 0x20]
or eax, 0x40
push eax
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x14]
push eax
mov eax, dword [esi + 0x18]
sub eax, dword [esi + 0x10]
push eax
push dword [esi + 0x14]
push dword [esi + 0x10]
push dword [esi - 0x14]
push dword [esi - 0x18]
call dword [sym.imp.USER32.dll_SetWindowPos]
add esi, 0x40
sub edi, 1
jne 0x652eca
mov ecx, ebx
call fcn.00653047
mov ecx, ebx
call fcn.0065296d
push 0x14
push ebx
call fcn.0068976d
pop ecx
pop ecx
lea esp, [ebp - 0x50]
pop edi
pop esi
pop ebx
leave
ret 4