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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
xor r13d, r13d
mov rsi, rdx
mov r14, rcx
test rdx, rdx
jne 0x1400ebf3b
mov ebp, r13d
jmp 0x1400ebf72
movzx ecx, word [rdx + 0x14]
mov edx, 0x202
movzx eax, cx
and ax, dx
cmp ax, dx
jne 0x1400ebf5b
cmp byte [rsi + 0x16], 1
jne 0x1400ebf5b
mov rbp, qword [rsi + 8]
jmp 0x1400ebf72
test cl, 1
je 0x1400ebf65
mov rbp, r13
jmp 0x1400ebf72
mov dl, 1
mov rcx, rsi
call fcn.140047420
mov rbp, rax
mov eax, 0x14
mov qword [rsp + 0x70], r15
add rax, rsi
mov r10, rsi
mov qword [rsp + 0x28], rax
movzx ecx, word [rax]
test cl, 2
je 0x1400ebf9b
cmp byte [rsi + 0x16], 1
jne 0x1400ebf9b
mov r15d, dword [rsi + 0x10]
jmp 0x1400ebfc7
test cl, 0x10
je 0x1400ebfb0
bt cx, 0xa
mov r15d, dword [rsi + 0x10]
jae 0x1400ebfc7
add r15d, dword [rsi]
jmp 0x1400ebfc7
test cl, 1
je 0x1400ebfba
mov r15d, r13d
jmp 0x1400ebfc7
mov dl, 1
mov rcx, rsi
call fcn.140047b20
mov r15d, eax
mov dword [rsp + 0x20], r13d
mov r8d, 0xffffffff
mov dword [rsp + 0x78], r8d
mov rdi, r13
mov r12d, r13d
test rbp, rbp
je 0x1400ec39d
nop word [rax + rax]
mov rax, qword [r14 + 0x18]
lea edx, [r13 - 0x68f72]
mov rcx, qword [rax + 0x128]
test rcx, rcx
je 0x1400ec021
cmp dword [rcx + 4], edx
jne 0x1400ec018
mov eax, dword [r14 + 0x20]
cmp dword [rcx], eax
je 0x1400ec043
test edx, edx
js 0x1400ec043
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x1400ec007
mov dword [rsp + 0x20], r13d
test rdi, rdi
je 0x1400ec0ff
lea ecx, [r12 + 1]
mov byte [rdi + 0x32], 0
mov dword [rdi + 0x4c], ecx
mov rax, rdi
jmp 0x1400ec39f
mov rbx, qword [rcx + 8]
test rbx, rbx
je 0x1400ec021
test rdi, rdi
jne 0x1400ec0cc
cmp dword [rbx + 0x3c], r15d
jne 0x1400ec092
cmp byte [rbx + 0x37], dil
je 0x1400ec068
mov eax, dword [rsp + 0x88]
test eax, eax
jne 0x1400ec099
mov rcx, qword [rbx + 0x10]
cmp rcx, rbp
je 0x1400ec085
movsxd r8, r15d
mov rdx, rbp
call sub.VCRUNTIME140.dll_memcmp
mov r8d, dword [rsp + 0x78]
test eax, eax
jne 0x1400ec092
mov byte [rbx + 0x32], 0
mov rdi, rbx
mov byte [rbx + 0x36], 0
jmp 0x1400ec0e0
mov eax, dword [rsp + 0x88]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400ec0cc
test eax, eax
jne 0x1400ec0cc
cmp dword [rbx + 0x40], r15d
jne 0x1400ec0cc
movsxd r8, r15d
mov rdx, rbp
call sub.VCRUNTIME140.dll_memcmp
mov r8d, dword [rsp + 0x78]
test eax, eax
jne 0x1400ec0cc
mov byte [rbx + 0x32], al
mov rdi, rbx
mov byte [rbx + 0x36], 1
jmp 0x1400ec0e0
mov eax, dword [rbx + 0x4c]
cmp eax, r8d
jae 0x1400ec0e0
mov r8d, eax
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x20], r13d
mov eax, dword [rbx + 0x4c]
cmp eax, r12d
cmovbe eax, r12d
inc r13d
mov r12d, eax
cmp r13d, 4
jl 0x1400ebff0
jmp 0x1400ec026
mov rax, qword [rsp + 0x28]
mov edx, 0xc
movzx eax, word [rax]
lea edi, [rdx - 0xb]
test al, 0x12
setne cl
bt ax, dx
setb al
test al, cl
je 0x1400ec133
lea rax, [fcn.14001cc90]
cmp qword [rsi + 0x30], rax
jne 0x1400ec133
mov ebx, edi
xor r13d, r13d
jmp 0x1400ec139
xor r13d, r13d
mov ebx, r13d
lea esi, [r15 + 1]
call fcn.1400e1e20
test eax, eax
jne 0x1400ec36d
mov eax, r13d
test ebx, ebx
cmove eax, esi
movsxd rcx, eax
add rcx, 0x50
call fcn.1400199d0
mov rdi, rax
test rax, rax
je 0x1400ec368
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
test ebx, ebx
je 0x1400ec192
inc qword [rbp - 8]
mov qword [rax + 0x10], rbp
mov byte [rax + 0x34], 1
jmp 0x1400ec1a5
lea rcx, [rax + 0x50]
movsxd r8, esi
mov rdx, rbp
mov qword [rax + 0x10], rcx
call sub.VCRUNTIME140.dll_memcpy
mov rbx, qword [rsp + 0x80]
mov rcx, rdi
mov rdx, rbx
mov dword [rdi + 0x38], 1
call fcn.1400ebd00
test eax, eax
je 0x1400ec259
test rbx, rbx
jne 0x1400ec1d8
mov byte [rdi + 0x32], 1
mov rax, rdi
jmp 0x1400ec39f
mov eax, dword [rdi + 0x38]
cmp eax, 1
jbe 0x1400ec1ea
dec eax
mov dword [rdi + 0x38], eax
jmp 0x1400ec39d
mov rcx, rdi
call fcn.1400e9660
cmp dword [0x140112770], 0
je 0x1400ec24b
mov rcx, qword [0x14011cba8]
test rcx, rcx
je 0x1400ec20d
call qword [0x1401127f0]
mov rcx, rdi
call qword [0x1401127a8]
dec qword [0x14011c9b8]
movsxd rcx, eax
sub qword [0x14011c970], rcx
mov rcx, rdi
call qword [0x140112798]
mov rcx, qword [0x14011cba8]
test rcx, rcx
je 0x1400ec39d
call qword [0x140112800]
jmp 0x1400ec39d
mov rcx, rdi
call qword [0x140112798]
jmp 0x1400ec39d
mov esi, dword [rsp + 0x20]
lea eax, [r12 + 1]
mov dword [rdi + 0x4c], eax
add esi, 0xfff9708e
mov dword [rdi + 0x3c], r15d
mov r15, qword [r14 + 0x18]
mov rbx, qword [r15 + 0x128]
test rbx, rbx
je 0x1400ec29a
nop
cmp dword [rbx + 4], esi
jne 0x1400ec291
mov eax, dword [r14 + 0x20]
cmp dword [rbx], eax
je 0x1400ec2ae
test esi, esi
js 0x1400ec2ae
mov rbx, qword [rbx + 0x18]
test rbx, rbx
jne 0x1400ec280
mov rcx, qword [r15]
test rcx, rcx
je 0x1400ec2ce
mov edx, 0x20
call fcn.14001a1a0
jmp 0x1400ec2d8
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x1400ec314
mov rcx, qword [rbx + 8]
call rax
lea rax, [fcn.1400e9800]
mov qword [rbx + 8], rdi
mov qword [rbx + 0x10], rax
jmp 0x1400ec32d
mov ecx, 0x20
call fcn.1400199d0
mov rbx, rax
test rax, rax
je 0x1400ec325
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov eax, dword [r14 + 0x20]
mov dword [rbx], eax
mov dword [rbx + 4], esi
mov rax, qword [r15 + 0x128]
mov qword [rbx + 0x18], rax
mov qword [r15 + 0x128], rbx
cmp dword [r14 + 0x24], 0
jne 0x1400ec314
mov dword [r14 + 0x24], 0xffffffff
lea rax, [fcn.1400e9800]
mov qword [rbx + 8], rdi
mov qword [rbx + 0x10], rax
jmp 0x1400ec32d
mov rcx, rdi
call fcn.1400e9800
mov rax, qword [r14 + 0x18]
mov rcx, qword [rax + 0x128]
test rcx, rcx
je 0x1400ec363
nop dword [rax]
cmp dword [rcx + 4], esi
jne 0x1400ec351
mov eax, dword [r14 + 0x20]
cmp dword [rcx], eax
je 0x1400ec35f
test esi, esi
js 0x1400ec35f
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x1400ec340
mov rax, r13
jmp 0x1400ec39f
mov r13, qword [rcx + 8]
mov rax, r13
jmp 0x1400ec39f
mov edi, 1
mov rax, qword [r14]
mov ecx, 0x9000
test word [rax + 0x14], cx
je 0x1400ec385
mov rcx, rax
call fcn.1400464d0
jmp 0x1400ec389
mov word [rax + 0x14], di
mov rcx, qword [r14]
mov dword [r14 + 0x24], 7
mov rcx, qword [rcx + 0x18]
call fcn.14001a4b0
xor eax, eax
mov r15, qword [rsp + 0x70]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret