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

Disassembly:
sub esp, 0x470
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x44], ebx
call fcn.1010ebf0
mov eax, dword [ebx + 0x188]
xor edx, edx
cmp eax, 1
mov ecx, 0x10
mov esi, 2
sete dl
cmp eax, 1
cmovne ecx, esi
mov dword [esp + 0x3c], ecx
lea edx, [edx*8 + 8]
mov dword [esp + 0x38], edx
cmp eax, 9
jne 0x1010eed6
mov ecx, 6
mov edx, ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], edx
imul ecx, edx
push 0x500
push ecx
mov ecx, ebx
call fcn.10135670
mov esi, eax
mov ecx, ebx
push str.vng_interpolate__
push esi
call fcn.10135730
xor ecx, ecx
mov dword [esp + 0x10], ecx
nop dword [eax + eax]
xor edi, edi
mov eax, ecx
shl eax, 4
mov dword [esp + 0x14], edi
mov dword [esp + 0x30], eax
nop
add eax, edi
mov dword [esp + 0x2c], 0x40
mov edi, 0x10266080
mov dword [esp + eax*4 + 0x80], esi
nop word [eax + eax]
movsx eax, byte [edi + 1]
lea edi, [edi + 6]
movsx edx, byte [edi - 6]
mov ebx, dword [esp + 0x44]
movsx ebp, byte [edi - 1]
mov dword [esp + 0x24], eax
movsx eax, byte [edi - 4]
mov dword [esp + 0x1c], eax
movsx eax, byte [edi - 3]
mov dword [esp + 0x20], eax
movsx eax, byte [edi - 2]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x24]
push eax
lea eax, [edx + ecx]
mov dword [esp + 0x2c], edx
push eax
mov ecx, ebx
call fcn.10106cd0
mov ecx, dword [esp + 0x20]
add ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
add ecx, dword [esp + 0x20]
push ecx
mov ecx, ebx
mov dword [esp + 0x20], eax
call fcn.10106cd0
cmp eax, dword [esp + 0x18]
jne 0x1010f0c0
mov eax, dword [esp + 0x14]
mov ecx, ebx
inc eax
push eax
push dword [esp + 0x14]
call fcn.10106cd0
mov ecx, dword [esp + 0x18]
cmp eax, ecx
jne 0x1010efd8
push dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov ecx, ebx
inc eax
push eax
call fcn.10106cd0
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18], 2
cmp eax, ecx
je 0x1010efe0
mov dword [esp + 0x18], 1
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x1c]
cdq
xor eax, edx
sub eax, edx
cmp eax, dword [esp + 0x18]
jne 0x1010f00a
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x20]
cdq
xor eax, edx
sub eax, edx
cmp eax, dword [esp + 0x18]
je 0x1010f0c0
movzx eax, word [ebx + 0x16]
imul eax, dword [esp + 0x28]
add eax, dword [esp + 0x24]
lea eax, [ecx + eax*4]
mov dword [esi], eax
movzx eax, word [ebx + 0x16]
imul eax, dword [esp + 0x1c]
add eax, dword [esp + 0x20]
lea eax, [ecx + eax*4]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 8], eax
mov eax, 1
rol eax, 0
add esi, 0xc
test ebp, eax
je 0x1010f04e
mov dword [esi], 0
add esi, 4
rol eax, 1
test ebp, eax
je 0x1010f05d
mov dword [esi], 1
add esi, 4
rol eax, 1
test ebp, eax
je 0x1010f06c
mov dword [esi], 2
add esi, 4
rol eax, 1
test ebp, eax
je 0x1010f07b
mov dword [esi], 3
add esi, 4
rol eax, 1
test ebp, eax
je 0x1010f08a
mov dword [esi], 4
add esi, 4
rol eax, 1
test ebp, eax
je 0x1010f099
mov dword [esi], 5
add esi, 4
rol eax, 1
test ebp, eax
je 0x1010f0a8
mov dword [esi], 6
add esi, 4
rol eax, 1
test ebp, eax
je 0x1010f0b7
mov dword [esi], 7
add esi, 4
mov dword [esi], 0xffffffff
add esi, 4
sub dword [esp + 0x2c], 1
mov ecx, dword [esp + 0x10]
jne 0x1010ef30
mov edi, dword [esp + 0x14]
mov ebp, 0x10266200
mov dword [esi], 0x7fffffff
add esi, 4
mov dword [esp + 0x24], 8
nop dword [eax]
movsx ecx, byte [ebp]
movzx eax, word [ebx + 0x16]
movsx edx, byte [ebp + 1]
add ebp, 2
imul eax, ecx
push edi
mov dword [esp + 0x24], ecx
mov ecx, ebx
mov dword [esp + 0x20], edx
add eax, edx
shl eax, 2
mov dword [esi], eax
lea eax, [esi + 4]
mov esi, dword [esp + 0x14]
push esi
mov dword [esp + 0x30], eax
call fcn.10106cd0
mov ecx, dword [esp + 0x1c]
add ecx, edi
mov dword [esp + 0x2c], eax
push ecx
mov ecx, dword [esp + 0x24]
add ecx, esi
push ecx
mov ecx, ebx
call fcn.10106cd0
cmp eax, dword [esp + 0x2c]
je 0x1010f17b
mov eax, dword [esp + 0x1c]
mov ecx, ebx
lea eax, [edi + eax*2]
push eax
mov eax, dword [esp + 0x24]
lea eax, [esi + eax*2]
push eax
call fcn.10106cd0
mov edx, dword [esp + 0x2c]
cmp eax, edx
jne 0x1010f17b
movzx eax, word [ebx + 0x16]
imul eax, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
add eax, dword [esp + 0x1c]
lea eax, [edx + eax*8]
mov dword [esi], eax
jmp 0x1010f185
mov esi, dword [esp + 0x28]
mov dword [esi], 0
add esi, 4
sub dword [esp + 0x24], 1
jne 0x1010f0f0
mov ecx, dword [esp + 0x10]
inc edi
mov eax, dword [esp + 0x30]
mov dword [0x1054ce78], ebp
mov dword [esp + 0x14], edi
cmp edi, dword [esp + 0x3c]
jl 0x1010ef10
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, dword [esp + 0x38]
jl 0x1010ef00
movzx eax, word [ebx + 0x16]
mov ecx, ebx
push 8
lea eax, [eax + eax*2]
push eax
call fcn.10135670
mov esi, eax
mov ecx, ebx
push str.vng_interpolate__
push esi
mov dword [esp + 0x74], esi
call fcn.10135730
movzx edx, word [ebx + 0x16]
mov ebp, esi
movzx ecx, word [ebx + 0x14]
mov dword [esp + 0x24], ebp
lea edi, [esi + edx*8]
shl edx, 4
add edx, esi
mov dword [esp + 0x34], edi
mov esi, 2
mov dword [esp + 0x18], edx
lea eax, [ecx - 2]
mov dword [esp + 0x14], esi
cmp eax, esi
jle 0x1010f529
mov dword [esp + 0x28], 0
nop dword [eax]
lea edi, [esi - 2]
mov eax, edi
and eax, 0x800000ff
jns 0x1010f233
dec eax
or eax, 0xffffff00
inc eax
jne 0x1010f27c
mov esi, dword [ebx + 0x4f5bc]
test esi, esi
je 0x1010f278
lea eax, [ecx - 3]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
inc eax
push eax
mov eax, edi
cdq
and edx, 0xff
add eax, edx
sar eax, 8
inc eax
push eax
push 0x800
push dword [ebx + 0x4f5c0]
call esi
add esp, 0x10
test eax, eax
jne 0x1010f5a0
mov esi, dword [esp + 0x14]
movzx ecx, word [ebx + 0x16]
mov ebp, 2
mov dword [esp + 0x1c], ebp
lea eax, [ecx - 2]
cmp eax, ebp
jle 0x1010f4cb
mov eax, esi
cdq
idiv dword [esp + 0x38]
mov eax, edx
shl eax, 4
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x18]
add eax, 0x10
mov dword [esp + 0x10], eax
nop
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
imul ecx, esi
movups xmmword [esp + 0x4c], xmm0
movups xmmword [esp + 0x5c], xmm0
add ecx, ebp
lea edi, [eax + ecx*8]
mov eax, ebp
cdq
idiv dword [esp + 0x3c]
add edx, dword [esp + 0x40]
mov esi, dword [esp + edx*4 + 0x80]
mov ecx, dword [esi]
cmp ecx, 0x7fffffff
je 0x1010f33b
mov eax, dword [esi + 4]
movzx ecx, word [edi + ecx*2]
movzx eax, word [edi + eax*2]
sub ecx, eax
mov eax, ecx
sar eax, 0x1f
mov edx, eax
xor edx, ecx
mov ecx, dword [esi + 8]
sub edx, eax
mov eax, dword [esi + 0xc]
add esi, 0x14
shl edx, cl
add dword [esp + eax*4 + 0x4c], edx
mov eax, dword [esi - 4]
cmp eax, 0xffffffff
je 0x1010f331
add dword [esp + eax*4 + 0x4c], edx
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x1010f32e
nop
add dword [esp + eax*4 + 0x4c], edx
add esi, 4
mov eax, dword [esi]
cmp eax, 0xffffffff
jne 0x1010f320
add esi, 4
mov ecx, dword [esi]
cmp ecx, 0x7fffffff
jne 0x1010f2e4
mov eax, dword [esp + 0x50]
add esi, 4
mov ecx, dword [esp + 0x4c]
cmp ecx, eax
mov edx, ecx
cmovg edx, eax
cmovl ecx, eax
mov eax, dword [esp + 0x54]
cmp edx, eax
cmovg edx, eax
cmp ecx, eax
cmovl ecx, eax
mov eax, dword [esp + 0x58]
cmp edx, eax
cmovg edx, eax
cmp ecx, eax
cmovl ecx, eax
mov eax, dword [esp + 0x5c]
cmp edx, eax
cmovg edx, eax
cmp ecx, eax
cmovl ecx, eax
mov eax, dword [esp + 0x60]
cmp edx, eax
cmovg edx, eax
cmp ecx, eax
cmovl ecx, eax
mov eax, dword [esp + 0x64]
cmp edx, eax
cmovg edx, eax
cmp ecx, eax
cmovl ecx, eax
mov eax, dword [esp + 0x68]
cmp edx, eax
cmovg edx, eax
cmp ecx, eax
cmovl ecx, eax
test ecx, ecx
jne 0x1010f3bb
mov ecx, dword [esp + 0x10]
mov eax, dword [edi]
mov dword [ecx], eax
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x1010f4ae
sar ecx, 1
xorps xmm0, xmm0
add ecx, edx
push ebp
push dword [esp + 0x18]
mov dword [esp + 0x34], ecx
mov ecx, ebx
movups xmmword [esp + 0x78], xmm0
call fcn.10106cd0
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x20], ecx
nop dword [eax + eax]
cmp dword [esp + eax*4 + 0x4c], edx
jg 0x1010f449
mov ebp, dword [ebx + 0x184]
xor edx, edx
test ebp, ebp
jle 0x1010f440
mov ebx, dword [esp + 0x30]
cmp edx, ebx
jne 0x1010f423
mov eax, dword [esi + 4]
test eax, eax
je 0x1010f423
movzx ecx, word [edi + eax*2]
movzx eax, word [edi + edx*2]
add ecx, eax
shr ecx, 1
add dword [esp + edx*4 + 0x70], ecx
jmp 0x1010f42f
mov eax, dword [esi]
add eax, edx
movzx eax, word [edi + eax*2]
add dword [esp + edx*4 + 0x70], eax
inc edx
cmp edx, ebp
jl 0x1010f406
mov ebx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
inc ecx
mov dword [esp + 0x20], ecx
inc eax
add esi, 8
mov dword [esp + 0x48], eax
cmp eax, 8
jl 0x1010f3f0
xor ecx, ecx
cmp dword [ebx + 0x184], ecx
jle 0x1010f4aa
mov ebp, dword [esp + 0x30]
lea eax, [edi + ebp*2]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x30], eax
nop
movzx esi, word [eax]
cmp ecx, ebp
je 0x1010f486
mov eax, dword [esp + ecx*4 + 0x70]
sub eax, dword [esp + ebp*4 + 0x70]
cdq
idiv dword [esp + 0x20]
add esi, eax
mov eax, 0xffff
cmp esi, eax
cmovl eax, esi
xor edx, edx
test eax, eax
cmovs eax, edx
inc ecx
mov word [edi], ax
add edi, 2
mov eax, dword [esp + 0x30]
cmp ecx, dword [ebx + 0x184]
jl 0x1010f470
mov ebp, dword [esp + 0x1c]
movzx ecx, word [ebx + 0x16]
inc ebp
add dword [esp + 0x10], 8
mov esi, dword [esp + 0x14]
mov dword [esp + 0x1c], ebp
lea eax, [ecx - 2]
cmp ebp, eax
jl 0x1010f2b0
mov edi, dword [esp + 0x24]
cmp esi, 3
jle 0x1010f4fa
movzx ecx, word [ebx + 0x16]
lea eax, [ecx*8 - 0x20]
imul ecx, dword [esp + 0x28]
push eax
lea eax, [edi + 0x10]
push eax
mov eax, dword [ebx + 8]
add ecx, 0x10
add eax, ecx
push eax
call fcn.101df960
add esp, 0xc
movzx ecx, word [ebx + 0x14]
mov eax, edi
mov edi, dword [esp + 0x18]
inc esi
mov ebp, dword [esp + 0x34]
add dword [esp + 0x28], 8
mov dword [esp + 0x18], eax
lea eax, [ecx - 2]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x34], edi
mov dword [esp + 0x14], esi
cmp esi, eax
jl 0x1010f220
movzx edx, word [ebx + 0x16]
lea ecx, [esi*8 - 0x10]
imul ecx, edx
lea eax, [edx*8 - 0x20]
push eax
lea eax, [ebp + 0x10]
add ecx, 0x10
push eax
mov eax, dword [ebx + 8]
add eax, ecx
push eax
call fcn.101df960
movzx edx, word [ebx + 0x16]
lea ecx, [esi*8 - 8]
imul ecx, edx
lea eax, [edx*8 - 0x20]
push eax
lea eax, [edi + 0x10]
add ecx, 0x10
push eax
mov eax, dword [ebx + 8]
add eax, ecx
push eax
call fcn.101df960
add esp, 0x18
mov ecx, ebx
push dword [esp + 0x6c]
call fcn.10135700
push dword [esp + 0x80]
mov ecx, ebx
call fcn.10135700
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x470
ret
push 0x103aec5c
lea eax, [esp + 0x44]
mov dword [esp + 0x44], 6
push eax
call fcn.101e00bb
int3