Function at 0x5d8ae0
Capabilities:
Get process heap force flags

Disassembly:
sub esp, 0x120
test al, 1
movss xmm0, dword [0x6d54c4]
movss xmm1, dword [0x6cc5ec]
push ebx
push ebp
movss dword [esp + 0x14], xmm0
movss dword [esp + 0x18], xmm0
movss xmm0, dword [0x6f9b34]
push edi
movss dword [esp + 0x20], xmm1
movss dword [esp + 0x24], xmm1
je 0x5d8b23
movss dword [esp + 0x18], xmm0
test al, 2
je 0x5d8b2d
movss dword [esp + 0x1c], xmm0
cmp dword [esp + 0x134], 0
movss xmm0, dword [0x6f99f4]
je 0x5d8b45
movss dword [esp + 0x20], xmm0
cmp eax, 3
fld qword [0x6f9b88]
jne 0x5d8b71
movss xmm1, dword [0x6d6a54]
comiss xmm1, dword [esp + 0x130]
jbe 0x5d8db6
movss dword [esp + 0x24], xmm0
jmp 0x5d8db6
fld dword [esi]
mov eax, dword fs:[0x2c]
fldz
mov ecx, dword [eax]
fadd st(1), st(0)
lea edi, [esi + 8]
fxch st(1)
lea ebx, [esi + 0x10]
lea ebp, [esi + 0x18]
add ecx, 8
fstp dword [esp + 0x10]
mov eax, dword [ecx + 4]
imul eax, eax, 0x343fd
fadd dword [esi + 4]
fstp dword [esp + 0x14]
fld dword [edi]
fadd dword [esp + 0x10]
add eax, 0x269ec3
fstp dword [esp + 0x10]
xorps xmm0, xmm0
fld dword [edi + 4]
push ecx
fadd dword [esp + 0x18]
movss dword [esp + 0x70], xmm0
movss dword [esp + 0x74], xmm0
movss dword [esp + 0x78], xmm0
fstp dword [esp + 0x18]
movss dword [esp + 0x7c], xmm0
fld dword [ebx]
movss dword [esp + 0x84], xmm0
fadd dword [esp + 0x14]
movss dword [esp + 0x88], xmm0
movss dword [esp + 0x8c], xmm0
movss dword [esp + 0x90], xmm0
fstp dword [esp + 0x14]
movss dword [esp + 0x98], xmm0
fld dword [ebx + 4]
movss dword [esp + 0xa4], xmm0
fadd dword [esp + 0x18]
movss xmm0, dword [0x6f99f8]
movss dword [esp + 0x6c], xmm1
movss dword [esp + 0x80], xmm1
fstp dword [esp + 0x18]
movss dword [esp + 0x94], xmm1
fld dword [ebp]
movss dword [esp + 0xa8], xmm1
fadd dword [esp + 0x14]
movaps xmm1, xmm0
fstp dword [esp + 0x14]
fld dword [ebp + 4]
mov dword [ecx + 4], eax
fadd dword [esp + 0x18]
shr eax, 0x10
and eax, 0x7fff
mov dword [esp + 0x10], eax
fstp dword [esp + 0x18]
lea ecx, [esp + 0xec]
fld dword [esp + 0x14]
fmul st(1)
fstp dword [esp + 0x14]
subss xmm1, dword [esp + 0x14]
fmul dword [esp + 0x18]
movss dword [esp + 0x9c], xmm1
fstp dword [esp + 0x18]
fild dword [esp + 0x10]
subss xmm0, dword [esp + 0x18]
movss dword [esp + 0xa0], xmm0
fdiv qword [0x6f9a68]
fmul qword [0x6f9c00]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fstp dword [esp]
push ecx
call sub.d3dx9_35.dll_D3DXMatrixRotationZ
xorps xmm0, xmm0
movss xmm1, dword [0x6cc5ec]
movss dword [esp + 0x28], xmm1
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x30], xmm0
movss dword [esp + 0x34], xmm0
movss dword [esp + 0x38], xmm0
lea edx, [esp + 0xe8]
push edx
movss dword [esp + 0x44], xmm0
movss dword [esp + 0x48], xmm0
movss dword [esp + 0x4c], xmm0
movss dword [esp + 0x50], xmm0
movss dword [esp + 0x58], xmm0
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x14]
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0xb0]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0x1c]
push ecx
movss dword [esp + 0x48], xmm1
movss dword [esp + 0x5c], xmm1
movss dword [esp + 0x70], xmm1
movss dword [esp + 0x68], xmm0
call sub.d3dx9_35.dll_D3DXMatrixMultiply
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0xac]
push eax
mov ecx, eax
push ecx
call sub.d3dx9_35.dll_D3DXMatrixMultiply
lea edx, [esp + 0xa8]
push edx
push esi
push esi
call sub.d3dx9_35.dll_D3DXVec2TransformCoord
lea eax, [esp + 0xa8]
push eax
push edi
push edi
call sub.d3dx9_35.dll_D3DXVec2TransformCoord
lea ecx, [esp + 0xa8]
push ecx
push ebx
push ebx
call sub.d3dx9_35.dll_D3DXVec2TransformCoord
lea edx, [esp + 0xa8]
push edx
push ebp
push ebp
call sub.d3dx9_35.dll_D3DXVec2TransformCoord
fld qword [0x6f9b88]
fld dword [esp + 0x20]
pop edi
fmul st(1)
pop ebp
fld dword [esp + 0x10]
pop ebx
fld st(0)
fsub st(2)
fstp dword [esp]
fld dword [esp]
fst dword [esi + 0x30]
fld dword [esp + 0x18]
fmulp st(4)
fld dword [esp + 0x10]
fld st(0)
fsub st(5)
fstp dword [esp]
fld dword [esp]
fst dword [esi + 0x40]
fxch st(3)
faddp st(4)
fxch st(3)
fstp dword [esp]
fld dword [esp]
fst dword [esi + 0x34]
fxch st(2)
fstp dword [esi + 0x44]
fstp dword [esi + 0x38]
fxch st(1)
faddp st(2)
fxch st(1)
fstp dword [esp]
fld dword [esp]
fst dword [esi + 0x48]
fstp dword [esi + 0x4c]
fstp dword [esi + 0x3c]
add esp, 0x120
ret 8