Function at 0x636edf
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 0x636f73
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 0x636f68
lea eax, [esi + 0x18]
push eax
call fcn.00636c64
test al, al
je 0x636f32
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x636f5a
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 0x636f68
push edi
push ebx
call fcn.00636b7e
dec edi
mov esi, dword [ebx + 0x10]
inc edi
mov dword [ebp - 0x14], esi
cmp edi, esi
jb 0x636efc
mov eax, esi
shl eax, 6
call fcn.0066c3f0
xor ecx, ecx
mov eax, esp
mov dword [ebp - 0x20], eax
mov edi, ecx
mov dword [ebp - 0xc], edi
test esi, esi
je 0x6371fd
mov dword [ebp - 0x10], eax
mov eax, ecx
mov dword [ebp - 4], eax
test esi, esi
je 0x6370e5
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.00636c64
test al, al
jne 0x6370bd
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 0x6370bd
mov edx, eax
mov dword [ebp - 8], eax
cmp dword [ebx + 0x10], eax
jbe 0x6370bd
mov eax, dword [ebp - 4]
cmp eax, edx
je 0x6370b0
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.00636c64
mov edx, dword [ebp - 8]
test al, al
jne 0x6370ad
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 0x6370ad
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 0x6370aa
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.0063721f
test al, al
je 0x6370fb
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.0063721f
test al, al
je 0x6370fb
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
inc edx
mov dword [ebp - 8], edx
cmp edx, dword [ebx + 0x10]
jb 0x636ff8
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.00636b7e
mov esi, dword [ebp - 0x14]
xor ecx, ecx
mov eax, dword [ebx + 0x10]
cmp esi, eax
je 0x63710c
mov esi, eax
mov dword [ebp - 0x14], esi
test eax, eax
jne 0x636f94
jmp 0x63714f
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, dword [ebx + 0x10]
jae 0x6370e3
jmp 0x636fa1
test eax, eax
je 0x63714f
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 0x63711b
test edi, edi
jle 0x6371fd
mov esi, dword [ebp - 0x20]
mov ebx, edi
add esi, 0x3c
lea eax, [esi - 0x24]
push eax
call fcn.00636c64
test al, al
jne 0x637197
test dword [esi], 0x8000
jne 0x637197
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 0x63715f
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp + 8]
add esi, 0x18
test byte [esi + 0x24], 0x80
jne 0x6371f5
test dword [esi + 0x24], 0x8040
je 0x6371f5
push esi
call fcn.00636c64
test al, al
je 0x6371ce
push 5
push dword [esi - 0x18]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x6371f5
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 0x6371a8
mov ecx, ebx
call fcn.00637325
mov ecx, ebx
call fcn.00636c4b
push 0x14
push ebx
call fcn.0066bb0a
pop ecx
pop ecx
lea esp, [ebp - 0x50]
pop edi
pop esi
pop ebx
leave
ret 4