Function at 0x4c7080
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
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 0x4c756a
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
cmp ecx, 0x110
jne 0x4c70c3
lea eax, [ebp + 0x18]
mov ecx, edi
push eax
push esi
push dword [ebp + 0x10]
push 0x110
call fcn.005020b0
jmp 0x4c74bb
cmp ecx, 0x7b
jne 0x4c70dd
lea eax, [ebp + 0x18]
push eax
push esi
push dword [ebp + 0x10]
push ecx
mov ecx, edi
call fcn.00501400
jmp 0x4c74bb
cmp ecx, 0xc83
jne 0x4c70fa
lea eax, [ebp + 0x18]
push eax
push esi
push dword [ebp + 0x10]
push ecx
mov ecx, edi
call fcn.00502670
jmp 0x4c74bb
cmp ecx, 0xe13
jne 0x4c7117
lea eax, [ebp + 0x18]
push eax
push esi
push dword [ebp + 0x10]
push ecx
mov ecx, edi
call fcn.00502670
jmp 0x4c74bb
cmp ecx, 0xfa3
jne 0x4c7134
lea eax, [ebp + 0x18]
push eax
push esi
push dword [ebp + 0x10]
push ecx
mov ecx, edi
call fcn.00502670
jmp 0x4c74bb
cmp ecx, 0xc84
jne 0x4c7151
lea eax, [ebp + 0x18]
push eax
push esi
push dword [ebp + 0x10]
push ecx
mov ecx, edi
call fcn.00502660
jmp 0x4c74bb
cmp ecx, 0xe14
jne 0x4c716e
lea eax, [ebp + 0x18]
push eax
push esi
push dword [ebp + 0x10]
push ecx
mov ecx, edi
call fcn.00502660
jmp 0x4c74bb
cmp ecx, 0xfa4
jne 0x4c718b
lea eax, [ebp + 0x18]
push eax
push esi
push dword [ebp + 0x10]
push ecx
mov ecx, edi
call fcn.00502660
jmp 0x4c74bb
cmp ecx, 0x111
jne 0x4c730d
mov eax, dword [ebp + 0x10]
mov edx, 2
movzx ecx, ax
shr eax, 0x10
mov dword [ebp + 0x1c], ecx
mov dword [ebp + 0x14], eax
cmp dx, cx
jne 0x4c71d0
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 0x4c755e
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x1c]
mov edx, 1
movzx eax, ax
mov dword [ebp + 0x14], eax
cmp dx, cx
jne 0x4c7305
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 0x4c755e
mov ecx, dword [ebp + 0x1c]
mov edx, 0x802c
movzx eax, ax
mov dword [ebp + 0x14], eax
cmp dx, cx
jne 0x4c7241
lea ecx, [ebp + 0x18]
mov dword [ebp + 0x18], 1
push ecx
push esi
push edx
push eax
mov ecx, edi
call fcn.00501610
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
jne 0x4c755e
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x14]
mov edx, 0x802b
cmp dx, cx
jne 0x4c726f
lea ecx, [ebp + 0x18]
mov dword [ebp + 0x18], 1
push ecx
push esi
push edx
push eax
mov ecx, edi
call fcn.00501990
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
jne 0x4c755e
mov ecx, dword [ebp + 0x1c]
mov eax, 0x802a
cmp ax, cx
jne 0x4c72a3
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], 1
push eax
push esi
push 0x802a
push dword [ebp + 0x14]
mov ecx, edi
call fcn.005017e0
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
jne 0x4c755e
mov ecx, dword [ebp + 0x1c]
mov eax, 0x802d
cmp ax, cx
jne 0x4c72d7
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], 1
push eax
push esi
push 0x802d
push dword [ebp + 0x14]
mov ecx, edi
call fcn.00500ea0
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
jne 0x4c755e
mov ecx, dword [ebp + 0x1c]
mov eax, 0x8031
cmp ax, cx
jne 0x4c74c7
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], 1
push eax
push esi
push 0x8031
push dword [ebp + 0x14]
mov ecx, edi
call fcn.00502520
jmp 0x4c74bb
movzx eax, ax
jmp 0x4c720a
cmp ecx, 0x4e
jne 0x4c74c7
cmp dword [esi + 4], 0x78
jne 0x4c7468
cmp dword [esi + 8], 0xfffffffe
jne 0x4c7341
lea eax, [ebp + 0x18]
mov ecx, edi
push eax
push esi
push dword [ebp + 0x10]
call fcn.005026a0
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
jne 0x4c755e
cmp dword [esi + 4], 0x78
jne 0x4c7468
cmp dword [esi + 8], 0xfffffffd
jne 0x4c7373
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], 1
push eax
push esi
push dword [ebp + 0x10]
mov ecx, edi
call fcn.005026a0
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
jne 0x4c755e
cmp dword [esi + 4], 0x78
jne 0x4c7468
cmp dword [esi + 8], 0xfffffffb
jne 0x4c73a5
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], 1
push eax
push esi
push dword [ebp + 0x10]
mov ecx, edi
call fcn.005026a0
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
jne 0x4c755e
cmp dword [esi + 4], 0x78
jne 0x4c7468
cmp dword [esi + 8], 0xfffffffa
jne 0x4c73d7
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], 1
push eax
push esi
push dword [ebp + 0x10]
mov ecx, edi
call fcn.005026a0
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
jne 0x4c755e
cmp dword [esi + 4], 0x78
jne 0x4c7468
cmp dword [esi + 8], 0xfffffffd
jne 0x4c7409
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], 1
push eax
push esi
push dword [ebp + 0x10]
mov ecx, edi
call fcn.005026f0
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
jne 0x4c755e
cmp dword [esi + 4], 0x78
jne 0x4c7468
cmp dword [esi + 8], 0xffffff6a
jne 0x4c743a
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], 1
push eax
push esi
push dword [ebp + 0x10]
mov ecx, edi
call fcn.00502710
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
jne 0x4c755e
cmp dword [esi + 4], 0x78
jne 0x4c7468
cmp dword [esi + 8], 0xffffff9b
jne 0x4c7468
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], 1
push eax
push esi
push dword [ebp + 0x10]
mov ecx, edi
call fcn.005028f0
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
jne 0x4c755e
cmp dword [esi + 4], 0x7a
jne 0x4c74c7
cmp dword [esi + 8], 0xfffffffd
jne 0x4c7496
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], 1
push eax
push esi
push dword [ebp + 0x10]
mov ecx, edi
call fcn.00411a90
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
jne 0x4c755e
cmp dword [esi + 4], 0x7a
jne 0x4c74c7
cmp dword [esi + 8], 0xffffff6a
jne 0x4c74c7
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], 1
push eax
push esi
push dword [ebp + 0x10]
mov ecx, edi
call fcn.00502940
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
jne 0x4c755e
mov eax, dword [ebp + 0xc]
lea ecx, [edi + 0x48]
cmp eax, 5
jne 0x4c753b
xor eax, eax
test ecx, ecx
cmove edi, eax
cmp byte [ecx + 0x1c], al
je 0x4c750e
push 0xe801
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [ebp + 0x10]
cmp ecx, 2
jne 0x4c74ff
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4c7516
test ecx, ecx
jne 0x4c7511
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4c7516
mov ecx, dword [ebp + 0x10]
cmp ecx, 1
je 0x4c7558
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
pop ebp
ret 0x18
cmp eax, 0x24
jne 0x4c756a
cmp dword [ecx + 0x14], 0xffffffff
je 0x4c7558
cmp dword [ecx + 0x18], 0xffffffff
je 0x4c7558
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
pop ebp
ret 0x18
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0x18