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

Disassembly:
sub esp, 0x50
mov eax, dword [0x4ca4e8]
movaps xmm2, xmm3
push ebx
mov ebx, dword [esp + 0x60]
push ebp
mov ebp, dword [esp + 0x68]
movss dword [esp + 0x20], xmm2
mov dword [esp + 0x10], ecx
mov dword [esp + 0x3c], eax
push esi
mov esi, edx
mov dword [esp + 0x2c], esi
push edi
test ebp, ebp
jne 0x423709
xor edx, edx
mov ecx, ebx
call fcn.00423301
mov ebp, eax
mov dword [esp + 0x70], ebp
mov eax, dword [esp + 0x74]
xor edi, edi
test eax, eax
je 0x423726
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x3c], ecx
jmp 0x423740
push ecx
and dword [esp], edi
lea ecx, [esp + 0x40]
push edi
push ebp
mov edx, ebx
call fcn.004283d8
movss xmm2, dword [esp + 0x34]
add esp, 0xc
movss xmm1, dword [eax]
movss xmm0, dword [eax + 4]
mov eax, dword [esp + 0x64]
movss dword [esp + 0x4c], xmm0
movss dword [esp + 0x48], xmm1
movss xmm3, dword [eax]
movaps xmm0, xmm3
subss xmm0, dword [esi]
comiss xmm1, xmm0
jbe 0x42399b
mov eax, dword [esp + 0x18]
maxss xmm3, dword [esp + 0x68]
mov dword [esp + 0x20], edi
mov eax, dword [eax + 0x2c]
mov ecx, dword [eax + 8]
movss xmm1, dword [eax + 0x10]
movss xmm0, dword [eax + 0xc]
lea eax, [esp + 0x20]
movss dword [esp + 0x3c], xmm1
movaps xmm2, xmm0
mulss xmm1, dword [ecx + 0x40]
push eax
push ebp
push ebx
subss xmm3, xmm1
mov dword [esp + 0x20], ecx
push ecx
and dword [esp], edi
lea eax, [esp + 0x60]
push eax
movss dword [esp + 0x30], xmm0
subss xmm3, dword [esi]
movss dword [esp + 0x48], xmm1
maxss xmm3, dword [0x4b63f4]
call fcn.00445822
mov esi, dword [esp + 0x20]
movss xmm0, dword [eax]
movss dword [esp + 0x74], xmm0
cmp esi, ebx
jne 0x423827
cmp esi, ebp
jae 0x423825
push ebp
mov edx, ebx
mov dword [esp + 0x78], edi
lea ecx, [esp + 0x78]
call fcn.00422971
movss xmm3, dword [0x4b64c4]
movss xmm2, dword [esp + 0x20]
pop ecx
push edi
lea esi, [ebx + eax]
push esi
push ebx
push ecx
and dword [esp], edi
lea eax, [esp + 0x60]
mov ecx, dword [esp + 0x24]
push eax
call fcn.00445822
movss xmm0, dword [eax]
movss dword [esp + 0x74], xmm0
cmp esi, ebx
jbe 0x42387e
mov ebp, dword [esp + 0x14]
lea eax, [esi - 1]
mov cl, byte [eax]
mov dword [esp + 0x20], eax
cmp cl, 0x20
je 0x423840
cmp cl, 9
jne 0x42387a
movss xmm3, dword [0x4b64c4]
mov esi, eax
movss xmm2, dword [esp + 0x1c]
inc eax
push edi
push eax
push esi
push ecx
and dword [esp], edi
lea eax, [esp + 0x60]
push eax
mov ecx, ebp
call fcn.00445822
movss xmm0, dword [esp + 0x74]
subss xmm0, dword [eax]
movss dword [esp + 0x74], xmm0
cmp dword [esp + 0x20], ebx
ja 0x42382d
mov ebp, dword [esp + 0x70]
mov eax, dword [esp + 0x64]
movss xmm0, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
and dword [esp + 0x20], edi
and dword [esp + 0x24], edi
push edi
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [eax + 4]
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x50]
movss dword [esp + 0x34], xmm0
push eax
push esi
mov esi, dword [esp + 0x40]
lea eax, [esp + 0x38]
push ebx
push eax
mov edx, esi
call fcn.0042348f
movss xmm0, dword [esp + 0x8c]
add esp, 0x18
addss xmm0, dword [esi]
cvttss2si eax, xmm0
movd xmm1, eax
cvttss2si eax, dword [esi + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x28], xmm1
movss dword [esp + 0x2c], xmm0
movaps xmm0, xmm1
addss xmm0, dword [esp + 0x34]
movss xmm1, dword [esp + 0x68]
comiss xmm1, xmm0
jb 0x4239d4
mov eax, dword [esp + 0x14]
xor ecx, ecx
cmp cx, word [eax + 0x3e]
jge 0x4239d4
xor ebx, ebx
mov ebp, eax
mov eax, dword [0x4ca4e8]
lea edi, [esp + 0x50]
lea ecx, [esp + 0x50]
lea esi, [eax + 0xc74]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movss xmm0, dword [esp + 0x5c]
mulss xmm0, dword [eax + 0xb84]
movzx eax, word [ebp + 0x3c]
push eax
movss dword [esp + 0x60], xmm0
call fcn.00422ad9
movss xmm2, dword [esp + 0x20]
mov ecx, ebp
push eax
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x24]
call fcn.00445a0a
movss xmm0, dword [esp + 0x3c]
inc ebx
mulss xmm0, dword [ebp + 0x44]
movsx eax, word [ebp + 0x3e]
addss xmm0, dword [esp + 0x28]
movss dword [esp + 0x28], xmm0
cmp ebx, eax
jl 0x423921
mov ebx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x30]
jmp 0x4239d4
movss xmm0, dword [eax + 4]
mov edx, esi
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x3c]
and dword [esp + 0x3c], edi
and dword [esp + 0x40], edi
push edi
push eax
lea eax, [esp + 0x50]
movss dword [esp + 0x3c], xmm2
push eax
push ebp
lea eax, [esp + 0x44]
movss dword [esp + 0x48], xmm0
push ebx
push eax
call fcn.0042348f
add esp, 0x18
mov eax, dword [esp + 0x44]
cmp byte [eax + 0x2400], 0
je 0x4239ec
push ebp
mov edx, ebx
mov ecx, esi
call fcn.00436fd7
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret