Function at 0x827ba0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
test esi, esi
jne 0x827bd5
cmp dword [0x90c738], 0
je 0x827bc7
mov eax, dword [0x90c738]
mov esi, dword [eax + 0x58]
jmp 0x827bd5
mov eax, dword [0x99f9b8]
mov eax, dword [eax + 0xf0]
mov esi, dword [eax + 0x58]
cmp dword [ebp - 4], 0
jne 0x827c02
cmp dword [0x90c738], 0
je 0x827bf1
mov eax, dword [0x90c738]
mov eax, dword [eax + 0x5c]
mov dword [ebp - 4], eax
jmp 0x827c02
mov eax, dword [0x99f9b8]
mov eax, dword [eax + 0xf0]
mov eax, dword [eax + 0x5c]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x140]
mov eax, dword [0x99f9b8]
cmp byte [eax + 0x115], 0
jne 0x827c3e
push 0
mov eax, dword [0x99f9b8]
mov eax, dword [eax + 0xf0]
call fcn.0055010c
mov edx, dword [ebx + 0x2bc]
xor ecx, ecx
call fcn.00832c50
mov eax, dword [0x90db9c]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [0x99f9b8]
call fcn.00824bd0
test al, al
je 0x827ef9
call fcn.00870bb0
test al, al
je 0x827ef9
mov eax, dword [0x99f9b8]
cmp byte [eax + 0x115], 0
jne 0x827ef9
test byte [ebx + 0x1c], 8
jne 0x827f64
mov eax, dword [0x90db6c]
mov eax, dword [eax]
mov edx, 0x60
call fcn.0088bcd4
mov eax, dword [eax + 0x520]
imul edx, dword [ebx + 0x2c4], 0x22
lea esi, [eax + edx*8]
mov eax, dword [0x99f9b8]
call fcn.00824c50
test al, al
je 0x827cc0
cmp dword [esi + 0x14], 0x64
je 0x827cc0
mov eax, dword [esi + 0x14]
mov dword [ebp - 8], eax
jmp 0x827cc5
xor eax, eax
mov dword [ebp - 8], eax
mov eax, 0xa
mov esi, eax
mov byte [ebp - 0xa], 0
mov eax, dword [0x99f9b8]
mov edi, dword [eax + 0xf0]
test edi, edi
je 0x827e20
lea edx, [ebp - 0x54]
mov eax, edi
call fcn.00546394
mov eax, dword [0x99f9b8]
push esi
lea esi, [eax + 0xfc]
lea edi, [ebp - 0x64]
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 al, 0xff
sub al, byte [ebp - 8]
mov byte [ebp - 0xa], al
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x54]
sub edx, eax
mov dword [ebp - 0x68], edx
fild dword [ebp - 0x68]
mov dword [ebp - 0x6c], esi
fild dword [ebp - 0x6c]
fdivp st(1)
fstp qword [ebp - 0x28]
wait
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x50]
sub ecx, edx
mov dword [ebp - 0x68], ecx
fild dword [ebp - 0x68]
mov dword [ebp - 0x6c], esi
fild dword [ebp - 0x6c]
fdivp st(1)
fstp qword [ebp - 0x30]
wait
mov dword [ebp - 0x68], eax
fild dword [ebp - 0x68]
fstp qword [ebp - 0x38]
wait
mov dword [ebp - 0x68], edx
fild dword [ebp - 0x68]
fstp qword [ebp - 0x40]
wait
dec esi
test esi, esi
jl 0x827db5
inc esi
fld qword [ebp - 0x38]
fadd qword [ebp - 0x28]
fstp qword [ebp - 0x38]
wait
fld qword [ebp - 0x40]
fadd qword [ebp - 0x30]
fstp qword [ebp - 0x40]
wait
call sub.kernel32.dll_GetTickCount_1
mov edi, eax
fld qword [ebp - 0x38]
call fcn.0040797c
mov edx, eax
mov eax, dword [0x99f9b8]
mov eax, dword [eax + 0xf0]
call fcn.0061b9bc
fld qword [ebp - 0x40]
call fcn.0040797c
mov edx, eax
mov eax, dword [0x99f9b8]
mov eax, dword [eax + 0xf0]
call fcn.0061b9f8
mov edx, 0xc
mov eax, edi
call fcn.00870d70
dec esi
jne 0x827d57
mov eax, dword [0x99f9b8]
cmp dword [eax + 0xec], 0
je 0x827de1
mov eax, dword [0x99f9b8]
add eax, 0xec
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov edx, dword [ebp - 0x44]
xor ecx, ecx
mov dword [edx], ecx
call fcn.00408198
push 0
mov eax, dword [0x99f9b8]
mov eax, dword [eax + 0xf0]
call fcn.0055010c
mov edx, dword [ebx + 0x2bc]
mov ecx, 0xff
call fcn.00832c50
push 4
mov eax, dword [0x99f9b8]
mov eax, dword [eax + 0xf0]
call fcn.0055010c
push eax
call sub.user32.dll_ShowWindow
jmp 0x827f64
cmp dword [ebp - 8], 0x64
jle 0x827e2d
mov eax, 0x64
jmp 0x827e30
mov eax, dword [ebp - 8]
test eax, eax
jge 0x827e36
xor eax, eax
mov dword [ebp - 8], eax
fild dword [ebp - 8]
fld xword [0x827fb0]
fmulp st(1)
fsubr dword [0x827fbc]
call fcn.0040797c
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], edx
fild qword [ebp - 0x74]
mov dword [ebp - 0x68], esi
fild dword [ebp - 0x68]
fdivp st(1)
fstp qword [ebp - 0x18]
wait
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
push 0
mov eax, edi
call fcn.0055010c
mov edx, dword [ebx + 0x2bc]
xor ecx, ecx
call fcn.00832c50
push 4
mov eax, dword [0x99f9b8]
mov eax, dword [eax + 0xf0]
call fcn.0055010c
push eax
call sub.user32.dll_ShowWindow
dec esi
test esi, esi
jl 0x827f64
inc esi
call sub.kernel32.dll_GetTickCount_1
mov edi, eax
fld qword [ebp - 0x20]
fadd qword [ebp - 0x18]
fstp qword [ebp - 0x20]
wait
test byte [ebx + 0x1c], 8
jne 0x827f64
push 0
mov eax, dword [0x99f9b8]
mov eax, dword [eax + 0xf0]
call fcn.0055010c
push eax
fld qword [ebp - 0x20]
call fcn.0040797c
mov ecx, eax
mov edx, dword [ebx + 0x2bc]
pop eax
call fcn.00832c50
mov edx, 0xc
mov eax, edi
call fcn.00870d70
dec esi
jne 0x827ea4
jmp 0x827f64
call fcn.00870bb0
test al, al
je 0x827f3e
push 0
mov eax, dword [0x99f9b8]
mov eax, dword [eax + 0xf0]
call fcn.0055010c
mov edx, dword [ebx + 0x2bc]
mov ecx, 0xff
call fcn.00832c50
push 4
mov eax, dword [0x99f9b8]
mov eax, dword [eax + 0xf0]
call fcn.0055010c
push eax
call sub.user32.dll_ShowWindow
jmp 0x827f64
push 0x252
mov eax, dword [ebp - 4]
push eax
push esi
push 0
push 0
push 0xffffffffffffffff
mov eax, dword [0x99f9b8]
mov eax, dword [eax + 0xf0]
call fcn.0055010c
push eax
call sub.user32.dll_SetWindowPos
mov eax, dword [0x99f9b8]
mov byte [eax + 0x115], 1
cmp dword [ebx + 0x2bc], 0
je 0x827fa7
mov eax, dword [0x99f9b8]
mov eax, dword [eax + 0xd0]
test eax, eax
je 0x827f8d
call fcn.00408198
mov eax, dword [ebx + 0x2bc]
mov edx, dword [0x99f9b8]
mov dword [edx + 0xd0], eax
xor eax, eax
mov dword [ebx + 0x2bc], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret