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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x10170640]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov dword [ebp - 0x98], ecx
mov ecx, dword [ebp + 0xc]
xor edx, edx
push esi
push edi
mov edi, dword [ebp + 8]
mov al, bl
inc edx
mov dword [ebp - 0xb0], edi
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0xa4], eax
test ecx, ecx
je 0x100d5883
test byte [ecx], 2
movzx eax, al
cmove eax, edx
mov dword [ebp - 0xa4], eax
mov eax, dword [0x107ad68c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov ecx, dword [ebp - 0x98]
mov esi, eax
mov dword [ebp - 0xbc], esi
mov edx, ebx
mov dword [ebp - 0x88], ebx
mov eax, dword [ecx + 0xd4]
cmp dword [eax + 0x24], ebx
jle 0x100d59cc
mov eax, dword [ecx + 0xd4]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov edi, eax
test dword [edi + 0x44], 0x40004
jne 0x100d59a4
cmp byte [ebp - 0xa4], bl
je 0x100d58e7
mov al, byte [edi + 0x44]
not al
test al, 1
je 0x100d59a4
mov ecx, dword [edi + 0x70]
test ecx, ecx
je 0x100d59a4
mov eax, dword [ecx]
push 7
push ecx
call dword [eax + 0x44]
test al, al
je 0x100d592a
push 0x88
call sub.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov ecx, eax
test ecx, ecx
je 0x100d591d
mov dword [ecx + 0x80], ebx
mov dword [ecx + 0x84], ebx
jmp 0x100d591f
mov ecx, ebx
mov eax, dword [edi + 0x70]
mov dword [ecx + 0x84], eax
jmp 0x100d599d
mov eax, dword [edi + 0x70]
push 0xb
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
test al, al
je 0x100d59a4
mov eax, dword [edi + 0x70]
push ebx
push 0x11
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc4]
mov dword [ebp - 0x9c], eax
test eax, eax
je 0x100d59a4
push 0x88
call sub.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov ecx, eax
mov dword [ebp - 0xa0], ecx
test ecx, ecx
je 0x100d5977
mov dword [ecx + 0x80], ebx
mov dword [ecx + 0x84], ebx
jmp 0x100d597f
mov ecx, ebx
mov dword [ebp - 0xa0], ebx
mov eax, dword [edi]
push 1
push ecx
push edi
call dword [eax + 0x9c]
mov ecx, dword [ebp - 0xa0]
mov eax, dword [ebp - 0x9c]
mov dword [ecx + 0x80], eax
mov eax, dword [esi]
push ecx
push esi
call dword [eax + 0x30]
mov ecx, dword [ebp - 0x98]
mov edx, dword [ebp - 0x88]
inc edx
mov dword [ebp - 0x88], edx
mov eax, dword [ecx + 0xd4]
cmp edx, dword [eax + 0x24]
jl 0x100d58b6
mov edi, dword [ebp - 0xb0]
cmp dword [esi + 0x24], ebx
je 0x100d600b
movss xmm1, dword [0x10137aa0]
mov eax, dword [ebp - 0x8c]
movss dword [ebp - 0xa4], xmm1
test eax, eax
je 0x100d59fc
movss xmm0, dword [eax + 8]
movss dword [ebp - 0xa4], xmm0
mov dword [ebp - 0xa0], ebx
mov eax, dword [ecx]
push ebx
push edi
push ecx
call dword [eax + 0x34c]
mov ecx, ebx
movss xmm6, dword [0x1014297c]
movss xmm4, xmm6
movss xmm3, dword [0x10142980]
movss xmm5, xmm3
movss dword [ebp - 0x88], xmm6
movss dword [ebp - 0xa8], xmm3
movss dword [ebp - 0xac], xmm4
movss dword [ebp - 0x90], xmm5
mov dword [ebp - 0x9c], ebx
cmp dword [esi + 0x24], ebx
jle 0x100d5c6a
mov eax, dword [esi]
push ecx
push esi
call dword [eax + 0x10]
mov edx, eax
mov dword [ebp - 0x94], edx
mov eax, dword [edx + 0x84]
mov dword [ebp - 0x8c], eax
test eax, eax
je 0x100d5b67
push edi
push eax
call sym.rt3d.dll_public:_void___stdcall_TSPRITE::Update_class_e3_VIEWPORT__
mov eax, dword [ebp - 0x8c]
cmp byte [eax + 0xbc], 0
je 0x100d5c34
mov ebx, dword [ebp - 0xb0]
lea ecx, [eax + 0xbd]
push 4
pop edx
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 0x8c], edx
mov eax, dword [ebp - 0x98]
lea edi, [ebp - 0xec]
mov esi, ecx
mov eax, dword [eax + 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
test dword [eax + 0x158], 0x100
je 0x100d5aea
mov eax, dword [ebx + 0x1c]
lea edx, [ebp - 0xec]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ebp - 0x8c]
movss xmm1, dword [ebp - 0xec]
movss xmm0, dword [ebp - 0x88]
comiss xmm0, xmm1
jbe 0x100d5b07
movss dword [ebp - 0x88], xmm1
comiss xmm1, dword [ebp - 0xa8]
jbe 0x100d5b18
movss dword [ebp - 0xa8], xmm1
movss xmm1, dword [ebp - 0xe8]
movss xmm0, dword [ebp - 0xac]
comiss xmm0, xmm1
jbe 0x100d5b35
movss dword [ebp - 0xac], xmm1
comiss xmm1, dword [ebp - 0x90]
jbe 0x100d5b46
movss dword [ebp - 0x90], xmm1
add ecx, 0xc
dec edx
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 0x8c], edx
jne 0x100d5aae
mov edi, dword [ebp - 0xb0]
jmp 0x100d5c2c
mov eax, dword [edx + 0x80]
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], ebx
cmp dword [eax + 0x66], ebx
jbe 0x100d5c34
mov ecx, ebx
mov esi, ebx
mov dword [ebp - 0x8c], ecx
mov ebx, eax
mov eax, dword [ebx + 0x62]
add eax, ecx
push eax
lea eax, [ebp - 0xe0]
push eax
push edx
call sym.rt3d.dll_public:_struct_POINT3D___stdcall_MATRIX3D::PointTransform_struct_POINT3D_const__
mov eax, dword [edi + 0x1c]
lea edx, [ebp - 0xe0]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
movss xmm1, dword [ebp - 0xe0]
movss xmm0, dword [ebp - 0x88]
comiss xmm0, xmm1
jbe 0x100d5bce
movss dword [ebp - 0x88], xmm1
comiss xmm1, dword [ebp - 0xa8]
jbe 0x100d5bdf
movss dword [ebp - 0xa8], xmm1
movss xmm1, dword [ebp - 0xdc]
movss xmm0, dword [ebp - 0xac]
comiss xmm0, xmm1
jbe 0x100d5bfc
movss dword [ebp - 0xac], xmm1
comiss xmm1, dword [ebp - 0x90]
jbe 0x100d5c0d
movss dword [ebp - 0x90], xmm1
mov ecx, dword [ebp - 0x8c]
inc esi
mov edx, dword [ebp - 0x94]
add ecx, 0xc
mov dword [ebp - 0x8c], ecx
cmp esi, dword [ebx + 0x66]
jb 0x100d5b8e
mov esi, dword [ebp - 0xbc]
xor ebx, ebx
mov ecx, dword [ebp - 0x9c]
inc ecx
mov dword [ebp - 0x9c], ecx
cmp ecx, dword [esi + 0x24]
jl 0x100d5a56
movss xmm3, dword [ebp - 0xa8]
movss xmm4, dword [ebp - 0xac]
movss xmm5, dword [ebp - 0x90]
movss xmm6, dword [ebp - 0x88]
movd xmm1, dword [edi + 0x74]
movss xmm7, dword [0x10137a8c]
cvtdq2ps xmm1, xmm1
mov ecx, dword [ebp - 0x98]
push ecx
push ecx
mov eax, dword [ecx]
movaps xmm0, xmm1
subss xmm1, xmm3
subss xmm0, dword [ebp - 0xa4]
subss xmm1, xmm6
subss xmm0, xmm3
mulss xmm1, xmm7
addss xmm0, xmm6
mulss xmm0, xmm7
movss dword [ebp - 0x94], xmm0
movd xmm0, dword [edi + 0x78]
cvtdq2ps xmm0, xmm0
movaps xmm2, xmm0
subss xmm0, xmm5
subss xmm2, dword [ebp - 0xa4]
subss xmm0, xmm4
subss xmm2, xmm5
mulss xmm0, xmm7
addss xmm2, xmm4
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
push 0xa
mulss xmm2, xmm7
push edi
push ecx
movss dword [ebp - 0xb8], xmm2
call dword [eax + 0x1b8]
cmp dword [ebp - 0xa0], 4
je 0x100d5fe0
movss xmm1, dword [ebp - 0x94]
movss xmm2, dword [ebp - 0xb8]
comiss xmm2, xmm1
jbe 0x100d5d3d
mov eax, dword [edi + 0x74]
cdq
sub eax, edx
sar eax, 1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
subss xmm0, xmm1
divss xmm2, xmm0
movss dword [ebp - 0x90], xmm2
jmp 0x100d5d5f
mov eax, dword [edi + 0x78]
cdq
sub eax, edx
sar eax, 1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movaps xmm0, xmm1
subss xmm0, xmm2
divss xmm1, xmm0
movss dword [ebp - 0x90], xmm1
mov eax, dword [edi + 0xc]
push 4
push eax
mov ecx, dword [eax]
call dword [ecx + 0xf0]
mov dword [ebp - 0x9c], eax
test eax, eax
je 0x100d5f68
mov eax, dword [edi + 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
test al, al
jne 0x100d5f97
movd xmm0, dword [ebp - 0xa0]
lea edx, [ebp - 0x84]
cvtdq2ps xmm0, xmm0
mov eax, dword [edi + 0xc]
push 1
push edx
push eax
mov ecx, dword [eax]
addss xmm0, dword [0x10139268]
divss xmm0, dword [0x1013c420]
movss dword [ebp - 0x94], xmm0
call dword [ecx + 0x9c]
mov ecx, dword [ebp - 0x98]
lea edx, [ebp - 0xd4]
push ebx
push edx
lea edx, [ebp - 0xf8]
mov eax, dword [ecx]
push edx
lea edx, [ebp - 0xc8]
push edx
push dword [edi + 0xc]
push ecx
call dword [eax + 0x30c]
movss xmm0, dword [ebp - 0xc8]
lea eax, [ebp - 0x84]
subss xmm0, dword [ebp - 0xf8]
movss xmm4, dword [ebp - 0xc4]
movss xmm3, dword [ebp - 0xc0]
movaps xmm7, xmm4
subss xmm7, dword [ebp - 0xf4]
movss xmm5, dword [ebp - 0x90]
movaps xmm6, xmm3
subss xmm6, dword [ebp - 0xf0]
movss dword [ebp - 0x88], xmm0
divss xmm0, xmm5
push eax
movaps xmm1, xmm7
movaps xmm2, xmm6
divss xmm1, xmm5
divss xmm2, xmm5
movss xmm5, dword [ebp - 0x88]
subss xmm7, xmm1
subss xmm5, xmm0
movss xmm0, dword [ebp - 0x94]
subss xmm6, xmm2
mulss xmm7, xmm0
movss xmm1, xmm5
movss dword [ebp - 0x88], xmm5
movss xmm5, dword [ebp - 0xc8]
mulss xmm1, xmm0
subss xmm4, xmm7
mulss xmm6, xmm0
movss xmm0, dword [ebp - 0xd4]
subss xmm5, xmm1
subss xmm0, xmm1
movss dword [ebp - 0xc4], xmm4
subss xmm3, xmm6
movss dword [ebp - 0xc8], xmm5
movss dword [ebp - 0xd4], xmm0
movss xmm0, dword [ebp - 0xd0]
subss xmm0, xmm7
movss dword [ebp - 0xc0], xmm3
movss dword [ebp - 0xd0], xmm0
movss xmm0, dword [ebp - 0xcc]
subss xmm0, xmm6
movss dword [ebp - 0xcc], xmm0
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::Invert_void_
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x84]
push eax
call sym.rt3d.dll_public:_struct_POINT3D___stdcall_MATRIX3D::PointTransform_struct_POINT3D_const__
mov esi, eax
lea edi, [ebp - 0xc8]
lea eax, [ebp - 0xd4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x84]
push eax
call sym.rt3d.dll_public:_struct_POINT3D___stdcall_MATRIX3D::PointTransform_struct_POINT3D_const__
mov esi, eax
lea edi, [ebp - 0xd4]
lea ecx, [ebp - 0xc8]
push ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x9c]
push esi
mov eax, dword [esi]
call dword [eax + 0xe0]
mov eax, dword [esi]
lea ecx, [ebp - 0xd4]
push ecx
push esi
call dword [eax + 0xf0]
mov esi, dword [ebp - 0xbc]
mov edi, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0x98]
push ebx
push 4
push ecx
mov eax, dword [ecx]
call dword [eax + 0x15c]
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp eax, 5
jge 0x100d5fe0
mov ecx, dword [ebp - 0x98]
jmp 0x100d5a02
mov edi, dword [ebp - 0x9c]
push ecx
and dword [esp], 0
mov ecx, edi
push 0x1f6
call fcn.1000a83c
mov eax, dword [edi]
lea ecx, [ebp - 0x94]
fstp dword [ebp - 0x94]
movss xmm0, dword [ebp - 0x94]
mulss xmm0, dword [ebp - 0x90]
push 3
push ecx
push 0x1f6
push edi
movss dword [ebp - 0x94], xmm0
call dword [eax + 0x18]
cmp dword [esi + 0x24], ebx
jle 0x100d600b
mov eax, dword [esi]
push ebx
push esi
call dword [eax + 0x10]
mov edi, eax
mov ecx, dword [edi + 0x80]
test ecx, ecx
je 0x100d5ffe
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push edi
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
inc ebx
pop ecx
cmp ebx, dword [esi + 0x24]
jl 0x100d5fe5
mov ecx, dword [esi]
push esi
call dword [ecx + 8]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10123bfc
mov esp, ebp
pop ebp
ret 8