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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
mov esi, dword [0x100daf00]
push edi
mov dword [ebp - 0x24], esi
mov eax, dword [esi + 0x1a20]
mov byte [eax + 0x78], 1
mov ebx, dword [esi + 0x1a20]
mov dword [ebp - 0x1c], ebx
mov edi, dword [ebx + 0x1c4]
mov byte [ebx + 0x78], 1
mov ecx, dword [esi + 0x1a20]
mov edx, dword [ecx + 0x17c]
sub edx, 1
mov dword [ecx + 0x17c], edx
jne 0x10031980
movss xmm0, dword [ecx + 0x228]
jmp 0x1003198c
mov eax, dword [ecx + 0x184]
movss xmm0, dword [eax + edx*4 - 4]
movss dword [ecx + 0x168], xmm0
mov eax, dword [esi + 0x1a20]
mov byte [eax + 0x78], 1
mov esi, dword [esi + 0x1a20]
mov ecx, dword [esi + 0x27c]
dec dword [ecx + 0x3c]
call fcn.100454e0
mov eax, dword [esi + 0x27c]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
movss xmm0, dword [eax + ecx*8 - 0xc]
movss xmm1, dword [eax + ecx*8 - 8]
movss xmm2, dword [eax + ecx*8 - 4]
mov eax, dword [eax + ecx*8 - 0x10]
mov dword [esi + 0x1d4], eax
movss dword [esi + 0x1d8], xmm0
movss dword [esi + 0x1dc], xmm1
movss dword [esi + 0x1e0], xmm2
mov ecx, dword [ebx + 0x27c]
call fcn.10045950
movss xmm4, dword [edi + 0x20]
maxss xmm4, dword [ebx + 0xcc]
movss dword [edi + 0x20], xmm4
movss dword [ebx + 0xcc], xmm4
test byte [edi + 4], 0x10
movss dword [ebp - 0x18], xmm4
jne 0x10031a2d
mov eax, dword [edi + 0x28]
mov dword [ebx + 0xe0], eax
xor al, al
test byte [edi + 4], 1
mov byte [ebp - 1], al
jne 0x10031d4b
cmp byte [ebx + 0x7b], al
jne 0x10031d4b
movss xmm3, dword [edi + 0x24]
mov esi, 1
movss dword [ebp - 0x14], xmm3
mov dword [ebp - 8], 0xffffffff
cmp dword [edi + 0x10], esi
jle 0x10031d4b
movss xmm5, dword [0x1005eb4c]
mov edx, dword [0x100daf00]
mov dword [ebp - 0xc], 0x1c
nop dword [eax]
mov eax, dword [edx + 0x1a20]
mov ecx, esi
mov dword [ebp - 0x10], esi
mov eax, dword [eax + 0x1c4]
mov dword [ebp - 0x20], eax
test esi, esi
jns 0x10031a9e
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x10], ecx
mov ebx, dword [ebp - 0x20]
movss xmm0, dword [eax + 0x14]
mov eax, dword [eax + 0x34]
shl ecx, 3
movss xmm1, dword [ebx + 0x18]
sub ecx, dword [ebp - 0x10]
subss xmm1, xmm0
mov ebx, dword [ebp - 0x1c]
movss dword [ebp - 0x40], xmm3
movss dword [ebp - 0x38], xmm4
mulss xmm1, dword [eax + ecx*4]
mov ecx, dword [edi]
add ecx, esi
addss xmm1, xmm0
addss xmm1, dword [ebx + 0xc]
movaps xmm2, xmm1
movss dword [ebp - 0x20], xmm1
addss xmm2, xmm5
subss xmm1, xmm5
movss dword [ebp - 0x3c], xmm2
movss dword [ebp - 0x44], xmm1
cmp dword [edx + 0x1a3c], ecx
jne 0x10031b00
mov byte [edx + 0x1a48], 1
cmp dword [edx + 0x1a40], ecx
jne 0x10031b0f
mov byte [edx + 0x1a4c], 1
mov eax, dword [edx + 0x1a20]
add eax, 0x1d4
comiss xmm4, dword [eax + 4]
jbe 0x10031b39
movss xmm0, dword [eax + 0xc]
comiss xmm0, xmm3
jbe 0x10031b39
comiss xmm2, dword [eax]
jbe 0x10031b39
movss xmm0, dword [eax + 8]
comiss xmm0, xmm1
ja 0x10031b52
test ecx, ecx
je 0x10031b45
cmp ecx, dword [edx + 0x1a3c]
je 0x10031b52
cmp byte [edx + 0x2cb4], 0
je 0x10031c40
xor al, al
test byte [edi + 4], 2
mov byte [ebp - 2], al
mov byte [ebp - 3], al
jne 0x10031bb1
push 0
lea eax, [ebp - 3]
mov edx, ecx
push eax
lea eax, [ebp - 2]
push eax
lea ecx, [ebp - 0x44]
call fcn.10021ab0
mov al, byte [ebp - 2]
add esp, 0xc
mov cl, byte [ebp - 3]
test al, al
jne 0x10031b85
test cl, cl
je 0x10031bb1
mov edx, dword [ebp - 0x24]
mov dword [edx + 0x1cfc], 4
test cl, cl
je 0x10031bb1
mov eax, dword [edi + 0x34]
mov ecx, dword [ebp - 0xc]
test byte [eax + ecx + 8], 2
mov ecx, 0x1d
mov eax, dword [ebp - 8]
cmove eax, esi
mov dword [ebp - 8], eax
jmp 0x10031bbb
xor ecx, ecx
test al, al
setne cl
add ecx, 0x1b
cvttss2si eax, dword [ebp - 0x20]
sub esp, 8
mov dword [esp + 4], 0x3f800000
movss xmm0, dword [ebp - 0x18]
minss xmm0, dword [ebx + 0x1e0]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [ebp - 0x14]
movss dword [ebp - 0x2c], xmm1
movss dword [ebp - 0x34], xmm1
movss xmm1, dword [0x1005ead4]
addss xmm0, xmm1
maxss xmm0, dword [ebx + 0x1d8]
movss dword [ebp - 0x30], xmm0
call fcn.100124b0
mov ecx, dword [ebx + 0x27c]
add esp, 4
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.100472f0
mov edx, dword [0x100daf00]
movss xmm3, dword [ebp - 0x14]
movss xmm4, dword [ebp - 0x18]
movss xmm5, dword [0x1005eb4c]
add dword [ebp - 0xc], 0x1c
inc esi
mov eax, dword [edi + 0x10]
cmp esi, eax
jl 0x10031a80
mov ecx, dword [ebp - 8]
cmp ecx, 0xffffffff
je 0x10031d48
cmp byte [edi + 9], 0
jne 0x10031c8a
inc eax
xor ebx, ebx
test eax, eax
jle 0x10031c8a
xor esi, esi
nop dword [eax + eax]
mov ecx, dword [edi + 0x34]
lea esi, [esi + 0x1c]
inc ebx
mov eax, dword [ecx + esi - 0x1c]
mov dword [ecx + esi - 0x18], eax
mov eax, dword [edi + 0x10]
inc eax
cmp ebx, eax
jl 0x10031c70
mov ecx, dword [ebp - 8]
mov byte [edi + 9], 1
movss xmm2, dword [edx + 0xd8]
subss xmm2, dword [edx + 0x1a54]
mov eax, dword [edx + 0x1a20]
mov byte [ebp - 1], 1
addss xmm2, xmm5
subss xmm2, dword [eax + 0xc]
lea eax, [ecx - 1]
mov dword [ebp - 0x18], eax
mov eax, dword [edx + 0x1a20]
mov eax, dword [eax + 0x1c4]
mov dword [ebp - 0x24], eax
lea esi, [eax + 0xc]
lea eax, [ecx - 1]
test eax, eax
jns 0x10031cd5
mov eax, dword [esi]
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x24]
movss xmm4, dword [edx + 0x1578]
shl eax, 3
sub eax, dword [ebp - 0x18]
test byte [edi + 4], 4
movss xmm3, dword [ebx + 0x14]
movss xmm0, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x34]
subss xmm0, xmm3
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], ecx
movaps xmm1, xmm0
mulss xmm1, dword [ecx + eax*4]
mov ecx, dword [ebp - 8]
addss xmm1, xmm3
addss xmm1, xmm4
maxss xmm1, xmm2
je 0x10031d43
lea edx, [ecx + 1]
test edx, edx
jns 0x10031d23
mov edx, dword [esi]
lea eax, [edx*8]
sub eax, edx
mov edx, dword [ebp - 0x24]
mulss xmm0, dword [edx + eax*4]
addss xmm0, xmm3
subss xmm0, xmm4
minss xmm0, xmm1
movaps xmm1, xmm0
call fcn.10031830
mov al, byte [ebp - 1]
mov byte [edi + 9], al
xorps xmm1, xmm1
movss xmm0, dword [ebx + 0x1b8]
addss xmm0, dword [ebx + 0xc]
pop edi
pop esi
mov dword [ebx + 0x1c4], 0
mov dword [ebx + 0x1c0], 0
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebx + 0xc8], xmm0
pop ebx
mov esp, ebp
pop ebp
ret