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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x10170640]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x220], eax
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x240], ebx
test eax, eax
je 0x100de566
cmp dword [eax + 0x1c], 0
push esi
jne 0x100ddd21
mov ecx, dword [ebx + 0x28]
push 0
mov esi, dword [ecx]
call sym.rt3d.dll_public_virtual:_void____stdcall_e3_STREAM::GetHANDLE_void_
push eax
mov eax, dword [ebp - 0x220]
push eax
push dword [ebx + 0x28]
call dword [esi + 0x34c]
mov eax, dword [ebp - 0x220]
xor edx, edx
mov byte [ebx + 0xbc], 0
inc edx
push edi
test byte [ebx + 0x50], dl
je 0x100dddc4
mov ecx, dword [ebx + 0x84]
test ecx, ecx
je 0x100de564
cmp dword [ecx + 0xc0], 0
je 0x100de564
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 0x100ddd8e
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
movss xmm0, dword [0x10139268]
jbe 0x100dddab
movaps xmm3, xmm2
jmp 0x100dddb7
comiss xmm3, xmm0
jbe 0x100de2a5
movaps xmm3, xmm0
movss dword [ebp - 0x228], xmm3
jmp 0x100de2a5
mov esi, dword [ebx + 0x88]
test esi, esi
je 0x100ddfc4
mov esi, dword [esi + 0x24]
xor edi, edi
mov dword [ebp - 0x214], esi
mov byte [ebp - 0x21c], 0
test esi, esi
jle 0x100dde1a
mov eax, dword [ebx + 0x88]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov ecx, dword [ebp - 0x21c]
push 1
pop edx
test byte [eax + 0x18], 8
movzx ecx, cl
push eax
cmovne ecx, edx
push ebx
mov dword [ebp - 0x21c], ecx
call sym.rt3d.dll_protected:_void___stdcall_TSPRITE::UpdatePoint_struct_E3MPOINT__
inc edi
cmp edi, esi
jl 0x100ddde8
xor edx, edx
mov dword [ebp - 0x208], edx
test esi, esi
jle 0x100dde9e
mov eax, dword [ebx + 0x88]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
xor ecx, ecx
inc ecx
test byte [eax + 0x18], cl
jne 0x100dde8d
test byte [eax + 0x18], 2
je 0x100dde8d
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x100dde8d
movss xmm0, dword [ecx]
lea esi, [ebp - 0x23c]
addss xmm0, dword [eax]
mov edi, eax
movss dword [ebp - 0x23c], xmm0
movss xmm0, dword [ecx + 4]
addss xmm0, dword [eax + 4]
movss dword [ebp - 0x238], xmm0
movss xmm0, dword [ecx + 8]
addss xmm0, dword [eax + 8]
movss dword [ebp - 0x234], xmm0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x214]
mov edx, dword [ebp - 0x208]
inc edx
mov dword [ebp - 0x208], edx
cmp edx, esi
jl 0x100dde26
cmp byte [ebp - 0x21c], 0
je 0x100dded8
mov eax, dword [ebx + 0x8c]
test eax, eax
je 0x100dded8
xor edi, edi
cmp dword [eax + 0x24], edi
jle 0x100dded8
mov eax, dword [ebx + 0x8c]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
push eax
push ebx
call sym.rt3d.dll_protected:_void___stdcall_TSPRITE::UpdateLine_struct_E3MLINE__
mov eax, dword [ebx + 0x8c]
inc edi
cmp edi, dword [eax + 0x24]
jl 0x100ddeb8
and dword [ebp - 0x208], 0
xorps xmm0, xmm0
xor edi, edi
movss dword [ebp - 0x224], xmm0
movss dword [ebp - 0x214], xmm0
movss dword [ebp - 0x21c], xmm0
test esi, esi
jle 0x100ddfc7
mov eax, dword [ebx + 0x88]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
movss xmm1, dword [ebp - 0x21c]
test byte [eax + 0x18], 4
je 0x100ddf6a
movss xmm0, dword [eax + 4]
addss xmm0, dword [ebp - 0x214]
addss xmm1, dword [eax]
movaps xmm3, xmm0
movss xmm0, dword [eax + 8]
addss xmm0, dword [ebp - 0x224]
mov eax, dword [ebp - 0x208]
inc eax
movss dword [ebp - 0x21c], xmm1
movss dword [ebp - 0x214], xmm3
mov dword [ebp - 0x208], eax
movaps xmm2, xmm0
movss dword [ebp - 0x224], xmm2
jmp 0x100ddf80
movss xmm2, dword [ebp - 0x224]
movss xmm3, dword [ebp - 0x214]
mov eax, dword [ebp - 0x208]
inc edi
cmp edi, esi
jl 0x100ddf04
test eax, eax
je 0x100ddfc4
movd xmm0, eax
lea edi, [ebx + 0x54]
cvtdq2ps xmm0, xmm0
lea esi, [ebp - 0x23c]
divss xmm1, xmm0
divss xmm3, xmm0
divss xmm2, xmm0
movss dword [ebp - 0x23c], xmm1
movss dword [ebp - 0x238], xmm3
movss dword [ebp - 0x234], 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 0x100de564
cmp dword [eax + 0xc0], 0
je 0x100de564
mov eax, dword [ebx + 0x90]
dec eax
dec eax
je 0x100de149
dec eax
jne 0x100de21c
mov ecx, dword [ebx + 0x88]
test ecx, ecx
je 0x100de21c
xor edx, edx
mov dword [ebp - 0x208], eax
mov dword [ebp - 0x224], edx
cmp dword [ecx + 0x24], eax
jle 0x100de07d
lea edi, [ebp - 0x258]
mov dword [ebp - 0x214], edi
mov eax, dword [ebx + 0x88]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
xor ecx, ecx
inc ecx
test byte [eax + 0x18], cl
je 0x100de05f
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 - 0x214]
add edi, 0xc
mov dword [ebp - 0x214], edi
cmp eax, 2
je 0x100de07d
mov edx, dword [ebp - 0x224]
mov eax, dword [ebx + 0x88]
inc edx
mov dword [ebp - 0x224], edx
cmp edx, dword [eax + 0x24]
jl 0x100de024
mov eax, dword [ebp - 0x208]
xorps xmm0, xmm0
movss dword [ebp - 0x208], xmm0
cmp eax, 2
jne 0x100de0f7
movss xmm0, dword [ebp - 0x24c]
lea eax, [ebp - 0x23c]
subss xmm0, dword [ebp - 0x258]
push eax
movss dword [ebp - 0x23c], xmm0
movss xmm0, dword [ebp - 0x248]
subss xmm0, dword [ebp - 0x254]
movss dword [ebp - 0x238], xmm0
movss xmm0, dword [ebp - 0x244]
subss xmm0, dword [ebp - 0x250]
movss dword [ebp - 0x234], xmm0
call sym.rt3d.dll_public:_float___stdcall_POINT3D::Length_void_const
fstp dword [ebp - 0x208]
movss xmm0, dword [ebp - 0x208]
movss dword [ebp - 0x208], xmm0
mov eax, dword [ebx + 0x28]
push ecx
movss xmm0, dword [eax + 0x294]
movss dword [esp], xmm0
call fcn.100ad178
movss xmm0, dword [ebp - 0x208]
test eax, eax
pop ecx
mov ecx, 0x10143278
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 sym.rt3d.dll_int___cdecl_e3sprintf_unsigned_short_int___unsigned_int__unsigned_short_int_const__
add esp, 0x18
jmp 0x100de20c
mov eax, dword [ebx + 0x88]
xor esi, esi
movss dword [ebp - 0x208], xmm0
movss dword [ebp - 0x20c], xmm0
movss dword [ebp - 0x210], xmm0
cmp dword [eax + 0x24], esi
jle 0x100de19c
mov eax, dword [ebx + 0x88]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
xor ecx, ecx
inc ecx
test byte [eax + 0x18], cl
jne 0x100de191
mov eax, dword [ebx + 0x88]
inc esi
cmp esi, dword [eax + 0x24]
jl 0x100de16e
jmp 0x100de19c
mov esi, eax
lea edi, [ebp - 0x210]
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.100ad178
movss xmm0, dword [ebp - 0x208]
test eax, eax
pop ecx
cvtps2pd xmm0, xmm0
mov ecx, 0x10143278
cmovne ecx, eax
lea eax, [ebp - 0x204]
push ecx
sub esp, 0x18
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [ebp - 0x20c]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [ebp - 0x210]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push 0x1014327c
push 0x100
push eax
call sym.rt3d.dll_int___cdecl_e3sprintf_unsigned_short_int___unsigned_int__unsigned_short_int_const__
add esp, 0x28
mov eax, dword [ebx]
lea ecx, [ebp - 0x204]
push ecx
push ebx
call dword [eax + 0xe0]
lea esi, [ebx + 0x54]
lea edi, [ebp - 0x264]
movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x230]
push edx
lea edx, [ebp - 0x264]
push edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x220]
mov eax, dword [esi + 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x100de269
mov eax, dword [ecx]
xor edx, edx
inc edx
push edx
lea edx, [ebp - 0x230]
push edx
push ecx
call dword [eax + 0x18]
test eax, eax
je 0x100de269
test al, 0xc
jne 0x100de564
mov eax, dword [ebp - 0x220]
lea esi, [ebp - 0x264]
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 0x100de292
mov eax, dword [ecx]
lea edx, [ebp - 0x230]
push edx
push ecx
call dword [eax + 0x3c]
movss xmm0, dword [0x10139268]
xorps xmm2, xmm2
movss xmm3, dword [ebp - 0x228]
mov edi, dword [ebx + 0x28]
test byte [edi + 0x158], 0x20
je 0x100de564
mov eax, dword [ebx + 0x84]
mov edx, dword [ebx + 0x78]
mov esi, dword [ebx + 0x7c]
mov dword [ebp - 0x218], edx
comiss xmm2, dword [ebp - 0x218]
mov ecx, dword [eax + 0xc0]
mov dword [ebp - 0x214], esi
jae 0x100de2e5
comiss xmm2, dword [ebp - 0x214]
jb 0x100de301
movss dword [ebp - 0x214], xmm0
mov esi, dword [ebp - 0x214]
movss dword [ebp - 0x218], xmm0
mov edx, dword [ebp - 0x218]
movss xmm6, dword [ebx + 0x68]
ucomiss xmm6, xmm2
mov dword [ebp - 0x20c], edx
mov dword [ebp - 0x208], esi
lahf
test ah, 0x44
jnp 0x100de356
movss xmm4, dword [ebx + 0x6c]
ucomiss xmm4, xmm2
lahf
test ah, 0x44
jnp 0x100de356
movss xmm1, dword [edi + 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
jmp 0x100de366
movss xmm1, dword [ebp - 0x208]
movss xmm5, dword [ebp - 0x20c]
test dword [edi + 0x158], 0x200000
movd xmm4, dword [ecx + 0x64]
cvtdq2ps xmm4, xmm4
mulss xmm4, xmm5
movd xmm5, dword [ecx + 0x68]
cvtdq2ps xmm5, xmm5
mulss xmm5, xmm1
je 0x100de39a
mulss xmm4, dword [0x1013b258]
mulss xmm5, dword [0x1013b258]
movss xmm0, dword [ebx + 0x60]
lea edx, [ebx + 0xbd]
mulss xmm0, dword [edi + 0x2d4]
lea ecx, [ebx + 0xc9]
mov esi, edx
mov edi, ecx
movss xmm1, dword [ebp - 0x230]
mov dword [ebp - 0x208], edx
mulss xmm0, xmm6
movss xmm6, dword [ebp - 0x22c]
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 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]
addss xmm0, dword [ecx]
mov edi, eax
mov esi, edx
movsd dword es:[edi], dword [esi]
movss dword [ecx], xmm0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movss xmm3, dword [eax]
lea edi, [ebx + 0xe1]
mov esi, edx
addss xmm3, xmm4
movss xmm4, dword [ebx + 0xd9]
addss xmm4, xmm5
movsd dword es:[edi], dword [esi]
movss dword [eax], xmm3
mov eax, dword [ebp - 0x220]
movss dword [ebx + 0xd9], xmm4
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movss xmm0, dword [ebx + 0xe5]
addss xmm0, xmm5
movss dword [ebx + 0xe5], xmm0
movd xmm0, dword [eax + 0x74]
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
jae 0x100de564
movd xmm0, dword [eax + 0x78]
cvtdq2ps xmm0, xmm0
comiss xmm6, xmm0
jae 0x100de564
comiss xmm2, xmm3
ja 0x100de564
comiss xmm2, xmm4
ja 0x100de564
push 0xc
lea edi, [ebx + 0x10d]
mov esi, edx
pop ecx
rep movsd dword es:[edi], dword [esi]
cmp dword [eax + 0x1c], 0
je 0x100de4e3
mov eax, dword [ebx + 0x28]
test dword [eax + 0x158], 0x100
je 0x100de4e3
mov ebx, dword [ebp - 0x220]
push 4
pop esi
mov eax, dword [ebx + 0x1c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov edx, dword [ebp - 0x208]
add edx, 0xc
mov dword [ebp - 0x208], edx
dec esi
jne 0x100de4c1
mov ebx, dword [ebp - 0x240]
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, dword [ebp - 0x218]
movss dword [ebx + 0xf5], xmm0
mov eax, dword [ebx + 0x74]
mov dword [ebx + 0xf9], eax
movss xmm0, dword [ebx + 0x70]
addss xmm0, dword [ebp - 0x218]
movss dword [ebx + 0xfd], xmm0
movss xmm0, dword [ebx + 0x74]
addss xmm0, dword [ebp - 0x214]
movss dword [ebx + 0x101], xmm0
mov eax, dword [ebx + 0x70]
mov dword [ebx + 0x105], eax
xor eax, eax
movss xmm0, dword [ebx + 0x74]
inc eax
addss xmm0, dword [ebp - 0x214]
movss dword [ebx + 0x109], xmm0
mov byte [ebx + 0xbc], al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10123bfc
mov esp, ebp
pop ebp
ret 8