Function at 0x5369a8
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 + 0x270], 0x80
jne 0x536d94
xor edi, edi
mov eax, ebx
call fcn.00556044
mov eax, dword [ebx + 0x244]
call fcn.005303a8
mov eax, dword [eax + 0x8c]
mov eax, dword [eax + 0x24]
cmp byte [eax + 6], 0
je 0x536d94
mov edx, dword [ebx + 0x270]
or edx, 0x80
mov eax, ebx
call fcn.005566a4
mov eax, dword [ebx + 0x25c]
call fcn.004568a4
xor ecx, ecx
mov edx, 0x51
call fcn.0051757c
cmp dword [ebx + 0x240], 0
je 0x536a26
lea eax, [ebx + 0x240]
call fcn.0040ff68
push 1
mov ecx, ebx
mov dl, 1
mov eax, dword [0x535624]
call fcn.004ffe60
mov esi, eax
mov dword [ebx + 0x240], esi
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x2e0], 0
je 0x536a65
movzx eax, byte [eax + 0x2e1]
mov dword [esp + 4], eax
fild dword [esp + 4]
fstp qword [esi + 0xd0]
wait
jmp 0x536a77
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.004568a4
mov dword [esi + 0xbc], eax
cmp byte [ebx + 0x47], 0
je 0x536ab9
mov eax, dword [ebx + 0x244]
call fcn.005303a8
mov eax, dword [eax + 0x8c]
mov eax, dword [eax + 0x24]
mov al, byte [eax + 8]
mov byte [esi + 0xb8], al
jmp 0x536ac0
mov byte [esi + 0xb8], 0xff
mov eax, dword [ebx + 0x244]
call fcn.005303a8
mov eax, dword [eax + 0x8c]
mov eax, dword [eax + 0x24]
cmp word [eax + 4], 0xc
jbe 0x536b2b
mov eax, dword [ebx + 0x244]
call fcn.005303a8
mov eax, dword [eax + 0x8c]
mov eax, dword [eax + 0x24]
movzx eax, word [eax + 4]
mov dword [esp + 4], eax
fild dword [esp + 4]
fld dword [0x536d9c]
call fcn.00403600
xor eax, eax
mov al, byte [esi + 0xb8]
mov edx, 0xff
sub edx, eax
mov dword [esp + 8], edx
fild dword [esp + 8]
call fcn.004035f8
fstp qword [esi + 0xc8]
wait
jmp 0x536b49
xor eax, eax
mov al, 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, 0xc
mov eax, esi
call fcn.004ffdb8
mov eax, dword [ebx + 0x28c]
test eax, eax
je 0x536c6f
mov esi, eax
mov eax, dword [esi + 0x20]
mov eax, dword [eax + 0x25c]
call fcn.004568a4
xor ecx, ecx
mov edx, 0x52
call fcn.0051757c
mov cl, 0xff
xor edx, edx
mov eax, esi
call fcn.00552170
mov eax, dword [esi + 0x20]
mov ebp, dword [eax + 0x25c]
cmp byte [ebp + 0x2e0], 0
je 0x536bb6
push 2
push 0
push 0x1fffffff
mov eax, ebp
call fcn.004568a4
push eax
mov eax, dword [0x57eab8]
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.004568a4
push eax
mov eax, dword [esi + 0x20]
mov eax, dword [eax + 0x25c]
call fcn.004568a4
push eax
call sub.USER32.DLL_SetWindowPos
push 0
mov eax, dword [esi + 0x20]
mov eax, dword [eax + 0x25c]
call fcn.004568a4
xor ecx, ecx
xor edx, edx
call fcn.00518098
mov eax, dword [esi + 0x20]
mov eax, dword [eax + 0x240]
mov dl, 1
call fcn.004ffda8
push 0
mov eax, dword [esi + 0x28]
mov ecx, 0xf012
mov edx, 0x112
call fcn.00451210
mov byte [esi + 0x17], 0
cmp dword [esi + 4], 0xffffffff
je 0x536d85
cmp dword [esi + 8], 0xffffffff
je 0x536d85
mov ebp, dword [esi + 8]
test ebp, ebp
jge 0x536d85
mov eax, dword [0x57e994]
cmp dword [eax], 6
jl 0x536d85
mov eax, dword [esi + 0x28]
mov edx, dword [eax + 0x48]
push edx
mov edx, dword [eax + 0x4c]
push edx
mov ecx, ebp
mov edx, dword [esi + 4]
mov esi, dword [eax]
call dword [esi + 0x84]
jmp 0x536d85
mov esi, dword [ebx + 0x25c]
cmp byte [esi + 0x2e0], 0
jne 0x536d5b
mov eax, esi
call fcn.004568a4
call fcn.00535d28
mov edi, eax
cmp dword [ebx + 0x28c], 0
jne 0x536ccb
mov eax, dword [ebx + 0x25c]
call fcn.004568a4
push eax
call sub.USER32.DLL_IsZoomed
test eax, eax
jne 0x536ccb
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.00538538
mov esi, eax
push 0
push esi
mov eax, edi
call fcn.004568a4
push eax
call sub.USER32.DLL_SetWindowRgn
push 0xffffffffffffffec
mov eax, dword [ebx + 0x25c]
call fcn.004568a4
push eax
call sub.USER32.DLL_GetWindowLongA
test eax, 0x80000
jne 0x536d11
push 0xffffffffffffffec
mov eax, dword [ebx + 0x25c]
call fcn.004568a4
push eax
call sub.USER32.DLL_GetWindowLongA
or eax, 0x80000
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x25c]
call fcn.004568a4
push eax
call sub.USER32.DLL_SetWindowLongA
push 2
push 0xff
push 0x1fffffff
mov eax, dword [ebx + 0x25c]
call fcn.004568a4
push eax
mov eax, dword [0x57eab8]
mov eax, dword [eax]
call eax
push 0x585
push 0
push 0
mov eax, dword [ebx + 0x25c]
call fcn.004568a4
push eax
call sub.USER32.DLL_RedrawWindow
push 0
mov eax, edi
call fcn.004568a4
push eax
call sub.USER32.DLL_ShowWindow
mov dl, 1
mov eax, dword [ebx + 0x240]
call fcn.004ffda8
cmp byte [esp], 0
je 0x536d85
push 0
mov ecx, 0xf012
mov edx, 0x112
mov eax, dword [ebx + 0x25c]
call fcn.00451210
cmp byte [esp], 0
je 0x536d94
mov edx, edi
mov eax, ebx
call fcn.00536478
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret