Function at 0x6f96a8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff98
mov edi, ecx
mov esi, edx
mov ebx, eax
test esi, esi
jne 0x6f96da
cmp dword [0x80064c], 0
je 0x6f96cc
mov eax, dword [0x80064c]
mov esi, dword [eax + 0x58]
jmp 0x6f96da
mov eax, dword [0x808f20]
mov eax, dword [eax + 0xf0]
mov esi, dword [eax + 0x58]
test edi, edi
jne 0x6f96ff
cmp dword [0x80064c], 0
je 0x6f96f1
mov eax, dword [0x80064c]
mov edi, dword [eax + 0x5c]
jmp 0x6f96ff
mov eax, dword [0x808f20]
mov eax, dword [eax + 0xf0]
mov edi, dword [eax + 0x5c]
mov ecx, edi
mov edx, esi
mov eax, ebx
mov ebp, dword [eax]
call dword [ebp + 0x14c]
mov eax, dword [0x808f20]
cmp byte [eax + 0x115], 0
jne 0x6f973a
push 0
mov eax, dword [0x808f20]
mov eax, dword [eax + 0xf0]
call fcn.00565c34
mov edx, dword [ebx + 0x2bc]
xor ecx, ecx
call fcn.007042e4
mov eax, dword [0x801924]
mov eax, dword [eax]
mov dword [esp], eax
mov eax, dword [0x808f20]
call fcn.006f64f0
test al, al
je 0x6f9a23
call fcn.00741a98
test al, al
je 0x6f9a23
mov eax, dword [0x808f20]
cmp byte [eax + 0x115], 0
jne 0x6f9a23
test byte [ebx + 0x1c], 8
jne 0x6f9a8b
mov eax, dword [0x801908]
mov eax, dword [eax]
mov edx, 0x60
call fcn.0075cd34
mov eax, dword [eax + 0x520]
imul edx, dword [ebx + 0x2c4], 0x4b
lea esi, [eax + edx*4]
mov eax, dword [0x808f20]
call fcn.006f656c
test al, al
je 0x6f97b9
cmp dword [esi + 0x14], 0x64
je 0x6f97b9
mov ebp, dword [esi + 0x14]
jmp 0x6f97bb
xor ebp, ebp
mov edx, 1
mov eax, 0xa
call fcn.004b8844
mov esi, eax
mov byte [esp + 2], 0
mov eax, dword [0x808f20]
mov edi, dword [eax + 0xf0]
test edi, edi
je 0x6f9932
lea edx, [esp + 0x38]
mov eax, edi
call fcn.0055c04c
mov eax, dword [0x808f20]
push esi
lea esi, [eax + 0xfc]
lea edi, [esp + 0x4c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov eax, ebp
mov dl, 0xff
sub dl, al
mov byte [esp + 2], dl
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x38]
sub edx, eax
mov dword [esp + 0x58], edx
fild dword [esp + 0x58]
mov dword [esp + 0x5c], esi
fild dword [esp + 0x5c]
fdivp st(1)
fstp qword [esp + 0x18]
wait
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x3c]
sub ecx, edx
mov dword [esp + 0x58], ecx
fild dword [esp + 0x58]
mov dword [esp + 0x5c], esi
fild dword [esp + 0x5c]
fdivp st(1)
fstp qword [esp + 0x20]
wait
mov dword [esp + 0x58], eax
fild dword [esp + 0x58]
fstp qword [esp + 0x28]
wait
mov dword [esp + 0x58], edx
fild dword [esp + 0x58]
fstp qword [esp + 0x30]
wait
dec esi
test esi, esi
jl 0x6f98d6
inc esi
fld qword [esp + 0x28]
fadd qword [esp + 0x18]
fstp qword [esp + 0x28]
wait
fld qword [esp + 0x30]
fadd qword [esp + 0x20]
fstp qword [esp + 0x30]
wait
call sub.kernel32.dll_GetTickCount
mov edi, eax
fld qword [esp + 0x28]
call fcn.0040785c
mov edx, eax
mov eax, dword [0x808f20]
mov eax, dword [eax + 0xf0]
call fcn.0064dedc
fld qword [esp + 0x30]
call fcn.0040785c
mov edx, eax
mov eax, dword [0x808f20]
mov eax, dword [eax + 0xf0]
call fcn.0064df18
mov edx, 0xc
mov eax, edi
call fcn.00741c34
dec esi
jne 0x6f9870
mov eax, dword [0x808f20]
cmp dword [eax + 0xec], 0
je 0x6f98f3
mov eax, dword [0x808f20]
add eax, 0xec
call fcn.0042ffb4
push 0
mov eax, dword [0x808f20]
mov eax, dword [eax + 0xf0]
call fcn.00565c34
mov edx, dword [ebx + 0x2bc]
mov ecx, 0xff
call fcn.007042e4
push 4
mov eax, dword [0x808f20]
mov eax, dword [eax + 0xf0]
call fcn.00565c34
push eax
call sub.user32.dll_ShowWindow
jmp 0x6f9a8b
mov edx, ebp
mov eax, 0x64
call fcn.004b879c
mov edx, eax
xor eax, eax
call fcn.004b8844
mov ebp, eax
mov dword [esp + 0x58], ebp
fild dword [esp + 0x58]
fld xword [0x6f9ad8]
fmulp st(1)
fsubr dword [0x6f9ae4]
call fcn.0040785c
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], edx
fild qword [esp + 0x60]
mov dword [esp + 0x58], esi
fild dword [esp + 0x58]
fdivp st(1)
fstp qword [esp + 8]
wait
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
push 0
mov eax, dword [0x808f20]
mov eax, dword [eax + 0xf0]
call fcn.00565c34
mov edx, dword [ebx + 0x2bc]
xor ecx, ecx
call fcn.007042e4
push 4
mov eax, dword [0x808f20]
mov eax, dword [eax + 0xf0]
call fcn.00565c34
push eax
call sub.user32.dll_ShowWindow
dec esi
test esi, esi
jl 0x6f9a8b
inc esi
call sub.kernel32.dll_GetTickCount
mov edi, eax
fld qword [esp + 0x10]
fadd qword [esp + 8]
fstp qword [esp + 0x10]
wait
test byte [ebx + 0x1c], 8
jne 0x6f9a8b
push 0
mov eax, dword [0x808f20]
mov eax, dword [eax + 0xf0]
call fcn.00565c34
push eax
fld qword [esp + 0x18]
call fcn.0040785c
mov ecx, eax
mov edx, dword [ebx + 0x2bc]
pop eax
call fcn.007042e4
mov edx, 0xc
mov eax, edi
call fcn.00741c34
dec esi
jne 0x6f99ca
jmp 0x6f9a8b
call fcn.00741a98
test al, al
je 0x6f9a68
push 0
mov eax, dword [0x808f20]
mov eax, dword [eax + 0xf0]
call fcn.00565c34
mov edx, dword [ebx + 0x2bc]
mov ecx, 0xff
call fcn.007042e4
push 4
mov eax, dword [0x808f20]
mov eax, dword [eax + 0xf0]
call fcn.00565c34
push eax
call sub.user32.dll_ShowWindow
jmp 0x6f9a8b
push 0x252
push edi
push esi
push 0
push 0
push 0xffffffffffffffff
mov eax, dword [0x808f20]
mov eax, dword [eax + 0xf0]
call fcn.00565c34
push eax
call sub.user32.dll_SetWindowPos
mov eax, dword [0x808f20]
mov byte [eax + 0x115], 1
cmp dword [ebx + 0x2bc], 0
je 0x6f9ace
mov eax, dword [0x808f20]
mov eax, dword [eax + 0xd0]
test eax, eax
je 0x6f9ab4
call fcn.0040893c
mov eax, dword [ebx + 0x2bc]
mov edx, dword [0x808f20]
mov dword [edx + 0xd0], eax
xor eax, eax
mov dword [ebx + 0x2bc], eax
add esp, 0x68
pop ebp
pop edi
pop esi
pop ebx
ret