Function at 0x1004ce40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 0
push ebx
push esi
push edi
mov edi, ecx
jne 0x1004cf08
mov ebx, dword [ebp + 0x18]
mov esi, dword [edi + 0x28]
push 0
push ebx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1004a9c0
mov dword [edi + 0x28], esi
test eax, eax
jne 0x1004cfce
mov eax, dword [ebp + 0xc]
cmp eax, 0x10
jne 0x1004cf11
mov eax, dword [edi + 0x80]
mov dword [edi + 0x70], 1
test eax, eax
je 0x1004cecb
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1004ceb0
mov eax, dword [edi + 0x80]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [edi + 0x80]
test ecx, ecx
je 0x1004cec1
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [edi + 0x80], 0
mov esi, dword [sym.imp.USER32.dll_KillTimer]
push 0x1001
push dword [edi + 4]
call esi
push 0x1002
push dword [edi + 4]
call esi
push 0x1003
push dword [edi + 4]
call esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebx], 0
cmp dword [edi + 0x70], 0
jne 0x1004cfce
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0x18
cmp eax, 0x46
jne 0x1004cf80
mov esi, dword [ebp + 0x14]
mov dword [edi + 0x70], 1
cmp dword [esi + 0x10], 0
jne 0x1004cf2c
cmp dword [esi + 0x14], 0
je 0x1004cef8
mov eax, dword [edi + 0x80]
test eax, eax
je 0x1004cef8
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1004cef8
mov eax, dword [edi + 0x80]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1004cef8
mov eax, dword [esi + 0xc]
push 5
push 0
push 0
add eax, 0x1c
push eax
mov eax, dword [esi + 8]
add eax, 0x1c
push eax
mov eax, dword [edi + 0x80]
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x1004cef8
cmp eax, 0x4cc
jne 0x1004cfda
mov eax, dword [edi + 0x80]
test eax, eax
je 0x1004cfc8
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1004cfad
mov eax, dword [edi + 0x80]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [edi + 0x80]
test ecx, ecx
je 0x1004cfbe
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [edi + 0x80], 0
mov dword [ebx], 0
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 0x18
cmp eax, 0x111
jne 0x1004cf08
mov eax, dword [ebp + 0x10]
mov edx, 0x1771
movzx ecx, ax
cmp dx, cx
jne 0x1004d00e
mov ecx, edi
call fcn.1004c9e0
pop edi
pop esi
mov dword [ebx], 0
mov eax, 1
pop ebx
pop ebp
ret 0x18
mov edx, 0x1772
cmp dx, cx
jne 0x1004d09e
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [sym.imp.USER32.dll_KillTimer]
push 0x1001
push dword [edi + 4]
call esi
push 0x1002
push dword [edi + 4]
call esi
push 0x1003
push dword [edi + 4]
call esi
push 0
push 0
push 1
push 0
push str.pop_big_close
call fcn.10021db0
mov ecx, eax
call fcn.1004fb80
mov eax, dword [edi + 0x74]
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
test eax, eax
je 0x1004d080
push 0
push 0
push 0x4d0
push eax
call esi
mov eax, dword [edi + 0x74]
push 0
push 0
push 0x4cf
push eax
call esi
pop edi
pop esi
mov dword [ebx], 0
mov eax, 1
pop ebx
pop ebp
ret 0x18
mov edx, 0x1773
cmp dx, cx
jne 0x1004d0c9
lea ecx, [ebp + 0xc]
push ecx
push dword [ebp + 0x14]
push edx
shr eax, 0x10
mov ecx, edi
push eax
call fcn.1004c210
pop edi
mov dword [ebx], eax
mov eax, 1
pop esi
pop ebx
pop ebp
ret 0x18
mov edx, 0x1774
cmp dx, cx
jne 0x1004cf08
lea ecx, [ebp + 0xc]
push ecx
push dword [ebp + 0x14]
push edx
jmp 0x1004d0b0