Function at 0x4c85f0
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
jne 0x4c88c8
mov eax, dword [ebp + 0xc]
cmp eax, 0x110
jne 0x4c8631
lea eax, [ebp + 0x1c]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0x110
call fcn.004b54d0
mov dword [ebx], eax
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 0x18
cmp eax, 0x7b
jne 0x4c8655
lea eax, [ebp + 0x1c]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0x7b
call fcn.004abfa0
pop edi
mov dword [ebx], eax
mov eax, 1
pop esi
pop ebx
pop ebp
ret 0x18
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
cmp eax, 0x111
jne 0x4c8692
mov ecx, 0x80ac
cmp cx, bx
jne 0x4c87e5
lea eax, [ebp + 0x1c]
shr ebx, 0x10
push eax
push esi
push ecx
push ebx
mov ecx, edi
call fcn.004b11f0
mov ecx, dword [ebp + 0x18]
pop edi
pop esi
pop ebx
mov dword [ecx], eax
mov eax, 1
pop ebp
ret 0x18
cmp eax, 0x2f15
jne 0x4c86be
lea eax, [ebp + 0x1c]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0x2f15
call fcn.004bb460
mov ecx, dword [ebp + 0x18]
pop edi
pop esi
pop ebx
mov dword [ecx], eax
mov eax, 1
pop ebp
ret 0x18
cmp eax, 0x4e
jne 0x4c87e5
cmp dword [esi + 4], 0x475
jne 0x4c8795
cmp dword [esi + 8], 0xfffffffe
jne 0x4c86fb
lea eax, [ebp + 0x1c]
mov dword [ebp + 0x1c], 1
push eax
push esi
push ebx
call fcn.004ab340
cmp dword [ebp + 0x1c], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x4c8625
cmp dword [esi + 4], 0x475
jne 0x4c8795
cmp dword [esi + 8], 0xfffffffd
jne 0x4c8731
lea eax, [ebp + 0x1c]
mov dword [ebp + 0x1c], 1
push eax
push esi
push ebx
mov ecx, edi
call fcn.004ab340
cmp dword [ebp + 0x1c], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x4c8625
cmp dword [esi + 4], 0x475
jne 0x4c8795
cmp dword [esi + 8], 0xfffffffb
jne 0x4c8763
lea eax, [ebp + 0x1c]
mov dword [ebp + 0x1c], 1
push eax
push esi
push ebx
mov ecx, edi
call fcn.004ab340
cmp dword [ebp + 0x1c], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x4c8625
cmp dword [esi + 4], 0x475
jne 0x4c8795
cmp dword [esi + 8], 0xfffffffa
jne 0x4c8795
lea eax, [ebp + 0x1c]
mov dword [ebp + 0x1c], 1
push eax
push esi
push ebx
mov ecx, edi
call fcn.004ab340
cmp dword [ebp + 0x1c], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x4c8625
mov eax, dword [esi + 4]
cmp eax, 0x475
jne 0x4c87e2
cmp dword [esi + 8], 0xfffffffd
jne 0x4c87b4
lea eax, [ebp + 0x14]
push eax
push 0
push 0
push 0
jmp 0x4c867a
cmp eax, 0x475
jne 0x4c87e2
cmp dword [esi + 8], 0xffffff6a
jne 0x4c87e2
lea eax, [ebp + 0x1c]
mov ecx, edi
push eax
push esi
push ebx
call fcn.004b2650
mov ecx, dword [ebp + 0x18]
pop edi
pop esi
pop ebx
mov dword [ecx], eax
mov eax, 1
pop ebp
ret 0x18
mov eax, dword [ebp + 0xc]
lea ecx, [edi + 0xdc]
cmp eax, 5
jne 0x4c8859
xor eax, eax
test ecx, ecx
cmove edi, eax
cmp byte [ecx + 0x1c], al
je 0x4c8829
push 0xe801
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp ebx, 2
jne 0x4c881a
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4c882e
test ebx, ebx
jne 0x4c8829
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4c882e
cmp ebx, 1
je 0x4c8876
mov eax, esi
lea ecx, [edi + 0xdc]
shr eax, 0x10
cwde
push eax
movsx eax, si
push eax
call fcn.00497190
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 0x4c888b
cmp dword [ecx + 0x14], 0xffffffff
je 0x4c8876
cmp dword [ecx + 0x18], 0xffffffff
je 0x4c8876
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]
pop edi
pop esi
pop ebx
mov dword [eax], 0
mov eax, 1
pop ebp
ret 0x18
lea ecx, [ebp + 0x1c]
mov dword [ebp + 0x1c], 1
push ecx
push esi
push ebx
push eax
mov ecx, edi
call fcn.0042a980
cmp dword [ebp + 0x1c], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x4c8625
push ecx
push esi
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00494360
add esp, 0x14
test eax, eax
jne 0x4c8625
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0x18