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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edx, dword [esi + 0x20]
lea edi, [esi + 0x28]
test edx, edx
je 0x1014c354
mov ecx, dword [edi]
nop dword [eax]
mov eax, dword [ecx]
lea ecx, [ecx + 0x28]
shr eax, 2
cmp ebx, eax
cmovge eax, ebx
mov ebx, eax
sub edx, 1
jne 0x1014c340
mov ecx, dword ds:[esi + 8]
lea eax, [esi + 8]
mov dword [ebp - 8], eax
mov edx, eax
test ecx, ecx
je 0x1014c39d
mov eax, dword [0x1034e164]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x1014c380
dec dword [eax + 0x370]
push dword [0x1034e188]
push ecx
call dword [0x1034a460]
add esp, 8
mov dword [esi + 8], 0
lea edi, [esi + 0x28]
lea edx, [esi + 8]
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x1014c3e4
mov eax, dword [0x1034e164]
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
mov dword [ebp - 8], edx
test eax, eax
je 0x1014c3cd
dec dword [eax + 0x370]
lea edi, [esi + 0x28]
lea eax, [esi + 8]
mov dword [ebp - 8], eax
push dword [0x1034e188]
push ecx
call dword [0x1034a460]
add esp, 8
mov dword [esi + 0x1c], 0
mov byte [esi + 0x44], 0
xorps xmm0, xmm0
movups xmmword [esi + 0x58], xmm0
inc ebx
mov ecx, esi
movups xmmword [esi + 0x68], xmm0
push ebx
mov word [esi + 0x78], 0
mov dword [ebp - 0x10], ebx
call fcn.1014c1a0
mov edx, dword [esi + 0x20]
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], edx
test edx, edx
jle 0x1014c477
mov edi, dword [ebp - 8]
xor ebx, ebx
nop dword [eax + eax]
mov ecx, dword [esi + 0x28]
lea ebx, [ebx + 0x28]
mov edx, dword [ebp - 0xc]
mov eax, dword [ecx + ebx - 0x28]
movss xmm0, dword [ecx + ebx - 0x24]
mov ecx, dword [edi]
shr eax, 2
movss dword [ecx + eax*4], xmm0
mov ecx, dword [esi + 0x1c]
mov dword [ecx + eax*4], edx
cdq
and edx, 0xfff
add eax, edx
sar eax, 0xc
mov edx, eax
and eax, 7
sar edx, 3
movzx ecx, byte [edx + esi + 0x58]
bts ecx, eax
mov eax, dword [ebp - 0xc]
inc eax
mov byte [edx + esi + 0x58], cl
mov edx, dword [esi + 0x20]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], edx
cmp eax, edx
jl 0x1014c420
lea edi, [esi + 0x28]
cmp dword ds:[esi + 0x14], 0x20
lea ebx, [esi + 0x2c]
ja 0x1014c486
mov eax, dword [ebx]
jmp 0x1014c4a0
mov eax, dword [esi + 0x1c]
mov eax, dword [eax + 0x80]
cmp eax, 0xffffffff
jne 0x1014c498
mov eax, dword [ebx]
jmp 0x1014c4a0
lea ecx, [eax + eax*4]
mov eax, dword [edi]
lea eax, [eax + ecx*8]
mov edx, dword [ebp - 4]
mov ecx, esi
add ecx, 0x1c
mov dword [ebp - 8], ecx
test eax, eax
je 0x1014c578
mov eax, dword [edi]
lea edx, [edx + edx*4]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ebx
mov eax, dword [eax + edx*8 - 0x28]
and eax, 0xfffffffc
cmp eax, 0x24
je 0x1014c4e3
mov eax, dword [ebp - 4]
lea ecx, [esi + 0x20]
inc eax
push eax
call fcn.10042b20
lea ecx, [esi + 0x1c]
lea eax, [esi + 0x2c]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], eax
cmp dword [esi + 0x14], 0x20
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x28]
mov dword [ebp - 4], edx
lea edi, [eax + eax*4]
ja 0x1014c4f9
mov eax, dword [ebx]
jmp 0x1014c510
mov eax, dword [ecx]
mov eax, dword [eax + 0x80]
cmp eax, 0xffffffff
jne 0x1014c50a
mov eax, dword [ebx]
jmp 0x1014c510
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*8]
movups xmm0, xmmword [eax]
mov ebx, dword [ebp - 0xc]
movups xmmword [edx + edi*8 - 0x28], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [edx + edi*8 - 0x18], xmm0
movq xmm0, qword [eax + 0x20]
movq qword [edx + edi*8 - 8], xmm0
movss xmm0, dword [edx + edi*8 - 0x24]
mov ecx, dword [edx + edi*8 - 0x28]
mulss xmm0, dword [0x102fb0b8]
and ecx, 3
or ecx, 0x24
mov dword [edx + edi*8 - 0x28], ecx
shr ecx, 2
movss dword [edx + edi*8 - 0x24], xmm0
mov eax, dword [esi + 8]
movss dword [eax + ecx*4], xmm0
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov edx, dword [esi + 0x20]
dec edx
mov ecx, dword [ecx + edi*8 - 0x28]
lea edi, [esi + 0x28]
mov eax, dword [eax]
shr ecx, 2
mov dword [eax + ecx*4], edx
mov ecx, dword [ebp - 8]
cmp dword [esi + 0x14], 0x20
ja 0x1014c582
mov eax, dword [ebx]
jmp 0x1014c59b
mov eax, dword [ecx]
mov eax, dword [eax + 0x80]
cmp eax, 0xffffffff
jne 0x1014c593
mov eax, dword [ebx]
jmp 0x1014c59b
lea ecx, [eax + eax*4]
mov eax, dword [edi]
lea eax, [eax + ecx*8]
mov edx, ebx
test eax, eax
je 0x1014c5ad
and dword [eax], 0xfffffffd
lea edx, [esi + 0x2c]
lea edi, [esi + 0x28]
cmp dword [esi + 0x14], 9
ja 0x1014c5b7
mov eax, dword [ebx]
jmp 0x1014c5d1
mov eax, dword ds:[ebp - 8]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
cmp eax, 0xffffffff
jne 0x1014c5c9
mov eax, dword [edx]
jmp 0x1014c5d1
lea ecx, [eax + eax*4]
mov eax, dword [edi]
lea eax, [eax + ecx*8]
test eax, eax
je 0x1014c5de
and dword [eax], 0xfffffffd
lea edi, [esi + 0x28]
lea edx, [esi + 0x2c]
mov ecx, dword [esi + 0x3c]
xorps xmm0, xmm0
cmp ecx, dword [esi + 0x14]
jae 0x1014c60b
mov eax, dword [esi + 0x1c]
mov eax, dword [eax + ecx*4]
cmp eax, 0xffffffff
je 0x1014c60b
lea ecx, ds:[eax + eax*4]
mov eax, dword [edi]
lea eax, [eax + ecx*8]
mov dword [edx], eax
test eax, eax
je 0x1014c611
movss xmm1, dword [eax + 4]
jmp 0x1014c614
mov dword [edx], 0
xorps xmm1, xmm1
mov edi, dword ds:[ebp - 0x10]
xor edx, edx
movss dword [esi + 0xc], xmm1
cmp edi, 4
jl 0x1014c67f
mov ebx, dword [esi + 8]
add edi, 0xfffffffc
shr edi, 2
inc edi
lea ecx, [ebx + 8]
lea edx, [edi*4]
nop dword [eax]
comiss xmm0, dword [ecx - 8]
jbe 0x1014c64c
mov eax, dword [esi + 0xc]
mov dword [ecx - 8], eax
comiss xmm0, dword [ecx - 4]
jbe 0x1014c658
mov eax, dword [esi + 0xc]
mov dword [ecx - 4], eax
comiss xmm0, dword [ecx]
jbe 0x1014c662
mov eax, dword [esi + 0xc]
mov dword [ecx], eax
comiss xmm0, dword [ecx + 4]
jbe 0x1014c66e
mov eax, dword [esi + 0xc]
mov dword [ecx + 4], eax
add ecx, 0x10
sub edi, 1
jne 0x1014c640
mov edi, dword [ebp - 0x10]
cmp edx, edi
jge 0x1014c698
jmp 0x1014c687
nop
test edi, edi
jle 0x1014c698
mov ebx, dword [esi + 8]
comiss xmm0, dword [ebx + edx*4]
jbe 0x1014c693
mov eax, dword [esi + 0xc]
mov dword [ebx + edx*4], eax
inc edx
cmp edx, edi
jl 0x1014c687
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret