Function at 0x5c7258
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x5c7260
push ebx
push esi
push edi
mov ebx, dword [0x5dbecc]
xor eax, eax
push ebp
push 0x5c7619
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x20]
mov eax, 1
call fcn.0050f2b8
mov eax, dword [ebp - 0x20]
mov edx, 0x5c7634
call fcn.0041c2f4
test eax, eax
jne 0x5c72a2
mov byte [ebp - 0x11], 1
jmp 0x5c72c8
lea edx, [ebp - 0x24]
mov eax, 1
call fcn.0050f2b8
mov eax, dword [ebp - 0x24]
mov edx, 0x5c764c
call fcn.0041c2f4
test eax, eax
jne 0x5c75f1
mov byte [ebp - 0x11], 0
mov eax, dword [ebx]
mov edx, 0x5c7664
call fcn.005004f4
push 5
mov eax, dword [ebx]
mov eax, dword [eax + 0x188]
push eax
call sub.user32.dll_ShowWindow
call fcn.005bdc60
push 0x5c7670
push 0
push 0
call fcn.00411990
mov dword [ebp - 0x18], eax
push 0
mov eax, dword [ebx]
mov eax, dword [eax + 0x188]
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebp - 0x18], 0
je 0x5c7330
mov eax, dword [ebx]
call fcn.00500950
push 0x4ff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x18]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x5c7310
push 5
mov eax, dword [ebx]
mov eax, dword [eax + 0x188]
push eax
call sub.user32.dll_ShowWindow
xor eax, eax
push ebp
push 0x5c75ea
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x28]
xor eax, eax
call fcn.0050f2b8
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 4]
mov edx, 0x5c76ac
call fcn.0050d038
lea edx, [ebp - 0x2c]
xor eax, eax
call fcn.0050f2b8
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 8]
mov edx, 0x5c76c4
call fcn.0050d038
mov eax, dword [ebp - 8]
call fcn.0050eb6c
test al, al
je 0x5c758d
mov cl, 1
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0051613c
mov eax, dword [0x5dbde0]
test byte [eax + 0x4c], 1
setne al
call fcn.00511b64
mov edx, dword [0x5dbee0]
mov edx, dword [edx + 0x2f8]
mov eax, dword [ebx]
call fcn.005004f4
xor eax, eax
push ebp
push 0x5c7586
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.005baaa0
push 2
push 0
push 1
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x51430c]
call fcn.00514928
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x5c756c
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x5c7546
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
call fcn.00514bd8
mov eax, dword [ebp - 0xc]
call fcn.00409d60
cmp eax, 4
jle 0x5c7546
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x5b
jne 0x5c7546
mov eax, dword [ebp - 0xc]
cmp word [eax + 6], 0x5d
jne 0x5c7546
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x7fffffff
mov edx, 5
mov eax, dword [ebp - 0xc]
call fcn.0040ac9c
mov eax, dword [ebp - 0xc]
cmp word [eax + 4], 0x71
je 0x5c746b
cmp byte [ebp - 0x11], 0
je 0x5c7467
mov eax, dword [0x5dbcd8]
cmp byte [eax], 0
je 0x5c746b
xor eax, eax
jmp 0x5c746d
mov al, 1
mov byte [ebp - 0x12], al
xor eax, eax
push ebp
push 0x5c74e1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 2]
sub ax, 0x53
je 0x5c74b0
dec ax
je 0x5c74cd
sub ax, 0x1f
je 0x5c749d
dec ax
je 0x5c74c3
jmp 0x5c74d7
movzx eax, byte [ebp - 0x12]
push eax
mov ecx, dword [ebp - 0x10]
xor edx, edx
xor eax, eax
call fcn.00562434
jmp 0x5c74d7
movzx eax, byte [ebp - 0x12]
push eax
mov ecx, dword [ebp - 0x10]
mov dl, 1
xor eax, eax
call fcn.00562434
jmp 0x5c74d7
mov eax, dword [ebp - 0x10]
call fcn.00561bdc
jmp 0x5c74d7
mov edx, dword [ebp - 0x10]
xor eax, eax
call fcn.00562ba8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5c7546
mov eax, dword [ebp - 0x1c]
call fcn.00514bc8
test al, al
je 0x5c7400
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c7573
mov eax, dword [ebp - 0x1c]
call fcn.00407b94
ret
mov eax, dword [ebp - 8]
call fcn.0041d960
mov eax, dword [ebp - 4]
call fcn.0041d960
xor eax, eax
push ebp
push 0x5c75ba
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.005c71d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5c75c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c75f1
cmp dword [ebp - 0x18], 0
je 0x5c75e9
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_ReleaseMutex
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_CloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c7620
lea eax, [ebp - 0x38]
mov edx, 7
call fcn.004098a0
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.004098a0
ret