Function at 0x5a42d8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffec
mov byte [esp], dl
mov esi, eax
mov eax, dword [esi + 0x24c]
and eax, 0x80
cmp eax, 0x80
je 0x5a46cd
xor edi, edi
mov eax, dword [esi + 0xc8]
call fcn.0058f8fc
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x24]
cmp byte [eax + 6], 0
je 0x5a46cd
or dword [esi + 0x24c], 0x80
cmp dword [esi + 0x238], 0
je 0x5a4335
lea eax, [esi + 0x238]
call fcn.0041b3c8
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x5a2afc]
call fcn.00519b30
mov ebx, eax
mov dword [esi + 0x238], ebx
mov eax, dword [esi + 0x26c]
cmp byte [eax + 0x340], 0
je 0x5a4371
movzx eax, byte [eax + 0x341]
mov dword [esp + 4], eax
fild dword [esp + 4]
fstp qword [ebx + 0x60]
wait
jmp 0x5a437d
xor eax, eax
mov dword [ebx + 0x60], eax
mov dword [ebx + 0x64], 0x406fe000
mov eax, dword [esi + 0x238]
mov edx, dword [esi + 0x288]
mov dword [eax + 0x70], edx
mov eax, dword [esi + 0x26c]
call fcn.004b7904
mov ebx, dword [esi + 0x238]
mov dword [ebx + 0x74], eax
cmp byte [esi + 0x8c], 0
je 0x5a43c9
mov eax, dword [esi + 0xc8]
call fcn.0058f8fc
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x24]
movzx eax, byte [eax + 8]
mov edx, dword [esi + 0x238]
mov byte [edx + 0x58], al
jmp 0x5a43cd
mov byte [ebx + 0x58], 0xff
mov eax, dword [esi + 0xc8]
call fcn.0058f8fc
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x24]
cmp word [eax + 4], 0xc
jbe 0x5a4437
mov eax, dword [esi + 0xc8]
call fcn.0058f8fc
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x24]
movzx eax, word [eax + 4]
mov dword [esp + 4], eax
fild dword [esp + 4]
fld dword [0x5a46d8]
call fcn.00404874
mov eax, dword [esi + 0x238]
movzx eax, byte [eax + 0x58]
mov edx, 0xff
sub edx, eax
mov dword [esp + 8], edx
fild dword [esp + 8]
call fcn.0040486c
mov eax, dword [esi + 0x238]
fstp qword [eax + 0x68]
wait
jmp 0x5a4454
mov eax, dword [esi + 0x238]
movzx edx, byte [eax + 0x58]
mov ecx, 0xff
sub ecx, edx
mov dword [esp + 4], ecx
fild dword [esp + 4]
fstp qword [eax + 0x68]
wait
mov edx, 0xc
mov eax, dword [esi + 0x238]
call fcn.00519ab0
mov eax, dword [esi + 0x288]
test eax, eax
je 0x5a45a3
mov cl, 0xff
xor edx, edx
call fcn.005bfa5c
mov ebx, dword [esi + 0x26c]
cmp byte [ebx + 0x340], 0
je 0x5a44a4
push 2
push 0
push 0x1fffffff
mov eax, ebx
call fcn.004b7904
push eax
mov eax, dword [0x6021c8]
mov eax, dword [eax]
call eax
mov eax, dword [esi + 0x288]
mov byte [eax + 0x28], 1
push 0x60b
push 0
push 0
push 0
push 0
mov eax, dword [esi + 0x288]
mov eax, dword [eax + 0x18]
call fcn.004b7904
push eax
mov eax, dword [esi + 0x26c]
call fcn.004b7904
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [esi + 0x26c]
call fcn.004b7904
xor ecx, ecx
xor edx, edx
call fcn.005a3740
mov dl, 1
mov eax, dword [esi + 0x238]
call fcn.00519aa0
lea ecx, [esp + 0xc]
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.0040b03c
mov ebx, dword [esi + 0x288]
mov eax, dword [esp + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x10]
mov dword [ebx + 0x10], eax
push 0
mov eax, dword [ebx + 0x18]
mov ecx, 0xf012
mov edx, 0x112
call fcn.004afe24
mov eax, dword [esi + 0x288]
cmp dword [eax + 0xc], 0xffffffff
je 0x5a46be
cmp dword [eax + 0x10], 0xffffffff
je 0x5a46be
mov ebp, dword [esi + 0x288]
cmp dword [ebp + 0x10], 0
jge 0x5a46be
mov eax, dword [0x602060]
cmp dword [eax], 6
jl 0x5a46be
mov eax, dword [esi + 0x288]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x48]
push eax
mov eax, dword [esi + 0x288]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [esi + 0x288]
mov ecx, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x18]
mov ebx, dword [eax]
call dword [ebx + 0x98]
jmp 0x5a46be
mov ebx, dword [esi + 0x26c]
cmp byte [ebx + 0x340], 0
jne 0x5a4694
mov eax, ebx
call fcn.004b7904
call fcn.005a3864
mov edi, eax
cmp dword [esi + 0x288], 0
jne 0x5a45ff
mov eax, dword [esi + 0x26c]
call fcn.004b7904
push eax
call sub.user32.dll_IsZoomed
test eax, eax
jne 0x5a45ff
xor ecx, ecx
xor edx, edx
mov eax, esi
call fcn.005a59c8
mov ebx, eax
push 0
push ebx
mov eax, edi
call fcn.004b7904
push eax
call sub.user32.dll_SetWindowRgn
push 0xffffffffffffffec
mov eax, dword [esi + 0x26c]
call fcn.004b7904
push eax
call sub.user32.dll_GetWindowLongW
and eax, 0x80000
cmp eax, 0x80000
je 0x5a464a
push 0xffffffffffffffec
mov eax, dword [esi + 0x26c]
call fcn.004b7904
push eax
call sub.user32.dll_GetWindowLongW
or eax, 0x80000
push eax
push 0xffffffffffffffec
mov eax, dword [esi + 0x26c]
call fcn.004b7904
push eax
call sub.user32.dll_SetWindowLongW
push 2
push 0xff
push 0x1fffffff
mov eax, dword [esi + 0x26c]
call fcn.004b7904
push eax
mov eax, dword [0x6021c8]
mov eax, dword [eax]
call eax
push 0x185
push 0
push 0
mov eax, dword [esi + 0x26c]
call fcn.004b7904
push eax
call sub.user32.dll_RedrawWindow
push 0
mov eax, edi
call fcn.004b7904
push eax
call sub.user32.dll_ShowWindow
mov dl, 1
mov eax, dword [esi + 0x238]
call fcn.00519aa0
cmp byte [esp], 0
je 0x5a46be
push 0
mov ecx, 0xf012
mov edx, 0x112
mov eax, dword [esi + 0x26c]
call fcn.004afe24
cmp byte [esp], 0
je 0x5a46cd
mov edx, edi
mov eax, esi
call fcn.005a3f68
add esp, 0x14
pop ebp
pop edi
pop esi
pop ebx
ret