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

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rdx
mov rbx, rcx
mov cl, 0xb
call fcn.140010a10
mov rsi, rax
mov rax, qword [rbx + 0xb8]
mov rdx, qword [rbx + 0xc0]
shl rdx, 3
mov rcx, 0xffffffffffffffff
xor r14d, r14d
movabs r15, 0x18fc4cebe71452d7
xor r9d, r9d
nop word [rax + rax]
cmp rdx, r9
je 0x140013482
lea r8, [r9 + 8]
inc rcx
cmp qword [rax + r9], r15
mov r9, r8
jne 0x140013420
mov rdx, qword [rbx + 0xd8]
cmp rcx, rdx
jae 0x1400136b6
mov rax, qword [rbx + 0xd0]
mov rcx, qword [rax + r8*2 - 0x10]
mov rax, qword [rax + r8*2 - 8]
mov rax, qword [rax + 0x40]
call qword [0x1400b23b8]
mov r14, rax
mov rax, qword [rdx + 0x18]
mov rcx, r14
call qword [0x1400b23b8]
test r14, r14
je 0x1400136c4
cmp rax, r15
jne 0x1400136c4
test r14, r14
lea rax, [0x1400b7318]
cmovne rax, r14
mov rcx, qword [rax]
mov rdx, qword [rax + 6]
mov qword [rsp + 0x2e], rdx
mov qword [rsp + 0x28], rcx
mov rcx, qword [rax + 0xe]
mov rdx, qword [rax + 0x14]
mov qword [rsp + 0x3c], rdx
mov qword [rsp + 0x36], rcx
mov rcx, qword [rax + 0x1c]
mov rdx, qword [rax + 0x22]
mov qword [rsp + 0x4a], rdx
mov qword [rsp + 0x44], rcx
mov rcx, qword [rax + 0x2a]
mov rdx, qword [rax + 0x30]
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x52], rcx
mov rcx, qword [rax + 0x38]
mov rdx, qword [rax + 0x3e]
mov qword [rsp + 0x66], rdx
mov qword [rsp + 0x60], rcx
mov rcx, qword [rax + 0x46]
mov rdx, qword [rax + 0x4c]
mov qword [rsp + 0x6e], rcx
mov qword [rsp + 0x74], rdx
mov rcx, qword [rax + 0x54]
mov rax, qword [rax + 0x5a]
mov qword [rsp + 0x7c], rcx
mov qword [rsp + 0x82], rax
movzx eax, word [rsp + 0x88]
mov word [rsi + 0xd0], ax
mov eax, dword [rsp + 0x78]
mov dword [rsi + 0xc0], eax
mov rax, qword [rsp + 0x7c]
mov qword [rsi + 0xc4], rax
mov eax, dword [rsp + 0x84]
mov dword [rsi + 0xcc], eax
mov eax, dword [rsp + 0x68]
mov dword [rsi + 0xb0], eax
movzx eax, word [rsp + 0x6c]
mov word [rsi + 0xb4], ax
mov rax, qword [rsp + 0x6e]
mov qword [rsi + 0xb6], rax
movzx eax, word [rsp + 0x76]
mov word [rsi + 0xbe], ax
movups xmm0, xmmword [rsp + 0x28]
movups xmm1, xmmword [rsp + 0x38]
movups xmm2, xmmword [rsp + 0x48]
movups xmm3, xmmword [rsp + 0x58]
movups xmmword [rsi + 0xa0], xmm3
movups xmmword [rsi + 0x90], xmm2
movups xmmword [rsi + 0x80], xmm1
movups xmmword [rsi + 0x70], xmm0
mov rax, qword [rbx + 0x220]
mov r8, rax
mov cl, 2
mov r9b, 2
and r8, 0x800000
jne 0x1400135cf
mov rdx, qword [rbx + 0x228]
test edx, 0x800000
jne 0x1400135cf
or edx, eax
shr edx, 0x15
and edx, 1
mov r9d, edx
mov byte [rsi + 0xd3], r9b
mov rdx, qword [rbx + 0x228]
test eax, 0x100000
jne 0x14001360a
mov r9d, edx
and r9d, 0x100000
or r9, r8
mov r8d, edx
and r8d, 0x800000
or r8, r9
jne 0x14001360a
mov ecx, eax
or ecx, edx
shr ecx, 0x15
and ecx, 1
mov byte [rsi + 0xd4], cl
mov rcx, rax
or rcx, rdx
bt rcx, 0x29
jae 0x140013651
mov ecx, 4
cmp qword [rbx + 0x288], 0
je 0x1400136a3
or eax, edx
lea r8, [0x1400ba691]
xor edx, edx
test eax, 0x8000000
cmove rdx, r8
mov qword [rsi + 0x30], rdx
mov qword [rsi + 0x38], rcx
cmp qword [rdi + 8], 0
jne 0x14001366c
jmp 0x140013691
lea rdx, [0x1400ba68b]
mov ecx, 6
mov qword [rsi + 0x30], rdx
mov qword [rsi + 0x38], rcx
cmp qword [rdi + 8], 0
je 0x140013691
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x28], 4
lea r8, [rsp + 0x28]
mov rcx, rsi
mov dl, 0xf
call fcn.140011170
mov rax, rsi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor edx, edx
mov qword [rsi + 0x30], rdx
mov qword [rsi + 0x38], rcx
cmp qword [rdi + 8], 0
jne 0x14001366c
jmp 0x140013691
lea r8, str.C:Users_agent.cargo_registry_srcindex.crates.io_6f17d22bba15001fclap_builder_4.3.0_srcutil_flat_map.rs
call fcn.1400b0d60
ud2
lea rcx, [0x1400b7a22]
lea r8, str.Mz_v_
mov edx, 0x2b
call fcn.1400b0cb0
ud2