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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x74
mov eax, dword [0x103b9004]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0xc]
push ebx
mov dword [esp + 0x3c], ecx
mov ebx, edx
push esi
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x20]
push edi
xor edi, edi
mov dword [esp + 0x74], ecx
mov dword [esp + 0x40], edi
mov esi, dword [eax + 4]
mov dword [esp + 0x5c], esi
test ecx, ecx
je 0x101bceeb
nop
mov edx, dword [esi + edi*4]
mov ecx, 0x70617261
mov dword [esp + 0x54], ecx
mov eax, dword [edx + 4]
test eax, eax
je 0x101bcbba
cmp eax, 2
jne 0x101bcbb1
mov eax, dword [edx + 8]
cmp dword [eax + 0x70], 0
je 0x101bcbba
mov eax, dword [edx + 8]
cmp dword [eax + 8], 0
jge 0x101bcbc3
mov ecx, 0x63757276
mov dword [esp + 0x54], ecx
mov dword [esp + 0x4c], ecx
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x4d], al
mov eax, ecx
shr eax, 8
mov byte [esp + 0x4e], al
mov al, byte [esp + 0x4f]
mov byte [esp + 0x4c], al
mov byte [esp + 0x4f], cl
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x6c]
push eax
mov eax, dword [ebx + 0x120]
push 8
push ebx
mov dword [esp + 0x7c], 0
call eax
add esp, 0xc
test eax, eax
je 0x101bced7
mov eax, dword [esp + 0x54]
cmp eax, 0x63757276
je 0x101bcd10
cmp eax, 0x70617261
jne 0x101bce7f
mov ecx, dword [esi + edi*4]
mov dword [esp + 0x48], ecx
cmp dword [ecx + 4], 1
mov eax, dword [ecx + 8]
mov edi, dword [eax + 8]
movzx eax, di
ja 0x101bce78
cmp edi, 1
jl 0x101bce78
cmp edi, 5
jg 0x101bce4e
mov edi, dword [edi*4 + 0x102a7d34]
dec eax
movzx ecx, ax
mov eax, ecx
mov dword [esp + 0x58], edi
mov dword [esp + 0x4c], eax
mov al, byte [esp + 0x4d]
mov byte [esp + 0x4c], al
mov byte [esp + 0x4d], cl
movzx eax, word [esp + 0x4c]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x54]
push eax
mov eax, dword [ebx + 0x120]
push 2
push ebx
call eax
add esp, 0xc
cmp eax, 1
jne 0x101bced7
xor edx, edx
mov ecx, ebx
call fcn.101ae9c0
test eax, eax
je 0x101bced7
xor esi, esi
test edi, edi
jle 0x101bcce5
mov edi, 0x10
nop dword [eax + eax]
mov eax, dword [esp + 0x48]
mov ecx, ebx
mov eax, dword [eax + 8]
movsd xmm1, qword [eax + edi]
call fcn.101aeb00
test eax, eax
je 0x101bced7
inc esi
add edi, 8
cmp esi, dword [esp + 0x58]
jl 0x101bccc0
mov edi, dword [esp + 0x40]
mov ecx, ebx
call fcn.101aef40
test eax, eax
je 0x101bced7
inc edi
mov dword [esp + 0x40], edi
cmp edi, dword [esp + 0x74]
jae 0x101bceeb
mov esi, dword [esp + 0x5c]
jmp 0x101bcb90
mov esi, dword [esi + edi*4]
cmp dword [esi + 4], 1
jne 0x101bcde8
mov eax, dword [esi + 8]
cmp dword [eax + 8], 1
jne 0x101bcde8
movsd xmm0, qword [eax + 0x10]
sub esp, 8
mulsd xmm0, qword [0x103a65c0]
addsd xmm0, qword [0x103a6330]
movsd qword [esp + 0x68], xmm0
fld qword [esp + 0x68]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
fstp qword [esp + 0x68]
cvttsd2si eax, qword [esp + 0x68]
mov dword [esp + 0x54], 1
mov word [esp + 0x55], 0
sar eax, 8
movzx eax, ax
mov ecx, eax
mov dword [esp + 0x60], eax
mov al, byte [esp + 0x57]
mov byte [esp + 0x54], al
mov byte [esp + 0x57], 1
mov eax, dword [esp + 0x54]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x70]
push eax
mov eax, dword [ebx + 0x120]
push 4
push ebx
mov dword [esp + 0x5c], ecx
call eax
add esp, 0x14
cmp eax, 1
jne 0x101bced7
mov eax, dword [esp + 0x58]
mov byte [esp + 0x50], ah
mov eax, dword [esp + 0x48]
mov byte [esp + 0x51], al
movzx eax, word [esp + 0x50]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x60]
push eax
mov eax, dword [ebx + 0x120]
push 2
push ebx
call eax
add esp, 0xc
cmp eax, 1
jne 0x101bced7
jmp 0x101bcce9
mov ecx, dword [esi + 0x14]
mov eax, ecx
shr eax, 0x10
mov dword [esp + 0x4c], ecx
mov byte [esp + 0x4d], al
mov eax, ecx
shr eax, 8
mov byte [esp + 0x4e], al
mov al, byte [esp + 0x4f]
mov byte [esp + 0x4c], al
mov byte [esp + 0x4f], cl
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x58]
push eax
mov eax, dword [ebx + 0x120]
push 4
push ebx
call eax
add esp, 0xc
cmp eax, 1
jne 0x101bced7
push dword [esi + 0x18]
mov edx, dword [esi + 0x14]
mov ecx, ebx
call fcn.101aea10
add esp, 4
test eax, eax
je 0x101bced7
jmp 0x101bcce9
push str.Unsupported_parametric_curve
mov eax, dword [esp + 0x48]
push 8
push dword [eax + 0x14]
call fcn.101af100
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.101f3fd0
mov esp, ebp
pop ebp
ret
push str.Multisegment_or_Inverted_parametric_curves_cannot_be_written
jmp 0x101bce53
mov dword [esp + 0x4c], 0x70617261
mov al, byte [esp + 0x4f]
mov byte [esp + 0x4c], al
mov word [esp + 0x4d], 0x7261
mov byte [esp + 0x4f], 0x61
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x5c]
push 4
push eax
lea eax, [esp + 0x7c]
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esp + 0x78], 0
lea eax, [esp + 0x74]
push eax
mov eax, dword [esp + 0x48]
push str.Unknown_curve_type__s
push 8
push dword [eax + 0x14]
call fcn.101af100
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.101f3fd0
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x7c]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.101f3fd0
mov esp, ebp
pop ebp
ret