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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xd0
mov rdi, r9
mov rbx, r8
mov r14, rdx
mov r15, rcx
mov cl, 0xa
call fcn.140010a10
mov rsi, rax
mov rax, qword [r15 + 0xb8]
mov rdx, qword [r15 + 0xc0]
shl rdx, 3
mov rcx, 0xffffffffffffffff
xor r12d, r12d
movabs r13, 0x18fc4cebe71452d7
xor r9d, r9d
nop word cs:[rax + rax]
cmp rdx, r9
je 0x1400130a2
lea r8, [r9 + 8]
inc rcx
cmp qword [rax + r9], r13
mov r9, r8
jne 0x140013040
mov rdx, qword [r15 + 0xd8]
cmp rcx, rdx
jae 0x14001339c
mov rax, qword [r15 + 0xd0]
mov rcx, qword [rax + r8*2 - 0x10]
mov rax, qword [rax + r8*2 - 8]
mov rax, qword [rax + 0x40]
call qword [0x1400b23b8]
mov r12, rax
mov rax, qword [rdx + 0x18]
mov rcx, r12
call qword [0x1400b23b8]
test r12, r12
je 0x1400133aa
cmp rax, r13
jne 0x1400133aa
test r12, r12
lea rax, [0x1400b7318]
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 rax, qword [r15 + 0x220]
mov r8, rax
mov cl, 2
mov r9b, 2
and r8, 0x800000
jne 0x1400131ef
mov rdx, qword [r15 + 0x228]
test edx, 0x800000
jne 0x1400131ef
or edx, eax
shr edx, 0x15
and edx, 1
mov r9d, edx
mov byte [rsi + 0xd3], r9b
mov rdx, qword [r15 + 0x228]
test eax, 0x100000
jne 0x14001322a
mov r9d, edx
and r9d, 0x100000
or r9, r8
mov r8d, edx
and r8d, 0x800000
or r8, r9
jne 0x14001322a
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 0x140013262
mov ecx, 4
cmp qword [r15 + 0x288], 0
je 0x140013270
or eax, edx
lea r8, [0x1400ba691]
xor edx, edx
test eax, 0x8000000
cmove rdx, r8
jmp 0x140013272
lea rdx, [0x1400ba68b]
mov ecx, 6
jmp 0x140013272
xor edx, edx
mov qword [rsi + 0x30], rdx
mov qword [rsi + 0x38], rcx
movups xmm0, xmmword [r14]
movups xmmword [rsp + 0x2f], xmm0
mov rax, qword [r14 + 0x10]
mov qword [rsp + 0x3f], rax
movups xmm0, xmmword [rsp + 0x28]
movaps xmmword [rsp + 0x90], xmm0
mov rax, qword [rsp + 0x37]
mov qword [rsp + 0x9f], rax
mov rax, qword [rsp + 0x3f]
mov qword [rsp + 0xa7], rax
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x2f], xmm0
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x3f], rax
movups xmm0, xmmword [rsp + 0x28]
movaps xmmword [rsp + 0xb0], xmm0
mov rax, qword [rsp + 0x37]
mov qword [rsp + 0xbf], rax
mov rax, qword [rsp + 0x3f]
mov qword [rsp + 0xc7], rax
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x30], 2
mov rax, qword [rsp + 0x9f]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xa7]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x90]
movups xmmword [rsp + 0x31], xmm0
mov byte [rsp + 0x50], 3
mov byte [rsp + 0x58], 3
mov rax, qword [rsp + 0xbf]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0xc7]
mov qword [rsp + 0x70], rax
movaps xmm0, xmmword [rsp + 0xb0]
movups xmmword [rsp + 0x59], xmm0
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.140011220
cmp qword [rdi + 8], 0
je 0x140013386
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, 0xd0
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
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