Function at 0x5f5fe4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
push edi
mov edi, esi
mov dword [ebp - 0x20], esi
cmp dword [ebx + 0x10], esi
jbe 0x5f6066
push edi
mov ecx, ebx
call fcn.004f2484
mov esi, eax
test dword [esi + 0x3c], 0x8080
je 0x5f605e
lea ecx, [esi + 0x18]
push ecx
call fcn.005f5db2
test al, al
je 0x5f6028
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x5f6050
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 0x5f605e
push edi
push ebx
call fcn.005f5d4a
dec edi
inc edi
cmp edi, dword [ebx + 0x10]
jb 0x5f5ffc
xor esi, esi
mov eax, dword [ebx + 0x10]
shl eax, 6
call fcn.00629c40
mov eax, dword [ebx + 0x10]
mov ecx, esp
mov dword [ebp - 0x10], ecx
mov edi, esi
mov dword [ebp - 0xc], edi
test eax, eax
je 0x5f61fb
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], eax
mov ecx, esi
mov dword [ebp - 8], ecx
test eax, eax
je 0x5f6198
push ecx
mov ecx, ebx
call fcn.004f2484
mov dword [ebp - 0x1c], eax
add eax, 0x18
push eax
mov dword [ebp - 0x18], eax
call fcn.005f5db2
test al, al
jne 0x5f6173
mov eax, dword [ebp - 0x1c]
push dword [ebp - 0x18]
add eax, 8
push eax
mov dword [ebp - 0x24], eax
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x5f6173
mov eax, esi
mov dword [ebp - 4], esi
cmp dword [ebx + 0x10], esi
jbe 0x5f6173
mov ecx, dword [ebp - 8]
cmp ecx, eax
je 0x5f6166
push eax
mov ecx, ebx
call fcn.004f2484
add eax, 0x18
push eax
call fcn.005f5db2
test al, al
jne 0x5f6160
push dword [ebp - 4]
mov ecx, ebx
call fcn.004f2484
test byte [eax + 0x3c], 0x80
jne 0x5f6160
push dword [ebp - 4]
mov ecx, ebx
call fcn.004f2484
add eax, 8
push eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x5f6160
push dword [ebp - 0x24]
mov ecx, ebx
push dword [ebp - 4]
call fcn.004f2484
add eax, 8
push eax
call fcn.005f62cf
test al, al
je 0x5f61aa
push dword [ebp - 0x18]
mov ecx, ebx
push dword [ebp - 4]
call fcn.004f2484
add eax, 0x18
push eax
call fcn.005f62cf
test al, al
je 0x5f61aa
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, dword [ebx + 0x10]
jb 0x5f60e4
mov eax, dword [ebp - 0x14]
mov edi, eax
mov esi, dword [ebp - 0x1c]
add eax, 0x40
push 0x10
pop ecx
push dword [ebp - 8]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0xc]
inc edi
mov dword [ebp - 0x14], eax
push ebx
mov dword [ebp - 0xc], edi
call fcn.005f5d4a
xor esi, esi
mov eax, dword [ebx + 0x10]
cmp dword [ebp - 0x28], eax
je 0x5f61bc
test eax, eax
jne 0x5f6089
jmp 0x5f61f8
mov ecx, dword [ebp - 8]
inc ecx
mov dword [ebp - 8], ecx
cmp ecx, dword [ebx + 0x10]
jb 0x5f6099
jmp 0x5f6198
cmp eax, esi
jbe 0x5f61f8
mov eax, edi
shl eax, 6
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
push esi
mov ecx, ebx
call fcn.004f2484
mov esi, eax
mov eax, dword [ebp - 0x1c]
push 0x10
mov edi, eax
add eax, 0x40
pop ecx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp - 0x20]
inc edi
inc esi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esi
cmp esi, dword [ebx + 0x10]
jb 0x5f61cb
mov ecx, dword [ebp - 0x10]
test edi, edi
jle 0x5f62ab
lea esi, [ecx + 0x3c]
mov ebx, edi
lea eax, [esi - 0x24]
push eax
call fcn.005f5db2
test al, al
jne 0x5f6240
test dword [esi], 0x8000
jne 0x5f6240
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 0x5f6208
mov ebx, dword [ebp + 8]
test edi, edi
jle 0x5f62ab
mov esi, dword [ebp - 0x10]
add esi, 0x3c
test byte [esi], 0x80
jne 0x5f62a3
test dword [esi], 0x8040
je 0x5f62a3
lea eax, [esi - 0x24]
push eax
call fcn.005f5db2
test al, al
je 0x5f627c
push 5
push dword [esi - 0x3c]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x5f62a3
mov eax, dword [esi - 4]
or eax, 0x40
push eax
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 edi, 1
jne 0x5f6255
mov ecx, ebx
call fcn.005f6409
mov ecx, ebx
call fcn.005f5d9a
push 0x14
push ebx
call fcn.00629323
pop ecx
pop ecx
lea esp, [ebp - 0x44]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4