Function at 0x482da5
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, dword [0x69ea4c]
mov ecx, dword [eax + 0x1c]
mov eax, dword [ecx]
sub esp, 0x144
push ebx
push esi
push edi
xor esi, esi
push esi
push dword [ebp + 0xc]
call dword [eax + 4]
mov ebx, eax
cmp ebx, esi
jne 0x482dd4
xor al, al
jmp 0x4833ca
mov ecx, dword [0x69ea4c]
mov eax, dword [ebx + 4]
mov ecx, dword [ecx + 8]
mov edx, dword [ecx]
push esi
push eax
call dword [edx + 4]
mov edi, eax
cmp edi, esi
mov dword [esp + 0x48], edi
je 0x482dcd
lea eax, [esp + 0x78]
call fcn.0047f84d
cmp byte [edi + 0x29], 0
mov dword [esp + 0x28], esi
mov esi, dword [ebp + 8]
je 0x482f19
movzx eax, byte [edi + 0x2a]
push eax
call fcn.004824e9
mov ecx, eax
test ecx, ecx
mov dword [esp + 0x28], ecx
je 0x482e9e
cmp byte [edi + 0x28], 0
mov eax, dword [ecx]
je 0x482e41
fld dword [0x559c80]
push ecx
lea edx, [esp + 0x90]
fstp dword [esp]
push edx
call dword [eax + 0x2fc]
jmp 0x482e5a
call dword [eax + 0x2f4]
mov esi, eax
lea edi, [esp + 0x8c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x48]
mov esi, dword [ebp + 8]
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x2e4]
movss xmm0, dword [eax + 0xb0]
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
movss dword [esp + 0x24], xmm0
call dword [eax + 0x2f4]
movss xmm0, dword [esp + 0x24]
mulss xmm0, dword [0x584b10]
addss xmm0, dword [eax + 8]
movss dword [esp + 0x94], xmm0
jmp 0x482ee3
movss xmm0, dword [edi + 0x44]
ucomiss xmm0, dword [0x559ad8]
mov ecx, dword [esi]
lahf
test ah, 0x44
mov eax, dword [ecx]
jnp 0x482eed
call dword [eax + 0x1d8]
movzx eax, word [eax]
movss xmm0, dword [edi + 0x18]
mulss xmm0, dword [edi + 0x10]
push ecx
movss dword [esp], xmm0
push eax
lea ecx, [esp + 0x88]
lea edx, [esp + 0x94]
call fcn.0044c13b
pop ecx
pop ecx
mov byte [esp + 0xb4], 1
jmp 0x482f19
call dword [eax + 0x1d8]
fld dword [edi + 0x10]
movzx eax, word [eax]
push ecx
mov ecx, 0x55b4b0
lea edx, [esp + 0xa8]
fstp dword [esp]
push eax
call fcn.0044c13b
pop ecx
pop ecx
mov byte [esp + 0xb4], 0
mov ecx, dword [esi]
mov eax, dword [ecx]
lea edx, [esp + 0x80]
push edx
push dword [edi + 4]
call dword [eax + 0x3a4]
movzx edx, word [ebx + 8]
movzx ecx, word [ebx + 0xa]
and dword [esp + 0x2c], 0
lea esi, [esp + 0x8c]
lea edi, [esp + 0x68]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [esp + 0xa4]
lea edi, [esp + 0x50]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, edx
mov eax, ecx
shr esi, 1
shr eax, 1
test edx, edx
mov dword [esp + 0x74], esi
mov dword [esp + 0x24], eax
jle 0x4833c8
neg esi
mov dword [esp + 0x1c], esi
test ecx, ecx
jle 0x4833b2
mov ecx, eax
neg ecx
mov dword [esp + 0x20], ecx
jmp 0x482f8b
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x74]
cmp dword [esp + 0x2c], edx
jne 0x482fbd
lea edx, [ecx + eax]
cmp edx, eax
jne 0x482fbd
lea esi, [esp + 0x68]
lea edi, [esp + 0x8c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x50]
lea edi, [esp + 0xa4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x48336f
cmp dword [esp + 0x28], 0
je 0x4831be
cmp dword [esp + 0x1c], 0
movss xmm2, dword [esp + 0x70]
movss xmm1, dword [esp + 0x6c]
movss xmm0, dword [esp + 0x68]
lea esi, [esp + 0x68]
lea edi, [esp + 0x8c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
subss xmm2, dword [esp + 0x88]
subss xmm1, dword [esp + 0x84]
subss xmm0, dword [esp + 0x80]
movss dword [esp + 0x64], xmm2
fld dword [esp + 0x64]
movss dword [esp + 0x60], xmm1
fmul dword [esp + 0x64]
movss dword [esp + 0x5c], xmm0
fld dword [esp + 0x60]
movss xmm3, dword [0x55b520]
fmul dword [esp + 0x60]
lea esi, [esp + 0xc4]
lea edi, [esp + 0x30]
faddp st(1)
fld dword [esp + 0x5c]
fmul dword [esp + 0x5c]
faddp st(1)
fsqrt
fstp dword [esp + 0x18]
divss xmm3, dword [esp + 0x18]
mulss xmm0, xmm3
movss dword [esp + 0xc4], xmm0
mulss xmm1, xmm3
movss dword [esp + 0xc8], xmm1
mulss xmm2, xmm3
movss dword [esp + 0xcc], xmm2
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x4830d8
movzx eax, word [ebx + 8]
movss xmm1, dword [ebx + 0xc]
dec eax
cvtsi2ss xmm0, eax
divss xmm1, xmm0
cvtsi2ss xmm0, dword [esp + 0x1c]
push ecx
mulss xmm1, xmm0
mulss xmm1, dword [0x57f93c]
lea eax, [esp + 0xd4]
movss dword [esp], xmm1
push eax
call fcn.004030d7
pop ecx
pop ecx
lea eax, [esp + 0xd0]
push eax
lea eax, [esp + 0xc8]
push eax
lea eax, [esp + 0x38]
push eax
call sub.d3dx9_33.dll_D3DXVec3TransformNormal
mov ecx, dword [esp + 0x20]
test ecx, ecx
movss xmm2, dword [esp + 0x38]
je 0x483106
movzx eax, word [ebx + 0xa]
movss xmm1, dword [ebx + 0x10]
dec eax
cvtsi2ss xmm0, eax
divss xmm1, xmm0
cvtsi2ss xmm0, ecx
mulss xmm1, xmm0
subss xmm2, xmm1
movss dword [esp + 0x38], xmm2
movss xmm0, dword [ebx + 0x14]
comiss xmm0, dword [0x559ad8]
movss dword [esp + 0x4c], xmm0
jbe 0x483165
fld dword [esp + 0x4c]
push ecx
mov edi, 0x58cf24
fstp dword [esp]
call fcn.00431926
fld dword [ebx + 0x14]
fstp dword [esp]
call fcn.00431926
fld dword [esp + 0x34]
faddp st(2)
fxch st(1)
fstp dword [esp + 0x34]
fadd dword [esp + 0x38]
fstp dword [esp + 0x38]
fld dword [ebx + 0x14]
fstp dword [esp]
call fcn.00431926
fadd dword [esp + 0x3c]
pop ecx
fstp dword [esp + 0x38]
movss xmm2, dword [esp + 0x38]
movss xmm0, dword [esp + 0x30]
movss xmm1, dword [esp + 0x34]
mulss xmm0, dword [esp + 0x18]
mulss xmm1, dword [esp + 0x18]
mulss xmm2, dword [esp + 0x18]
addss xmm0, dword [esp + 0x80]
addss xmm1, dword [esp + 0x84]
addss xmm2, dword [esp + 0x88]
movss dword [esp + 0x8c], xmm0
movss dword [esp + 0x90], xmm1
movss dword [esp + 0x94], xmm2
jmp 0x48336f
cmp dword [esp + 0x1c], 0
fld dword [esp + 0x50]
fmul dword [esp + 0x50]
movss xmm0, dword [0x55b520]
fld dword [esp + 0x58]
movss xmm1, dword [esp + 0x50]
fmul dword [esp + 0x58]
lea esi, [esp + 0x50]
lea edi, [esp + 0xa4]
movsd dword es:[edi], dword [esi]
faddp st(1)
fld dword [esp + 0x54]
movsd dword es:[edi], dword [esi]
fmul dword [esp + 0x54]
faddp st(1)
movsd dword es:[edi], dword [esi]
fsqrt
lea esi, [esp + 0xb8]
lea edi, [esp + 0x3c]
fstp dword [esp + 0x18]
divss xmm0, dword [esp + 0x18]
mulss xmm1, xmm0
movss dword [esp + 0xb8], xmm1
movss xmm1, dword [esp + 0x54]
mulss xmm1, xmm0
movss dword [esp + 0xbc], xmm1
movss xmm1, dword [esp + 0x58]
mulss xmm1, xmm0
movss dword [esp + 0xc0], xmm1
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x4832a1
movzx eax, word [ebx + 8]
movss xmm1, dword [ebx + 0xc]
dec eax
cvtsi2ss xmm0, eax
divss xmm1, xmm0
cvtsi2ss xmm0, dword [esp + 0x1c]
push ecx
mulss xmm1, xmm0
mulss xmm1, dword [0x57f93c]
lea eax, [esp + 0x114]
movss dword [esp], xmm1
push eax
call fcn.004030d7
pop ecx
pop ecx
lea eax, [esp + 0x110]
push eax
lea eax, [esp + 0xbc]
push eax
lea eax, [esp + 0x44]
push eax
call sub.d3dx9_33.dll_D3DXVec3TransformNormal
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4832d1
movzx eax, word [ebx + 0xa]
movss xmm1, dword [ebx + 0x10]
dec eax
cvtsi2ss xmm0, eax
divss xmm1, xmm0
cvtsi2ss xmm0, ecx
mulss xmm1, xmm0
movss xmm0, dword [esp + 0x44]
subss xmm0, xmm1
movss dword [esp + 0x44], xmm0
jmp 0x4832d7
movss xmm0, dword [esp + 0x44]
movss xmm1, dword [ebx + 0x14]
comiss xmm1, dword [0x559ad8]
movss dword [esp + 0x4c], xmm1
jbe 0x483336
fld dword [esp + 0x4c]
push ecx
mov edi, 0x58cf24
fstp dword [esp]
call fcn.00431926
fld dword [ebx + 0x14]
fstp dword [esp]
call fcn.00431926
fld dword [esp + 0x40]
faddp st(2)
fxch st(1)
fstp dword [esp + 0x40]
fadd dword [esp + 0x44]
fstp dword [esp + 0x44]
fld dword [ebx + 0x14]
fstp dword [esp]
call fcn.00431926
fadd dword [esp + 0x48]
pop ecx
fstp dword [esp + 0x44]
movss xmm0, dword [esp + 0x44]
movss xmm1, dword [esp + 0x3c]
mulss xmm1, dword [esp + 0x18]
mulss xmm0, dword [esp + 0x18]
movss dword [esp + 0xa4], xmm1
movss xmm1, dword [esp + 0x40]
mulss xmm1, dword [esp + 0x18]
movss dword [esp + 0xa8], xmm1
movss dword [esp + 0xac], xmm0
mov eax, dword [0x6a992c]
xor ecx, ecx
call fcn.0048ce6c
test eax, eax
je 0x482dcd
mov edx, dword [eax]
lea ecx, [esp + 0x78]
push ecx
push dword [esp + 0x4c]
mov ecx, dword [ebp + 8]
push dword [ecx]
mov ecx, eax
call dword [edx + 0x64]
inc dword [esp + 0x20]
movzx ecx, word [ebx + 0xa]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
add edx, eax
cmp edx, ecx
jl 0x482f87
movzx edx, word [ebx + 8]
inc dword [esp + 0x2c]
inc dword [esp + 0x1c]
cmp dword [esp + 0x2c], edx
jl 0x482f75
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8