Function at 0x4c5df0
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 0x4c60a8
mov eax, dword [ebp + 0xc]
mov edx, 1
mov esi, dword [ebp + 0x14]
cmp eax, 0x110
jne 0x4c5e33
lea eax, [ebp + 0x10]
push eax
push esi
push ebx
push 0x110
call fcn.004e6b30
jmp 0x4c5ff6
cmp eax, 0xc56
jne 0x4c5e4f
lea eax, [ebp + 0x10]
push eax
push esi
push ebx
push 0xc56
call fcn.004e6f90
jmp 0x4c5ff6
cmp eax, 0xde6
jne 0x4c5e6b
lea eax, [ebp + 0x10]
push eax
push esi
push ebx
push 0xde6
call fcn.004e6f90
jmp 0x4c5ff6
cmp eax, 0xf76
jne 0x4c5e87
lea eax, [ebp + 0x10]
push eax
push esi
push ebx
push 0xf76
call fcn.004e6f90
jmp 0x4c5ff6
cmp eax, 0x111
jne 0x4c5fa5
movzx ecx, bx
mov dword [ebp + 0x1c], ecx
cmp dx, cx
jne 0x4c5eca
mov eax, ebx
xor edx, edx
shr eax, 0x10
cmp dx, ax
jne 0x4c5eca
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 0x4c609c
mov ecx, dword [ebp + 0x1c]
mov eax, 2
cmp ax, cx
jne 0x4c5f08
mov eax, ebx
xor edx, edx
shr eax, 0x10
cmp dx, ax
jne 0x4c5f08
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 0x4c609c
mov ecx, dword [ebp + 0x1c]
mov eax, 0x401
cmp ax, cx
jne 0x4c5f48
mov eax, ebx
mov edx, 1
shr eax, 0x10
cmp dx, ax
jne 0x4c5f48
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], edx
push eax
push esi
push 0x401
push edx
mov ecx, edi
call fcn.004e6f70
cmp dword [ebp + 0x10], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x4c609c
mov ecx, dword [ebp + 0x1c]
mov eax, ebx
mov edx, 0x3f4
shr eax, 0x10
mov dword [ebp + 0x14], eax
cmp dx, cx
jne 0x4c5f84
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push ecx
push esi
push edx
push eax
mov ecx, edi
call fcn.004e6930
cmp dword [ebp + 0x10], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x4c609c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x1c]
mov edx, 0x3f3
cmp dx, cx
jne 0x4c6005
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push ecx
push esi
push edx
push eax
mov ecx, edi
call fcn.004e6a30
jmp 0x4c5ff6
cmp eax, 0x4e
jne 0x4c6005
cmp dword [esi + 4], 0x71
jne 0x4c5fd3
cmp dword [esi + 8], 0xffffff6a
jne 0x4c5fd3
lea eax, [ebp + 0x10]
push eax
push esi
push ebx
call fcn.004e5840
cmp dword [ebp + 0x10], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x4c609c
cmp dword [esi + 4], 0x74
jne 0x4c6005
cmp dword [esi + 8], 0xffffff6a
jne 0x4c6005
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push eax
push esi
push ebx
mov ecx, edi
call fcn.004e6e70
cmp dword [ebp + 0x10], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x4c609c
mov eax, dword [ebp + 0xc]
lea ecx, [edi + 0x48]
cmp eax, 5
jne 0x4c6076
xor eax, eax
test ecx, ecx
cmove edi, eax
cmp byte [ecx + 0x1c], al
je 0x4c6049
push 0xe801
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp ebx, 2
jne 0x4c603a
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4c604e
test ebx, ebx
jne 0x4c6049
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4c604e
cmp ebx, 1
je 0x4c6093
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 0x4c60a8
cmp dword [ecx + 0x14], 0xffffffff
je 0x4c6093
cmp dword [ecx + 0x18], 0xffffffff
je 0x4c6093
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