Function at 0x4de2c4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov byte [esp], dl
mov ebx, eax
test byte [ebx + 0x26c], 0x80
jne 0x4de680
xor edi, edi
mov eax, ebx
call fcn.004fe9a4
mov eax, dword [ebx + 0x244]
call fcn.005363e8
mov eax, dword [eax + 0x8c]
mov eax, dword [eax + 0x24]
cmp byte [eax + 6], 0
je 0x4de680
mov edx, dword [ebx + 0x26c]
or edx, 0x80
mov eax, ebx
call fcn.004ff020
cmp dword [ebx + 0x240], 0
je 0x4de333
lea eax, [ebx + 0x240]
mov edx, dword [eax]
xor ecx, ecx
mov dword [eax], ecx
mov eax, edx
call fcn.00403d30
push 1
mov ecx, ebx
mov dl, 1
mov eax, dword [0x4dce7c]
call fcn.00539c50
mov esi, eax
mov dword [ebx + 0x240], esi
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x330], 0
je 0x4de372
movzx eax, byte [eax + 0x331]
mov dword [esp + 4], eax
fild dword [esp + 4]
fstp qword [esi + 0xd0]
wait
jmp 0x4de384
xor eax, eax
mov dword [esi + 0xd0], eax
mov dword [esi + 0xd4], 0x406fe000
mov eax, dword [ebx + 0x28c]
mov dword [esi + 0xc0], eax
mov eax, dword [ebx + 0x25c]
call fcn.00472ce0
mov dword [esi + 0xbc], eax
cmp byte [ebx + 0x46], 0
je 0x4de3c7
mov eax, dword [ebx + 0x244]
call fcn.005363e8
mov eax, dword [eax + 0x8c]
mov eax, dword [eax + 0x24]
movzx eax, byte [eax + 8]
mov byte [esi + 0xb8], al
jmp 0x4de3ce
mov byte [esi + 0xb8], 0xff
mov eax, dword [ebx + 0x244]
call fcn.005363e8
mov eax, dword [eax + 0x8c]
mov eax, dword [eax + 0x24]
cmp word [eax + 4], 0xa
jbe 0x4de430
mov eax, dword [ebx + 0x244]
call fcn.005363e8
mov eax, dword [eax + 0x8c]
mov eax, dword [eax + 0x24]
movzx eax, word [eax + 4]
mov dword [esp + 4], eax
fild dword [esp + 4]
fdiv dword [0x4de688]
movzx eax, byte [esi + 0xb8]
mov edx, 0xff
sub edx, eax
mov dword [esp + 8], edx
fild dword [esp + 8]
fdivrp st(1)
fstp qword [esi + 0xc8]
wait
jmp 0x4de44d
movzx eax, byte [esi + 0xb8]
mov edx, 0xff
sub edx, eax
mov dword [esp + 4], edx
fild dword [esp + 4]
fstp qword [esi + 0xc8]
wait
mov edx, 0xa
mov eax, esi
call fcn.00539ba0
mov eax, dword [ebx + 0x28c]
test eax, eax
je 0x4de55b
mov esi, eax
mov cl, 0xff
xor edx, edx
mov eax, esi
call fcn.004fa7e8
mov eax, dword [esi + 0x20]
mov ebp, dword [eax + 0x25c]
cmp byte [ebp + 0x330], 0
je 0x4de4a0
push 2
push 0
push 0x1fffffff
mov eax, ebp
call fcn.00472ce0
push eax
mov eax, dword [0x56b040]
mov eax, dword [eax]
call eax
mov byte [esi + 0x24], 1
push 0x61b
push 0
push 0
push 0
push 0
mov eax, dword [esi + 0x28]
call fcn.00472ce0
push eax
mov eax, dword [esi + 0x20]
mov eax, dword [eax + 0x25c]
call fcn.00472ce0
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [esi + 0x20]
mov eax, dword [eax + 0x25c]
call fcn.00472ce0
xor ecx, ecx
xor edx, edx
call fcn.004c8484
mov eax, dword [esi + 0x20]
mov eax, dword [eax + 0x240]
mov dl, 1
call fcn.00539b90
push 0
mov eax, dword [esi + 0x28]
mov ecx, 0xf012
mov edx, 0x112
call fcn.0046b73c
mov byte [esi + 0x17], 0
cmp dword [esi + 4], 0xffffffff
je 0x4de671
cmp dword [esi + 8], 0xffffffff
je 0x4de671
cmp dword [esi + 8], 0
jge 0x4de671
mov eax, dword [0x56aeec]
cmp dword [eax], 6
jl 0x4de671
mov ebp, dword [esi + 0x28]
mov eax, dword [ebp + 0x48]
push eax
mov eax, dword [ebp + 0x4c]
push eax
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
mov eax, ebp
mov esi, dword [eax]
call dword [esi + 0x88]
jmp 0x4de671
mov esi, dword [ebx + 0x25c]
cmp byte [esi + 0x330], 0
jne 0x4de647
mov eax, esi
call fcn.00472ce0
call fcn.004dd61c
mov edi, eax
cmp dword [ebx + 0x28c], 0
jne 0x4de5b7
mov eax, dword [ebx + 0x25c]
call fcn.00472ce0
push eax
call sub.user32.dll_IsZoomed
test eax, eax
jne 0x4de5b7
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.004dfa5c
mov esi, eax
push 0
push esi
mov eax, edi
call fcn.00472ce0
push eax
call sub.user32.dll_SetWindowRgn
push 0xffffffffffffffec
mov eax, dword [ebx + 0x25c]
call fcn.00472ce0
push eax
call sub.user32.dll_GetWindowLongW
test eax, 0x80000
jne 0x4de5fd
push 0xffffffffffffffec
mov eax, dword [ebx + 0x25c]
call fcn.00472ce0
push eax
call sub.user32.dll_GetWindowLongW
or eax, 0x80000
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x25c]
call fcn.00472ce0
push eax
call sub.user32.dll_SetWindowLongW
push 2
push 0xff
push 0x1fffffff
mov eax, dword [ebx + 0x25c]
call fcn.00472ce0
push eax
mov eax, dword [0x56b040]
mov eax, dword [eax]
call eax
push 0x585
push 0
push 0
mov eax, dword [ebx + 0x25c]
call fcn.00472ce0
push eax
call sub.user32.dll_RedrawWindow
push 0
mov eax, edi
call fcn.00472ce0
push eax
call sub.user32.dll_ShowWindow
mov dl, 1
mov eax, dword [ebx + 0x240]
call fcn.00539b90
cmp byte [esp], 0
je 0x4de671
push 0
mov ecx, 0xf012
mov edx, 0x112
mov eax, dword [ebx + 0x25c]
call fcn.0046b73c
cmp byte [esp], 0
je 0x4de680
mov edx, edi
mov eax, ebx
call fcn.004ddde8
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret