Function at 0x4f6038
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffec
mov byte [esp], dl
mov ebx, eax
mov eax, dword [ebx + 0x244]
and eax, 0x80
cmp eax, 0x80
je 0x4f6469
xor esi, esi
mov eax, dword [ebx + 0xc0]
call fcn.004f0bcc
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x24]
cmp byte [eax + 6], 0
je 0x4f6469
or dword [ebx + 0x244], 0x80
cmp dword [ebx + 0x230], 0
je 0x4f6095
lea eax, [ebx + 0x230]
call fcn.0040fbf8
push 1
mov ecx, ebx
mov dl, 1
mov eax, dword [0x4f4e98]
call fcn.00485abc
mov edi, eax
mov dword [ebx + 0x230], edi
mov eax, dword [ebx + 0x264]
cmp byte [eax + 0x2e0], 0
je 0x4f60d1
movzx eax, byte [eax + 0x2e1]
mov dword [esp + 4], eax
fild dword [esp + 4]
fstp qword [edi + 0x58]
wait
jmp 0x4f60dd
xor eax, eax
mov dword [edi + 0x58], eax
mov dword [edi + 0x5c], 0x406fe000
mov eax, dword [ebx + 0x230]
mov edx, dword [ebx + 0x280]
mov dword [eax + 0x68], edx
mov eax, dword [ebx + 0x264]
call fcn.00452408
mov edi, dword [ebx + 0x230]
mov dword [edi + 0x6c], eax
cmp byte [ebx + 0x84], 0
je 0x4f6128
mov eax, dword [ebx + 0xc0]
call fcn.004f0bcc
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x24]
mov al, byte [eax + 8]
mov edx, dword [ebx + 0x230]
mov byte [edx + 0x50], al
jmp 0x4f612c
mov byte [edi + 0x50], 0xff
mov eax, dword [ebx + 0xc0]
call fcn.004f0bcc
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x24]
cmp word [eax + 4], 0xc
jbe 0x4f6196
mov eax, dword [ebx + 0xc0]
call fcn.004f0bcc
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x24]
movzx eax, word [eax + 4]
mov dword [esp + 4], eax
fild dword [esp + 4]
fld dword [0x4f6474]
call fcn.00403208
mov eax, dword [ebx + 0x230]
movzx eax, byte [eax + 0x50]
mov edx, 0xff
sub edx, eax
mov dword [esp + 8], edx
fild dword [esp + 8]
call fcn.00403200
mov eax, dword [ebx + 0x230]
fstp qword [eax + 0x60]
wait
jmp 0x4f61b4
mov eax, dword [ebx + 0x230]
xor edx, edx
mov dl, byte [eax + 0x50]
mov ecx, 0xff
sub ecx, edx
mov dword [esp + 4], ecx
fild dword [esp + 4]
fstp qword [eax + 0x60]
wait
mov edx, 0xc
mov eax, dword [ebx + 0x230]
call fcn.00485a58
mov eax, dword [ebx + 0x280]
test eax, eax
je 0x4f633f
mov cl, 0xff
xor edx, edx
call fcn.00510de8
mov edi, dword [ebx + 0x264]
cmp byte [edi + 0x2e0], 0
je 0x4f6204
push 2
push 0
push 0x1fffffff
mov eax, edi
call fcn.00452408
push eax
mov eax, dword [0x58738c]
mov eax, dword [eax]
call eax
mov eax, dword [ebx + 0x280]
mov byte [eax + 0x28], 1
push 0x60b
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x280]
mov eax, dword [eax + 0x18]
call fcn.00452408
push eax
mov eax, dword [ebx + 0x264]
call fcn.00452408
push eax
call sub.user32.dll_SetWindowPos
push 0xffffffffffffffec
mov eax, dword [ebx + 0x264]
call fcn.00452408
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0x80000
cmp eax, 0x80000
je 0x4f6286
push 0xffffffffffffffec
mov eax, dword [ebx + 0x264]
call fcn.00452408
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x264]
call fcn.00452408
push eax
call sub.user32.dll_SetWindowLongA
push 0
mov eax, dword [ebx + 0x264]
call fcn.00452408
xor ecx, ecx
xor edx, edx
call fcn.004f5534
mov dl, 1
mov eax, dword [ebx + 0x230]
call fcn.00485a48
lea ecx, [esp + 0xc]
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.00406d90
mov edi, dword [ebx + 0x280]
mov eax, dword [esp + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x10]
mov dword [edi + 0x10], eax
push 0
mov eax, dword [edi + 0x18]
mov ecx, 0xf012
mov edx, 0x112
call fcn.0044cd9c
mov eax, dword [ebx + 0x280]
cmp dword [eax + 0xc], 0xffffffff
je 0x4f645a
cmp dword [eax + 0x10], 0xffffffff
je 0x4f645a
mov eax, dword [ebx + 0x280]
mov ebp, dword [eax + 0x10]
test ebp, ebp
jge 0x4f645a
mov edx, dword [0x587148]
cmp dword [edx], 6
jl 0x4f645a
mov edx, dword [ebx + 0x280]
mov edi, dword [edx + 0x18]
mov edx, dword [edi + 0x48]
push edx
mov edx, dword [edi + 0x4c]
push edx
mov ecx, ebp
mov edx, dword [eax + 0xc]
mov eax, edi
mov edi, dword [eax]
call dword [edi + 0x84]
jmp 0x4f645a
mov edi, dword [ebx + 0x264]
cmp byte [edi + 0x2e0], 0
jne 0x4f6430
mov eax, edi
call fcn.00452408
call fcn.004f5658
mov esi, eax
cmp dword [ebx + 0x280], 0
jne 0x4f639b
mov eax, dword [ebx + 0x264]
call fcn.00452408
push eax
call sub.user32.dll_IsZoomed
test eax, eax
jne 0x4f639b
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.004f76ac
mov edi, eax
push 0
push edi
mov eax, esi
call fcn.00452408
push eax
call sub.user32.dll_SetWindowRgn
push 0xffffffffffffffec
mov eax, dword [ebx + 0x264]
call fcn.00452408
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0x80000
cmp eax, 0x80000
je 0x4f63e6
push 0xffffffffffffffec
mov eax, dword [ebx + 0x264]
call fcn.00452408
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x264]
call fcn.00452408
push eax
call sub.user32.dll_SetWindowLongA
push 2
push 0xff
push 0x1fffffff
mov eax, dword [ebx + 0x264]
call fcn.00452408
push eax
mov eax, dword [0x58738c]
mov eax, dword [eax]
call eax
push 0x185
push 0
push 0
mov eax, dword [ebx + 0x264]
call fcn.00452408
push eax
call sub.user32.dll_RedrawWindow
push 0
mov eax, esi
call fcn.00452408
push eax
call sub.user32.dll_ShowWindow
mov dl, 1
mov eax, dword [ebx + 0x230]
call fcn.00485a48
cmp byte [esp], 0
je 0x4f645a
push 0
mov ecx, 0xf012
mov edx, 0x112
mov eax, dword [ebx + 0x264]
call fcn.0044cd9c
cmp byte [esp], 0
je 0x4f6469
mov edx, esi
mov eax, ebx
call fcn.004f5cd8
add esp, 0x14
pop ebp
pop edi
pop esi
pop ebx
ret