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

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xb8
mov rdi, r8
mov rbx, rdx
mov r14, rcx
mov cl, 9
call fcn.140010a10
mov rsi, rax
mov rax, qword [r14 + 0xb8]
mov rdx, qword [r14 + 0xc0]
shl rdx, 3
mov rcx, 0xffffffffffffffff
xor r15d, r15d
movabs r12, 0x18fc4cebe71452d7
xor r9d, r9d
nop dword [rax]
cmp rdx, r9
je 0x140012d22
lea r8, [r9 + 8]
inc rcx
cmp qword [rax + r9], r12
mov r9, r8
jne 0x140012cc0
mov rdx, qword [r14 + 0xd8]
cmp rcx, rdx
jae 0x140012fb0
mov rax, qword [r14 + 0xd0]
mov rcx, qword [rax + r8*2 - 0x10]
mov rax, qword [rax + r8*2 - 8]
mov rax, qword [rax + 0x40]
call qword [0x1400b23b8]
mov r15, rax
mov rax, qword [rdx + 0x18]
mov rcx, r15
call qword [0x1400b23b8]
test r15, r15
je 0x140012fbe
cmp rax, r12
jne 0x140012fbe
test r15, r15
lea rax, [0x1400b7318]
cmovne rax, r15
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 [r14 + 0x220]
mov r8, rax
mov cl, 2
mov r9b, 2
and r8, 0x800000
jne 0x140012e6f
mov rdx, qword [r14 + 0x228]
test edx, 0x800000
jne 0x140012e6f
or edx, eax
shr edx, 0x15
and edx, 1
mov r9d, edx
mov byte [rsi + 0xd3], r9b
mov rdx, qword [r14 + 0x228]
test eax, 0x100000
jne 0x140012eaa
mov r9d, edx
and r9d, 0x100000
or r9, r8
mov r8d, edx
and r8d, 0x800000
or r8, r9
jne 0x140012eaa
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 0x140012ee2
mov ecx, 4
cmp qword [r14 + 0x288], 0
je 0x140012ef0
or eax, edx
lea r8, [0x1400ba691]
xor edx, edx
test eax, 0x8000000
cmove rdx, r8
jmp 0x140012ef2
lea rdx, [0x1400ba68b]
mov ecx, 6
jmp 0x140012ef2
xor edx, edx
mov qword [rsi + 0x30], rdx
mov qword [rsi + 0x38], rcx
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 + 0x90], xmm0
mov rax, qword [rsp + 0x37]
mov qword [rsp + 0x9f], rax
mov rax, qword [rsp + 0x3f]
mov qword [rsp + 0xa7], rax
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x30], 3
movaps xmm0, xmmword [rsp + 0x90]
movups xmmword [rsp + 0x31], xmm0
mov rax, qword [rsp + 0x9f]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xa7]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.140011200
cmp qword [rdi + 8], 0
je 0x140012f9c
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, 0xb8
pop rbx
pop rdi
pop rsi
pop r12
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