Function at 0x4c6c70
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 0x1c]
sub esp, 8
sub eax, 0
push esi
push edi
mov esi, ecx
je 0x4c6ddf
sub eax, 2
je 0x4c6d76
sub eax, 1
jne 0x4c6d6c
mov eax, dword [ebp + 0xc]
cmp eax, 0x14
jne 0x4c6cb9
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x201
jne 0x4c6cda
mov eax, dword [ebp + 0x14]
call fcn.004c8eb0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x202
jne 0x4c6cfb
mov eax, dword [ebp + 0x14]
call fcn.004c8e60
mov edx, dword [ebp + 0x18]
mov dword [edx], eax
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x200
jne 0x4c6d1c
mov eax, dword [ebp + 0x14]
call fcn.004c8e10
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x204
jne 0x4c6d3f
mov eax, dword [ebp + 0x14]
mov edi, esi
call fcn.004c8f00
mov edx, dword [ebp + 0x18]
mov dword [edx], eax
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x100
jne 0x4c6d6c
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff7
cmp eax, 0x1f
ja 0x4c6d65
call fcn.004c9040
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [ebp + 0x18]
xor eax, eax
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [ebp + 0xc]
cmp eax, 0x100
jne 0x4c6dae
mov eax, dword [ebp + 0x10]
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 1
call fcn.004c8f90
cmp dword [esp + 0xc], 0
mov edx, dword [ebp + 0x18]
mov dword [edx], eax
je 0x4c6d6c
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x202
jne 0x4c6d6c
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 1
call fcn.004c9000
cmp dword [esp + 0xc], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
je 0x4c6d6c
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [ebp + 0xc]
cmp eax, 0x110
jne 0x4c6e01
push esi
call fcn.004c8c50
mov edx, dword [ebp + 0x18]
mov dword [edx], eax
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x2b
jne 0x4c6e53
mov eax, dword [ebp + 0x10]
cmp eax, 1
jne 0x4c6e2e
mov eax, dword [ebp + 0x14]
push eax
push esi
call fcn.004c92a0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], 0
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x8d9
jne 0x4c6e3d
mov eax, dword [ebp + 0x14]
call fcn.004c9130
mov ecx, dword [ebp + 0x18]
mov dword [ecx], 0
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 6
jne 0x4c6e8b
cmp word [ebp + 0x10], 0
jne 0x4c6e75
mov edx, dword [esi + 4]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], 0
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x4e
jne 0x4c6ec6
mov eax, dword [ebp + 0x14]
cmp dword [eax + 4], 0x8db
jne 0x4c6d6c
cmp dword [eax + 8], 0xfffffdd9
jne 0x4c6d6c
mov edi, esi
call fcn.004c8da0
mov edx, dword [ebp + 0x18]
mov dword [edx], eax
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x111
jne 0x4c6d6c
mov eax, dword [ebp + 0x10]
mov ecx, 0x8d9
cmp cx, ax
jne 0x4c6d6c
shr eax, 0x10
mov edx, 1
cmp dx, ax
jne 0x4c6d6c
mov eax, dword [ebp + 0x18]
pop edi
mov dword [eax], 0
mov eax, edx
pop esi
mov esp, ebp
pop ebp
ret 0x18