Function at 0x5a70a4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb8
mov ebx, eax
mov esi, dword [ebx + 0x44]
test esi, esi
je 0x5a70bf
mov eax, esi
call fcn.005131e8
test al, al
je 0x5a70d1
mov edi, dword [ebx + 0x2c]
test edi, edi
je 0x5a711a
mov eax, edi
call fcn.005131e8
test al, al
jne 0x5a711a
cmp dword [ebx + 0x44], 0
je 0x5a70ee
lea eax, [ebx + 0x44]
mov dword [esp], eax
mov eax, dword [esp]
mov eax, dword [eax]
mov edx, dword [esp]
xor ecx, ecx
mov dword [edx], ecx
call fcn.00405f6c
cmp dword [ebx + 0x2c], 0
je 0x5a710e
lea eax, [ebx + 0x2c]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
mov eax, dword [eax]
mov edx, dword [esp + 4]
xor ecx, ecx
mov dword [edx], ecx
call fcn.00405f6c
mov eax, ebx
call fcn.005a6d5c
jmp 0x5a7383
mov esi, dword [ebx + 0x44]
test esi, esi
je 0x5a725d
mov eax, esi
call fcn.005131e8
test al, al
je 0x5a725d
lea edx, [esp + 8]
mov eax, ebx
call fcn.005a7b0c
mov eax, dword [ebx + 8]
cmp byte [eax + 0x71], 1
jne 0x5a719e
lea eax, [esp + 8]
call fcn.0040f35c
test al, al
jne 0x5a719e
mov edx, dword [esp + 8]
neg edx
lea eax, [esp + 8]
xor ecx, ecx
call fcn.0040f374
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 4]
test al, al
je 0x5a719e
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 8]
test al, al
je 0x5a718e
lea eax, [esp + 8]
xor ecx, ecx
mov edx, 2
call fcn.0040f374
jmp 0x5a719e
lea eax, [esp + 8]
xor ecx, ecx
mov edx, 1
call fcn.0040f374
lea eax, [esp + 8]
call fcn.0040f35c
test al, al
je 0x5a71c0
push 0
mov eax, dword [ebx + 0x44]
call fcn.00512e14
push eax
call sub.user32.dll_ShowWindow
jmp 0x5a725d
push 5
mov eax, dword [ebx + 0x44]
call fcn.00512e14
push eax
call sub.user32.dll_ShowWindow
mov eax, ebx
call fcn.005a6d1c
test al, al
je 0x5a7226
lea eax, [esp + 0x18]
push eax
mov eax, dword [ebx + 8]
call fcn.00512e14
push eax
call sub.user32.dll_GetWindowRect
push 0x40
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
sub eax, edi
push eax
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
sub eax, esi
push eax
mov eax, dword [esp + 0x28]
add eax, edi
push eax
mov eax, dword [esp + 0x28]
add eax, esi
push eax
push 0xffffffffffffffff
mov eax, dword [ebx + 0x44]
call fcn.00512e14
push eax
call sub.user32.dll_SetWindowPos
jmp 0x5a725d
push 0x40
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x10]
sub eax, ebp
push eax
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
sub eax, edi
push eax
mov esi, dword [ebx + 8]
mov eax, dword [esi + 0x54]
add eax, ebp
push eax
mov eax, dword [esi + 0x50]
add eax, edi
push eax
push 0
mov eax, dword [ebx + 0x44]
call fcn.00512e14
push eax
call sub.user32.dll_SetWindowPos
mov esi, dword [ebx + 0x2c]
test esi, esi
je 0x5a7383
mov eax, esi
call fcn.005131e8
test al, al
je 0x5a7383
lea edx, [esp + 8]
mov eax, ebx
call fcn.005a80ec
mov eax, dword [ebx + 8]
cmp byte [eax + 0x71], 1
jne 0x5a72c4
lea edx, [esp + 0x38]
mov eax, ebx
call fcn.005a7b0c
lea eax, [esp + 0x38]
call fcn.0040f35c
test al, al
jne 0x5a72c4
lea edx, [esp + 0x28]
mov eax, ebx
call fcn.005a7b0c
lea eax, [esp + 0x28]
call fcn.0040f0a8
mov edx, eax
lea eax, [esp + 8]
xor ecx, ecx
call fcn.0040f374
lea eax, [esp + 8]
call fcn.0040f35c
test al, al
je 0x5a72e6
push 0
mov eax, dword [ebx + 0x2c]
call fcn.00512e14
push eax
call sub.user32.dll_ShowWindow
jmp 0x5a7383
push 5
mov eax, dword [ebx + 0x2c]
call fcn.00512e14
push eax
call sub.user32.dll_ShowWindow
mov eax, ebx
call fcn.005a6d1c
test al, al
je 0x5a734c
lea eax, [esp + 0x18]
push eax
mov eax, dword [ebx + 8]
call fcn.00512e14
push eax
call sub.user32.dll_GetWindowRect
push 0x40
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
sub eax, edi
push eax
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
sub eax, esi
push eax
mov eax, dword [esp + 0x28]
add eax, edi
push eax
mov eax, dword [esp + 0x28]
add eax, esi
push eax
push 0xffffffffffffffff
mov eax, dword [ebx + 0x2c]
call fcn.00512e14
push eax
call sub.user32.dll_SetWindowPos
jmp 0x5a7383
push 0x40
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x10]
sub eax, ebp
push eax
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
sub eax, edi
push eax
mov esi, dword [ebx + 8]
mov eax, dword [esi + 0x54]
add eax, ebp
push eax
mov eax, dword [esi + 0x50]
add eax, edi
push eax
push 0
mov eax, dword [ebx + 0x2c]
call fcn.00512e14
push eax
call sub.user32.dll_SetWindowPos
add esp, 0x48
pop ebp
pop edi
pop esi
pop ebx
ret