Function at 0x6ba254
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x6ba25c
push ebx
push esi
push edi
mov esi, dword [0x6cff3c]
xor eax, eax
push ebp
push 0x6ba619
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x20]
mov eax, 1
call fcn.005c6fc8
mov eax, dword [ebp - 0x20]
mov edx, 0x6ba634
call fcn.00422380
test eax, eax
jne 0x6ba29e
mov byte [ebp - 0x11], 1
jmp 0x6ba2c4
lea edx, [ebp - 0x24]
mov eax, 1
call fcn.005c6fc8
mov eax, dword [ebp - 0x24]
mov edx, 0x6ba64c
call fcn.00422380
test eax, eax
jne 0x6ba5f1
mov byte [ebp - 0x11], 0
mov eax, dword [esi]
mov edx, 0x6ba664
call fcn.005b8268
push 5
mov eax, dword [esi]
mov eax, dword [eax + 0x188]
push eax
call sub.user32.dll_ShowWindow
call fcn.006b08f8
push 0x6ba670
push 0
push 0
call fcn.00413ea0
mov dword [ebp - 0x18], eax
push 0
mov eax, dword [esi]
mov eax, dword [eax + 0x188]
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebp - 0x18], 0
je 0x6ba32c
mov eax, dword [esi]
call fcn.005b871c
push 0x4ff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x18]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x6ba30c
push 5
mov eax, dword [esi]
mov eax, dword [eax + 0x188]
push eax
call sub.user32.dll_ShowWindow
xor eax, eax
push ebp
push 0x6ba5ea
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x28]
xor eax, eax
call fcn.005c6fc8
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 4]
mov edx, 0x6ba6ac
call fcn.005c4fa8
lea edx, [ebp - 0x2c]
xor eax, eax
call fcn.005c6fc8
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 8]
mov edx, 0x6ba6c4
call fcn.005c4fa8
mov eax, dword [ebp - 8]
call fcn.005c6874
test al, al
je 0x6ba58d
mov cl, 1
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.005cd9f8
mov eax, dword [0x6cfe48]
test byte [eax + 0x4c], 1
setne al
call fcn.005c9380
mov edx, dword [0x6cff50]
mov edx, dword [edx + 0x2f8]
mov eax, dword [esi]
call fcn.005b8268
xor eax, eax
push ebp
push 0x6ba586
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.006ad9a0
push 2
push 0
push 1
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x5cbcd8]
call fcn.005cc2f4
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x6ba56c
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x6ba546
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
call fcn.005cc5a4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x6ba413
sub ebx, 4
mov ebx, dword [ebx]
cmp ebx, 4
jle 0x6ba546
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x5b
jne 0x6ba546
mov eax, dword [ebp - 0xc]
cmp word [eax + 6], 0x5d
jne 0x6ba546
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x7fffffff
mov edx, 5
mov eax, dword [ebp - 0xc]
call fcn.0040b698
mov eax, dword [ebp - 0xc]
cmp word [eax + 4], 0x71
je 0x6ba46b
cmp byte [ebp - 0x11], 0
je 0x6ba467
mov eax, dword [0x6cfd3c]
cmp byte [eax], 0
je 0x6ba46b
xor eax, eax
jmp 0x6ba46d
mov al, 1
mov byte [ebp - 0x12], al
xor eax, eax
push ebp
push 0x6ba4e1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 2]
sub ax, 0x53
je 0x6ba4b0
dec ax
je 0x6ba4cd
sub ax, 0x1f
je 0x6ba49d
dec ax
je 0x6ba4c3
jmp 0x6ba4d7
movzx eax, byte [ebp - 0x12]
push eax
mov ecx, dword [ebp - 0x10]
xor edx, edx
xor eax, eax
call fcn.00625494
jmp 0x6ba4d7
movzx eax, byte [ebp - 0x12]
push eax
mov ecx, dword [ebp - 0x10]
mov dl, 1
xor eax, eax
call fcn.00625494
jmp 0x6ba4d7
mov eax, dword [ebp - 0x10]
call fcn.00624c28
jmp 0x6ba4d7
mov edx, dword [ebp - 0x10]
xor eax, eax
call fcn.00625c0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6ba546
mov eax, dword [ebp - 0x1c]
call fcn.005cc594
test al, al
je 0x6ba3fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6ba573
mov eax, dword [ebp - 0x1c]
call fcn.00408444
ret
mov eax, dword [ebp - 8]
call fcn.00423a38
mov eax, dword [ebp - 4]
call fcn.00423a38
xor eax, eax
push ebp
push 0x6ba5ba
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.006ba1b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6ba5c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6ba5f1
cmp dword [ebp - 0x18], 0
je 0x6ba5e9
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 0x6ba620
lea eax, [ebp - 0x38]
mov edx, 7
call fcn.0040a228
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.0040a228
ret