Function at 0x1400407e0
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 rbx, r9
mov rdi, r8
mov r14, rdx
mov r15, rcx
mov cl, 8
call fcn.140040620
mov rsi, rax
mov rdx, qword [r15 + 0xe8]
mov rax, qword [r15 + 0xf0]
shl rax, 4
mov rcx, 0xffffffffffffffff
xor r12d, r12d
movabs rbp, 0x7236a26ea06fb465
movabs r13, 0x8169a0e375e7e250
nop dword [rax]
test rax, rax
je 0x1400408a3
mov r8, rdx
add rdx, 0x10
inc rcx
add rax, 0xfffffffffffffff0
cmp qword [r8], rbp
jne 0x140040840
cmp qword [r8 + 8], r13
jne 0x140040840
mov rdx, qword [r15 + 0x108]
cmp rcx, rdx
jae 0x140040bc1
mov rdx, qword [r15 + 0x100]
shl rcx, 4
mov rax, qword [rdx + rcx]
mov rdx, qword [rdx + rcx + 8]
mov rcx, rax
call qword [rdx + 0x40]
mov r12, rax
mov rcx, rax
call qword [rdx + 0x18]
cmp rax, rbp
jne 0x140040bcd
cmp rdx, r13
jne 0x140040bcd
test r12, r12
lea rax, [0x140070740]
cmovne rax, r12
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 edx, dword [r15 + 0x2bc]
mov eax, dword [r15 + 0x2c0]
mov ecx, eax
or ecx, edx
mov r8d, ecx
shr r8d, 0x1c
and r8b, 1
test ecx, 0x20000000
movzx r8d, r8b
mov r9d, 2
mov r10d, 2
cmove r10d, r8d
mov byte [rsi + 0xd3], r10b
test ecx, 0x20040000
cmove r9d, r8d
mov byte [rsi + 0xd4], r9b
test ecx, 0x80000
jne 0x140040a23
lea rcx, [0x140072cca]
mov edx, 6
jmp 0x140040a50
xor ecx, ecx
test edx, 0x100000
jne 0x140040a50
cmp qword [r15 + 0xc0], 0
je 0x140040a50
xor ecx, ecx
test eax, 0x100000
lea rax, [0x140072cd0]
cmove rcx, rax
mov edx, 4
jmp 0x140040a50
mov qword [rsi + 0x60], rcx
mov qword [rsi + 0x68], rdx
mov r15, qword [rdi + 0x10]
movabs r12, 0x8000000000000000
test r15, r15
je 0x140040a93
cmp r15, 1
jne 0x140040a9a
mov qword [rdi + 0x10], 0
mov rdx, qword [rdi + 8]
mov rax, qword [rdx]
cmp rax, r12
je 0x140040bd9
mov cl, 2
mov bpl, 1
xor r15d, r15d
jmp 0x140040aa4
mov bpl, 1
xor ecx, ecx
jmp 0x140040ab0
mov rax, qword [rdi]
mov cl, 3
xor ebp, ebp
mov rdx, rdi
movups xmm0, xmmword [rdx + 8]
movaps xmmword [rsp + 0xb0], xmm0
movups xmm0, xmmword [r14]
movups xmmword [rsp + 0x98], xmm0
mov rdx, qword [r14 + 0x10]
mov qword [rsp + 0xa8], rdx
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x30], 2
movups xmm0, xmmword [rsp + 0x91]
movups xmmword [rsp + 0x31], xmm0
mov rdx, qword [rsp + 0xa0]
mov qword [rsp + 0x40], rdx
mov rdx, qword [rsp + 0xa8]
mov qword [rsp + 0x48], rdx
mov byte [rsp + 0x50], 2
mov byte [rsp + 0x58], cl
mov qword [rsp + 0x60], rax
movaps xmm0, xmmword [rsp + 0xb0]
movups xmmword [rsp + 0x68], xmm0
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.140040bf0
cmp qword [rbx], r12
je 0x140040b4b
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x28], 4
lea r8, [rsp + 0x28]
mov rcx, rsi
mov dl, 0xf
call fcn.140040760
test bpl, bpl
je 0x140040baa
test r15, r15
je 0x140040b91
mov rbx, qword [rdi + 8]
add rbx, 8
mov r14, qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x140040b79
add rbx, 0x18
dec r15
je 0x140040b91
cmp qword [rbx - 8], 0
je 0x140040b70
mov r8, qword [rbx]
mov rcx, qword [0x14007d268]
xor edx, edx
call r14
jmp 0x140040b70
cmp qword [rdi], 0
je 0x140040baa
mov r8, qword [rdi + 8]
mov rcx, qword [0x14007d268]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
mov rax, rsi
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r8, str._home_user_.cargo_registry_src_index.crates.io_6f17d22bba15001f_clap_builder_4.5.2_src_util_flat_map.rs
call fcn.14006c920
lea rcx, str._home_user_.cargo_registry_src_index.crates.io_6f17d22bba15001f_clap_builder_4.5.2_src_builder_ext.rs
call fcn.14006cc20
lea rcx, str._home_user_.cargo_registry_src_index.crates.io_6f17d22bba15001f_clap_builder_4.5.2_src_error_mod.rs
call fcn.14006cc20
int3