Function at 0x4c05e0
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 0x4c08a4
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
cmp eax, 0x110
jne 0x4c061e
lea eax, [ebp + 0x10]
push eax
push esi
push ebx
push 0x110
call fcn.004387a0
jmp 0x4c07ea
cmp eax, 0x7b
jne 0x4c0635
lea eax, [ebp + 0x10]
push eax
push esi
push ebx
push 0x7b
call fcn.00437c90
jmp 0x4c07ea
cmp eax, 0xc79
jne 0x4c0651
lea eax, [ebp + 0x10]
push eax
push esi
push ebx
push 0xc79
call fcn.00438c30
jmp 0x4c07ea
cmp eax, 0xe09
jne 0x4c066d
lea eax, [ebp + 0x10]
push eax
push esi
push ebx
push 0xe09
call fcn.00438c30
jmp 0x4c07ea
cmp eax, 0xf99
jne 0x4c0689
lea eax, [ebp + 0x10]
push eax
push esi
push ebx
push 0xf99
call fcn.00438c30
jmp 0x4c07ea
cmp eax, 0x4e
jne 0x4c06da
cmp dword [esi + 4], 0x67
jne 0x4c06b4
cmp dword [esi + 8], 0xfffffffd
jne 0x4c06b4
lea eax, [ebp + 0x10]
push eax
push esi
push ebx
call fcn.00437fe0
cmp dword [ebp + 0x10], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x4c0898
cmp dword [esi + 8], 0xffffff6a
jne 0x4c07f9
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push eax
push esi
push ebx
mov ecx, edi
call fcn.00438450
jmp 0x4c07ea
cmp eax, 0x111
jne 0x4c07f9
movzx ecx, bx
mov eax, ebx
shr eax, 0x10
mov edx, 0x8003
mov dword [ebp + 0x1c], ecx
mov dword [ebp + 0x14], eax
cmp dx, cx
jne 0x4c0720
lea ecx, [ebp + 0x10]
push ecx
push esi
push edx
push eax
mov ecx, edi
call fcn.00437db0
cmp dword [ebp + 0x10], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x4c0898
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x1c]
mov edx, 0x8006
movzx eax, ax
mov dword [ebp + 0x14], eax
cmp dx, cx
jne 0x4c082e
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push ecx
push esi
push edx
push eax
mov ecx, edi
call fcn.004381e0
cmp dword [ebp + 0x10], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
movzx eax, ax
jne 0x4c0898
mov ecx, dword [ebp + 0x1c]
mov edx, 0x8004
movzx eax, ax
mov dword [ebp + 0x14], eax
cmp dx, cx
jne 0x4c079b
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push ecx
push esi
push edx
push eax
mov ecx, edi
call fcn.00438000
cmp dword [ebp + 0x10], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x4c0898
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x14]
mov edx, 2
cmp dx, cx
jne 0x4c07cc
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push ecx
push esi
push edx
push eax
mov ecx, edi
call fcn.0041b0a0
cmp dword [ebp + 0x10], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x4c0898
mov ecx, dword [ebp + 0x1c]
mov eax, 1
cmp ax, cx
jne 0x4c07f9
mov dword [ebp + 0x10], eax
mov ecx, edi
lea eax, [ebp + 0x10]
push eax
push esi
push 1
push dword [ebp + 0x14]
call fcn.0041b0a0
cmp dword [ebp + 0x10], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x4c0898
mov eax, dword [ebp + 0xc]
lea ecx, [edi + 0x48]
cmp eax, 5
jne 0x4c0872
xor eax, eax
test ecx, ecx
cmove edi, eax
cmp byte [ecx + 0x1c], al
je 0x4c0845
push 0xe801
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp ebx, 2
jne 0x4c0836
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4c084a
movzx eax, ax
jmp 0x4c0761
test ebx, ebx
jne 0x4c0845
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4c084a
cmp ebx, 1
je 0x4c088f
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 0x4c08a4
cmp dword [ecx + 0x14], 0xffffffff
je 0x4c088f
cmp dword [ecx + 0x18], 0xffffffff
je 0x4c088f
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