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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x9cc4
call fcn.10031ee0
mov eax, dword [0x1006e06c]
xor eax, esp
mov dword [esp + 0x9cc0], eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x24]
push ebx
push esi
cmp word [eax], 0
mov dword [esp + 0x30], ecx
mov ecx, dword [ebp + 0x20]
mov dword [esp + 0x68], edx
mov edx, dword [ebp + 0x28]
push edi
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x1c], edx
jle 0x100084b4
xor ebx, ebx
mov edx, 0x420ac0
xor edi, edi
push dword [ecx + edi*4]
mov ecx, dword [0x101be59c]
call edx
lea ecx, [esp + 0x78]
push ecx
mov ecx, eax
call dword [0x101be5a8]
movss xmm0, dword [esp + 0x78]
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x80]
push eax
mov eax, 0x583530
movss dword [esp + 0x2c], xmm0
call eax
mov eax, dword [0x1006eac0]
lea esi, [esp + 0x90]
add esp, 8
lea esi, [esi + edi*8]
cmp byte [eax + 0x59], 0
lea eax, [esp + 0x38]
push eax
jne 0x10007982
push esi
mov eax, 0x583480
call eax
add esp, 8
jmp 0x100079e7
mov eax, 0x5832f0
call eax
add esp, 4
lea eax, [esp + 0x38]
fstp st(0)
push eax
push esi
mov eax, 0x583480
call eax
movd xmm0, dword [0xc17044]
lea eax, [esp + 0x94]
cvtdq2ps xmm0, xmm0
lea eax, [eax + edi*8]
push eax
push esi
divss xmm0, dword [0x10065a00]
mulss xmm0, dword [esi]
movss dword [esi], xmm0
movd xmm0, dword [0xc17048]
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x100659fc]
mulss xmm0, dword [eax]
movss dword [eax], xmm0
mov eax, 0x583350
call eax
add esp, 0x10
mov esi, dword [esp + 0x64]
inc ebx
mov ecx, dword [esp + 0x68]
mov edx, 0x420ac0
movzx edi, bx
movsx eax, word [esi]
cmp edi, eax
jl 0x10007914
mov eax, dword [0x1006eac0]
mov ecx, 0x7fad20
cmp byte [eax + 0x59], 0
jne 0x10007af2
call ecx
test dword [eax + 0x24], 0x1000000
je 0x10007af2
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0xbf800000
push eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x28], 0xbf800000
push eax
mov ebx, 0x583480
call ebx
movss xmm0, dword [esp + 0x40]
addss xmm0, dword [0x100659d0]
mov dword [esp + 0x28], 0x3f800000
mov dword [esp + 0x2c], 0x3f800000
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x44]
subss xmm0, dword [0x100659d0]
mov dword [esp + 0x80], eax
cvttss2si eax, xmm0
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x44]
push eax
call ebx
movss xmm0, dword [esp + 0x48]
add esp, 0x10
subss xmm0, dword [0x100659d0]
push 1
push 0xae
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x44]
addss xmm0, dword [0x100659d0]
mov dword [esp + 0x88], eax
cvttss2si eax, xmm0
mov dword [esp + 0x84], eax
mov eax, dword [0xc97c28]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0xc97c28]
lea edx, [esp + 0x78]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x12c]
mov eax, dword [0xc97b24]
push 0
push 1
mov eax, dword [eax + 0x20]
call eax
mov ebx, dword [esp + 0x3c]
lea eax, [esp + 0x18]
add esp, 8
mov ecx, ebx
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push eax
call fcn.100076d0
movsx eax, word [esi]
dec eax
mov dword [esp + 0x58], 0
mov dword [esp + 0x34], 0
test eax, eax
jle 0x10007eb4
mov esi, dword [esp + 0x1c]
xor edi, edi
add esi, 0x34
nop
push dword [ebp + 0x18]
lea eax, [esp + 0x3c]
mov ecx, ebx
push dword [ebp + 0x14]
push eax
call fcn.100076d0
movss xmm0, dword [esp + edi*8 + 0x94]
subss xmm0, dword [esp + edi*8 + 0x8c]
movss xmm2, dword [esp + edi*8 + 0x90]
movss xmm1, dword [esp + edi*8 + 0x88]
mov cl, byte [eax]
mov byte [esp + 0x15], cl
mov cl, byte [eax + 1]
cvtps2pd xmm0, xmm0
mov byte [esp + 0x16], cl
mov cl, byte [eax + 2]
mov al, byte [eax + 3]
mov byte [esp + 0x17], cl
mov byte [esp + 0x14], al
movss dword [esp + 0x20], xmm2
movsd qword [esp + 0x50], xmm0
movaps xmm0, xmm2
fld qword [esp + 0x50]
subss xmm0, xmm1
movss dword [esp + 0x78], xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x50], xmm0
fld qword [esp + 0x50]
call fcn.10057a40
mov eax, dword [0x1006eac0]
fstp dword [esp + 0x18]
cmp byte [eax + 0x59], 0
jne 0x10007c61
movss xmm0, dword [esp + 0x18]
subss xmm0, dword [0x100659c0]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x50], xmm0
call fcn.10057a50
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [ebx]
movss dword [esp + 0x48], xmm0
movsd xmm0, qword [esp + 0x50]
call fcn.10057c10
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [ebx]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esp + 0x18]
addss xmm0, dword [0x100659c0]
movss dword [esp + 0x10], xmm0
cvtps2pd xmm0, xmm0
call fcn.10057a50
movss xmm1, dword [esp + 0x10]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [ebx]
movss dword [esp + 0x18], xmm0
cvtps2pd xmm0, xmm1
call fcn.10057c10
xorps xmm5, xmm5
cvtsd2ss xmm5, xmm0
mulss xmm5, dword [ebx]
jmp 0x10007d37
movss xmm0, dword [0x100659f8]
movss xmm1, dword [eax + 0x64]
subss xmm1, xmm0
comiss xmm0, xmm1
ja 0x10007c83
movss xmm0, dword [0x10065a04]
minss xmm0, xmm1
divss xmm0, dword [0x10065a04]
addss xmm0, dword [0x100659b4]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x18]
subss xmm0, dword [0x100659c0]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x50], xmm0
call fcn.10057a50
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [ebx]
mulss xmm0, dword [esp + 0x10]
movss dword [esp + 0x48], xmm0
movsd xmm0, qword [esp + 0x50]
call fcn.10057c10
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [ebx]
mulss xmm0, dword [esp + 0x10]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esp + 0x18]
addss xmm0, dword [0x100659c0]
movss dword [esp + 0x50], xmm0
cvtps2pd xmm0, xmm0
call fcn.10057a50
movss xmm1, dword [esp + 0x50]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [ebx]
mulss xmm0, dword [esp + 0x10]
movss dword [esp + 0x18], xmm0
cvtps2pd xmm0, xmm1
call fcn.10057c10
xorps xmm5, xmm5
cvtsd2ss xmm5, xmm0
mulss xmm5, dword [ebx]
mulss xmm5, dword [esp + 0x10]
movss xmm6, dword [esp + 0x78]
mov edx, 0xc80460
movss xmm1, dword [esp + edi*8 + 0x8c]
movaps xmm0, xmm6
addss xmm0, dword [esp + 0x48]
movss xmm7, dword [0x100659ac]
mov eax, 0xc80464
mov dword [esi - 0x1c], 0
mov dword [esi - 0x20], 0
movzx ecx, byte [esp + 0x14]
movss dword [esi - 0x34], xmm0
movaps xmm0, xmm1
addss xmm0, dword [esp + 0x4c]
addss xmm6, dword [esp + 0x18]
shl ecx, 8
add dword [esp + 0x58], 4
movss dword [esi - 0x30], xmm0
movss xmm0, dword [edx]
addss xmm0, xmm7
movss dword [esi - 0x2c], xmm0
movaps xmm0, xmm5
mov eax, dword [eax]
addss xmm0, xmm1
mov dword [esi - 0x28], eax
movzx eax, byte [esp + 0x15]
or ecx, eax
movss xmm1, dword [esp + edi*8 + 0x94]
movzx eax, byte [esp + 0x16]
mov edi, 0xc80464
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + 0x17]
shl ecx, 8
or ecx, eax
mov eax, 0xc80464
mov dword [esi - 0x24], ecx
movss dword [esi - 0x14], xmm0
movss dword [esi - 0x18], xmm6
movss xmm6, dword [esp + 0x20]
mov dword [esi], 0
mov dword [esi - 4], 0
movss xmm0, dword [edx]
addss xmm0, xmm7
movss dword [esi - 0x10], xmm0
movaps xmm0, xmm6
mov eax, dword [eax]
addss xmm0, dword [esp + 0x48]
mov dword [esi - 0xc], eax
mov dword [esi - 8], ecx
addss xmm6, dword [esp + 0x18]
mov dword [esi + 0x1c], 0
movss dword [esi + 4], xmm0
movaps xmm0, xmm1
addss xmm0, dword [esp + 0x4c]
mov dword [esi + 0x18], 0
addss xmm1, xmm5
movss dword [esi + 8], xmm0
movss xmm0, dword [edx]
addss xmm0, xmm7
movss dword [esi + 0xc], xmm0
mov eax, dword [edi]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
movss dword [esi + 0x20], xmm6
movss dword [esi + 0x24], xmm1
mov dword [esi + 0x38], 0
mov dword [esi + 0x34], 0
movss xmm0, dword [edx]
addss xmm0, xmm7
movss dword [esi + 0x28], xmm0
mov eax, dword [edi]
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x34]
inc eax
mov dword [esi + 0x30], ecx
movzx ecx, ax
add esi, 0x70
movzx eax, ax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x34], eax
movzx edi, ax
mov eax, dword [esp + 0x64]
movsx eax, word [eax]
dec eax
cmp edi, eax
jl 0x10007b40
mov edi, ecx
jmp 0x10007ed8
mov al, byte [esp + 0x13]
mov edi, dword [esp + 0x38]
mov byte [esp + 0x14], al
mov al, byte [esp + 0x12]
mov byte [esp + 0x17], al
mov al, byte [esp + 0x11]
mov byte [esp + 0x16], al
mov al, byte [esp + 0x10]
mov byte [esp + 0x15], al
movss xmm0, dword [ebp + 8]
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x74]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [ebp + 0xc]
push eax
mov eax, 0x583530
movss dword [esp + 0x44], xmm0
call eax
mov eax, dword [0x1006eac0]
add esp, 8
cmp byte [eax + 0x59], 0
lea eax, [esp + 0x70]
push eax
jne 0x10007f23
lea eax, [esp + 0x60]
push eax
mov eax, 0x583480
call eax
add esp, 8
jmp 0x10007f92
mov eax, 0x5832f0
call eax
add esp, 4
lea eax, [esp + 0x70]
fstp st(0)
push eax
lea eax, [esp + 0x60]
push eax
mov eax, 0x583480
call eax
movd xmm0, dword [0xc17044]
lea eax, [esp + 0x68]
cvtdq2ps xmm0, xmm0
push eax
lea eax, [esp + 0x68]
push eax
mov eax, 0x583350
divss xmm0, dword [0x10065a00]
mulss xmm0, dword [esp + 0x6c]
movss dword [esp + 0x6c], xmm0
movd xmm0, dword [0xc17048]
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x100659fc]
mulss xmm0, dword [esp + 0x70]
movss dword [esp + 0x70], xmm0
call eax
add esp, 0x10
movss xmm0, dword [esp + 0x60]
movsx edi, di
subss xmm0, dword [esp + edi*8 + 0x8c]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x50], xmm0
fld qword [esp + 0x50]
movsd qword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x5c]
subss xmm0, dword [esp + edi*8 + 0x88]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x20], xmm0
fld qword [esp + 0x20]
movsd qword [esp + 0x38], xmm0
call fcn.10057a40
mov eax, dword [0x1006eac0]
fstp dword [esp + 0x10]
cmp byte [eax + 0x59], 0
jne 0x1000807f
movss xmm0, dword [esp + 0x10]
subss xmm0, dword [0x100659c0]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x20], xmm0
call fcn.10057a50
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [ebx]
movss dword [esp + 0x34], xmm0
movsd xmm0, qword [esp + 0x20]
call fcn.10057c10
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [ebx]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esp + 0x10]
addss xmm0, dword [0x100659c0]
movss dword [esp + 0x20], xmm0
cvtps2pd xmm0, xmm0
call fcn.10057a50
movss xmm1, dword [esp + 0x20]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [ebx]
movss dword [esp + 0x10], xmm0
cvtps2pd xmm0, xmm1
call fcn.10057c10
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [ebx]
movss dword [esp + 0x48], xmm0
jmp 0x10008158
movss xmm0, dword [0x100659f8]
movss xmm1, dword [eax + 0x64]
subss xmm1, xmm0
comiss xmm0, xmm1
ja 0x100080a1
movss xmm0, dword [0x10065a04]
minss xmm0, xmm1
divss xmm0, dword [0x10065a04]
addss xmm0, dword [0x100659b4]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x10]
subss xmm0, dword [0x100659c0]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x20], xmm0
call fcn.10057a50
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [ebx]
mulss xmm0, dword [esp + 0x18]
movss dword [esp + 0x34], xmm0
movsd xmm0, qword [esp + 0x20]
call fcn.10057c10
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [ebx]
mulss xmm0, dword [esp + 0x18]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esp + 0x10]
addss xmm0, dword [0x100659c0]
movss dword [esp + 0x20], xmm0
cvtps2pd xmm0, xmm0
call fcn.10057c10
movss xmm1, dword [esp + 0x20]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [ebx]
mulss xmm0, dword [esp + 0x18]
movss dword [esp + 0x48], xmm0
cvtps2pd xmm0, xmm1
call fcn.10057a50
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [ebx]
mulss xmm0, dword [esp + 0x18]
movss dword [esp + 0x10], xmm0
mov eax, dword [esp + 0x58]
movss xmm3, dword [esp + edi*8 + 0x88]
movss xmm5, dword [esp + 0x34]
movss xmm2, dword [esp + edi*8 + 0x8c]
movaps xmm0, xmm5
movss xmm7, dword [esp + 0x4c]
addss xmm0, xmm3
lea ecx, [eax*8]
movzx edx, byte [esp + 0x14]
sub ecx, eax
movsd xmm4, qword [esp + 0x38]
mov eax, dword [esp + 0x1c]
mov edi, eax
divsd xmm4, qword [0x100659e0]
shl edx, 8
mov esi, dword [esp + 0x1c]
mov dword [edi + ecx*4 + 0x18], 0
mov dword [edi + ecx*4 + 0x14], 0
movss dword [eax + ecx*4], xmm0
movaps xmm0, xmm2
addss xmm0, xmm7
cvtps2pd xmm6, xmm3
movss dword [edi + ecx*4 + 4], xmm0
movss xmm0, dword [0xc80460]
addsd xmm4, xmm6
addss xmm0, dword [0x100659ac]
movss dword [edi + ecx*4 + 8], xmm0
mov eax, dword [0xc80464]
movss xmm0, dword [esp + 0x10]
mov dword [edi + ecx*4 + 0xc], eax
addss xmm0, xmm3
movzx eax, byte [esp + 0x15]
or edx, eax
movss xmm3, dword [0x100659b8]
movzx eax, byte [esp + 0x16]
shl edx, 8
or edx, eax
mulss xmm5, xmm3
movzx eax, byte [esp + 0x17]
shl edx, 8
or edx, eax
mulss xmm7, xmm3
mov dword [edi + ecx*4 + 0x10], edx
movss dword [edi + ecx*4 + 0x1c], xmm0
movaps xmm0, xmm2
addss xmm0, dword [esp + 0x48]
mov dword [edi + ecx*4 + 0x34], 0
mov dword [edi + ecx*4 + 0x30], 0
movss dword [edi + ecx*4 + 0x20], xmm0
movss xmm0, dword [0xc80460]
addss xmm0, dword [0x100659ac]
movss dword [edi + ecx*4 + 0x24], xmm0
cvtps2pd xmm0, xmm5
mov eax, dword [0xc80464]
mov dword [edi + ecx*4 + 0x28], eax
mov dword [edi + ecx*4 + 0x2c], edx
mov edi, dword [esp + 0x58]
cvtps2pd xmm5, xmm2
lea eax, [edi + 2]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esp + 0x1c]
movsd xmm2, qword [esp + 0x78]
addsd xmm0, xmm4
divsd xmm2, qword [0x100659e0]
mov dword [eax + ecx*4 + 0x18], 0
mov dword [eax + ecx*4 + 0x14], 0
cvtpd2ps xmm0, xmm0
addsd xmm2, xmm5
movss dword [eax + ecx*4], xmm0
cvtps2pd xmm0, xmm7
movss xmm7, dword [0x100659ac]
addsd xmm0, xmm2
cvtpd2ps xmm0, xmm0
movss dword [eax + ecx*4 + 4], xmm0
movss xmm0, dword [0xc80460]
addss xmm0, xmm7
movss dword [eax + ecx*4 + 8], xmm0
mov eax, dword [0xc80464]
mov dword [esi + ecx*4 + 0xc], eax
mov eax, esi
movss xmm0, dword [esp + 0x10]
mulss xmm0, xmm3
mov dword [eax + ecx*4 + 0x10], edx
lea eax, [edi + 3]
lea ecx, [eax*8]
sub ecx, eax
mov eax, esi
cvtps2pd xmm0, xmm0
mov dword [eax + ecx*4 + 0x18], 0
mov dword [eax + ecx*4 + 0x14], 0
addsd xmm0, xmm4
cvtpd2ps xmm0, xmm0
movss dword [eax + ecx*4], xmm0
movss xmm0, dword [esp + 0x48]
mulss xmm0, xmm3
cvtps2pd xmm0, xmm0
addsd xmm0, xmm2
cvtpd2ps xmm0, xmm0
movss dword [eax + ecx*4 + 4], xmm0
movss xmm0, dword [0xc80460]
addss xmm0, xmm7
movss dword [eax + ecx*4 + 8], xmm0
movsd xmm0, qword [esp + 0x38]
divsd xmm0, qword [0x100659d8]
mov eax, dword [0xc80464]
mov dword [esi + ecx*4 + 0xc], eax
mov eax, esi
mov dword [eax + ecx*4 + 0x10], edx
lea eax, [edi + 4]
mov edi, esi
lea ecx, [eax*8]
sub ecx, eax
mov esi, dword [esp + 0x64]
mov dword [edi + ecx*4 + 0x18], 0
mov dword [edi + ecx*4 + 0x14], 0
addsd xmm0, xmm6
cvtpd2ps xmm0, xmm0
movss dword [edi + ecx*4], xmm0
movsd xmm0, qword [esp + 0x78]
divsd xmm0, qword [0x100659d8]
addsd xmm0, xmm5
cvtpd2ps xmm0, xmm0
movss dword [edi + ecx*4 + 4], xmm0
movss xmm0, dword [0xc80460]
addss xmm0, xmm7
movss dword [edi + ecx*4 + 8], xmm0
mov eax, dword [0xc80464]
mov dword [edi + ecx*4 + 0xc], eax
mov dword [edi + ecx*4 + 0x10], edx
movsx eax, word [esi]
lea eax, [eax*4 + 1]
push eax
push edi
push 4
mov eax, 0x734e90
call eax
mov eax, dword [0x1006eac0]
add esp, 0xc
cmp byte [eax + 0x59], 0
jne 0x1000842a
mov eax, 0x7fad20
call eax
test dword [eax + 0x24], 0x1000000
je 0x1000842a
mov eax, dword [0xc97c28]
push 0
push 0xae
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [esp + 0x68]
mov ecx, dword [0x101be59c]
push dword [eax]
mov eax, 0x420ac0
call eax
lea ecx, [esp + 0x38]
push ecx
mov ecx, eax
call dword [0x101be5a8]
movss xmm0, dword [esp + 0x40]
lea ecx, [esp + 0x20]
subss xmm0, dword [ebx + 0x14c5b0]
sub esp, 0xc
mov eax, 0x420b10
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x48]
subss xmm0, dword [ebx + 0x14c5ac]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x44]
subss xmm0, dword [ebx + 0x14c5a8]
movss dword [esp], xmm0
call eax
mov eax, 0x4082c0
lea ecx, [esp + 0x20]
call eax
mov eax, dword [esp + 0x6c]
fstp dword [esp + 0x20]
movss xmm0, dword [esp + 0x20]
addss xmm0, dword [eax]
movss dword [eax], xmm0
mov ecx, dword [esp + 0x9ccc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10030e59
mov esp, ebp
pop ebp
ret 0x24