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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, dword [0x10065040]
xor eax, esp
mov dword [esp + 0xa4], eax
push esi
mov esi, dword [0x101c304c]
mov eax, esi
shr eax, 0x1f
push edi
movd xmm0, esi
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x1005e930]
mov eax, 0x30
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x1005c154]
divss xmm0, dword [0x1005c18c]
cvttss2si edi, xmm0
cmp edi, eax
cmovg edi, eax
mov eax, 0x51eb851f
mov ecx, edi
mov dword [esp + 0x10], edi
shl ecx, 4
sub ecx, edi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, 0x578
mov dword [esp + 0x24], eax
mov edx, 0x28
mov eax, dword [0x101c3050]
sbb ecx, ecx
and ecx, 0xfffffffb
add ecx, 0x41
cmp eax, 0x320
mov dword [esp + 8], ecx
mov ecx, 0x1c
cmovae ecx, edx
mov dword [esp + 0x14], ecx
cmp esi, 0x500
jne 0x1000ce66
cmp eax, 0x400
jne 0x1000ce66
mov dword [esp + 8], 0x5f
mov dword [esp + 0x14], 0x2d
xor eax, eax
mov dword [0x1007d0a4], 0
mov dword [0x100e82ec], 0
mov dword [esp + 0xc], eax
mov ecx, eax
call fcn.10003490
test eax, eax
je 0x1000d21e
mov esi, dword [esp + 0xc]
mov ecx, esi
call fcn.10003510
test eax, eax
je 0x1000d21e
mov ecx, esi
call fcn.10003590
mov ecx, dword [0x101c2098]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x2c]
push esi
push eax
call dword [0x101c1dc8]
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x78]
add ecx, 8
push ecx
push 0x1005bfcc
push eax
call fcn.100012e0
add esp, 0xc
mov dword [esp + 0x60], 0
lea eax, [esp + 0x78]
xorps xmm0, xmm0
movaps xmmword [esp + 0x50], xmm0
push 9
push eax
lea eax, [esp + 0x58]
push eax
call fcn.1003d1f0
lea ecx, [esp + 0x5c]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000cf04
sub ecx, edx
cmp ecx, 9
jb 0x1000cf32
lea ecx, [esp + 0x50]
dec ecx
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x1000cf17
mov ax, word [0x1005bfd0]
mov word [ecx], ax
mov al, byte [0x1005bfd2]
mov byte [ecx + 2], al
mov eax, dword [0x101c304c]
shr eax, 1
push 0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
test byte [esp + 0x10], 1
addsd xmm0, qword [eax*8 + 0x1005e930]
mov eax, dword [esp + 0x18]
cvtpd2ps xmm1, xmm0
jne 0x1000d0b4
mov ecx, dword [0x1007d0a4]
lea edx, [esp + 0x34]
add ecx, 0x12
movss dword [esp + 0x24], xmm1
add ecx, edi
add eax, 2
add eax, ecx
mov dword [esp + 0x20], ecx
mov dword [0x1007d0a4], ecx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x38], ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
cvttss2si esi, xmm1
mov dword [esp + 0x1c], esi
mov dword [esp + 0x34], esi
lea eax, [esi + edi]
add edi, ecx
mov dword [esp + 0x3c], eax
mov eax, dword [0x101c30ac]
mov dword [esp + 0x40], edi
mov ecx, dword [eax]
push ecx
mov dword [esp], 0
push 0xff070707
push 1
push edx
push 1
push eax
call dword [ecx + 0xac]
movd xmm0, dword [esp + 0x10]
movd xmm2, dword [esp + 8]
cvtdq2ps xmm0, xmm0
push 0xffcc0000
sub esp, 8
movd xmm1, esi
cvtdq2ps xmm2, xmm2
mov dword [esp + 4], 0x3f800000
cvtdq2ps xmm1, xmm1
movaps xmm3, xmm0
movss dword [esp], xmm0
call fcn.10009f30
mov eax, dword [0x101c1dac]
add eax, dword [0x101c2098]
push 0
push eax
call fcn.1002ccc0
movzx ecx, al
call fcn.10003410
mov ecx, dword [esp + 0x14]
mov esi, eax
call fcn.10003410
mov edx, dword [esp + 0x10]
cmp eax, esi
mov esi, dword [esp + 0x20]
mov ecx, esi
sete al
movzx eax, al
push eax
push dword [esp + 0x18]
mov eax, dword [esp + 0x34]
sub ecx, eax
push dword [esp + 0x20]
dec ecx
push eax
call fcn.1000b460
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x68]
push eax
push 1
push dword [0x101c1e60]
push dword [0x101c2088]
push 0xffffffffffffffff
push 1
push edi
mov edi, dword [esp + 0x44]
mov eax, edi
cdq
sub eax, edx
sar eax, 1
movss xmm1, dword [esp + 0x54]
sub ecx, eax
mov eax, dword [esp + 0x48]
add eax, 2
add eax, ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
cvttss2si eax, xmm1
push eax
call fcn.1000a770
mov edx, dword [esp + 0x40]
lea ecx, [esi + 1]
push 0
lea edx, [edx + 1]
jmp 0x1000d20d
mov ecx, dword [0x100e82ec]
add ecx, 0x12
mov edx, dword [esp + 0x14]
add ecx, edi
movss dword [esp + 0x20], xmm1
add eax, ecx
mov dword [esp + 0x24], ecx
mov dword [0x100e82ec], ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movd xmm1, dword [esp + 0xc]
cvtdq2ps xmm1, xmm1
cvttss2si edi, xmm0
cvttss2si ecx, xmm1
mov esi, edi
sub esi, edx
mov dword [esp + 0x1c], esi
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov dword [esp + 0x48], ecx
cvttss2si eax, xmm2
mov dword [esp + 0x44], eax
add eax, edx
mov dword [esp + 0x4c], eax
lea eax, [ecx + edx]
mov dword [esp + 0x50], eax
lea edx, [esp + 0x44]
mov eax, dword [0x101c30ac]
mov ecx, dword [eax]
push ecx
mov dword [esp], 0
push 0xff070707
push 1
push edx
push 1
push eax
call dword [ecx + 0xac]
movd xmm0, dword [esp + 0x10]
movd xmm2, dword [esp + 8]
cvtdq2ps xmm0, xmm0
push 0xff0066ff
sub esp, 8
movd xmm1, esi
cvtdq2ps xmm2, xmm2
mov dword [esp + 4], 0x3f800000
cvtdq2ps xmm1, xmm1
movaps xmm3, xmm0
movss dword [esp], xmm0
call fcn.10009f30
mov eax, dword [0x101c1dac]
add eax, dword [0x101c2098]
push 0
push eax
call fcn.1002ccc0
movzx ecx, al
call fcn.10003410
mov ecx, dword [esp + 0x14]
mov esi, eax
call fcn.10003410
cmp eax, esi
lea ecx, [edi + 1]
mov esi, dword [esp + 0x10]
mov edx, esi
sete al
movzx eax, al
push eax
push dword [esp + 0x18]
push dword [esp + 0x20]
push dword [esp + 0x38]
call fcn.1000b460
mov edi, dword [esp + 0x28]
lea eax, [esp + 0x68]
push eax
push 1
push dword [0x101c1e60]
lea eax, [esi + edi]
push dword [0x101c2088]
push 0xffffffffffffffff
push 1
push eax
mov ecx, dword [esp + 0x54]
mov eax, edi
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
add ecx, dword [esp + 0x48]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
addss xmm0, dword [esp + 0x50]
cvttss2si eax, xmm0
push eax
call fcn.1000a770
mov ecx, dword [esp + 0x50]
lea edx, [esi + 1]
push 1
inc ecx
push dword [esp + 0x64]
lea eax, [edi - 2]
push eax
push eax
call fcn.1000b6c0
add esp, 0x48
mov eax, dword [esp + 0xc]
inc eax
mov dword [esp + 0xc], eax
cmp eax, 0xf
jle 0x1000ce80
mov ecx, dword [esp + 0xac]
pop edi
pop esi
xor ecx, esp
call fcn.1002eb4c
mov esp, ebp
pop ebp
ret