Function at 0x4ae0c4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
cmp dword [ebx + 0x10], 0
jne 0x4ae499
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4563c0]
call fcn.00458ea0
mov edi, eax
mov dword [ebx + 0x10], edi
mov dword [edi + 0xc], 0xffffff9e
mov eax, dword [edi + 0x38]
mov dword [ebx + 0x18], eax
mov eax, dword [edi + 0x3c]
mov dword [ebx + 0x1c], eax
mov edi, dword [ebx + 0x10]
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x38], 0x4ae0a4
mov eax, dword [0x4ae4a4]
not eax
and eax, dword [edi + 0x50]
mov dword [edi + 0x50], eax
xor edx, edx
mov eax, edi
call fcn.0045a674
xor edx, edx
mov eax, dword [ebx + 0x10]
call fcn.00459cf4
mov eax, esi
xor edx, edx
call fcn.00505b04
mov edi, eax
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.004dac6c
add edi, eax
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.004dacd8
add edi, eax
mov eax, dword [ebx + 0xc]
add eax, eax
sub edi, eax
mov dword [ebp - 0xc], edi
mov eax, esi
xor edx, edx
call fcn.00505b18
mov edi, eax
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.004dad28
add edi, eax
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.004dac1c
add edi, eax
mov eax, dword [ebx + 0xc]
add eax, eax
sub edi, eax
mov dword [ebp - 8], edi
mov byte [0x52288e], 0xff
mov ecx, edi
mov edx, dword [ebp - 0xc]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 4]
mov eax, dword [ebp - 4]
xor edx, edx
call fcn.00505b04
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
xor edx, edx
call fcn.00505b18
mov dword [ebp - 0x1c], eax
mov eax, esi
xor edx, edx
call fcn.00505b04
cmp eax, dword [ebp - 0x18]
jne 0x4ae1dc
mov eax, esi
xor edx, edx
call fcn.00505b18
cmp eax, dword [ebp - 0x1c]
je 0x4ae32e
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x4ae1fb
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.004dac6c
mov edi, eax
mov eax, dword [ebp - 4]
add edi, dword [eax]
sub edi, dword [ebx + 0xc]
jmp 0x4ae1fd
xor edi, edi
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x4ae21f
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.004dac6c
mov edx, dword [ebp - 4]
add eax, dword [edx + 4]
sub eax, dword [ebx + 0xc]
mov dword [ebp - 0x24], eax
jmp 0x4ae224
xor eax, eax
mov dword [ebp - 0x24], eax
mov eax, esi
xor edx, edx
call fcn.00505b04
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 8]
je 0x4ae269
test edi, edi
jne 0x4ae25c
mov eax, esi
xor edx, edx
call fcn.00505b04
sub eax, dword [ebp - 0x18]
push eax
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.004dacd8
pop edx
add edx, eax
sub edx, dword [ebx + 0xc]
mov dword [ebp - 0x20], edx
jmp 0x4ae26e
mov eax, dword [ebp - 0xc]
sub eax, edi
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
jmp 0x4ae26e
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, esi
xor edx, edx
call fcn.00505b18
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0xc]
je 0x4ae2b2
cmp dword [ebp - 0x24], 0
jne 0x4ae2a7
mov eax, esi
xor edx, edx
call fcn.00505b18
sub eax, dword [ebp - 0x1c]
push eax
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.004dac1c
mov edx, eax
pop eax
add eax, edx
sub eax, dword [ebx + 0xc]
jmp 0x4ae2b4
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x1c]
jmp 0x4ae2b4
xor eax, eax
mov edx, dword [ebp - 0xc]
sub edx, edi
sub edx, dword [ebp - 0x20]
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x24]
sub edx, eax
mov dword [ebp - 8], edx
test edi, edi
jne 0x4ae2d4
cmp dword [ebp - 0x24], 0
je 0x4ae335
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.004cc28c
mov dword [ebp - 0x28], eax
push 0xcc0020
mov eax, dword [ebp - 0x24]
push eax
push edi
mov eax, dword [ebx + 0x14]
call fcn.00428a7c
call fcn.004245b0
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
mov eax, dword [ebp - 0x28]
call fcn.00428a7c
call fcn.004245b0
push eax
call sub.gdi32.dll_BitBlt
mov edx, dword [ebp - 0x28]
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax]
call dword [ecx + 8]
lea eax, [ebp - 0x28]
call fcn.0040e8b8
jmp 0x4ae335
xor edi, edi
xor eax, eax
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebx + 0x10]
call fcn.0043fefc
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x10]
call fcn.0043ff20
push 0xffffffffffffffec
mov eax, dword [ebp + 8]
push eax
call sub.user32.dll_GetWindowLongA
and eax, 8
cmp eax, 8
jne 0x4ae367
mov dword [ebp - 0x2c], 0xffffffff
jmp 0x4ae375
push 3
mov eax, dword [ebp + 8]
push eax
call sub.user32.dll_GetWindow
mov dword [ebp - 0x2c], eax
push 0
lea eax, [ebp - 0x3c]
push eax
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.004dad28
mov edx, dword [esi + 4]
sub edx, eax
add edx, dword [ebx + 0xc]
add edx, dword [ebp - 0x24]
push edx
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.004dac6c
push eax
mov eax, dword [esi]
pop edx
sub eax, edx
add eax, dword [ebx + 0xc]
add eax, edi
xor ecx, ecx
pop edx
call fcn.00406bf0
cmp dword [ebp - 0x2c], 0
jne 0x4ae3bc
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0x10]
call fcn.00446f3c
mov eax, dword [ebx + 0x10]
call fcn.00447264
test al, al
je 0x4ae491
mov esi, 0x80800a0
push 0xffffffffffffffec
mov eax, dword [ebx + 0x10]
call fcn.00446f60
push eax
call sub.user32.dll_GetWindowLongA
or esi, eax
push esi
push 0xffffffffffffffec
mov eax, dword [ebx + 0x10]
call fcn.00446f60
push eax
call sub.user32.dll_SetWindowLongA
push 0x611
push 0
push 0
mov esi, dword [ebp - 0x38]
push esi
mov edi, dword [ebp - 0x3c]
push edi
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebx + 0x10]
call fcn.00446f60
push eax
call sub.user32.dll_SetWindowPos
mov edx, edi
mov eax, dword [ebx + 0x10]
call fcn.0043feb0
mov edx, esi
mov eax, dword [ebx + 0x10]
call fcn.0043fed4
lea ecx, [ebp - 0x14]
xor edx, edx
xor eax, eax
call fcn.00406c0c
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 2
push 0x52288c
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebx + 0x14]
call fcn.00428a7c
call fcn.004245b0
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push esi
mov eax, dword [ebx + 0x10]
call fcn.00446f60
push eax
call dword [0x5228ac]
push 4
mov eax, dword [ebx + 0x10]
call fcn.00446f60
push eax
call sub.user32.dll_ShowWindow
push esi
push 0
call sub.user32.dll_ReleaseDC
lea eax, [ebx + 0x14]
call fcn.0040e8b8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8