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

Disassembly:
sub esp, 0x214
mov eax, dword [0x1019c828]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push esi
mov esi, dword [esp + 0x220]
test esi, esi
push edi
mov edi, dword [esp + 0x22c]
mov ebx, ecx
je 0x1002cd90
test edi, edi
je 0x1002cd90
push ebp
mov ebp, dword [esp + 0x22c]
cmp ebp, 0x11
ja case.0x1002ca98.5
jmp dword [ebp*4 + 0x1002cd9c]
mov eax, dword [esi]
mov ecx, dword [eax + 0x5c]
push 0xff
push edi
push esi
call ecx
xor eax, eax
jmp 0x1002cc21
mov edx, dword [esi]
mov ecx, dword [edx + 0x54]
push 0xff
lea eax, [esp + 0x24]
push eax
push esi
call ecx
push 0xff
lea edx, [esp + 0x24]
push edi
push edx
call fcn.10026b40
add esp, 0xc
xor eax, eax
jmp 0x1002cc21
mov eax, dword [esi]
mov ecx, dword [eax + 0x60]
push 0xff
push edi
push esi
call ecx
xor eax, eax
jmp 0x1002cc21
mov edx, dword [esi + 0x3c]
shr edx, 9
and edx, 1
mov dword [edi], edx
xor eax, eax
jmp 0x1002cc21
mov eax, dword [esi]
mov ecx, dword [eax + 0x1c]
push 0
push 0
push 0x12d
push esi
call ecx
mov dword [edi], eax
xor eax, eax
jmp 0x1002cc21
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
push 0
push 0
push 0x64
push esi
call eax
neg eax
sbb eax, eax
neg eax
mov dword [edi], eax
xor eax, eax
jmp 0x1002cc21
mov ecx, dword [esi]
mov edx, dword [ecx + 0x1c]
push 3
push edi
push 0xd2
push esi
call edx
xor eax, eax
jmp 0x1002cc21
mov eax, dword [esi]
mov ecx, dword [eax + 0x98]
push 0
push edi
push esi
call ecx
xor eax, eax
jmp 0x1002cc21
mov edx, dword [esi]
mov eax, dword [edx + 0x9c]
push 0
push edi
push esi
call eax
xor eax, eax
jmp 0x1002cc21
mov ecx, dword [esi]
mov edx, dword [ecx + 0x78]
push 0x63
push esi
xor ebx, ebx
call edx
test eax, eax
je 0x1002cb9f
mov ecx, dword [eax]
mov edx, dword [ecx + 0x9c]
push ebx
push 1
push eax
call edx
mov ebx, eax
mov dword [edi], ebx
xor eax, eax
jmp 0x1002cc21
fld dword [edi]
fadd qword [0x10154d70]
call fcn.1013fe10
mov ebx, eax
mov eax, dword [esi]
mov ecx, dword [eax + 0x78]
push 0x63
push esi
call ecx
test eax, eax
je case.0x1002ca98.6
mov edx, dword [eax]
push 0
push ebx
push 1
push eax
mov eax, dword [edx + 0xa0]
call eax
test eax, eax
je 0x1002cbe3
fld dword [eax + 4]
xor eax, eax
fstp dword [edi]
jmp 0x1002cc21
fld dword [0x10154fa0]
xor eax, eax
fstp dword [edi]
jmp 0x1002cc21
mov ecx, dword [esi]
mov edx, dword [ecx + 0xf0]
push 1
push esi
call edx
mov esi, eax
test esi, esi
je case.0x1002ca98.5
mov eax, dword [esi]
mov ecx, dword [eax + 0x40]
push esi
call ecx
cmp eax, 1
jne case.0x1002ca98.5
push edi
push ebp
push esi
mov ecx, ebx
call fcn.10026c00
pop ebp
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1013fce4
add esp, 0x214
ret 0xc
lea edx, [esp + 0x14]
push edx
lea ecx, [esi + 0x68]
call fcn.10026690
fld dword [esp + 0x14]
fstp qword [edi]
mov ecx, ebx
fld dword [esp + 0x18]
fstp qword [edi + 8]
fld dword [esp + 0x1c]
fstp qword [edi + 0x10]
mov eax, dword [ebx]
mov edx, dword [eax + 0xd8]
call edx
cmp eax, 0xa
jne case.0x1002ca98.6
mov ecx, dword [ebx + 8]
call fcn.1001d070
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fld st(0)
fabs
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fcomp qword [0x10154d70]
fnstsw ax
test ah, 0x41
jne 0x1002cd7d
fld st(0)
xor eax, eax
fmul qword [edi]
fstp qword [edi]
fld st(0)
fmul qword [edi + 8]
fstp qword [edi + 8]
fmul qword [edi + 0x10]
fstp qword [edi + 0x10]
jmp 0x1002cc21
mov dword [edi], 0
mov eax, dword [esi]
mov ecx, dword [eax + 0xf0]
push 1
push esi
call ecx
mov esi, eax
test esi, esi
je case.0x1002ca98.6
push 0x10
push 0x20
call sym.rt3d.dll_public:_static_class_e3_COLLECTION____stdcall_e3_COLLECTION::Create_int__int_
mov edx, dword [esi]
mov ebx, eax
mov eax, dword [edx + 0xdc]
push 1
push ebx
push esi
call eax
xor esi, esi
cmp dword [ebx + 0x1c], esi
mov dword [esp + 0x10], esi
jle 0x1002cd3d
jmp 0x1002cd00
mov ecx, dword [ebx]
mov edx, dword [ecx + 0x10]
push esi
push ebx
call edx
mov ebp, eax
test ebp, ebp
je 0x1002cd31
xor esi, esi
mov eax, dword [ebp]
mov ecx, dword [eax + 0x8c]
push esi
push ebp
call ecx
test eax, eax
je 0x1002cd25
add dword [edi], 1
add esi, 1
cmp esi, 0x1a
jl 0x1002cd11
mov esi, dword [esp + 0x10]
add esi, 1
cmp esi, dword [ebx + 0x1c]
mov dword [esp + 0x10], esi
jl 0x1002cd00
mov edx, dword [ebx]
mov eax, dword [edx + 8]
push ebx
call eax
xor eax, eax
jmp 0x1002cc21
mov ecx, dword [esi]
mov edx, dword [ecx + 0xf0]
push 4
push esi
call edx
test eax, eax
je case.0x1002ca98.6
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push 0
push 0
push 0x1fe
push eax
call edx
neg eax
sbb eax, eax
neg eax
mov dword [edi], eax
xor eax, eax
jmp 0x1002cc21
fstp st(0)
xor eax, eax
jmp 0x1002cc21
mov eax, 1
jmp 0x1002cc21
mov eax, 1
jmp 0x1002cc22