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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x448
mov eax, dword [0x1024b600]
xor eax, esp
mov dword [esp + 0x444], eax
mov edx, dword [ebp + 8]
xor eax, eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
push esi
push edi
test edx, edx
je 0x10132dfe
lea esi, [ecx + 0x10e0]
nop word [eax + eax]
sub edx, eax
mov edi, 0x100
mov eax, dword [ecx + 0x8d0]
cmp edx, edi
mov dword [esp + 0x34], edx
cmovb edi, edx
push edi
push dword [ecx + 0x8d8]
mov dword [esp + 0x24], edi
push dword [ecx + 0x8d4]
push esi
call eax
mov ecx, dword [esp + 0x20]
add esp, 0x10
mov edx, dword [ebp + 0xc]
mov dword [esp + 0xc], edx
mov eax, dword [ecx + 0x8d8]
lea esi, [ecx + 0x10]
imul eax, edi
add dword [ecx + 0x8d4], eax
mov eax, dword [ebp + 0x10]
mov byte [ecx + 0x8d7], 0
mov dword [esp + 0x3c], eax
cmp edx, eax
je 0x10132de3
lea eax, [ecx + 0x8e0]
mov dword [esp + 0x18], eax
lea ecx, [edi*4]
mov eax, dword [esi]
mov dword [esp + 0x38], eax
cmp eax, 0xffffffff
je 0x10132dbe
mov dword [esp + 0x24], 0
test edi, edi
je 0x10132679
lea edx, [esp + 0x24]
mov dword [esp + 0x28], 0
mov eax, dword [edx]
lea edx, [esp + 0x28]
cmp eax, dword [edx]
mov edx, dword [esp + 0xc]
jne 0x1013266b
push ecx
push 0
push dword [esp + 0x20]
call fcn.100700d0
mov edx, dword [esp + 0x18]
add esp, 0xc
jmp 0x10132679
mov ecx, edi
xor eax, eax
mov edi, dword [esp + 0x18]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x1c]
movss xmm4, dword [esi + 4]
movss xmm0, dword [esi + 8]
movaps xmm1, xmm4
movss dword [esp + 0x2c], xmm0
movaps xmm0, xmm4
movss xmm2, dword [0x10157840]
mov eax, dword [esp + 0x14]
movaps xmm7, xmm2
movss xmm3, dword [esi + 0xc]
movss xmm6, dword [esi + 0x10]
mulss xmm1, xmm4
lea edx, [edx + eax*4]
mov dword [esp + 8], edx
divss xmm0, dword [0x1015786c]
addss xmm0, xmm2
addss xmm1, xmm0
divss xmm7, xmm1
test edi, edi
je 0x1013273e
mov eax, dword [esp + 0x18]
mov ecx, edx
movaps xmm5, xmm4
sub ecx, eax
addss xmm5, dword [0x101f3218]
mov edx, edi
movss xmm1, dword [ecx + eax]
movaps xmm0, xmm5
mulss xmm0, xmm3
subss xmm1, xmm0
subss xmm1, xmm6
mulss xmm1, xmm7
mulss xmm1, xmm4
movaps xmm2, xmm1
addss xmm2, xmm3
movaps xmm3, xmm1
movaps xmm1, xmm2
addss xmm3, xmm2
mulss xmm2, dword [esp + 0x2c]
mulss xmm1, xmm4
addss xmm2, dword [eax]
movaps xmm0, xmm1
addss xmm6, xmm0
movss dword [eax], xmm2
add eax, 4
addss xmm6, xmm1
sub edx, 1
jne 0x101326e0
movss xmm2, dword [0x10157840]
mov edx, dword [esp + 8]
movss dword [esi + 0xc], xmm3
movaps xmm7, xmm2
movss dword [esi + 0x10], xmm6
movss xmm4, dword [esi + 0x14]
movss xmm0, dword [esi + 0x18]
movaps xmm1, xmm4
movss dword [esp + 8], xmm0
movaps xmm0, xmm4
movss xmm3, dword [esi + 0x1c]
movss xmm5, dword [esi + 0x20]
mulss xmm1, xmm4
divss xmm0, dword [0x1015786c]
addss xmm0, xmm2
addss xmm1, xmm0
divss xmm7, xmm1
test edi, edi
je 0x101327fa
mov eax, dword [esp + 0x18]
movaps xmm6, xmm4
addss xmm6, dword [0x101f3218]
sub edx, eax
mov ecx, edi
nop word [eax + eax]
movss xmm1, dword [edx + eax]
movaps xmm0, xmm6
mulss xmm0, xmm3
subss xmm1, xmm0
subss xmm1, xmm5
mulss xmm1, xmm7
mulss xmm1, xmm4
movaps xmm2, xmm1
addss xmm2, xmm3
movaps xmm3, xmm1
movaps xmm1, xmm2
addss xmm3, xmm2
mulss xmm2, dword [esp + 8]
mulss xmm1, xmm4
addss xmm2, dword [eax]
movaps xmm0, xmm1
addss xmm5, xmm0
movss dword [eax], xmm2
add eax, 4
addss xmm5, xmm1
sub ecx, 1
jne 0x101327a0
movss xmm2, dword [0x10157840]
movss dword [esi + 0x1c], xmm3
movaps xmm7, xmm2
movss dword [esi + 0x20], xmm5
movss xmm4, dword [esi + 0x24]
movss xmm0, dword [esi + 0x28]
movaps xmm1, xmm4
movss dword [esp + 8], xmm0
movaps xmm0, xmm4
divss xmm0, dword [0x1015786c]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
lea edx, [eax + ecx*4]
mov eax, dword [esp + 0x10]
add eax, 0x8e0
movss xmm3, dword [esi + 0x2c]
movss xmm6, dword [esi + 0x30]
addss xmm0, xmm2
mulss xmm1, xmm4
addss xmm1, xmm0
divss xmm7, xmm1
test edi, edi
je 0x101328ce
movaps xmm5, xmm4
sub edx, eax
addss xmm5, dword [0x101f3218]
mov ecx, edi
nop word [eax + eax]
movss xmm1, dword [edx + eax]
movaps xmm0, xmm5
mulss xmm0, xmm3
subss xmm1, xmm0
subss xmm1, xmm6
mulss xmm1, xmm7
mulss xmm1, xmm4
movaps xmm2, xmm1
addss xmm2, xmm3
movaps xmm3, xmm1
movaps xmm1, xmm2
addss xmm3, xmm2
mulss xmm2, dword [esp + 8]
mulss xmm1, xmm4
addss xmm2, dword [eax]
movaps xmm0, xmm1
addss xmm6, xmm0
movss dword [eax], xmm2
add eax, 4
addss xmm6, xmm1
sub ecx, 1
jne 0x10132870
movss xmm2, dword [0x10157840]
mov ecx, dword [esp + 0x14]
movss dword [esi + 0x2c], xmm3
movaps xmm7, xmm2
movss dword [esi + 0x30], xmm6
movss xmm5, dword [esi + 0x34]
movss xmm0, dword [esi + 0x38]
movaps xmm1, xmm5
movss dword [esp + 8], xmm0
movaps xmm0, xmm5
divss xmm0, dword [0x1015786c]
mov eax, dword [esp + 0xc]
lea edx, [eax + ecx*4]
mov eax, dword [esp + 0x10]
add eax, 0x8e0
movss xmm3, dword [esi + 0x3c]
movss xmm4, dword [esi + 0x40]
addss xmm0, xmm2
mulss xmm1, xmm5
addss xmm1, xmm0
divss xmm7, xmm1
test edi, edi
je 0x101329ef
movaps xmm6, xmm5
sub edx, eax
addss xmm6, dword [0x101f3218]
mov ecx, edi
nop word [eax + eax]
movss xmm1, dword [edx + eax]
movaps xmm0, xmm6
mulss xmm0, xmm3
subss xmm1, xmm0
subss xmm1, xmm4
mulss xmm1, xmm7
mulss xmm1, xmm5
movaps xmm2, xmm1
addss xmm2, xmm3
movaps xmm3, xmm1
movaps xmm1, xmm2
addss xmm3, xmm2
mulss xmm2, dword [esp + 8]
mulss xmm1, xmm5
addss xmm2, dword [eax]
movaps xmm0, xmm1
addss xmm4, xmm0
movss dword [eax], xmm2
add eax, 4
addss xmm4, xmm1
sub ecx, 1
jne 0x10132940
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x20]
mov dword [esp + 0x20], ecx
add edx, 0xce0
mov eax, dword [eax]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x30]
movss dword [esi + 0x3c], xmm3
movss dword [esi + 0x40], xmm4
cmp eax, dword [ecx]
jne 0x101329d9
lea eax, [edi*4]
push eax
push 0
push edx
call fcn.100700d0
movss xmm2, dword [0x10157840]
add esp, 0xc
jmp 0x10132a01
movss xmm2, dword [0x10157840]
mov ecx, edi
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x1c]
jmp 0x10132a01
movss dword [esi + 0x3c], xmm3
movss dword [esi + 0x40], xmm4
mov dword [esp + 0x20], 0
movss xmm4, dword [esi + 0x44]
movaps xmm7, xmm2
movss xmm0, dword [esi + 0x48]
movaps xmm1, xmm4
movss dword [esp + 8], xmm0
movaps xmm0, xmm4
divss xmm0, dword [0x1015786c]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
lea edx, [eax + edx*4]
mov eax, dword [esp + 0x10]
add eax, 0xce0
movss xmm3, dword [esi + 0x4c]
movss xmm5, dword [esi + 0x50]
addss xmm0, xmm2
mulss xmm1, xmm4
addss xmm1, xmm0
divss xmm7, xmm1
test edi, edi
je 0x10132abd
movaps xmm6, xmm4
sub edx, eax
addss xmm6, dword [0x101f3218]
mov ecx, edi
movss xmm1, dword [edx + eax]
movaps xmm0, xmm6
mulss xmm0, xmm3
subss xmm1, xmm0
subss xmm1, xmm5
mulss xmm1, xmm7
mulss xmm1, xmm4
movaps xmm2, xmm1
addss xmm2, xmm3
movaps xmm3, xmm1
movaps xmm1, xmm2
addss xmm3, xmm2
mulss xmm2, dword [esp + 8]
mulss xmm1, xmm4
addss xmm2, dword [eax]
movaps xmm0, xmm1
addss xmm5, xmm0
movss dword [eax], xmm2
add eax, 4
addss xmm5, xmm1
sub ecx, 1
jne 0x10132a63
movss xmm2, dword [0x10157840]
movss dword [esi + 0x4c], xmm3
movaps xmm7, xmm2
movss dword [esi + 0x50], xmm5
movss xmm4, dword [esi + 0x54]
movss xmm0, dword [esi + 0x58]
movaps xmm1, xmm4
movss dword [esp + 8], xmm0
movaps xmm0, xmm4
divss xmm0, dword [0x1015786c]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
lea edx, [eax + edx*4]
mov eax, dword [esp + 0x10]
add eax, 0xce0
movss xmm3, dword [esi + 0x5c]
movss xmm5, dword [esi + 0x60]
addss xmm0, xmm2
mulss xmm1, xmm4
addss xmm1, xmm0
divss xmm7, xmm1
test edi, edi
je 0x10132b8a
movaps xmm6, xmm4
sub edx, eax
addss xmm6, dword [0x101f3218]
mov ecx, edi
nop dword [eax]
movss xmm1, dword [edx + eax]
movaps xmm0, xmm6
mulss xmm0, xmm3
subss xmm1, xmm0
subss xmm1, xmm5
mulss xmm1, xmm7
mulss xmm1, xmm4
movaps xmm2, xmm1
addss xmm2, xmm3
movaps xmm3, xmm1
movaps xmm1, xmm2
addss xmm3, xmm2
mulss xmm2, dword [esp + 8]
mulss xmm1, xmm4
addss xmm2, dword [eax]
movaps xmm0, xmm1
addss xmm5, xmm0
movss dword [eax], xmm2
add eax, 4
addss xmm5, xmm1
sub ecx, 1
jne 0x10132b30
movss xmm2, dword [0x10157840]
movss dword [esi + 0x5c], xmm3
movaps xmm7, xmm2
movss dword [esi + 0x60], xmm5
movss xmm4, dword [esi + 0x64]
movss xmm0, dword [esi + 0x68]
movaps xmm1, xmm4
movss dword [esp + 8], xmm0
movaps xmm0, xmm4
divss xmm0, dword [0x1015786c]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
lea edx, [eax + edx*4]
mov eax, dword [esp + 0x10]
add eax, 0xce0
movss xmm3, dword [esi + 0x6c]
movss xmm5, dword [esi + 0x70]
addss xmm0, xmm2
mulss xmm1, xmm4
addss xmm1, xmm0
divss xmm7, xmm1
test edi, edi
je 0x10132c5a
movaps xmm6, xmm4
sub edx, eax
addss xmm6, dword [0x101f3218]
mov ecx, edi
nop word [eax + eax]
movss xmm1, dword [edx + eax]
movaps xmm0, xmm6
mulss xmm0, xmm3
subss xmm1, xmm0
subss xmm1, xmm5
mulss xmm1, xmm7
mulss xmm1, xmm4
movaps xmm2, xmm1
addss xmm2, xmm3
movaps xmm3, xmm1
movaps xmm1, xmm2
addss xmm3, xmm2
mulss xmm2, dword [esp + 8]
mulss xmm1, xmm4
addss xmm2, dword [eax]
movaps xmm0, xmm1
addss xmm5, xmm0
movss dword [eax], xmm2
add eax, 4
addss xmm5, xmm1
sub ecx, 1
jne 0x10132c00
movss xmm2, dword [0x10157840]
movss dword [esi + 0x6c], xmm3
movaps xmm7, xmm2
movss dword [esi + 0x70], xmm5
movss xmm5, dword [esi + 0x74]
movss xmm0, dword [esi + 0x78]
movaps xmm1, xmm5
movss dword [esp + 8], xmm0
movaps xmm0, xmm5
divss xmm0, dword [0x1015786c]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
lea edx, [eax + edx*4]
mov eax, dword [esp + 0x10]
add eax, 0xce0
movss xmm3, dword [esi + 0x7c]
movss xmm4, dword [esi + 0x80]
addss xmm0, xmm2
mulss xmm1, xmm5
addss xmm1, xmm0
divss xmm7, xmm1
test edi, edi
je 0x10132d6c
movaps xmm6, xmm5
sub edx, eax
addss xmm6, dword [0x101f3218]
mov ecx, edi
nop dword [eax]
movss xmm1, dword [edx + eax]
movaps xmm0, xmm6
mulss xmm0, xmm3
subss xmm1, xmm0
subss xmm1, xmm4
mulss xmm1, xmm7
mulss xmm1, xmm5
movaps xmm2, xmm1
addss xmm2, xmm3
movaps xmm3, xmm1
movaps xmm1, xmm2
addss xmm3, xmm2
mulss xmm2, dword [esp + 8]
mulss xmm1, xmm5
addss xmm2, dword [eax]
movaps xmm0, xmm1
addss xmm4, xmm0
movss dword [eax], xmm2
add eax, 4
addss xmm4, xmm1
sub ecx, 1
jne 0x10132cd0
mov eax, dword [esp + 0x10]
movss dword [esi + 0x7c], xmm3
add eax, 0xce0
movss dword [esi + 0x80], xmm4
nop dword [eax + eax]
movss xmm1, dword [eax - 0x400]
movss xmm0, dword [eax]
subss xmm0, xmm1
mulss xmm0, dword [eax + 0x400]
add eax, 4
addss xmm0, xmm1
movss dword [esp + ecx*4 + 0x40], xmm0
inc ecx
cmp ecx, edi
jb 0x10132d40
jmp 0x10132d79
movss dword [esi + 0x7c], xmm3
movss dword [esi + 0x80], xmm4
push dword [esp + 0x34]
movss xmm0, dword [esi + 0x88]
lea ecx, [esp + 0x44]
mov edx, dword [esp + 0x3c]
lea ecx, [ecx + edi*4]
push ecx
movss dword [esp], xmm0
lea eax, [esi + 0x84]
push eax
mov eax, dword [ebp + 0x14]
shl edx, 0xa
add edx, dword [esp + 0x20]
lea eax, [eax + edx*4]
push eax
push ecx
lea eax, [esp + 0x54]
push eax
call dword [0x1024c3b4]
mov edx, dword [esp + 0x24]
add esp, 0x18
add edx, 0x1000
lea ecx, [edi*4]
add esi, 0x8c
mov dword [esp + 0xc], edx
cmp edx, dword [esp + 0x3c]
jne 0x10132621
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
lea esi, [ecx + 0x10e0]
mov edx, dword [ebp + 8]
add eax, edi
mov dword [esp + 0x14], eax
cmp eax, edx
jb 0x101325b0
mov ecx, dword [esp + 0x44c]
pop edi
pop esi
xor ecx, esp
call fcn.1006d7ba
mov esp, ebp
pop ebp
ret 0x14