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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x101945dc]
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 0x100f460d
cmp dword [eax + 0x1c], 0
push esi
jne 0x100f3d34
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 [0x10151b24]
call dword [esi + 0x34c]
mov eax, dword [ebp - 0x218]
movss xmm1, dword [0x1015d198]
xor edx, edx
inc edx
mov byte [ebx + 0xbc], 0
push edi
test byte [ebx + 0x50], dl
je 0x100f3dd7
mov ecx, dword [ebx + 0x84]
test ecx, ecx
je 0x100f460b
cmp dword [ecx + 0xc0], 0
je 0x100f460b
lea esi, [ebx + 0x54]
lea edi, [ebp - 0x234]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
test byte [ebx + 0xb8], dl
jne 0x100f3da9
movd xmm0, dword [eax + 0x74]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebx + 0x54]
movss dword [ebp - 0x234], xmm0
movd xmm0, dword [eax + 0x78]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebx + 0x58]
movss dword [ebp - 0x230], xmm0
movss xmm3, dword [ebp - 0x22c]
xorps xmm2, xmm2
comiss xmm2, xmm3
jbe 0x100f3dbe
xorps xmm3, xmm3
jmp 0x100f3dca
comiss xmm3, xmm1
jbe 0x100f434c
movaps xmm3, xmm1
movss dword [ebp - 0x22c], xmm3
jmp 0x100f434c
mov edi, dword [ebx + 0x88]
test edi, edi
je 0x100f4037
mov edi, dword [edi + 0x24]
xor edx, edx
mov dword [ebp - 0x210], edi
mov byte [ebp - 0x214], 0
mov dword [ebp - 0x208], edx
test edi, edi
jle 0x100f3e49
mov eax, dword [ebx + 0x88]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x10]
mov ecx, esi
call dword [0x10151b24]
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.1013d095
mov edx, dword [ebp - 0x208]
inc edx
mov dword [ebp - 0x208], edx
cmp edx, edi
jl 0x100f3e01
xor edx, edx
mov dword [ebp - 0x208], edx
test edi, edi
jle 0x100f3edf
mov eax, dword [ebx + 0x88]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x10]
mov ecx, esi
call dword [0x10151b24]
call esi
xor ecx, ecx
inc ecx
test byte [eax + 0x18], cl
jne 0x100f3eca
test byte [eax + 0x18], 2
je 0x100f3eca
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x100f3eca
movss xmm0, dword [ecx]
lea esi, [ebp - 0x228]
addss xmm0, dword [eax]
mov edi, eax
movss dword [ebp - 0x228], xmm0
movss xmm0, dword [ecx + 4]
addss xmm0, dword [eax + 4]
movss dword [ebp - 0x224], xmm0
movss xmm0, dword [ecx + 8]
addss xmm0, dword [eax + 8]
movss dword [ebp - 0x220], xmm0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x210]
mov edx, dword [ebp - 0x208]
inc edx
mov dword [ebp - 0x208], edx
cmp edx, edi
jl 0x100f3e59
cmp byte [ebp - 0x214], 0
je 0x100f3f35
mov eax, dword [ebx + 0x8c]
test eax, eax
je 0x100f3f35
and dword [ebp - 0x20c], 0
cmp dword [eax + 0x24], 0
jle 0x100f3f35
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 [0x10151b24]
call esi
push eax
push ebx
call fcn.1013d095
mov eax, dword [ebx + 0x8c]
inc edi
cmp edi, dword [eax + 0x24]
jl 0x100f3f05
mov edi, dword [ebp - 0x210]
and dword [ebp - 0x208], 0
xorps xmm0, xmm0
xor edx, edx
movss dword [ebp - 0x21c], xmm0
movss dword [ebp - 0x210], xmm0
movss dword [ebp - 0x214], xmm0
mov dword [ebp - 0x20c], edx
test edi, edi
jle 0x100f403a
mov eax, dword [ebx + 0x88]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x10]
mov ecx, esi
call dword [0x10151b24]
call esi
movss xmm1, dword [ebp - 0x214]
test byte [eax + 0x18], 4
je 0x100f3fd1
movss xmm3, dword [eax + 4]
movss xmm2, dword [eax + 8]
addss xmm1, dword [eax]
addss xmm3, dword [ebp - 0x210]
addss xmm2, dword [ebp - 0x21c]
mov eax, dword [ebp - 0x208]
inc eax
movss dword [ebp - 0x214], xmm1
movss dword [ebp - 0x210], xmm3
movss dword [ebp - 0x21c], xmm2
mov dword [ebp - 0x208], eax
jmp 0x100f3fe7
movss xmm2, dword [ebp - 0x21c]
movss xmm3, dword [ebp - 0x210]
mov eax, dword [ebp - 0x208]
mov edx, dword [ebp - 0x20c]
inc edx
mov dword [ebp - 0x20c], edx
cmp edx, edi
jl 0x100f3f67
test eax, eax
je 0x100f4037
movd xmm0, eax
lea edi, [ebx + 0x54]
cvtdq2ps xmm0, xmm0
lea esi, [ebp - 0x228]
divss xmm1, xmm0
divss xmm3, xmm0
divss xmm2, xmm0
movss dword [ebp - 0x228], xmm1
movss dword [ebp - 0x224], xmm3
movss dword [ebp - 0x220], xmm2
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 0x100f460b
cmp dword [eax + 0xc0], 0
je 0x100f460b
mov eax, dword [ebx + 0x90]
dec eax
sub eax, 1
je 0x100f41c6
sub eax, 1
jne 0x100f42a7
mov ecx, dword [ebx + 0x88]
test ecx, ecx
je 0x100f42a7
xor edx, edx
mov dword [ebp - 0x208], eax
mov dword [ebp - 0x210], edx
cmp dword [ecx + 0x24], eax
jle 0x100f40fa
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 [0x10151b24]
call esi
xor ecx, ecx
inc ecx
test byte [eax + 0x18], cl
je 0x100f40dc
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 0x100f40fa
jmp 0x100f40e2
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 0x100f409b
xorps xmm0, xmm0
movss dword [ebp - 0x20c], xmm0
cmp eax, 2
jne 0x100f4174
movss xmm0, dword [ebp - 0x244]
lea eax, [ebp - 0x228]
subss xmm0, dword [ebp - 0x250]
push eax
movss dword [ebp - 0x228], xmm0
movss xmm0, dword [ebp - 0x240]
subss xmm0, dword [ebp - 0x24c]
movss dword [ebp - 0x224], xmm0
movss xmm0, dword [ebp - 0x23c]
subss xmm0, dword [ebp - 0x248]
movss dword [ebp - 0x220], xmm0
call fcn.1013d095
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.1013d095
movss xmm0, dword [ebp - 0x20c]
test eax, eax
pop ecx
mov ecx, 0x10166ca0
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.1013d095
add esp, 0x18
jmp 0x100f428d
mov ecx, dword [ebx + 0x88]
xor edi, edi
movss dword [ebp - 0x220], xmm0
movss dword [ebp - 0x224], xmm0
movss dword [ebp - 0x228], xmm0
cmp dword [ecx + 0x24], edi
jle 0x100f421d
mov eax, dword [ecx]
push edi
push ecx
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x10151b24]
call esi
xor ecx, ecx
inc ecx
test byte [eax + 0x18], cl
jne 0x100f4212
mov ecx, dword [ebx + 0x88]
inc edi
cmp edi, dword [ecx + 0x24]
jl 0x100f41eb
jmp 0x100f421d
mov esi, eax
lea edi, [ebp - 0x228]
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.1013d095
movss xmm0, dword [ebp - 0x220]
test eax, eax
pop ecx
cvtps2pd xmm0, xmm0
mov ecx, 0x10166ca0
cmovne ecx, eax
lea eax, [ebp - 0x204]
push ecx
sub esp, 0x18
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [ebp - 0x224]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [ebp - 0x228]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push 0x10166ca4
push 0x100
push eax
call fcn.1013d095
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 [0x10151b24]
call esi
lea esi, [ebx + 0x54]
lea edi, [ebp - 0x25c]
movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x234]
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 [0x10151b24]
call dword [esi + 0x24]
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x100f4306
mov esi, dword [eax]
xor ecx, ecx
inc ecx
push ecx
lea ecx, [ebp - 0x234]
push ecx
mov ecx, dword [esi + 0x18]
push eax
call dword [0x10151b24]
call dword [esi + 0x18]
test eax, eax
je 0x100f4306
test al, 0xc
jne 0x100f460b
mov eax, dword [ebp - 0x218]
lea esi, [ebp - 0x25c]
lea edi, [ebp - 0x234]
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 0x100f4339
mov eax, dword [ecx]
lea edx, [ebp - 0x234]
push edx
push ecx
mov esi, dword [eax + 0x3c]
mov ecx, esi
call dword [0x10151b24]
call esi
movss xmm1, dword [0x1015d198]
xorps xmm2, xmm2
movss xmm3, dword [ebp - 0x22c]
mov edx, dword [ebx + 0x28]
test byte [edx + 0x158], 0x20
je 0x100f460b
mov eax, dword [ebx + 0x84]
movss xmm7, dword [ebx + 0x78]
comiss xmm2, xmm7
mov ecx, dword [eax + 0xc0]
movss xmm4, dword [ebx + 0x7c]
movss dword [ebp - 0x208], xmm7
movss dword [ebp - 0x21c], xmm4
jae 0x100f438c
comiss xmm2, xmm4
jb 0x100f43a2
movaps xmm4, xmm1
movaps xmm7, xmm1
movss dword [ebp - 0x21c], xmm4
movss dword [ebp - 0x208], xmm7
movss xmm0, dword [ebx + 0x68]
movaps xmm6, xmm7
ucomiss xmm0, xmm2
movaps xmm1, xmm4
lahf
test ah, 0x44
jnp 0x100f43ef
movss xmm5, dword [ebx + 0x6c]
ucomiss xmm5, xmm2
lahf
test ah, 0x44
jnp 0x100f43ef
movss xmm1, dword [edx + 0x2d4]
movaps xmm6, xmm1
mulss xmm1, xmm5
mulss xmm6, xmm0
movd xmm0, dword [ecx + 0x64]
cvtdq2ps xmm0, xmm0
divss xmm6, xmm0
movd xmm0, dword [ecx + 0x68]
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
test dword [edx + 0x158], 0x200000
movd xmm5, dword [ecx + 0x64]
cvtdq2ps xmm5, xmm5
mulss xmm5, xmm6
movd xmm6, dword [ecx + 0x68]
cvtdq2ps xmm6, xmm6
mulss xmm6, xmm1
je 0x100f4421
movaps xmm0, xmm5
addss xmm5, xmm0
movaps xmm0, xmm6
addss xmm6, xmm0
movss xmm0, dword [ebx + 0x60]
lea ecx, [ebx + 0xc9]
mulss xmm0, dword [edx + 0x2d4]
mov edi, ecx
lea edx, [ebx + 0xbd]
movss xmm1, dword [ebp - 0x234]
mov esi, edx
movss xmm7, dword [ebp - 0x230]
mulss xmm0, dword [ebx + 0x68]
mov dword [ebp - 0x210], edx
subss xmm1, xmm0
movss dword [edx], xmm1
mov eax, dword [ebx + 0x28]
movss xmm0, dword [ebx + 0x64]
mulss xmm0, dword [eax + 0x2d4]
lea eax, [ebx + 0xd5]
mulss xmm0, dword [ebx + 0x6c]
movss dword [ebx + 0xc5], xmm3
subss xmm7, xmm0
movaps xmm0, xmm7
movss dword [ebp - 0x20c], xmm7
movss dword [ebx + 0xc1], xmm0
movsd dword es:[edi], dword [esi]
movss xmm7, dword [ebp - 0x208]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movss xmm0, dword [ecx]
mov edi, eax
mov esi, edx
addss xmm0, xmm5
movsd dword es:[edi], dword [esi]
movss dword [ecx], xmm0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
addss xmm5, dword [eax]
movss xmm3, dword [ebx + 0xd9]
lea edi, [ebx + 0xe1]
mov esi, edx
addss xmm3, xmm6
movss dword [eax], xmm5
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]
movss xmm0, dword [ebx + 0xe5]
addss xmm0, xmm6
movss dword [ebx + 0xe5], xmm0
movd xmm0, dword [eax + 0x74]
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
jae 0x100f460b
movd xmm0, dword [eax + 0x78]
movss xmm1, dword [ebp - 0x20c]
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
jae 0x100f460b
comiss xmm2, xmm5
ja 0x100f460b
comiss xmm2, xmm3
ja 0x100f460b
push 0xc
lea edi, [ebx + 0x10d]
mov esi, edx
pop ecx
rep movsd dword es:[edi], dword [esi]
cmp dword [eax + 0x1c], 0
je 0x100f459f
mov eax, dword [ebx + 0x28]
test dword [eax + 0x158], 0x100
je 0x100f459f
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 [0x10151b24]
call esi
mov edx, dword [ebp - 0x210]
add edx, 0xc
mov dword [ebp - 0x210], edx
sub edi, 1
jne 0x100f4561
movss xmm4, dword [ebp - 0x21c]
movss xmm7, dword [ebp - 0x208]
mov ebx, dword [ebp - 0x238]
mov eax, dword [ebx + 0x70]
mov dword [ebx + 0xed], eax
mov eax, dword [ebx + 0x74]
mov dword [ebx + 0xf1], eax
movss xmm0, dword [ebx + 0x70]
addss xmm0, xmm7
movss dword [ebx + 0xf5], xmm0
mov eax, dword [ebx + 0x74]
mov dword [ebx + 0xf9], eax
movss xmm0, dword [ebx + 0x70]
addss xmm0, xmm7
movss dword [ebx + 0xfd], xmm0
movaps xmm0, xmm4
addss xmm0, dword [ebx + 0x74]
movss dword [ebx + 0x101], xmm0
mov eax, dword [ebx + 0x70]
mov dword [ebx + 0x105], eax
xor eax, eax
addss xmm4, dword [ebx + 0x74]
inc eax
movss dword [ebx + 0x109], xmm4
mov byte [ebx + 0xbc], al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10143700
leave
ret 8