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

Disassembly:
sub esp, 0x474
push ebx
push ebp
mov ebp, dword [esp + 0x480]
push esi
push edi
mov edi, 7
mov esi, 1
push ebp
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], esi
call fcn.100e4550
add esp, 4
cmp dword [ebp + 0x8c], 0
je 0x100e482b
push str.VNG_interpolation..._n
call fcn.10107014
add eax, 0x40
push eax
call fcn.10106bd7
add esp, 8
cmp dword [ebp + 0x6580], esi
jne 0x100e4842
mov esi, 0xf
mov edi, esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edi
lea eax, [edi + 1]
inc esi
imul esi, eax
push 0x500
push esi
call fcn.1010d964
mov esi, eax
push str.vng_interpolate__
push esi
push ebp
call fcn.100d80b0
add esp, 0x14
mov dword [esp + 0x10], 0
test edi, edi
jl 0x100e4b3b
jmp 0x100e4880
cmp dword [esp + 0x28], 0
mov dword [esp + 0x14], 0
jl 0x100e4b28
mov eax, dword [esp + 0x10]
shl eax, 4
mov dword [esp + 0x60], eax
mov edi, edi
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x14]
add ecx, edx
mov dword [esp + ecx*4 + 0x84], esi
mov edi, 0x101cdc98
mov dword [esp + 0x20], 0x40
mov edi, edi
movsx eax, byte [edi]
movsx ecx, byte [edi + 1]
inc edi
movsx edx, byte [edi + 1]
inc edi
mov dword [esp + 0x1c], edx
movsx edx, byte [edi + 1]
inc edi
mov dword [esp + 0x18], edx
movsx edx, byte [edi + 1]
inc edi
mov dword [esp + 0x34], edx
movsx edx, byte [edi + 1]
inc edi
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x38], ecx
add ecx, edx
push ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x28], eax
add eax, ecx
push eax
push ebp
inc edi
call fcn.100d7fe0
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov ebx, eax
mov eax, dword [esp + 0x20]
add edx, eax
push edx
mov edx, dword [esp + 0x20]
add ecx, edx
push ecx
push ebp
call fcn.100d7fe0
add esp, 0x18
cmp eax, ebx
jne 0x100e4a41
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
inc eax
push eax
push ecx
push ebp
call fcn.100d7fe0
add esp, 0xc
cmp eax, ebx
jne 0x100e4967
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
inc eax
push eax
push ebp
call fcn.100d7fe0
add esp, 0xc
mov ecx, 2
cmp eax, ebx
je 0x100e496c
mov ecx, 1
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
jne 0x100e4992
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x18]
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
je 0x100e4a41
movzx ecx, word [ebp + 0x6602]
imul ecx, dword [esp + 0x24]
add ecx, dword [esp + 0x38]
add esi, 4
lea edx, [ebx + ecx*4]
mov dword [esi - 4], edx
movzx eax, word [ebp + 0x6602]
imul eax, dword [esp + 0x1c]
add eax, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
lea ecx, [ebx + eax*4]
mov al, byte [esp + 0x30]
mov dword [esi], ecx
add esi, 4
mov dword [esi], edx
add esi, 4
test al, 1
je 0x100e49dd
mov dword [esi], 0
add esi, 4
test al, 2
je 0x100e49ea
mov dword [esi], 1
add esi, 4
test al, 4
je 0x100e49f7
mov dword [esi], 2
add esi, 4
test al, 8
je 0x100e4a04
mov dword [esi], 3
add esi, 4
test al, 0x10
je 0x100e4a11
mov dword [esi], 4
add esi, 4
test al, 0x20
je 0x100e4a1e
mov dword [esi], 5
add esi, 4
test al, 0x40
je 0x100e4a2b
mov dword [esi], 6
add esi, 4
test al, al
jns 0x100e4a38
mov dword [esi], 7
add esi, 4
mov dword [esi], 0xffffffff
add esi, 4
sub dword [esp + 0x20], 1
jne 0x100e48c0
mov dword [esi], SysReAllocStringLen
add esi, 4
mov dword [0x102acc48], 0x101cde18
mov dword [esp + 0x20], 8
jmp 0x100e4a70
mov eax, dword [0x102acc48]
movsx edi, byte [eax]
movsx ebx, byte [eax + 1]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
inc eax
inc eax
mov dword [0x102acc48], eax
movzx eax, word [ebp + 0x6602]
imul eax, edi
add eax, ebx
push ecx
add eax, eax
add eax, eax
push edx
mov dword [esi], eax
push ebp
add esi, 4
call fcn.100d7fe0
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
lea ecx, [ebx + eax]
push ecx
lea eax, [edi + edx]
push eax
push ebp
call fcn.100d7fe0
add esp, 0x18
cmp eax, dword [esp + 0x18]
je 0x100e4b01
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
lea edx, [ecx + ebx*2]
push edx
lea ecx, [eax + edi*2]
push ecx
push ebp
call fcn.100d7fe0
add esp, 0xc
cmp eax, dword [esp + 0x18]
jne 0x100e4b01
movzx edx, word [ebp + 0x6602]
mov eax, dword [esp + 0x18]
imul edx, edi
add edx, ebx
lea ecx, [eax + edx*8]
mov dword [esi], ecx
jmp 0x100e4b07
mov dword [esi], 0
add esi, 4
sub dword [esp + 0x20], 1
jne 0x100e4a70
mov eax, dword [esp + 0x14]
inc eax
cmp eax, dword [esp + 0x28]
mov dword [esp + 0x14], eax
jle 0x100e48a0
mov eax, dword [esp + 0x10]
inc eax
cmp eax, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
jle 0x100e4880
movzx eax, word [ebp + 0x6602]
lea edx, [eax + eax*2]
push 8
push edx
call fcn.1010d964
mov esi, eax
push str.vng_interpolate__
push esi
push ebp
mov dword [esp + 0x60], esi
call fcn.100d80b0
movzx eax, word [ebp + 0x6602]
movzx edx, word [ebp + 0x6600]
lea ecx, [esi + eax*8]
shl eax, 4
add eax, esi
sub edx, 2
add esp, 0x14
cmp edx, 2
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x10], 2
jle 0x100e4e4f
jmp 0x100e4ba0
movzx eax, word [ebp + 0x6602]
lea ecx, [eax - 2]
cmp ecx, 2
mov dword [esp + 0x14], 2
jle 0x100e4de7
mov ecx, dword [esp + 0x10]
and ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x44]
shl ecx, 4
add edx, 0x10
mov dword [esp + 0x30], ecx
mov dword [esp + 0x1c], edx
jmp 0x100e4be0
imul eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp + 0x6630]
add eax, ecx
and ecx, dword [esp + 0x28]
lea edi, [edx + eax*8]
add ecx, dword [esp + 0x30]
xor eax, eax
mov esi, dword [esp + ecx*4 + 0x84]
mov ecx, dword [esi]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
cmp ecx, 0x7fffffff
je 0x100e4c96
mov eax, dword [esi + 4]
movzx edx, word [edi + eax*2]
movzx ecx, word [edi + ecx*2]
sub ecx, edx
mov edx, ecx
sar edx, 0x1f
mov eax, edx
xor eax, ecx
mov ecx, dword [esi + 8]
sub eax, edx
shl eax, cl
mov ecx, dword [esi + 0xc]
lea ecx, [esp + ecx*4 + 0x64]
add esi, 0x14
add dword [ecx], eax
mov ecx, dword [esi - 4]
cmp ecx, 0xffffffff
je 0x100e4c88
add dword [esp + ecx*4 + 0x64], eax
lea ecx, [esp + ecx*4 + 0x64]
mov ecx, dword [esi]
cmp ecx, 0xffffffff
je 0x100e4c85
add dword [esp + ecx*4 + 0x64], eax
lea ecx, [esp + ecx*4 + 0x64]
mov ecx, dword [esi + 4]
add esi, 4
cmp ecx, 0xffffffff
jne 0x100e4c72
add esi, 4
mov ecx, dword [esi]
cmp ecx, 0x7fffffff
jne 0x100e4c32
mov eax, dword [esp + 0x64]
add esi, 4
mov edx, eax
mov ebx, 1
mov ecx, dword [esp + ebx*4 + 0x64]
cmp edx, ecx
jle 0x100e4caa
mov edx, ecx
cmp eax, ecx
jge 0x100e4cb0
mov eax, ecx
inc ebx
cmp ebx, 8
jl 0x100e4ca0
test eax, eax
jne 0x100e4ccd
mov ecx, dword [edi]
mov eax, dword [esp + 0x1c]
mov dword [eax], ecx
mov edx, dword [edi + 4]
mov dword [eax + 4], edx
jmp 0x100e4dc7
mov ecx, dword [esp + 0x10]
sar eax, 1
add eax, edx
mov dword [esp + 0x34], eax
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x14]
push eax
push ecx
push ebp
call fcn.100d7fe0
add esp, 0xc
xor ecx, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
jmp 0x100e4d10
mov edx, dword [esp + 0x34]
cmp dword [esp + ecx*4 + 0x64], edx
jg 0x100e4d5e
mov edx, dword [ebp + 0x661c]
xor eax, eax
test edx, edx
jle 0x100e4d5a
cmp eax, dword [esp + 0x18]
jne 0x100e4d45
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x100e4d45
movzx ebx, word [edi + eax*2]
movzx ecx, word [edi + ecx*2]
add ebx, ecx
sar ebx, 1
add dword [esp + eax*4 + 0x50], ebx
jmp 0x100e4d51
mov ecx, dword [esi]
add ecx, eax
movzx ecx, word [edi + ecx*2]
add dword [esp + eax*4 + 0x50], ecx
inc eax
cmp eax, edx
jl 0x100e4d26
mov ecx, dword [esp + 0x20]
inc dword [esp + 0x24]
inc ecx
add esi, 8
cmp ecx, 8
mov dword [esp + 0x20], ecx
jl 0x100e4d10
xor ecx, ecx
cmp dword [ebp + 0x661c], ecx
jle 0x100e4dc7
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
lea ecx, [ecx]
movzx esi, word [edi + edx*2]
cmp ecx, edx
je 0x100e4d9f
mov edx, dword [esp + 0x18]
mov eax, dword [esp + ecx*4 + 0x50]
sub eax, dword [esp + edx*4 + 0x50]
cdq
idiv dword [esp + 0x24]
mov edx, dword [esp + 0x18]
add esi, eax
cmp esi, 0xffff
jge 0x100e4db3
xor eax, eax
test esi, esi
setl al
dec eax
and eax, esi
jmp 0x100e4db8
mov eax, 0xffff
mov word [ebx], ax
inc ecx
add ebx, 2
cmp ecx, dword [ebp + 0x661c]
jl 0x100e4d80
movzx eax, word [ebp + 0x6602]
mov ecx, dword [esp + 0x14]
add dword [esp + 0x1c], 8
inc ecx
lea edx, [eax - 2]
cmp ecx, edx
mov dword [esp + 0x14], ecx
jl 0x100e4be0
mov esi, dword [esp + 0x10]
cmp esi, 3
jle 0x100e4e20
movzx eax, word [ebp + 0x6602]
mov edx, dword [esp + 0x3c]
lea ecx, [eax*8 - 0x20]
push ecx
lea ecx, [esi - 2]
imul ecx, eax
add edx, 0x10
push edx
mov edx, dword [ebp + 0x6630]
lea eax, [edx + ecx*8 + 0x10]
push eax
call fcn.1010c900
add esp, 0xc
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x44], eax
movzx eax, word [ebp + 0x6600]
inc esi
sub eax, 2
cmp esi, eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x10], esi
jl 0x100e4ba0
movzx eax, word [ebp + 0x6602]
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x3c]
lea ecx, [eax*8 - 0x20]
push ecx
lea ecx, [esi - 2]
imul ecx, eax
add edx, 0x10
push edx
mov edx, dword [ebp + 0x6630]
lea eax, [edx + ecx*8 + 0x10]
push eax
call fcn.1010c900
movzx eax, word [ebp + 0x6602]
mov edx, dword [esp + 0x4c]
dec esi
imul esi, eax
lea ecx, [eax*8 - 0x20]
mov eax, dword [ebp + 0x6630]
push ecx
add edx, 0x10
push edx
lea ecx, [eax + esi*8 + 0x10]
push ecx
call fcn.1010c900
mov edx, dword [esp + 0x64]
push edx
call fcn.10109eb5
mov eax, dword [esp + 0xa0]
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x474
mov dword [esp + 4], eax
jmp fcn.10109eb5