Function at 0x580a5c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffd0
mov ebx, eax
mov esi, dword [ebx + 0x44]
test esi, esi
je 0x580b6d
mov eax, esi
call fcn.005b4604
test al, al
je 0x580b6d
mov edx, esp
mov eax, ebx
call fcn.0058134c
mov eax, dword [ebx + 8]
cmp byte [eax + 0x69], 1
jne 0x580ac2
mov eax, esp
call fcn.00480378
test al, al
jne 0x580ac2
mov edx, dword [esp]
neg edx
mov eax, esp
xor ecx, ecx
call fcn.00480390
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
test al, al
je 0x580ac2
mov eax, esp
xor ecx, ecx
mov edx, 2
call fcn.00480390
mov eax, esp
call fcn.00480378
test al, al
je 0x580ae2
push 0
mov eax, dword [ebx + 0x44]
call fcn.005b4250
push eax
call sub.USER32.DLL_ShowWindow
jmp 0x580b6d
push 5
mov eax, dword [ebx + 0x44]
call fcn.005b4250
push eax
call sub.USER32.DLL_ShowWindow
mov eax, ebx
call fcn.005806f4
test al, al
je 0x580b36
push 0x40
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 8]
sub eax, ebp
push eax
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 8]
sub eax, edi
push eax
mov esi, dword [ebx + 8]
mov eax, dword [esi + 0x4c]
add eax, ebp
push eax
mov eax, dword [esi + 0x48]
add eax, edi
push eax
push 0xffffffffffffffff
mov eax, dword [ebx + 0x44]
call fcn.005b4250
push eax
call sub.USER32.DLL_SetWindowPos
jmp 0x580b6d
push 0x40
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 8]
sub eax, ebp
push eax
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 8]
sub eax, edi
push eax
mov esi, dword [ebx + 8]
mov eax, dword [esi + 0x4c]
add eax, ebp
push eax
mov eax, dword [esi + 0x48]
add eax, edi
push eax
push 0
mov eax, dword [ebx + 0x44]
call fcn.005b4250
push eax
call sub.USER32.DLL_SetWindowPos
mov esi, dword [ebx + 0x2c]
test esi, esi
je 0x580c7b
mov eax, esi
call fcn.005b4604
test al, al
je 0x580c7b
mov edx, esp
mov eax, ebx
call fcn.005815c4
mov eax, dword [ebx + 8]
cmp byte [eax + 0x69], 1
jne 0x580bd0
lea edx, [esp + 0x20]
mov eax, ebx
call fcn.0058134c
lea eax, [esp + 0x20]
call fcn.00480378
test al, al
jne 0x580bd0
lea edx, [esp + 0x10]
mov eax, ebx
call fcn.0058134c
lea eax, [esp + 0x10]
call fcn.0047fc44
mov edx, eax
mov eax, esp
xor ecx, ecx
call fcn.00480390
mov eax, esp
call fcn.00480378
test al, al
je 0x580bf0
push 0
mov eax, dword [ebx + 0x2c]
call fcn.005b4250
push eax
call sub.USER32.DLL_ShowWindow
jmp 0x580c7b
push 5
mov eax, dword [ebx + 0x2c]
call fcn.005b4250
push eax
call sub.USER32.DLL_ShowWindow
mov eax, ebx
call fcn.005806f4
test al, al
je 0x580c44
push 0x40
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 8]
sub eax, ebp
push eax
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 8]
sub eax, edi
push eax
mov esi, dword [ebx + 8]
mov eax, dword [esi + 0x4c]
add eax, ebp
push eax
mov eax, dword [esi + 0x48]
add eax, edi
push eax
push 0xffffffffffffffff
mov eax, dword [ebx + 0x2c]
call fcn.005b4250
push eax
call sub.USER32.DLL_SetWindowPos
jmp 0x580c7b
push 0x40
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 8]
sub eax, ebp
push eax
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 8]
sub eax, edi
push eax
mov esi, dword [ebx + 8]
mov eax, dword [esi + 0x4c]
add eax, ebp
push eax
mov eax, dword [esi + 0x48]
add eax, edi
push eax
push 0
mov eax, dword [ebx + 0x2c]
call fcn.005b4250
push eax
call sub.USER32.DLL_SetWindowPos
add esp, 0x30
pop ebp
pop edi
pop esi
pop ebx
ret