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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
mov esi, dword [0x4474f0]
push edi
mov dword [ebp - 0x24], esi
mov eax, dword [esi + 0x199c]
mov byte [eax + 0x78], 1
mov ebx, dword [esi + 0x199c]
mov dword [ebp - 0x1c], ebx
mov edi, dword [ebx + 0x1b8]
mov byte [ebx + 0x78], 1
mov ecx, dword [esi + 0x199c]
mov edx, dword [ecx + 0x17c]
sub edx, 1
mov dword [ecx + 0x17c], edx
jne 0x411910
movss xmm0, dword [ecx + 0x21c]
jmp 0x41191c
mov eax, dword [ecx + 0x184]
movss xmm0, dword [eax + edx*4 - 4]
movss dword [ecx + 0x168], xmm0
mov eax, dword [esi + 0x199c]
mov byte [eax + 0x78], 1
mov esi, dword [esi + 0x199c]
mov ecx, dword [esi + 0x270]
dec dword [ecx + 0x3c]
call fcn.0041b590
mov eax, dword [esi + 0x270]
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 + 0x1c8], eax
movss dword [esi + 0x1cc], xmm0
movss dword [esi + 0x1d0], xmm1
movss dword [esi + 0x1d4], xmm2
mov ecx, dword [ebx + 0x270]
call fcn.0041b9e0
movss xmm4, dword [edi + 0x20]
maxss xmm4, dword [ebx + 0xc8]
movss dword [edi + 0x20], xmm4
movss dword [ebx + 0xc8], xmm4
test byte [edi + 4], 0x10
movss dword [ebp - 0x18], xmm4
jne 0x4119bd
mov eax, dword [edi + 0x28]
mov dword [ebx + 0xdc], eax
xor al, al
test byte [edi + 4], 1
mov byte [ebp - 1], al
jne 0x411ce0
cmp byte [ebx + 0x7b], al
jne 0x411ce0
movss xmm3, dword [edi + 0x24]
mov esi, 1
movss dword [ebp - 0x14], xmm3
mov dword [ebp - 8], 0xffffffff
cmp dword [edi + 0x10], esi
jle 0x411ce0
movss xmm5, dword [0x4396a8]
mov edx, dword [0x4474f0]
mov dword [ebp - 0xc], 0x1c
nop dword [eax]
mov eax, dword [edx + 0x199c]
mov ecx, esi
mov dword [ebp - 0x10], esi
mov eax, dword [eax + 0x1b8]
mov dword [ebp - 0x20], eax
test esi, esi
jns 0x411a2e
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 + 0x19bc], ecx
jne 0x411a8f
mov dword [edx + 0x19c4], ecx
cmp dword [edx + 0x19c0], ecx
jne 0x411a9e
mov byte [edx + 0x19cf], 1
mov eax, dword [edx + 0x199c]
add eax, 0x1c8
comiss xmm4, dword [eax + 4]
jbe 0x411ac8
movss xmm0, dword [eax + 0xc]
comiss xmm0, xmm3
jbe 0x411ac8
comiss xmm2, dword [eax]
jbe 0x411ac8
movss xmm0, dword [eax + 8]
comiss xmm0, xmm1
ja 0x411ae1
test ecx, ecx
je 0x411ad4
cmp ecx, dword [edx + 0x19bc]
je 0x411ae1
cmp byte [edx + 0x2c54], 0
je 0x411bcf
xor al, al
test byte [edi + 4], 2
mov byte [ebp - 2], al
mov byte [ebp - 3], al
jne 0x411b40
push 0
lea eax, [ebp - 3]
mov edx, ecx
push eax
lea eax, [ebp - 2]
push eax
lea ecx, [ebp - 0x44]
call fcn.00422300
mov al, byte [ebp - 2]
add esp, 0xc
mov cl, byte [ebp - 3]
test al, al
jne 0x411b14
test cl, cl
je 0x411b40
mov edx, dword [ebp - 0x24]
mov dword [edx + 0x1c58], 4
test cl, cl
je 0x411b40
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 0x411b4a
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 + 0x1d4]
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 [0x43964c]
addss xmm0, xmm1
maxss xmm0, dword [ebx + 0x1cc]
movss dword [ebp - 0x30], xmm0
call fcn.004031a0
mov ecx, dword [ebx + 0x270]
add esp, 4
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0041d390
mov edx, dword [0x4474f0]
movss xmm3, dword [ebp - 0x14]
movss xmm4, dword [ebp - 0x18]
movss xmm5, dword [0x4396a8]
add dword [ebp - 0xc], 0x1c
inc esi
mov eax, dword [edi + 0x10]
cmp esi, eax
jl 0x411a10
mov ecx, dword [ebp - 8]
cmp ecx, 0xffffffff
je 0x411cdd
cmp byte [edi + 9], 0
jne 0x411c1a
inc eax
xor ebx, ebx
test eax, eax
jle 0x411c1a
xor esi, esi
nop word [eax + eax]
mov ecx, dword [edi + 0x34]
lea esi, [esi + 0x1c]
inc ebx
mov eax, dword [esi + ecx - 0x1c]
mov dword [esi + ecx - 0x18], eax
mov eax, dword [edi + 0x10]
inc eax
cmp ebx, eax
jl 0x411c00
mov ecx, dword [ebp - 8]
mov byte [edi + 9], 1
movss xmm1, dword [edx + 0xe4]
subss xmm1, dword [edx + 0x19d8]
mov eax, dword [edx + 0x199c]
mov byte [ebp - 1], 1
addss xmm1, xmm5
subss xmm1, dword [eax + 0xc]
lea eax, [ecx - 1]
mov dword [ebp - 0x18], eax
mov eax, dword [edx + 0x199c]
mov eax, dword [eax + 0x1b8]
mov dword [ebp - 0x24], eax
lea esi, [eax + 0xc]
lea eax, [ecx - 1]
test eax, eax
jns 0x411c65
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]
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 xmm2, xmm0
mulss xmm2, dword [ecx + eax*4]
mov ecx, dword [ebp - 8]
addss xmm2, xmm3
addss xmm2, xmm4
comiss xmm1, xmm2
jae 0x411ca8
movaps xmm1, xmm2
test byte [edi + 4], 4
je 0x411cd8
lea edx, [ecx + 1]
test edx, edx
jns 0x411cb7
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
comiss xmm0, xmm1
ja 0x411cd8
movaps xmm1, xmm0
call fcn.00410fb0
mov al, byte [ebp - 1]
mov byte [edi + 9], al
xorps xmm1, xmm1
movss xmm0, dword [ebx + 0x1ac]
addss xmm0, dword [ebx + 0xc]
pop edi
pop esi
mov dword [ebx + 0x1b8], 0
mov dword [ebx + 0x1b4], 0
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebx + 0xc4], xmm0
pop ebx
mov esp, ebp
pop ebp
ret