Function at 0x4c6d30
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 0
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, ecx
mov dword [ebp + 0x10], 1
jne 0x4c706a
mov eax, dword [ebp + 0xc]
mov edx, 1
mov esi, dword [ebp + 0x14]
cmp eax, 0x110
jne 0x4c6d73
lea eax, [ebp + 0x10]
push eax
push esi
push ebx
push 0x110
call fcn.004fd7a0
jmp 0x4c6fb8
cmp eax, 0xc84
jne 0x4c6d8f
lea eax, [ebp + 0x10]
push eax
push esi
push ebx
push 0xc84
call fcn.004fdef0
jmp 0x4c6fb8
cmp eax, 0xe14
jne 0x4c6dab
lea eax, [ebp + 0x10]
push eax
push esi
push ebx
push 0xe14
call fcn.004fdef0
jmp 0x4c6fb8
cmp eax, 0xfa4
jne 0x4c6dc7
lea eax, [ebp + 0x10]
push eax
push esi
push ebx
push 0xfa4
call fcn.004fdef0
jmp 0x4c6fb8
cmp eax, 0x111
jne 0x4c6f67
movzx ecx, bx
mov dword [ebp + 0x1c], ecx
cmp dx, cx
jne 0x4c6e0a
mov eax, ebx
xor edx, edx
shr eax, 0x10
cmp dx, ax
jne 0x4c6e0a
lea eax, [ebp + 0x10]
mov ecx, edi
push eax
push esi
push 1
push edx
call fcn.0041b0a0
cmp dword [ebp + 0x10], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x4c705e
mov ecx, dword [ebp + 0x1c]
mov eax, 2
cmp ax, cx
jne 0x4c6e48
mov eax, ebx
xor edx, edx
shr eax, 0x10
cmp dx, ax
jne 0x4c6e48
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push eax
push esi
push 2
push edx
mov ecx, edi
call fcn.0041b0a0
cmp dword [ebp + 0x10], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x4c705e
mov ecx, dword [ebp + 0x1c]
mov eax, 0x438
cmp ax, cx
jne 0x4c6e89
mov eax, ebx
xor edx, edx
shr eax, 0x10
cmp dx, ax
jne 0x4c6e89
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push eax
push esi
push 0x438
push edx
mov ecx, edi
call fcn.004e5a20
cmp dword [ebp + 0x10], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x4c705e
mov ecx, dword [ebp + 0x1c]
mov eax, 0x72
cmp ax, cx
jne 0x4c6eca
mov eax, ebx
mov edx, 0x200
shr eax, 0x10
cmp dx, ax
jne 0x4c6eca
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push eax
push esi
push 0x72
push edx
mov ecx, edi
call fcn.004fdc20
cmp dword [ebp + 0x10], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x4c705e
mov ecx, dword [ebp + 0x1c]
mov eax, 0x43a
cmp ax, cx
jne 0x4c6f0a
mov eax, ebx
mov edx, 1
shr eax, 0x10
cmp dx, ax
jne 0x4c6f0a
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], edx
push eax
push esi
push 0x43a
push edx
mov ecx, edi
call fcn.004fddb0
cmp dword [ebp + 0x10], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x4c705e
mov ecx, dword [ebp + 0x1c]
mov eax, ebx
mov edx, 0x3f4
shr eax, 0x10
mov dword [ebp + 0x14], eax
cmp dx, cx
jne 0x4c6f46
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push ecx
push esi
push edx
push eax
mov ecx, edi
call fcn.004fd5a0
cmp dword [ebp + 0x10], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x4c705e
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x1c]
mov edx, 0x3f3
cmp dx, cx
jne 0x4c6fc7
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push ecx
push esi
push edx
push eax
mov ecx, edi
call fcn.004fd6a0
jmp 0x4c6fb8
cmp eax, 0x4e
jne 0x4c6fc7
cmp dword [esi + 4], 0x71
jne 0x4c6f95
cmp dword [esi + 8], 0xffffff6a
jne 0x4c6f95
lea eax, [ebp + 0x10]
push eax
push esi
push ebx
call fcn.004fd420
cmp dword [ebp + 0x10], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x4c705e
cmp dword [esi + 4], 0x77
jne 0x4c6fc7
cmp dword [esi + 8], 0xffffff6a
jne 0x4c6fc7
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push eax
push esi
push ebx
mov ecx, edi
call fcn.004fddd0
cmp dword [ebp + 0x10], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x4c705e
mov eax, dword [ebp + 0xc]
lea ecx, [edi + 0x48]
cmp eax, 5
jne 0x4c7038
xor eax, eax
test ecx, ecx
cmove edi, eax
cmp byte [ecx + 0x1c], al
je 0x4c700b
push 0xe801
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp ebx, 2
jne 0x4c6ffc
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4c7010
test ebx, ebx
jne 0x4c700b
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4c7010
cmp ebx, 1
je 0x4c7055
mov eax, esi
lea ecx, [edi + 0x48]
shr eax, 0x10
cwde
push eax
movsx eax, si
push eax
call fcn.00444be0
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebx
mov dword [eax], 0
mov eax, 1
pop ebp
ret 0x18
cmp eax, 0x24
jne 0x4c706a
cmp dword [ecx + 0x14], 0xffffffff
je 0x4c7055
cmp dword [ecx + 0x18], 0xffffffff
je 0x4c7055
mov eax, dword [ecx + 0x14]
mov dword [esi + 0x18], eax
mov eax, dword [ecx + 0x18]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 0x18
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0x18