Function at 0x5bfa4c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5c014d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x5bfaa1
mov eax, dword [ebp - 4]
test byte [eax + 0x3cc], 4
je 0x5bfaa1
lea edx, [ebp - 0x44]
mov eax, dword [0x6475b8]
call fcn.0040d4e0
mov ecx, dword [ebp - 0x44]
mov dl, 1
mov eax, dword [0x435904]
call fcn.00425a64
call fcn.004074e0
mov eax, dword [0x64e7dc]
call fcn.005c5f14
mov eax, dword [ebp - 4]
or byte [eax + 0x3cc], 4
xor edx, edx
push ebp
push 0x5c0130
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x5c00ea
mov eax, dword [ebp - 4]
cmp byte [eax + 0x215], 0
je 0x5bffde
xor eax, eax
push ebp
push 0x5bfb04
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov si, 0xffa7
call fcn.00406368
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5bfb1b
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2d3], 4
je 0x5bfb4f
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2d3]
sub al, 4
je 0x5bfb3f
add al, 0xfe
sub al, 2
jae 0x5bfc32
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2d2], 1
jne 0x5bfc32
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2d2], 1
jne 0x5bfba5
mov eax, dword [0x64e7dc]
mov eax, dword [eax + 0x58]
call fcn.00505ca4
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x58]
sar ebx, 1
jns 0x5bfb77
adc ebx, 0
mov eax, dword [0x64e7dc]
mov eax, dword [eax + 0x58]
call fcn.00505ce4
mov esi, eax
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x5c]
sar esi, 1
jns 0x5bfb93
adc esi, 0
lea edx, [ebp - 0x14]
mov eax, dword [0x64e7dc]
mov eax, dword [eax + 0x58]
mov ecx, dword [eax]
call dword [ecx + 0x70]
jmp 0x5bfbe9
mov eax, dword [ebp - 4]
call fcn.005bc730
lea edx, [ebp - 0x14]
call fcn.005c1690
lea eax, [ebp - 0x14]
call fcn.0040f6e4
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x58]
sar ebx, 1
jns 0x5bfbcc
adc ebx, 0
add ebx, dword [ebp - 0x14]
lea eax, [ebp - 0x14]
call fcn.0040f6ec
mov esi, eax
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x5c]
sar esi, 1
jns 0x5bfbe6
adc esi, 0
add esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
cmp ebx, eax
jge 0x5bfbf2
mov ebx, eax
mov eax, dword [ebp - 0x10]
cmp esi, eax
jge 0x5bfbfb
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
push eax
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc8]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x69], 0
je 0x5bfeea
mov eax, dword [ebp - 4]
call fcn.005bcf78
jmp 0x5bfeea
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2d3]
mov edx, eax
add dl, 0xfa
sub dl, 2
jae 0x5bfdef
mov eax, dword [0x64e7dc]
mov edi, dword [eax + 0x58]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2d3], 7
jne 0x5bfc79
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [0x5b0868]
call fcn.004062c8
test al, al
je 0x5bfc79
mov eax, dword [ebp - 4]
mov edi, dword [eax + 4]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2ce], 2
jne 0x5bfca7
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x308]
mov eax, dword [ebp - 4]
call fcn.005bb37c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x30c]
mov eax, dword [ebp - 4]
call fcn.005bb3a8
test edi, edi
je 0x5bfcf7
cmp edi, dword [ebp - 4]
je 0x5bfcf7
mov eax, edi
call fcn.005baed8
mov ebx, eax
mov eax, dword [edi + 0x58]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x58]
sar eax, 1
jns 0x5bfcc9
adc eax, 0
add ebx, eax
mov eax, edi
call fcn.005baef8
mov esi, eax
mov eax, dword [edi + 0x5c]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x5c]
sar eax, 1
jns 0x5bfce4
adc eax, 0
add esi, eax
mov eax, edi
call fcn.005bc730
lea edx, [ebp - 0x14]
call fcn.005c1690
jmp 0x5bfd36
mov eax, dword [0x64e7e0]
call fcn.005c1b34
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x58]
sar ebx, 1
jns 0x5bfd10
adc ebx, 0
mov eax, dword [0x64e7e0]
call fcn.005c1b2c
mov esi, eax
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x5c]
sar esi, 1
jns 0x5bfd29
adc esi, 0
lea edx, [ebp - 0x14]
mov eax, dword [0x64e7e0]
call fcn.005c2d08
mov eax, dword [ebp - 0x14]
cmp ebx, eax
jge 0x5bfd3f
mov ebx, eax
mov eax, dword [ebp - 0x10]
cmp esi, eax
jge 0x5bfd48
mov esi, eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2ce], 2
jne 0x5bfdb8
mov eax, dword [ebp - 4]
call fcn.0050f8e0
test al, al
je 0x5bfdb8
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.005c0ea8
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.005c0ee4
mov dword [ebp - 0x40], 0x2c
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x288]
push eax
call sub.user32.dll_GetWindowPlacement
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 4]
call fcn.00505c48
lea esi, [ebp - 0x54]
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x288]
push eax
call sub.user32.dll_SetWindowPlacement
jmp 0x5bfdd5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
push eax
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc8]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x69], 0
je 0x5bfeea
mov eax, dword [ebp - 4]
call fcn.005bcf78
jmp 0x5bfeea
cmp al, 5
jne 0x5bfeea
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2d2], 1
jne 0x5bfe3d
mov eax, dword [0x64e7dc]
mov eax, dword [eax + 0x58]
call fcn.00505ca4
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x58]
sar ebx, 1
jns 0x5bfe1f
adc ebx, 0
mov eax, dword [0x64e7dc]
mov eax, dword [eax + 0x58]
call fcn.00505ce4
mov esi, eax
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x5c]
sar esi, 1
jns 0x5bfe99
adc esi, 0
jmp 0x5bfe99
mov eax, dword [0x64e7e0]
call fcn.005c1b54
mov ebx, eax
sar ebx, 1
jns 0x5bfe50
adc ebx, 0
mov eax, dword [0x64e7e0]
call fcn.005c1b44
add ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
sar eax, 1
jns 0x5bfe69
adc eax, 0
sub ebx, eax
mov eax, dword [0x64e7e0]
call fcn.005c1b4c
mov esi, eax
sar esi, 1
jns 0x5bfe7e
adc esi, 0
mov eax, dword [0x64e7e0]
call fcn.005c1b3c
add esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
sar eax, 1
jns 0x5bfe97
adc eax, 0
sub esi, eax
mov eax, dword [0x64e7e0]
call fcn.005c1b44
cmp ebx, eax
jge 0x5bfeb3
mov eax, dword [0x64e7e0]
call fcn.005c1b44
mov ebx, eax
mov eax, dword [0x64e7e0]
call fcn.005c1b3c
cmp esi, eax
jge 0x5bfecd
mov eax, dword [0x64e7e0]
call fcn.005c1b3c
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
push eax
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc8]
mov eax, dword [ebp - 4]
mov byte [eax + 0x2d3], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2d2], 1
jne 0x5bffb9
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2ce], 2
jne 0x5bff46
push 0
mov eax, dword [ebp - 4]
call fcn.0050f50c
push eax
push 0x223
mov eax, dword [0x64e7dc]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + 0x3c4]
push eax
call sub.user32.dll_SendMessageW
push 3
mov eax, dword [ebp - 4]
call fcn.0050f50c
push eax
call sub.user32.dll_ShowWindow
jmp 0x5bff97
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2ce]
mov eax, dword [eax*4 + 0x645fcc]
push eax
mov eax, dword [ebp - 4]
call fcn.0050f50c
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x5c]
shl edx, 0x10
or eax, edx
push eax
push 0
push 5
mov eax, dword [ebp - 4]
call fcn.0050f50c
push eax
push 0x411cac
call sub.user32.dll_CallWindowProcW
mov eax, dword [ebp - 4]
call fcn.005067c8
push 0
push 0
push 0x234
mov eax, dword [0x64e7dc]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + 0x3c4]
push eax
call sub.user32.dll_SendMessageW
jmp 0x5c0118
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2ce]
mov eax, dword [eax*4 + 0x645fcc]
push eax
mov eax, dword [ebp - 4]
call fcn.0050f50c
push eax
call sub.user32.dll_ShowWindow
jmp 0x5c0118
xor eax, eax
push ebp
push 0x5c0002
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov si, 0xffa8
call fcn.00406368
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5c0019
mov eax, dword [0x64e7e0]
mov eax, dword [eax + 0x74]
cmp eax, dword [ebp - 4]
jne 0x5c0030
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.005be560
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2d2], 1
jne 0x5c004c
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xf4]
jmp 0x5c0118
mov eax, dword [ebp - 4]
test byte [eax + 0x3cc], 8
je 0x5c007a
push 0x97
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0050f50c
push eax
call sub.user32.dll_SetWindowPos
jmp 0x5c0118
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.0050f50c
mov esi, eax
call sub.user32.dll_GetActiveWindow
cmp esi, eax
jne 0x5c00af
mov eax, dword [ebp - 4]
call fcn.0050f50c
call fcn.005b82f0
test eax, eax
jne 0x5c00af
mov eax, dword [ebp - 4]
call fcn.0050f50c
call fcn.005b8618
mov ebx, eax
test ebx, ebx
je 0x5c00d8
push 0x97
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0050f50c
push eax
call sub.user32.dll_SetWindowPos
push ebx
call sub.user32.dll_SetActiveWindow
jmp 0x5c0118
push 0
mov eax, dword [ebp - 4]
call fcn.0050f50c
push eax
call sub.user32.dll_ShowWindow
jmp 0x5c0118
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
je 0x5c0118
mov eax, dword [ebp - 4]
cmp dword [eax + 0x40], 0
je 0x5c0118
mov eax, dword [ebp - 4]
cmp byte [eax + 0x215], 0
je 0x5c0118
push 1
mov eax, dword [ebp - 4]
call fcn.0050f50c
push eax
call sub.user32.dll_ShowWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c0137
mov eax, dword [ebp - 4]
and byte [eax + 0x3cc], 0xfb
ret