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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x74
mov eax, dword [0x1034972c]
push ebx
push esi
mov ebx, ecx
mov eax, dword [eax]
push edi
mov dword [esp + 0x18], ebx
mov esi, dword [eax]
mov ecx, esi
call fcn.10007a80
mov ecx, esi
mov edi, eax
call fcn.10039fa0
movss xmm0, dword [edi]
addss xmm0, dword [eax]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [edi + 4]
addss xmm0, dword [eax + 4]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [edi + 8]
addss xmm0, dword [eax + 8]
xor eax, eax
mov dword [esp + 0x10], eax
cmp eax, 0x12
movss dword [esp + 0x40], xmm0
jae 0x1012a317
cmp dword [ebx + eax*4 + 0x18], 0
je 0x1012a24c
imul edi, eax, 0x2c
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x24], edi
call fcn.10039980
mov esi, eax
mov eax, dword [ebp + 8]
mov ecx, dword [edi + eax + 0x68]
mov dword [esi], ecx
mov ecx, dword [edi + eax + 0x6c]
mov dword [esi + 4], ecx
mov eax, dword [edi + eax + 0x70]
lea edi, [esi + 0xc]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x1c]
lea eax, [eax + eax*2]
shl eax, 2
mov dword [esp + 0x2c], eax
lea edx, [eax + esi]
mov eax, dword [0x10349734]
mov dword [esp + 0x1c], edx
mov ecx, dword [eax + 4]
mov eax, dword [ebx + 0x60]
mov dword [esp + 0x20], eax
mov eax, edi
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x14], eax
cmp byte [ebx + ecx + 0x24], 0
mov ebx, dword [esp + 0x18]
je 0x1012a0aa
cmp dword [ebp + 0xc], 0
mov dword [esp + 0x14], eax
jne 0x1012a0aa
mov ecx, dword ds:[esp + 0x10]
cmp ecx, 0xc
je 0x10129d57
cmp ecx, 9
je 0x10129d57
mov dword [esp + 0x14], eax
cmp ecx, 0xa
jne 0x1012a0aa
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
movss xmm7, dword [0x102f9fa4]
movss xmm4, dword [eax + ecx + 0x68]
movss xmm5, dword [eax + ecx + 0x6c]
movss xmm6, dword [eax + ecx + 0x70]
movss xmm3, dword [eax + ecx + 0x80]
movss xmm2, dword [eax + ecx + 0x84]
subss xmm3, xmm4
movss xmm1, dword [eax + ecx + 0x88]
subss xmm2, xmm5
mov ecx, dword [esp + 0x28]
subss xmm1, xmm6
movss xmm0, dword [ecx + ebx*4 + 0x2c]
mov ebx, dword [esp + 0x18]
mulss xmm3, xmm0
mulss xmm2, xmm0
mulss xmm1, xmm0
mulss xmm3, xmm7
mulss xmm2, xmm7
mulss xmm1, xmm7
addss xmm4, xmm3
addss xmm5, xmm2
addss xmm6, xmm1
movss dword [esp + 0x28], xmm4
movss dword [esp + 0x14], xmm5
movss dword [esp + 0x30], xmm6
cmp edi, edx
je 0x10129e05
movss dword ds:[edi], xmm4
movss dword [edi + 4], xmm5
movss dword [edi + 8], xmm6
add edi, 0xc
jmp 0x10129ef9
mov eax, dword [esp + 0x2c]
sar eax, 2
imul ecx, eax, 0xaaaaaaab
mov eax, 0x15555555
mov edx, ecx
mov dword [esp + 0x2c], ecx
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x10129e2c
mov eax, 0x15555555
jmp 0x10129e3a
lea eax, [edx + ecx]
mov ecx, 2
cmp eax, 2
cmovb eax, ecx
lea edx, [esp + 0x20]
mov dword [esp + 0x20], eax
call fcn.10039980
movss xmm0, dword [esp + 0x28]
mov edx, esi
mov dword [esp + 0x1c], eax
movss dword [eax + 0xc], xmm0
movss xmm0, dword [esp + 0x14]
movss dword [eax + 0x10], xmm0
movss xmm0, dword [esp + 0x30]
movss dword [eax + 0x14], xmm0
cmp esi, edi
je 0x10129ea0
mov ebx, esi
lea ecx, [eax + 8]
sub ebx, eax
nop dword [eax]
mov eax, dword [edx]
lea ecx, [ecx + 0xc]
mov dword [ecx - 0x14], eax
mov eax, dword [edx + 4]
add edx, 0xc
mov dword [ecx - 0x10], eax
mov eax, dword [ecx + ebx - 0xc]
mov dword [ecx - 0xc], eax
cmp edx, edi
jne 0x10129e80
mov ebx, dword [esp + 0x18]
test esi, esi
je 0x10129ed6
mov eax, dword [esp + 0x2c]
lea ecx, [eax + eax*2]
shl ecx, 2
cmp ecx, 0x1000
jb 0x10129ecc
mov edx, dword [esi - 4]
add ecx, 0x23
sub esi, edx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x1012a325
mov esi, edx
push ecx
push esi
call fcn.1009838d
add esp, 8
mov edi, dword [esp + 0x1c]
mov esi, edi
mov eax, dword [esp + 0x20]
movss xmm7, dword [0x102f9fa4]
lea eax, [eax + eax*2]
lea edx, [edi + eax*4]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1c], edx
add edi, 0x18
mov ecx, dword [ebp + 8]
movss xmm4, dword [eax + ecx + 0x68]
movss xmm5, dword [eax + ecx + 0x6c]
movss xmm6, dword [eax + ecx + 0x70]
movss xmm3, dword [eax + ecx + 0x74]
movss xmm2, dword [eax + ecx + 0x78]
subss xmm3, xmm4
movss xmm1, dword [eax + ecx + 0x7c]
subss xmm2, xmm5
mov eax, dword [0x10349734]
subss xmm1, xmm6
mov ecx, dword [ebx + 0x60]
mov eax, dword [eax + 4]
movss xmm0, dword [eax + ecx*4 + 0x2c]
mulss xmm3, xmm0
mulss xmm2, xmm0
mulss xmm1, xmm0
mulss xmm3, xmm7
mulss xmm2, xmm7
mulss xmm1, xmm7
addss xmm4, xmm3
addss xmm5, xmm2
addss xmm6, xmm1
movss dword [esp + 0x2c], xmm4
movss dword [esp + 0x28], xmm5
movss dword [esp + 0x14], xmm6
cmp edi, edx
je 0x10129f8d
movss dword [edi], xmm4
lea eax, [edi + 0xc]
movss dword [edi + 4], xmm5
movss dword [edi + 8], xmm6
jmp 0x1012a0a6
mov ecx, edi
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x30], eax
cmp eax, 0x15555555
je 0x1012a31c
inc eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
sub eax, esi
sar eax, 2
imul ecx, eax, 0xaaaaaaab
mov eax, 0x15555555
mov edx, ecx
mov dword [esp + 0x1c], ecx
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x10129fde
mov eax, 0x15555555
jmp 0x10129fea
lea eax, [ecx + edx]
cmp eax, dword [esp + 0x20]
cmovb eax, dword [esp + 0x20]
lea edx, [esp + 0x24]
mov dword [esp + 0x24], eax
call fcn.10039980
mov ecx, dword [esp + 0x30]
mov edx, esi
movss xmm0, dword [esp + 0x2c]
mov dword [esp + 0x34], eax
lea ecx, [ecx + ecx*2]
movss dword [eax + ecx*4], xmm0
movss xmm0, dword [esp + 0x28]
movss dword [eax + ecx*4 + 4], xmm0
movss xmm0, dword [esp + 0x14]
movss dword [eax + ecx*4 + 8], xmm0
cmp esi, edi
je 0x1012a052
mov ebx, esi
lea ecx, [eax + 8]
sub ebx, eax
mov eax, dword [edx]
lea ecx, [ecx + 0xc]
mov dword [ecx - 0x14], eax
mov eax, dword [edx + 4]
add edx, 0xc
mov dword [ecx - 0x10], eax
mov eax, dword [ecx + ebx - 0xc]
mov dword [ecx - 0xc], eax
cmp edx, edi
jne 0x1012a032
mov ebx, dword [esp + 0x18]
test esi, esi
je 0x1012a088
mov eax, dword [esp + 0x1c]
lea ecx, [eax + eax*2]
shl ecx, 2
cmp ecx, 0x1000
jb 0x1012a07e
mov edx, dword [esi - 4]
add ecx, 0x23
sub esi, edx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x1012a325
mov esi, edx
push ecx
push esi
call fcn.1009838d
add esp, 8
mov ecx, dword [esp + 0x34]
mov esi, ecx
mov eax, dword [esp + 0x24]
lea eax, [eax + eax*2]
lea edx, [ecx + eax*4]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1c], edx
lea eax, [eax + eax*2]
lea eax, [ecx + eax*4]
mov dword [esp + 0x14], eax
mov edi, esi
cmp esi, eax
je 0x1012a1ff
movss xmm0, dword [esp + 0x38]
sub esp, 8
mov eax, dword [ebp + 8]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0x44]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x48]
movss xmm1, dword [eax + 0xc]
movss xmm2, dword [eax + 8]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [edi]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [edi + 8]
mulss xmm2, xmm2
mov dword [esp + 0x78], 0
mulss xmm1, xmm1
mov dword [esp + 0x7c], 0
movss dword [esp + 0x30], xmm0
movss xmm0, dword [eax + 0x10]
addss xmm2, xmm1
mulss xmm0, xmm0
mov dword [esp + 0x80], 0
addss xmm2, xmm0
cvtps2pd xmm0, xmm2
movsd qword [esp], xmm0
call fcn.100d4ca0
mov eax, dword [0x1034973c]
add esp, 8
fstp dword [esp + 0x34]
movss xmm1, dword [esp + 0x34]
mov eax, dword [eax]
mulss xmm1, dword [eax + 0x1c]
lea eax, [esp + 0x44]
push eax
movaps xmm0, xmm1
addss xmm0, dword [esp + 0x34]
movss dword [esp + 0x68], xmm0
movaps xmm0, xmm1
addss xmm0, dword [esp + 0x30]
addss xmm1, dword [esp + 0x2c]
movss dword [esp + 0x6c], xmm0
movss dword [esp + 0x70], xmm1
call fcn.10113060
cmp byte [esp + 0x44], 0
je 0x1012a1f2
mov eax, dword [0x10349740]
mov edx, dword [ebx + 0xac]
mov ecx, dword [ebx + 0x60]
cmp byte [eax], 0
mov eax, dword [0x10349734]
je 0x1012a1d1
cmp byte [esp + 0x7c], 0
mov eax, dword [eax + 4]
je 0x1012a1c8
mov eax, dword [eax + ecx*4 + 0x84]
jmp 0x1012a1da
mov eax, dword [eax + ecx*4 + 0xa4]
jmp 0x1012a1da
mov eax, dword [eax]
mov eax, dword [eax + ecx*4 + 0x3ec]
mov dword ds:[ebx + 0x64], eax
cmp edx, eax
jg 0x1012a1ea
lea eax, [edx - 1]
mov dword [ebx + 0x64], eax
mov ecx, dword [esp + 0x50]
cmp eax, ecx
jle 0x1012a263
add edi, 0xc
cmp edi, dword [esp + 0x14]
jne 0x1012a0b4
mov eax, dword [esp + 0x10]
test esi, esi
je 0x1012a24c
mov eax, dword ds:[esp + 0x1c]
sub eax, esi
sar eax, 2
imul eax, eax, 0xaaaaaaab
lea ecx, [eax + eax*2]
shl ecx, 2
cmp ecx, 0x1000
jb 0x1012a23e
mov edx, dword [esi - 4]
add ecx, 0x23
sub esi, edx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x1012a325
mov esi, edx
push ecx
push esi
call fcn.1009838d
mov eax, dword [esp + 0x18]
add esp, 8
inc eax
mov dword [esp + 0x10], eax
cmp eax, 0x12
jl 0x10129ca5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esp + 0x10]
cmp dword [ebx + 0xc0], ecx
jge 0x1012a2bb
movss xmm0, dword [esp + 0x64]
mov dword [ebx + 0xb0], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0x9c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0xa0], eax
mov eax, dword [ebx + 0x98]
mov dword [ebx + 0xc0], ecx
mov eax, dword [eax + 0x50]
movss dword [eax], xmm0
movss xmm0, dword [esp + 0x68]
movss dword [eax + 4], xmm0
movss xmm0, dword [esp + 0x6c]
movss dword [eax + 8], xmm0
jmp 0x1012a1ff
nop dword [eax + eax]
cmp ecx, edx
jle 0x1012a203
movss xmm0, dword [esp + 0x64]
mov dword [ebx + 0xb0], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0x9c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0xa0], eax
mov eax, dword [ebx + 0x98]
mov eax, dword [eax + 0x50]
movss dword [eax], xmm0
movss xmm0, dword [esp + 0x68]
movss dword [eax + 4], xmm0
movss xmm0, dword [esp + 0x6c]
movss dword [eax + 8], xmm0
mov eax, 0x12
mov dword [esp + 0x10], eax
jmp 0x1012a203
call fcn.10038910
nop dword [eax]
call fcn.10039730
call fcn.100ba568
int3