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

Disassembly:
sub esp, 0x44
mov edx, dword [esp + 0x74]
push ebx
push esi
push edi
mov edi, dword [esp + 0x54]
mov eax, dword [edi]
lea ecx, [esp + 0x40]
push ecx
push 4
push 0
push edx
push edi
call dword [eax + 0x334]
mov ebx, dword [esp + 0x6c]
mov eax, dword [edi]
push 0
push ebx
push edi
call dword [eax + 0x378]
mov esi, eax
test esi, esi
mov dword [esp + 0x1c], esi
je 0x1000a7ac
mov edx, dword [esp + 0x5c]
mov ecx, dword [edi]
push 0
push edx
push edi
call dword [ecx + 0x378]
test eax, eax
mov dword [esp + 0x28], eax
jne 0x1000a51d
mov eax, dword [edi]
push 2
push esi
push ebx
push edi
call dword [eax + 0x37c]
pop edi
pop esi
pop ebx
add esp, 0x44
ret 0x30
mov edx, dword [esp + 0x74]
push ebp
mov ebp, dword [esp + 0x68]
mov ecx, ebp
sub ecx, edx
inc ecx
mov esi, ecx
imul esi, esi, 0xff
mov edx, 0xff
sub edx, esi
cvtsi2ss xmm0, edx
mulss xmm0, dword [esp + 0x80]
cvttss2si eax, xmm0
add esi, eax
mov eax, 0x7fffffff
cdq
idiv esi
movss xmm1, dword [esp + 0x44]
mov ebx, dword [esp + 0x7c]
imul ecx, ebx
mov dword [esp + 0x24], ecx
cvtsi2ss xmm0, eax
movaps xmm2, xmm0
mulss xmm2, xmm1
cvttss2si edx, xmm2
movss xmm2, dword [esp + 0x48]
mov dword [esp + 0x3c], edx
movaps xmm3, xmm0
mulss xmm3, xmm2
cvttss2si eax, xmm3
movss xmm3, dword [esp + 0x4c]
mov dword [esp + 0x34], eax
movaps xmm4, xmm0
mulss xmm4, xmm3
cvttss2si edx, xmm4
movss xmm4, dword [esp + 0x50]
mov dword [esp + 0x38], edx
mulss xmm0, xmm4
cvttss2si eax, xmm0
movss xmm0, dword [0x1000c038]
mov dword [esp + 0x40], eax
mov eax, 0x80808081
imul esi
add edx, esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mulss xmm4, xmm0
cvttss2si edx, xmm4
shl edx, 8
mulss xmm1, xmm0
cvttss2si ecx, xmm1
or edx, ecx
shl edx, 8
mov dword [esp + 0x30], eax
mulss xmm2, xmm0
cvttss2si eax, xmm2
or edx, eax
shl edx, 8
mulss xmm3, xmm0
cvttss2si ecx, xmm3
or edx, ecx
mov ecx, dword [esp + 0x64]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x28], eax
jle 0x1000a781
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x24]
shl ecx, 2
mov edi, ecx
mov ecx, dword [esp + 0x20]
sub ecx, edi
mov dword [esp + 0x1c], ecx
xor ecx, ecx
xor edi, edi
test ebp, ebp
mov dword [esp + 0x80], eax
jle 0x1000a753
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x80]
cmp eax, dword [esp + 0x24]
jl 0x1000a670
mov ebp, dword [esp + 0x10]
mov ebp, dword [ebp]
mov dword [esp + 0x84], ebp
jmp 0x1000a67b
mov dword [esp + 0x84], 0
mov ebp, dword [esp + 0x84]
shr ebp, 0x18
sub ecx, ebp
cmp edi, dword [esp + 0x78]
jge 0x1000a69e
mov ebp, dword [esp + 0x20]
mov eax, dword [ebp + eax*4]
mov dword [esp + 0x84], eax
jmp 0x1000a6a9
mov dword [esp + 0x84], 0
mov eax, dword [esp + 0x84]
shr eax, 0x18
add ecx, eax
cmp ecx, dword [esp + 0x30]
jge 0x1000a6bf
xor eax, eax
jmp 0x1000a709
cmp ecx, esi
jl 0x1000a6c7
mov eax, edx
jmp 0x1000a709
mov eax, ecx
imul eax, dword [esp + 0x34]
mov ebx, ecx
imul ebx, dword [esp + 0x38]
sar ebx, 8
and eax, 0xff807fff
or eax, ebx
mov ebx, ecx
imul ebx, dword [esp + 0x3c]
and ebx, 0xff80007f
sar eax, 8
or eax, ebx
mov ebx, ecx
imul ebx, dword [esp + 0x40]
and ebx, 0xff800000
shl ebx, 1
sar eax, 7
or eax, ebx
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x14]
mov dword [ebp], eax
mov eax, dword [esp + 0x80]
mov ebp, dword [esp + 0x10]
add eax, ebx
mov dword [esp + 0x80], eax
lea eax, [ebx*4]
add ebp, eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x14]
shl eax, 2
add ebp, eax
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x68]
inc edi
cmp edi, ebp
jl 0x1000a653
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x18]
mov ecx, 4
add edi, ecx
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x1c]
add edi, ecx
mov ecx, dword [esp + 0x64]
inc eax
cmp eax, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], edi
jl 0x1000a630
mov edi, dword [esp + 0x58]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x60]
mov ecx, dword [edi]
push 0
push edx
push eax
push edi
call dword [ecx + 0x37c]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x70]
mov ecx, dword [edi]
push 2
push edx
push eax
push edi
call dword [ecx + 0x37c]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x44
ret 0x30