Function at 0x4c5aa0
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 0x4c5dda
mov eax, dword [ebp + 0xc]
mov edx, 1
mov esi, dword [ebp + 0x14]
cmp eax, 0x110
jne 0x4c5ae3
lea eax, [ebp + 0x10]
push eax
push esi
push ebx
push 0x110
call fcn.004e5bd0
jmp 0x4c5d28
cmp eax, 0xc56
jne 0x4c5aff
lea eax, [ebp + 0x10]
push eax
push esi
push ebx
push 0xc56
call fcn.004e6330
jmp 0x4c5d28
cmp eax, 0xde6
jne 0x4c5b1b
lea eax, [ebp + 0x10]
push eax
push esi
push ebx
push 0xde6
call fcn.004e6330
jmp 0x4c5d28
cmp eax, 0xf76
jne 0x4c5b37
lea eax, [ebp + 0x10]
push eax
push esi
push ebx
push 0xf76
call fcn.004e6330
jmp 0x4c5d28
cmp eax, 0x111
jne 0x4c5cd7
movzx ecx, bx
mov dword [ebp + 0x1c], ecx
cmp dx, cx
jne 0x4c5b7a
mov eax, ebx
xor edx, edx
shr eax, 0x10
cmp dx, ax
jne 0x4c5b7a
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 0x4c5dce
mov ecx, dword [ebp + 0x1c]
mov eax, 2
cmp ax, cx
jne 0x4c5bb8
mov eax, ebx
xor edx, edx
shr eax, 0x10
cmp dx, ax
jne 0x4c5bb8
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 0x4c5dce
mov ecx, dword [ebp + 0x1c]
mov eax, 0x438
cmp ax, cx
jne 0x4c5bf9
mov eax, ebx
xor edx, edx
shr eax, 0x10
cmp dx, ax
jne 0x4c5bf9
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 0x4c5dce
mov ecx, dword [ebp + 0x1c]
mov eax, 0x72
cmp ax, cx
jne 0x4c5c3a
mov eax, ebx
mov edx, 0x200
shr eax, 0x10
cmp dx, ax
jne 0x4c5c3a
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push eax
push esi
push 0x72
push edx
mov ecx, edi
call fcn.004e6050
cmp dword [ebp + 0x10], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x4c5dce
mov ecx, dword [ebp + 0x1c]
mov eax, 0x43a
cmp ax, cx
jne 0x4c5c7a
mov eax, ebx
mov edx, 1
shr eax, 0x10
cmp dx, ax
jne 0x4c5c7a
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], edx
push eax
push esi
push 0x43a
push edx
mov ecx, edi
call fcn.004e61e0
cmp dword [ebp + 0x10], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x4c5dce
mov ecx, dword [ebp + 0x1c]
mov eax, ebx
mov edx, 0x3f4
shr eax, 0x10
mov dword [ebp + 0x14], eax
cmp dx, cx
jne 0x4c5cb6
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push ecx
push esi
push edx
push eax
mov ecx, edi
call fcn.004e5920
cmp dword [ebp + 0x10], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x4c5dce
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x1c]
mov edx, 0x3f3
cmp dx, cx
jne 0x4c5d37
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push ecx
push esi
push edx
push eax
mov ecx, edi
call fcn.004e5ad0
jmp 0x4c5d28
cmp eax, 0x4e
jne 0x4c5d37
cmp dword [esi + 4], 0x71
jne 0x4c5d05
cmp dword [esi + 8], 0xffffff6a
jne 0x4c5d05
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 0x4c5dce
cmp dword [esi + 4], 0x77
jne 0x4c5d37
cmp dword [esi + 8], 0xffffff6a
jne 0x4c5d37
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push eax
push esi
push ebx
mov ecx, edi
call fcn.004e6200
cmp dword [ebp + 0x10], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x4c5dce
mov eax, dword [ebp + 0xc]
lea ecx, [edi + 0x48]
cmp eax, 5
jne 0x4c5da8
xor eax, eax
test ecx, ecx
cmove edi, eax
cmp byte [ecx + 0x1c], al
je 0x4c5d7b
push 0xe801
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp ebx, 2
jne 0x4c5d6c
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4c5d80
test ebx, ebx
jne 0x4c5d7b
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4c5d80
cmp ebx, 1
je 0x4c5dc5
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 0x4c5dda
cmp dword [ecx + 0x14], 0xffffffff
je 0x4c5dc5
cmp dword [ecx + 0x18], 0xffffffff
je 0x4c5dc5
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