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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov byte [rsp + 0x33], r8b
mov rdi, rdx
mov rsi, rcx
mov rdx, qword [rdx + 8]
mov rbx, qword [rdi + 0x10]
lea rcx, [rbx*8]
xor eax, eax
mov r12, rdx
test rcx, rcx
je 0x1400b73db
mov ebp, dword [rdx + 4]
sub eax, dword [rdx]
add rdx, 8
add eax, ebp
inc eax
add rcx, 0xfffffffffffffff8
jmp 0x1400b73c3
mov edx, eax
mov rcx, rsi
call fcn.1400b7bf7
test al, al
jne 0x1400b77a1
mov byte [rsp + 0x31], al
lea rbp, [rsp + 0x48]
mov rcx, rbp
mov rdx, rsi
call fcn.1400b7c46
cmp qword [rbp + 0x10], 0
jne 0x1400b747d
mov ecx, 0x20
mov edx, 8
call fcn.1400235d0
test rax, rax
je 0x1400b77b7
mov rbp, rax
xor r15d, r15d
mov qword [rax], r15
mov qword [rax + 8], 1
mov qword [rax + 0x10], r15
mov byte [rax + 0x18], 0
mov r14, qword [rsp + 0x50]
mov rcx, r14
xor edx, edx
call fcn.1400a43a9
cmp qword [rsp + 0x48], r15
je 0x1400b7469
mov rcx, qword [0x1403ce198]
xor edx, edx
mov r8, r14
call qword [sym.imp.kernel32.dll_HeapFree]
mov r12, qword [rdi + 8]
mov rbx, qword [rdi + 0x10]
mov eax, 1
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rax
lea rax, [r12 + rbx*8]
mov qword [rsp + 0x88], rax
lea rax, [rsi + 0x10]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], rsi
cmp r12, qword [rsp + 0x88]
je 0x1400b7771
mov r13d, dword [r12]
mov edx, dword [r12 + 4]
inc edx
cmp edx, r13d
mov eax, r13d
cmova eax, edx
cmp eax, r13d
je 0x1400b7768
mov ebp, r13d
lea r13d, [rbp + 1]
mov ecx, ebp
xor ecx, 0xd800
add ecx, 0xffef0000
cmp ecx, 0xffef0800
jb 0x1400b74bf
cmp ebp, 0x110000
je 0x1400b74bf
mov dword [rsp + 0x3c], edx
mov qword [rsp + 0x90], r12
mov rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
lea rcx, [rsp + 0x60]
call fcn.1400a427f
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov rdx, rdi
shl rdx, 5
add rdx, rax
mov qword [rsp + 0xa8], rcx
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], rdx
mov qword [rsp + 0xc0], rax
test rdi, rdi
je 0x1400b774a
mov ecx, ebp
shr ecx, 0x12
or cl, 0xf0
mov dword [rsp + 0x38], ecx
mov ecx, ebp
shr ecx, 0xc
mov edx, ecx
and dl, 0x3f
or dl, 0x80
mov byte [rsp + 0x32], dl
mov edx, ebp
shr edx, 6
mov ebx, edx
and bl, 0x3f
or bl, 0x80
mov byte [rsp + 0x30], bl
lea ebx, [r13 + 0xff]
mov dword [rsp + 0x44], ebx
and bl, 0x3f
or bl, 0x80
mov byte [rsp + 0x2b], bl
or cl, 0xe0
mov dword [rsp + 0x34], ecx
or dl, 0xc0
mov dword [rsp + 0x40], edx
lea rcx, [rax + 0x20]
mov qword [rsp + 0xb0], rcx
mov cl, byte [rax + 0x18]
cmp cl, 2
je 0x1400b774a
mov rdx, qword [rax + 0x10]
mov qword [rsp + 0x70], rdx
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x78], cl
mov ecx, dword [rax + 0x19]
mov eax, dword [rax + 0x1c]
lea rdx, [rsp + 0x79]
mov dword [rdx + 3], eax
mov dword [rdx], ecx
mov dword [rsp + 0x2c], 0
cmp ebp, 0x80
jae 0x1400b75fd
mov eax, dword [rsp + 0x44]
mov byte [rsp + 0x2c], al
mov r15d, 1
jmp 0x1400b766b
cmp ebp, 0x800
jae 0x1400b761d
mov eax, dword [rsp + 0x40]
mov byte [rsp + 0x2c], al
mov al, byte [rsp + 0x2b]
mov byte [rsp + 0x2d], al
mov r15d, 2
jmp 0x1400b766b
cmp ebp, 0x10000
jae 0x1400b7645
mov eax, dword [rsp + 0x34]
mov byte [rsp + 0x2c], al
mov al, byte [rsp + 0x30]
mov byte [rsp + 0x2d], al
mov al, byte [rsp + 0x2b]
mov byte [rsp + 0x2e], al
mov r15d, 3
jmp 0x1400b766b
mov eax, dword [rsp + 0x38]
mov byte [rsp + 0x2c], al
mov al, byte [rsp + 0x32]
mov byte [rsp + 0x2d], al
mov al, byte [rsp + 0x30]
mov byte [rsp + 0x2e], al
mov al, byte [rsp + 0x2b]
mov byte [rsp + 0x2f], al
mov r15d, 4
mov rcx, r15
call fcn.14017f18f
mov r14, rax
mov r12, rdx
mov rcx, rdx
lea rdx, [rsp + 0x2c]
mov r8, r15
call sub.VCRUNTIME140.dll_memcpy
cmp byte [rsp + 0x33], 0
je 0x1400b76c2
cmp ebp, 0x80
jb 0x1400b76c2
mov rdi, r15
shr rdi, 1
neg rdi
lea rcx, [r12 + r15]
dec rcx
mov rdx, r12
xor esi, esi
mov bl, byte [rdx]
mov al, byte [rcx + rsi]
mov byte [rdx], al
mov byte [rcx + rsi], bl
dec rsi
inc rdx
cmp rdi, rsi
jne 0x1400b76ad
mov rdx, r12
add rdx, r15
lea rcx, [rsp + 0x60]
mov r8, r12
call fcn.1400a2afb
mov rsi, qword [rsp + 0xa0]
mov rdx, qword [rsi + 0x20]
cmp rdx, qword [rsi + 0x10]
jne 0x1400b76f8
mov rcx, qword [rsp + 0x98]
call fcn.1400a420d
mov rdx, qword [rsi + 0x20]
mov rax, qword [rsi + 0x18]
mov rcx, rdx
shl rcx, 5
movaps xmm0, xmmword [rsp + 0x60]
movaps xmm1, xmmword [rsp + 0x70]
movups xmmword [rax + rcx + 0x10], xmm1
movups xmmword [rax + rcx], xmm0
inc rdx
mov qword [rsi + 0x20], rdx
test r14, r14
je 0x1400b7734
mov rcx, qword [0x1403ce198]
xor edx, edx
mov r8, r12
call qword [sym.imp.kernel32.dll_HeapFree]
mov rax, qword [rsp + 0xb0]
cmp rax, qword [rsp + 0xb8]
jne 0x1400b75a0
lea rcx, [rsp + 0xa8]
call fcn.1400a8168
mov r12, qword [rsp + 0x90]
mov edx, dword [rsp + 0x3c]
jmp 0x1400b74b6
add r12, 8
jmp 0x1400b749d
mov rsi, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
mov rcx, rsi
call fcn.1400a43a9
cmp qword [rsp + 0x48], 0
je 0x1400b779d
mov rcx, qword [0x1403ce198]
xor edx, edx
mov r8, rsi
call qword [sym.imp.kernel32.dll_HeapFree]
mov al, byte [rsp + 0x31]
xor al, 1
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 0x20
mov edx, 8
call fcn.1402a5fb0
ud2