Function at 0x5a5ee0
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 0x5a662f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x5a5f35
mov eax, dword [ebp - 4]
test byte [eax + 0x3e0], 4
je 0x5a5f35
lea edx, [ebp - 0x44]
mov eax, dword [0x6b7dc0]
call fcn.004113e8
mov ecx, dword [ebp - 0x44]
mov dl, 1
mov eax, dword [0x470888]
call fcn.0042b510
call fcn.00409f64
mov eax, dword [0x6bec44]
call fcn.005acb5c
mov eax, dword [ebp - 4]
or byte [eax + 0x3e0], 4
xor edx, edx
push ebp
push 0x5a6610
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x5a65c8
mov eax, dword [ebp - 4]
cmp byte [eax + 0x21d], 0
je 0x5a64bc
xor eax, eax
push ebp
push 0x5a5f98
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov si, 0xffa8
call fcn.00408ecc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5a5faf
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2e3], 4
je 0x5a5fe3
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2e3]
sub al, 4
je 0x5a5fd3
add al, 0xfe
sub al, 2
jae 0x5a60c6
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2e2], 1
jne 0x5a60c6
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2e2], 1
jne 0x5a6039
mov eax, dword [0x6bec44]
mov eax, dword [eax + 0x58]
call fcn.0050c080
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x58]
sar ebx, 1
jns 0x5a600b
adc ebx, 0
mov eax, dword [0x6bec44]
mov eax, dword [eax + 0x58]
call fcn.0050c0c0
mov esi, eax
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x5c]
sar esi, 1
jns 0x5a6027
adc esi, 0
lea edx, [ebp - 0x14]
mov eax, dword [0x6bec44]
mov eax, dword [eax + 0x58]
mov ecx, dword [eax]
call dword [ecx + 0x74]
jmp 0x5a607d
mov eax, dword [ebp - 4]
call fcn.005a2578
lea edx, [ebp - 0x14]
call fcn.005a7cec
lea eax, [ebp - 0x14]
call fcn.004137bc
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x58]
sar ebx, 1
jns 0x5a6060
adc ebx, 0
add ebx, dword [ebp - 0x14]
lea eax, [ebp - 0x14]
call fcn.004137cc
mov esi, eax
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x5c]
sar esi, 1
jns 0x5a607a
adc esi, 0
add esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
cmp ebx, eax
jge 0x5a6086
mov ebx, eax
mov eax, dword [ebp - 0x10]
cmp esi, eax
jge 0x5a608f
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 + 0xd8]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x69], 0
je 0x5a63c8
mov eax, dword [ebp - 4]
call fcn.005a2f20
jmp 0x5a63c8
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2e3]
mov edx, eax
add dl, 0xfa
sub dl, 2
jae 0x5a62cd
mov eax, dword [0x6bec44]
mov edi, dword [eax + 0x58]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2e3], 7
jne 0x5a610d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [0x595f2c]
call fcn.00408df8
test al, al
je 0x5a610d
mov eax, dword [ebp - 4]
mov edi, dword [eax + 4]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2de], 2
jne 0x5a613b
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3d8]
mov eax, dword [ebp - 4]
call fcn.005a1030
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3dc]
mov eax, dword [ebp - 4]
call fcn.005a1068
test edi, edi
je 0x5a61d5
cmp edi, dword [ebp - 4]
je 0x5a61d5
cmp byte [edi + 0x2e2], 1
jne 0x5a618e
lea eax, [ebp - 0x14]
push eax
mov eax, edi
call fcn.0051630c
push eax
call sub.user32.dll_GetWindowRect
mov ebx, dword [edi + 0x58]
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x58]
sar ebx, 1
jns 0x5a6176
adc ebx, 0
add ebx, dword [ebp - 0x14]
mov esi, dword [edi + 0x5c]
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x5c]
sar esi, 1
jns 0x5a6189
adc esi, 0
add esi, dword [ebp - 0x10]
jmp 0x5a61c4
mov eax, edi
call fcn.005a0ba0
mov ebx, eax
mov eax, dword [edi + 0x58]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x58]
sar eax, 1
jns 0x5a61a7
adc eax, 0
add ebx, eax
mov eax, edi
call fcn.005a0bc0
mov esi, eax
mov eax, dword [edi + 0x5c]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x5c]
sar eax, 1
jns 0x5a61c2
adc eax, 0
add esi, eax
mov eax, edi
call fcn.005a2578
lea edx, [ebp - 0x14]
call fcn.005a7cec
jmp 0x5a6214
mov eax, dword [0x6bec48]
call fcn.005a8194
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x58]
sar ebx, 1
jns 0x5a61ee
adc ebx, 0
mov eax, dword [0x6bec48]
call fcn.005a818c
mov esi, eax
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x5c]
sar esi, 1
jns 0x5a6207
adc esi, 0
lea edx, [ebp - 0x14]
mov eax, dword [0x6bec48]
call fcn.005a9590
mov eax, dword [ebp - 0x14]
cmp ebx, eax
jge 0x5a621d
mov ebx, eax
mov eax, dword [ebp - 0x10]
cmp esi, eax
jge 0x5a6226
mov esi, eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2de], 2
jne 0x5a6296
mov eax, dword [ebp - 4]
call fcn.00516774
test al, al
je 0x5a6296
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.005a74a0
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.005a74dc
mov dword [ebp - 0x40], 0x2c
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x290]
push eax
call sub.user32.dll_GetWindowPlacement
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 4]
call fcn.0050c024
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 + 0x290]
push eax
call sub.user32.dll_SetWindowPlacement
jmp 0x5a62b3
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 + 0xd8]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x69], 0
je 0x5a63c8
mov eax, dword [ebp - 4]
call fcn.005a2f20
jmp 0x5a63c8
cmp al, 5
jne 0x5a63c8
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2e2], 1
jne 0x5a631b
mov eax, dword [0x6bec44]
mov eax, dword [eax + 0x58]
call fcn.0050c080
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x58]
sar ebx, 1
jns 0x5a62fd
adc ebx, 0
mov eax, dword [0x6bec44]
mov eax, dword [eax + 0x58]
call fcn.0050c0c0
mov esi, eax
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x5c]
sar esi, 1
jns 0x5a6377
adc esi, 0
jmp 0x5a6377
mov eax, dword [0x6bec48]
call fcn.005a81b4
mov ebx, eax
sar ebx, 1
jns 0x5a632e
adc ebx, 0
mov eax, dword [0x6bec48]
call fcn.005a81a4
add ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
sar eax, 1
jns 0x5a6347
adc eax, 0
sub ebx, eax
mov eax, dword [0x6bec48]
call fcn.005a81ac
mov esi, eax
sar esi, 1
jns 0x5a635c
adc esi, 0
mov eax, dword [0x6bec48]
call fcn.005a819c
add esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
sar eax, 1
jns 0x5a6375
adc eax, 0
sub esi, eax
mov eax, dword [0x6bec48]
call fcn.005a81a4
cmp ebx, eax
jge 0x5a6391
mov eax, dword [0x6bec48]
call fcn.005a81a4
mov ebx, eax
mov eax, dword [0x6bec48]
call fcn.005a819c
cmp esi, eax
jge 0x5a63ab
mov eax, dword [0x6bec48]
call fcn.005a819c
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 + 0xd8]
mov eax, dword [ebp - 4]
mov byte [eax + 0x2e3], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2e2], 1
jne 0x5a6497
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2de], 2
jne 0x5a6424
push 0
mov eax, dword [ebp - 4]
call fcn.0051630c
push eax
push 0x223
mov eax, dword [0x6bec44]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + 0x3d0]
push eax
call sub.user32.dll_SendMessageW
push 3
mov eax, dword [ebp - 4]
call fcn.0051630c
push eax
call sub.user32.dll_ShowWindow
jmp 0x5a6475
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2de]
mov eax, dword [eax*4 + 0x6b6764]
push eax
mov eax, dword [ebp - 4]
call fcn.0051630c
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.0051630c
push eax
push 0x415b74
call sub.user32.dll_CallWindowProcW
mov eax, dword [ebp - 4]
call fcn.0050cc8c
push 0
push 0
push 0x234
mov eax, dword [0x6bec44]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + 0x3d0]
push eax
call sub.user32.dll_SendMessageW
jmp 0x5a65f6
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2de]
mov eax, dword [eax*4 + 0x6b6764]
push eax
mov eax, dword [ebp - 4]
call fcn.0051630c
push eax
call sub.user32.dll_ShowWindow
jmp 0x5a65f6
xor eax, eax
push ebp
push 0x5a64e0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov si, 0xffa9
call fcn.00408ecc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5a64f7
mov eax, dword [0x6bec48]
mov eax, dword [eax + 0x74]
cmp eax, dword [ebp - 4]
jne 0x5a650e
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.005a4568
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2e2], 1
jne 0x5a652a
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x108]
jmp 0x5a65f6
mov eax, dword [ebp - 4]
test byte [eax + 0x3e0], 8
je 0x5a6558
push 0x97
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0051630c
push eax
call sub.user32.dll_SetWindowPos
jmp 0x5a65f6
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.0051630c
mov esi, eax
call sub.user32.dll_GetActiveWindow
cmp esi, eax
jne 0x5a658d
mov eax, dword [ebp - 4]
call fcn.0051630c
call fcn.0059ddb0
test eax, eax
jne 0x5a658d
mov eax, dword [ebp - 4]
call fcn.0051630c
call fcn.0059e0d8
mov ebx, eax
test ebx, ebx
je 0x5a65b6
push 0x97
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0051630c
push eax
call sub.user32.dll_SetWindowPos
push ebx
call sub.user32.dll_SetActiveWindow
jmp 0x5a65f6
push 0
mov eax, dword [ebp - 4]
call fcn.0051630c
push eax
call sub.user32.dll_ShowWindow
jmp 0x5a65f6
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
je 0x5a65f6
mov eax, dword [ebp - 4]
cmp dword [eax + 0x40], 0
je 0x5a65f6
mov eax, dword [ebp - 4]
cmp byte [eax + 0x21d], 0
je 0x5a65f6
push 1
mov eax, dword [ebp - 4]
call fcn.0051630c
push eax
call sub.user32.dll_ShowWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a6617
mov eax, dword [ebp - 4]
and byte [eax + 0x3e0], 0xfb
pop eax
jmp eax