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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x101975e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x218], eax
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x238], ebx
test eax, eax
je 0x100f8ace
cmp dword [eax + 0x1c], 0
push esi
jne 0x100f8264
mov ecx, dword [ebx + 0x28]
push 0
mov esi, dword [ecx]
call sym.rt3d.dll_public_virtual:_void____stdcall_e3_STREAM::GetHANDLE_void_
mov ecx, dword [esi + 0x34c]
push eax
mov eax, dword [ebp - 0x218]
push eax
push dword [ebx + 0x28]
call dword [0x10155aa8]
call dword [esi + 0x34c]
mov eax, dword [ebp - 0x218]
movss xmm4, dword [0x10160bd8]
xor edx, edx
inc edx
mov byte [ebx + 0xbc], 0
push edi
test byte [ebx + 0x50], dl
je 0x100f8307
mov ecx, dword [ebx + 0x84]
test ecx, ecx
je 0x100f8acc
cmp dword [ecx + 0xc0], 0
je 0x100f8acc
lea esi, [ebx + 0x54]
lea edi, [ebp - 0x230]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
test byte [ebx + 0xb8], dl
jne 0x100f82d9
movd xmm0, dword [eax + 0x74]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebx + 0x54]
movss dword [ebp - 0x230], xmm0
movd xmm0, dword [eax + 0x78]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebx + 0x58]
movss dword [ebp - 0x22c], xmm0
movss xmm3, dword [ebp - 0x228]
xorps xmm2, xmm2
comiss xmm2, xmm3
jbe 0x100f82ee
xorps xmm3, xmm3
jmp 0x100f82fa
comiss xmm3, xmm4
jbe 0x100f884a
movaps xmm3, xmm4
movss dword [ebp - 0x228], xmm3
jmp 0x100f884a
mov edi, dword [ebx + 0x88]
test edi, edi
je 0x100f8535
mov edi, dword [edi + 0x24]
xor al, al
xor edx, edx
mov dword [ebp - 0x210], edi
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x208], edx
test edi, edi
jle 0x100f8443
mov eax, dword [ebx + 0x88]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x10]
mov ecx, esi
call dword [0x10155aa8]
call esi
mov ecx, dword [ebp - 0x214]
push 1
pop edx
test byte [eax + 0x18], 8
movzx ecx, cl
push eax
cmovne ecx, edx
push ebx
mov dword [ebp - 0x214], ecx
call fcn.100fc554
mov edx, dword [ebp - 0x208]
inc edx
mov dword [ebp - 0x208], edx
cmp edx, edi
jl 0x100f8336
xor edx, edx
mov dword [ebp - 0x208], edx
mov eax, dword [ebx + 0x88]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x10]
mov ecx, esi
call dword [0x10155aa8]
call esi
xor ecx, ecx
inc ecx
test byte [eax + 0x18], cl
jne 0x100f83dc
test byte [eax + 0x18], 2
je 0x100f83dc
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x100f83dc
movss xmm1, dword [ecx + 4]
movss xmm2, dword [ecx + 8]
movss xmm0, dword [ecx]
addss xmm0, dword [eax]
addss xmm1, dword [eax + 4]
addss xmm2, dword [eax + 8]
movss dword [eax], xmm0
movss dword [eax + 4], xmm1
movss dword [eax + 8], xmm2
mov edx, dword [ebp - 0x208]
inc edx
mov dword [ebp - 0x208], edx
cmp edx, edi
jl 0x100f8386
cmp byte [ebp - 0x214], 0
je 0x100f8443
mov eax, dword [ebx + 0x8c]
test eax, eax
je 0x100f8443
and dword [ebp - 0x20c], 0
cmp dword [eax + 0x24], 0
jle 0x100f8443
mov edi, dword [ebp - 0x20c]
mov eax, dword [ebx + 0x8c]
push edi
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x10]
mov ecx, esi
call dword [0x10155aa8]
call esi
push eax
push ebx
call fcn.100fc554
mov eax, dword [ebx + 0x8c]
inc edi
cmp edi, dword [eax + 0x24]
jl 0x100f8413
mov edi, dword [ebp - 0x210]
and dword [ebp - 0x208], 0
xorps xmm0, xmm0
xor edx, edx
movss dword [ebp - 0x214], xmm0
movss dword [ebp - 0x234], xmm0
movss dword [ebp - 0x210], xmm0
mov dword [ebp - 0x20c], edx
test edi, edi
jle 0x100f8538
mov eax, dword [ebx + 0x88]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x10]
mov ecx, esi
call dword [0x10155aa8]
call esi
movss xmm3, dword [ebp - 0x210]
movss xmm2, dword [ebp - 0x234]
movss xmm1, dword [ebp - 0x214]
test byte [eax + 0x18], 4
je 0x100f84df
addss xmm3, dword [eax]
addss xmm2, dword [eax + 4]
addss xmm1, dword [eax + 8]
mov eax, dword [ebp - 0x208]
inc eax
movss dword [ebp - 0x210], xmm3
movss dword [ebp - 0x234], xmm2
movss dword [ebp - 0x214], xmm1
mov dword [ebp - 0x208], eax
jmp 0x100f84e5
mov eax, dword [ebp - 0x208]
mov edx, dword [ebp - 0x20c]
inc edx
mov dword [ebp - 0x20c], edx
cmp edx, edi
jl 0x100f8475
test eax, eax
je 0x100f8535
movd xmm0, eax
lea edi, [ebx + 0x54]
cvtdq2ps xmm0, xmm0
lea esi, [ebp - 0x224]
divss xmm3, xmm0
divss xmm2, xmm0
divss xmm1, xmm0
movss dword [ebp - 0x224], xmm3
movss dword [ebp - 0x220], xmm2
movss dword [ebp - 0x21c], xmm1
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xorps xmm0, xmm0
mov eax, dword [ebx + 0x84]
test eax, eax
je 0x100f8acc
cmp dword [eax + 0xc0], 0
je 0x100f8acc
mov eax, dword [ebx + 0x90]
dec eax
sub eax, 1
je 0x100f86c4
sub eax, 1
jne 0x100f87a5
mov ecx, dword [ebx + 0x88]
test ecx, ecx
je 0x100f87a5
xor edx, edx
mov dword [ebp - 0x208], eax
mov dword [ebp - 0x210], edx
cmp dword [ecx + 0x24], eax
jle 0x100f85f8
lea edi, [ebp - 0x250]
mov dword [ebp - 0x20c], edi
mov eax, dword [ecx]
push edx
push ecx
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x10155aa8]
call esi
xor ecx, ecx
inc ecx
test byte [eax + 0x18], cl
je 0x100f85da
mov esi, eax
mov eax, dword [ebp - 0x208]
inc eax
mov dword [ebp - 0x208], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x20c]
add edi, 0xc
mov dword [ebp - 0x20c], edi
cmp eax, 2
je 0x100f85f8
jmp 0x100f85e0
mov eax, dword [ebp - 0x208]
mov edx, dword [ebp - 0x210]
mov ecx, dword [ebx + 0x88]
inc edx
mov dword [ebp - 0x210], edx
cmp edx, dword [ecx + 0x24]
jl 0x100f8599
xorps xmm0, xmm0
movss dword [ebp - 0x20c], xmm0
cmp eax, 2
jne 0x100f8672
movss xmm0, dword [ebp - 0x244]
lea eax, [ebp - 0x224]
subss xmm0, dword [ebp - 0x250]
push eax
movss dword [ebp - 0x224], xmm0
movss xmm0, dword [ebp - 0x240]
subss xmm0, dword [ebp - 0x24c]
movss dword [ebp - 0x220], xmm0
movss xmm0, dword [ebp - 0x23c]
subss xmm0, dword [ebp - 0x248]
movss dword [ebp - 0x21c], xmm0
call fcn.100fc554
fstp dword [ebp - 0x20c]
movss xmm0, dword [ebp - 0x20c]
movss dword [ebp - 0x20c], xmm0
mov eax, dword [ebx + 0x28]
push ecx
movss xmm0, dword [eax + 0x294]
movss dword [esp], xmm0
call fcn.100fc554
movss xmm0, dword [ebp - 0x20c]
test eax, eax
pop ecx
mov ecx, 0x1016a7d0
cmovne ecx, eax
lea eax, [ebp - 0x204]
push ecx
cvtps2pd xmm0, xmm0
push ecx
push ecx
movsd qword [esp], xmm0
push str.Distance__g___s
push 0x100
push eax
call fcn.100fc554
add esp, 0x18
jmp 0x100f878b
mov ecx, dword [ebx + 0x88]
xor edi, edi
movss dword [ebp - 0x21c], xmm0
movss dword [ebp - 0x220], xmm0
movss dword [ebp - 0x224], xmm0
cmp dword [ecx + 0x24], edi
jle 0x100f871b
mov eax, dword [ecx]
push edi
push ecx
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x10155aa8]
call esi
xor ecx, ecx
inc ecx
test byte [eax + 0x18], cl
jne 0x100f8710
mov ecx, dword [ebx + 0x88]
inc edi
cmp edi, dword [ecx + 0x24]
jl 0x100f86e9
jmp 0x100f871b
mov esi, eax
lea edi, [ebp - 0x224]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x28]
push ecx
movss xmm0, dword [eax + 0x294]
movss dword [esp], xmm0
call fcn.100fc554
movss xmm0, dword [ebp - 0x21c]
test eax, eax
pop ecx
cvtps2pd xmm0, xmm0
mov ecx, 0x1016a7d0
cmovne ecx, eax
lea eax, [ebp - 0x204]
push ecx
sub esp, 0x18
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [ebp - 0x220]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [ebp - 0x224]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push 0x1016a7d4
push 0x100
push eax
call fcn.100fc554
add esp, 0x28
mov eax, dword [ebx]
lea ecx, [ebp - 0x204]
push ecx
push ebx
mov esi, dword [eax + 0xe0]
mov ecx, esi
call dword [0x10155aa8]
call esi
lea esi, [ebx + 0x54]
lea edi, [ebp - 0x25c]
movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x230]
push ecx
lea ecx, [ebp - 0x25c]
push ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x218]
mov eax, dword [edi + 0x1c]
push eax
mov esi, dword [eax]
mov ecx, dword [esi + 0x24]
call dword [0x10155aa8]
call dword [esi + 0x24]
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x100f8804
mov esi, dword [eax]
xor ecx, ecx
inc ecx
push ecx
lea ecx, [ebp - 0x230]
push ecx
mov ecx, dword [esi + 0x18]
push eax
call dword [0x10155aa8]
call dword [esi + 0x18]
test eax, eax
je 0x100f8804
test al, 0xc
jne 0x100f8acc
mov eax, dword [ebp - 0x218]
lea esi, [ebp - 0x25c]
lea edi, [ebp - 0x230]
movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
test ecx, ecx
je 0x100f8837
mov eax, dword [ecx]
lea edx, [ebp - 0x230]
push edx
push ecx
mov esi, dword [eax + 0x3c]
mov ecx, esi
call dword [0x10155aa8]
call esi
movss xmm4, dword [0x10160bd8]
xorps xmm2, xmm2
movss xmm3, dword [ebp - 0x228]
mov esi, dword [ebx + 0x28]
mov edx, dword [esi + 0x158]
test dl, 0x20
je 0x100f8acc
mov eax, dword [ebx + 0x84]
movss xmm1, dword [ebx + 0x78]
comiss xmm2, xmm1
mov ecx, dword [eax + 0xc0]
movss xmm0, dword [ebx + 0x7c]
movss dword [ebp - 0x208], xmm1
movss dword [ebp - 0x210], xmm0
jae 0x100f888c
comiss xmm2, xmm0
jb 0x100f88a2
movaps xmm0, xmm4
movss dword [ebp - 0x208], xmm4
movss dword [ebp - 0x210], xmm0
movaps xmm1, xmm4
movss xmm6, dword [ebx + 0x68]
movaps xmm5, xmm1
ucomiss xmm6, xmm2
movaps xmm1, xmm0
lahf
test ah, 0x44
jnp 0x100f88ef
movss xmm4, dword [ebx + 0x6c]
ucomiss xmm4, xmm2
lahf
test ah, 0x44
jnp 0x100f88ef
movss xmm1, dword [esi + 0x2d4]
movd xmm0, dword [ecx + 0x64]
movaps xmm5, xmm1
cvtdq2ps xmm0, xmm0
mulss xmm5, xmm6
mulss xmm1, xmm4
divss xmm5, xmm0
movd xmm0, dword [ecx + 0x68]
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movd xmm4, dword [ecx + 0x64]
cvtdq2ps xmm4, xmm4
mulss xmm4, xmm5
movd xmm5, dword [ecx + 0x68]
cvtdq2ps xmm5, xmm5
mulss xmm5, xmm1
test edx, 0x200000
je 0x100f891d
movaps xmm0, xmm4
addss xmm4, xmm0
movaps xmm0, xmm5
addss xmm5, xmm0
movss xmm0, dword [ebx + 0x60]
lea edx, [ebx + 0xbd]
mulss xmm0, dword [esi + 0x2d4]
lea ecx, [ebx + 0xc9]
lea eax, [ebx + 0xd5]
mov edi, ecx
movss xmm1, dword [ebp - 0x230]
mov dword [ebp - 0x20c], edx
mulss xmm0, xmm6
movss xmm6, dword [ebp - 0x22c]
subss xmm1, xmm0
movss dword [edx], xmm1
movss xmm0, dword [ebx + 0x64]
mulss xmm0, dword [esi + 0x2d4]
mov esi, edx
movss dword [ebx + 0xc5], xmm3
movaps xmm3, xmm5
mulss xmm0, dword [ebx + 0x6c]
subss xmm6, xmm0
movaps xmm0, xmm4
movss dword [ebx + 0xc1], xmm6
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, eax
mov esi, edx
addss xmm0, dword [ecx]
movsd dword es:[edi], dword [esi]
movss dword [ecx], xmm0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
addss xmm4, dword [eax]
addss xmm3, dword [ebx + 0xd9]
mov esi, edx
lea edi, [ebx + 0xe1]
movss dword [eax], xmm4
mov eax, dword [ebp - 0x218]
movsd dword es:[edi], dword [esi]
movss dword [ebx + 0xd9], xmm3
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
addss xmm5, dword [ebx + 0xe5]
movss dword [ebx + 0xe5], xmm5
movd xmm0, dword [eax + 0x74]
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
jae 0x100f8acc
movd xmm0, dword [eax + 0x78]
cvtdq2ps xmm0, xmm0
comiss xmm6, xmm0
jae 0x100f8acc
comiss xmm2, xmm4
ja 0x100f8acc
comiss xmm2, xmm3
ja 0x100f8acc
push 0xc
lea edi, [ebx + 0x10d]
mov esi, edx
pop ecx
rep movsd dword es:[edi], dword [esi]
cmp dword [eax + 0x1c], 0
je 0x100f8a66
mov eax, dword [ebx + 0x28]
test dword [eax + 0x158], 0x100
je 0x100f8a66
mov ebx, dword [ebp - 0x218]
push 4
pop edi
mov eax, dword [ebx + 0x1c]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x34]
mov ecx, esi
call dword [0x10155aa8]
call esi
mov edx, dword [ebp - 0x20c]
add edx, 0xc
mov dword [ebp - 0x20c], edx
sub edi, 1
jne 0x100f8a38
mov ebx, dword [ebp - 0x238]
movss xmm2, dword [ebx + 0x70]
xor eax, eax
movss xmm1, dword [ebx + 0x74]
movaps xmm0, xmm2
addss xmm0, dword [ebp - 0x208]
movss dword [ebx + 0xf1], xmm1
inc eax
movss dword [ebx + 0xf9], xmm1
addss xmm1, dword [ebp - 0x210]
movss dword [ebx + 0xed], xmm2
movss dword [ebx + 0xf5], xmm0
movss dword [ebx + 0xfd], xmm0
movss dword [ebx + 0x105], xmm2
movss dword [ebx + 0x101], xmm1
movss dword [ebx + 0x109], xmm1
mov byte [ebx + 0xbc], al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10147db0
leave
ret 8