Function at 0x4c2850
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0x1c], 0
push ebx
mov ebx, dword [ebp + 0x18]
push esi
push edi
mov edi, ecx
mov dword [ebp + 0x18], 1
jne 0x4c2e86
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
cmp ecx, 0x110
jne 0x4c2894
lea eax, [ebp + 0x18]
mov ecx, edi
push eax
push esi
push dword [ebp + 0x10]
push 0x110
call fcn.004e3590
jmp 0x4c2dd3
cmp ecx, 0x7b
jne 0x4c28ae
lea eax, [ebp + 0x18]
push eax
push esi
push dword [ebp + 0x10]
push ecx
mov ecx, edi
call fcn.004e2070
jmp 0x4c2dd3
cmp ecx, 0xc56
jne 0x4c28cb
lea eax, [ebp + 0x18]
push eax
push esi
push dword [ebp + 0x10]
push ecx
mov ecx, edi
call fcn.004e4420
jmp 0x4c2dd3
cmp ecx, 0xde6
jne 0x4c28e8
lea eax, [ebp + 0x18]
push eax
push esi
push dword [ebp + 0x10]
push ecx
mov ecx, edi
call fcn.004e4420
jmp 0x4c2dd3
cmp ecx, 0xf76
jne 0x4c2905
lea eax, [ebp + 0x18]
push eax
push esi
push dword [ebp + 0x10]
push ecx
mov ecx, edi
call fcn.004e4420
jmp 0x4c2dd3
cmp ecx, 0xc4d
jne 0x4c2922
lea eax, [ebp + 0x18]
push eax
push esi
push dword [ebp + 0x10]
push ecx
mov ecx, edi
call fcn.004e4410
jmp 0x4c2dd3
cmp ecx, 0xddd
jne 0x4c293f
lea eax, [ebp + 0x18]
push eax
push esi
push dword [ebp + 0x10]
push ecx
mov ecx, edi
call fcn.004e4410
jmp 0x4c2dd3
cmp ecx, 0xf6d
jne 0x4c295c
lea eax, [ebp + 0x18]
push eax
push esi
push dword [ebp + 0x10]
push ecx
mov ecx, edi
call fcn.004e4410
jmp 0x4c2dd3
cmp ecx, 0x2f15
jne 0x4c2979
lea eax, [ebp + 0x18]
push eax
push esi
push dword [ebp + 0x10]
push ecx
mov ecx, edi
call fcn.004e4410
jmp 0x4c2dd3
cmp ecx, 0x111
jne 0x4c2c25
mov eax, dword [ebp + 0x10]
mov edx, 2
movzx ecx, ax
shr eax, 0x10
mov dword [ebp + 0x1c], ecx
mov dword [ebp - 4], eax
cmp dx, cx
jne 0x4c2c02
lea ecx, [ebp + 0x18]
push ecx
push esi
push edx
push eax
mov ecx, edi
call fcn.0041b0a0
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
jne 0x4c2e78
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp - 4]
mov edx, 1
movzx eax, ax
mov dword [ebp + 0x14], eax
cmp dx, cx
jne 0x4c2c0a
lea ecx, [ebp + 0x18]
mov dword [ebp + 0x18], edx
push ecx
push esi
push edx
push eax
mov ecx, edi
call fcn.0041b0a0
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
mov eax, dword [ebp + 0x14]
movzx eax, ax
jne 0x4c2e78
mov ecx, dword [ebp + 0x1c]
mov edx, 0x800e
movzx eax, ax
mov dword [ebp + 0x14], eax
cmp dx, cx
jne 0x4c2a33
lea ecx, [ebp + 0x18]
mov dword [ebp + 0x18], 1
push ecx
push esi
push edx
push eax
mov ecx, edi
call fcn.004e22e0
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
jne 0x4c2e78
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x14]
mov edx, 0x8012
cmp dx, cx
jne 0x4c2a61
lea ecx, [ebp + 0x18]
mov dword [ebp + 0x18], 1
push ecx
push esi
push edx
push eax
mov ecx, edi
call fcn.004e2960
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
jne 0x4c2e78
mov ecx, dword [ebp + 0x1c]
mov eax, 0x8014
cmp ax, cx
jne 0x4c2c12
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], 1
push eax
push esi
push 0x8014
push dword [ebp + 0x14]
mov ecx, edi
call fcn.004e2710
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
mov eax, dword [ebp - 4]
jne 0x4c2e78
mov ecx, dword [ebp + 0x1c]
mov edx, 0x800b
cmp dx, cx
jne 0x4c2acf
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], 1
push eax
push esi
push edx
push dword [ebp + 0x14]
mov ecx, edi
call fcn.004e2430
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
mov eax, dword [ebp - 4]
jne 0x4c2e78
mov ecx, dword [ebp + 0x1c]
mov edx, 0x800c
cmp dx, cx
jne 0x4c2b02
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], 1
push eax
push esi
push edx
push dword [ebp + 0x14]
mov ecx, edi
call fcn.004e2ac0
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
mov eax, dword [ebp - 4]
jne 0x4c2e78
mov ecx, dword [ebp + 0x1c]
mov edx, 0x800d
cmp dx, cx
jne 0x4c2b35
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], 1
push eax
push esi
push edx
push dword [ebp + 0x14]
mov ecx, edi
call fcn.004e27f0
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
mov eax, dword [ebp - 4]
jne 0x4c2e78
mov ecx, dword [ebp + 0x1c]
mov edx, 0x8073
cmp dx, cx
jne 0x4c2c1d
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], 1
push eax
push esi
push edx
push dword [ebp + 0x14]
mov ecx, edi
call fcn.004e2f70
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
mov eax, dword [ebp + 0x14]
movzx eax, ax
jne 0x4c2e78
mov ecx, dword [ebp + 0x1c]
mov edx, 0x8074
movzx eax, ax
mov dword [ebp + 0x14], eax
cmp dx, cx
jne 0x4c2ba6
lea ecx, [ebp + 0x18]
mov dword [ebp + 0x18], 1
push ecx
push esi
push edx
push eax
mov ecx, edi
call fcn.004e2cf0
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
jne 0x4c2e78
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x14]
mov edx, 0x8075
cmp dx, cx
jne 0x4c2bd4
lea ecx, [ebp + 0x18]
mov dword [ebp + 0x18], 1
push ecx
push esi
push edx
push eax
mov ecx, edi
call fcn.004e31e0
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
jne 0x4c2e78
mov ecx, dword [ebp + 0x1c]
mov eax, 0x807e
cmp ax, cx
jne 0x4c2ddf
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], 1
push eax
push esi
push 0x807e
push dword [ebp + 0x14]
mov ecx, edi
call fcn.004e3c90
jmp 0x4c2dd3
mov dword [ebp - 4], eax
jmp 0x4c29c2
movzx eax, ax
jmp 0x4c29fc
mov eax, dword [ebp + 0x10]
shr eax, 0x10
jmp 0x4c2a9c
movzx eax, ax
jmp 0x4c2b6f
cmp ecx, 0x4e
jne 0x4c2ddf
cmp dword [esi + 4], 0x73
jne 0x4c2d80
cmp dword [esi + 8], 0xfffffffe
jne 0x4c2c59
lea eax, [ebp + 0x18]
mov ecx, edi
push eax
push esi
push dword [ebp + 0x10]
call fcn.004b58c0
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
jne 0x4c2e78
cmp dword [esi + 4], 0x73
jne 0x4c2d80
cmp dword [esi + 8], 0xfffffffd
jne 0x4c2c8b
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], 1
push eax
push esi
push dword [ebp + 0x10]
mov ecx, edi
call fcn.004b58c0
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
jne 0x4c2e78
cmp dword [esi + 4], 0x73
jne 0x4c2d80
cmp dword [esi + 8], 0xfffffffb
jne 0x4c2cbd
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], 1
push eax
push esi
push dword [ebp + 0x10]
mov ecx, edi
call fcn.004b58c0
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
jne 0x4c2e78
cmp dword [esi + 4], 0x73
jne 0x4c2d80
cmp dword [esi + 8], 0xfffffffa
jne 0x4c2cef
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], 1
push eax
push esi
push dword [ebp + 0x10]
mov ecx, edi
call fcn.004b58c0
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
jne 0x4c2e78
cmp dword [esi + 4], 0x73
jne 0x4c2d80
cmp dword [esi + 8], 0xfffffffd
jne 0x4c2d21
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], 1
push eax
push esi
push dword [ebp + 0x10]
mov ecx, edi
call fcn.004e3430
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
jne 0x4c2e78
cmp dword [esi + 4], 0x73
jne 0x4c2d80
cmp dword [esi + 8], 0xffffff6a
jne 0x4c2d52
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], 1
push eax
push esi
push dword [ebp + 0x10]
mov ecx, edi
call fcn.004e3450
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
jne 0x4c2e78
cmp dword [esi + 4], 0x73
jne 0x4c2d80
cmp dword [esi + 8], 0xffffff9b
jne 0x4c2d80
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], 1
push eax
push esi
push dword [ebp + 0x10]
mov ecx, edi
call fcn.004e3540
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
jne 0x4c2e78
cmp dword [esi + 4], 0x75
jne 0x4c2ddf
cmp dword [esi + 8], 0xfffffffd
jne 0x4c2dae
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], 1
push eax
push esi
push dword [ebp + 0x10]
mov ecx, edi
call fcn.004e4250
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
jne 0x4c2e78
cmp dword [esi + 4], 0x75
jne 0x4c2ddf
cmp dword [esi + 8], 0xffffff6a
jne 0x4c2ddf
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], 1
push eax
push esi
push dword [ebp + 0x10]
mov ecx, edi
call fcn.004e4270
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
jne 0x4c2e78
mov eax, dword [ebp + 0xc]
lea ecx, [edi + 0x48]
cmp eax, 5
jne 0x4c2e55
xor eax, eax
test ecx, ecx
cmove edi, eax
cmp byte [ecx + 0x1c], al
je 0x4c2e26
push 0xe801
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [ebp + 0x10]
cmp ecx, 2
jne 0x4c2e17
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4c2e2e
test ecx, ecx
jne 0x4c2e29
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4c2e2e
mov ecx, dword [ebp + 0x10]
cmp ecx, 1
je 0x4c2e72
mov eax, esi
lea ecx, [edi + 0x48]
shr eax, 0x10
cwde
push eax
movsx eax, si
push eax
call fcn.00444be0
pop edi
pop esi
mov dword [ebx], 0
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x24
jne 0x4c2e86
cmp dword [ecx + 0x14], 0xffffffff
je 0x4c2e72
cmp dword [ecx + 0x18], 0xffffffff
je 0x4c2e72
mov eax, dword [ecx + 0x14]
mov dword [esi + 0x18], eax
mov eax, dword [ecx + 0x18]
mov dword [esi + 0x1c], eax
mov dword [ebx], 0
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x18
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x18