joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140031570
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, rcx
mov r11, qword [rdx + 8]
mov r10, qword [rdx + 0x10]
lea rcx, [r10 + 1]
mov qword [rdx + 0x10], rcx
mov al, 1
cmp rcx, r11
jae 0x1400315b1
mov rax, qword [rdx]
movzx edi, byte [rax + rcx]
mov al, 1
cmp edi, 0x2b
je 0x1400315a6
cmp edi, 0x2d
jne 0x1400315b1
xor eax, eax
add r10, 2
mov qword [rdx + 0x10], r10
mov rcx, r10
cmp rcx, r11
jae 0x14003174a
mov rdi, qword [rdx]
movzx r10d, byte [rdi + rcx]
lea rbx, [rcx + 1]
mov qword [rdx + 0x10], rbx
add r10b, 0xd0
cmp r10b, 0xa
jae 0x140031755
movzx r10d, r10b
cmp rbx, r11
jae 0x140031650
mov ebx, 1
sub rbx, r11
add rcx, 2
jmp 0x14003160c
movzx r11d, r11b
lea r10d, [r10 + r10*4]
lea r10d, [r11 + r10*2]
lea r11, [rbx + rcx]
inc r11
inc rcx
cmp r11, 2
je 0x140031650
movzx r11d, byte [rdi + rcx - 1]
add r11b, 0xd0
cmp r11b, 0xa
jae 0x140031650
mov qword [rdx + 0x10], rcx
cmp r10d, 0xccccccb
jle 0x1400315f0
cmp r10d, 0xccccccc
jne 0x140031638
cmp r11b, 7
jbe 0x1400315f0
test r9, r9
sete r9b
mov byte [rsp + 0x20], al
mov rcx, rsi
call fcn.14009f000
jmp 0x140031737
mov ecx, dword [rsp + 0x80]
test al, al
je 0x14003166c
lea eax, [rcx + r10]
sar eax, 0x1f
add eax, 0x80000000
add ecx, r10d
jmp 0x14003167c
xor eax, eax
cmp ecx, r10d
setns al
add eax, 0x7fffffff
sub ecx, r10d
cmovo ecx, eax
movq xmm1, r9
punpckldq xmm1, xmmword [0x1400a6330]
subpd xmm1, xmmword [0x1400a6340]
movapd xmm0, xmm1
unpckhpd xmm0, xmm1
addsd xmm0, xmm1
mov eax, ecx
neg eax
cmovs eax, ecx
cmp eax, 0x135
jb 0x1400316e8
xorpd xmm1, xmm1
movsd xmm2, qword [0x1400a6350]
nop word [rax + rax]
ucomisd xmm0, xmm1
jne 0x1400316c8
jnp 0x140031720
test ecx, ecx
jns 0x14003177b
divsd xmm0, xmm2
add ecx, 0x134
mov eax, ecx
neg eax
cmovs eax, ecx
cmp eax, 0x134
ja 0x1400316c0
mov eax, eax
mov r9, qword [0x1400f0060]
movsd xmm1, qword [r9 + rax*8]
test ecx, ecx
js 0x14003173f
mulsd xmm0, xmm1
movq rax, xmm0
movabs rcx, 0x7fffffffffffffff
and rcx, rax
movabs rax, 0x7ff0000000000000
cmp rcx, rax
je 0x14003177b
test r8b, r8b
jne 0x14003172d
xorpd xmm0, xmmword [0x1400a6360]
movsd qword [rsi + 8], xmm0
xor eax, eax
mov qword [rsi], rax
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
divsd xmm0, xmm1
test r8b, r8b
je 0x140031725
jmp 0x14003172d
mov qword [rsp + 0x28], 5
jmp 0x14003175e
mov qword [rsp + 0x28], 0xd
lea rax, [rsp + 0x28]
mov rcx, rdx
mov rdx, rax
call fcn.14009f0a0
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x140031737
mov qword [rsp + 0x28], 0xe
lea rax, [rsp + 0x28]
mov rcx, rdx
mov rdx, rax
call fcn.14009f0a0
mov qword [rsi + 8], rax
mov eax, 1
jmp 0x140031734
Function at 0x1400338e0
Capabilities:
Create pipe

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x60
lea rbp, [rsp + 0x60]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, rdx
mov rsi, rcx
mov rcx, r8
mov rdx, r9
call fcn.140033520
xor r8d, r8d
cmp byte [rdi + 0x16], 0
mov ecx, 6
cmove ecx, r8d
lea r8d, [rcx + 8]
cmp byte [rdi + 0x17], 0
cmove r8d, ecx
mov qword [rbp - 0x10], rdx
cmp byte [rdi + 0x10], 1
mov edx, 0x40000001
sbb edx, 0
mov ecx, edx
or ecx, 2
cmp byte [rdi + 0x11], 0
cmove ecx, edx
mov edx, ecx
or edx, 0x80000
cmp byte [rdi + 0x12], 0
cmove edx, ecx
mov ecx, edx
or ecx, 0x40000
cmp byte [rdi + 0x13], 0
cmove ecx, edx
mov r9d, ecx
or r9d, 0x80000
cmp byte [rdi + 0x14], 0
cmove r9d, ecx
mov edx, r9d
or edx, 0x1000000
cmp byte [rdi + 0x15], 0
cmove edx, r9d
mov r9d, dword [rdi]
mov r11d, dword [rdi + 4]
mov ecx, dword [rdi + 8]
mov r10d, dword [rdi + 0xc]
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], r11d
mov qword [rsp + 0x38], 0
mov qword [rbp - 0x18], rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
cmp rax, 0xffffffffffffffff
je 0x1400339e7
mov rcx, rsi
mov rdx, rax
call fcn.140040b20
mov rdx, qword [rbp - 0x10]
test rdx, rdx
je 0x1400339dc
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp - 0x18]
call fcn.14003fc60
mov rax, rsi
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 2
mov rdx, qword [rbp - 0x10]
test rdx, rdx
jne 0x1400339ca
jmp 0x1400339dc
Function at 0x140038030
Capabilities:
Get graphical window text

Disassembly:
push rsi
sub rsp, 0x70
mov rsi, rcx
mov byte [0x1400f0bb0], 1
mov qword [0x1400f0bb8], rcx
cmp byte [0x1400f0bc0], 1
jne 0x140038076
mov rcx, qword [0x1400f0bc8]
call sub.USER32.dll_UnhookWinEvent
mov byte [0x1400f0bc0], 0
cmp byte [0x1400f0bb0], 1
jne 0x14003811e
mov rsi, qword [0x1400f0bb8]
cmp qword [0x1400f0b50], 0
je 0x140038089
cmp rsi, qword [0x1400f0b58]
je 0x1400380de
mov rcx, rsi
xor edx, edx
call sub.USER32.dll_GetWindowThreadProcessId
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x20], 0
lea r9, [0x140038ef0]
mov ecx, 0x800c
mov edx, 0x800c
xor r8d, r8d
call sub.USER32.dll_SetWinEventHook
mov byte [0x1400f0bc0], 1
mov qword [0x1400f0bc8], rax
cmp byte [0x1400f0bb0], 1
jne 0x14003811e
mov rsi, qword [0x1400f0bb8]
lea rax, str.check_and_handle_window1_n
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 1
lea rax, str.assertion_failed:_mid___self.len__
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
lea rcx, [rsp + 0x40]
call fcn.1400766f0
mov rcx, rsi
add rsp, 0x70
pop rsi
jmp fcn.140036f10
nop
add rsp, 0x70
pop rsi
ret

Function at 0x140042bb0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx]
nop word [rax + rax]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x140042bc0
test al, 1
je 0x140042bdf
test al, 2
jne 0x140042bf9
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x1400a8178]
mov edx, 0x23
call fcn.1400a2650
ud2
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x1400a8138]
mov edx, 0x25
call fcn.1400a2650
ud2
Function at 0x140051670
Capabilities:
Access peb ldr_data

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp], 0xfffffffffffffffe
mov rsi, rcx
mov rdi, qword [rcx + 0x10]
mov eax, dword [0x1400f0da0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + 0x18]
cmp eax, 1
je 0x1400516e0
test eax, eax
jne 0x140051897
mov eax, dword [0x1400f0da0]
mov rcx, qword gs:[0x58]
mov rbx, qword [rcx + rax*8]
lea rcx, [rbx + 0x20]
lea rdx, [0x140051950]
call fcn.14007eec0
mov byte [rbx + 0x18], 1
mov eax, dword [0x1400f0da0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp qword [rax + 0x38], rdi
jne 0x14005181b
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x38], xmm0
mov qword [rsi], 2
mov eax, dword [0x1400f0da0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp qword [rax + 0x20], 0
jne 0x14005186d
mov eax, dword [0x1400f0da0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov qword [rax + 0x20], 0xffffffffffffffff
mov rax, qword [rax + 0x28]
cmp rax, 2
je 0x1400517e3
test rax, rax
je 0x1400517a4
mov eax, dword [0x1400f0da0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 0x30]
lock dec qword [rax]
jne 0x1400517e3
mov eax, dword [0x1400f0da0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rcx, [rax + 0x30]
call fcn.14004a380
jmp 0x1400517e3
mov eax, dword [0x1400f0da0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 0x30]
lock dec qword [rax]
jne 0x1400517e3
mov eax, dword [0x1400f0da0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rcx, [rax + 0x30]
call fcn.140049ae0
movups xmm0, xmmword [rbp - 0x38]
mov eax, dword [0x1400f0da0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
movups xmmword [rax + 0x28], xmm0
inc qword [rax + 0x20]
dec rdi
mov qword [rax + 0x38], rdi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [0x1400f0098]
mov rax, qword [rax]
shl rax, 1
test rax, rax
je 0x140051836
call fcn.1400a1d30
test al, al
je 0x140051812
lea rax, str._EnterGuard__values_dropped_out_of_order._Guards_returned_by__tokio::runtime::Handle::enter____must_be_dropped_in_the_reverse_order_as_they_were_acquired.
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea rax, fcn.140021f80
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rdx, [0x1400aa450]
lea rcx, [rbp - 0x38]
call fcn.1400a25b0
ud2
lea rax, [0x1400aa388]
mov qword [rsp + 0x20], rax
lea rcx, str.already_borrowed
lea r9, fcn.140021f80
lea r8, [rbp - 1]
mov edx, 0x10
call fcn.1400a2980
ud2
lea rax, [0x1400aa258]
mov qword [rsp + 0x20], rax
lea rcx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_cc66ad468955717ab92600c770da8c1601a4ff33library_std_src_threadlocal.rs
lea r9, fcn.140021f80
lea r8, [rbp - 1]
mov edx, 0x46
call fcn.1400a2980
ud2
Function at 0x1400519e0
Capabilities:
Access peb ldr_data

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x60
lea rbp, [rsp + 0x60]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rsi, rcx
mov qword [rbp - 0x38], rcx
movups xmm0, xmmword [rdx]
movups xmmword [rbp - 0x30], xmm0
mov rax, qword [rdx + 0x10]
mov qword [rbp - 0x20], rax
mov eax, dword [0x1400f0da0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + 0x18]
cmp eax, 1
je 0x140051a75
test eax, eax
jne 0x140051ada
mov byte [rbp - 9], 1
mov eax, dword [0x1400f0da0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rcx, [rax + 0x20]
lea rdx, [0x140051950]
call fcn.14007eec0
mov eax, dword [0x1400f0da0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov byte [rax + 0x18], 1
mov rax, qword [rbp - 0x30]
mov rdi, qword [rbp - 0x28]
mov ecx, dword [0x1400f0da0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov rdx, qword [rcx + 0x58]
mov qword [rbp - 0x18], rdx
mov qword [rcx + 0x58], rsi
mov rdx, qword [rax]
add rdx, 0x10
mov rcx, rdi
call fcn.140055d10
mov eax, dword [0x1400f0da0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rbp - 0x18]
mov qword [rax + 0x58], rcx
mov rax, rdi
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
lea rcx, [rbp - 0x28]
call fcn.140051210
lea rax, [0x1400aa258]
mov qword [rsp + 0x20], rax
lea rcx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_cc66ad468955717ab92600c770da8c1601a4ff33library_std_src_threadlocal.rs
lea r9, fcn.140021f80
lea r8, [rbp - 0xa]
mov edx, 0x46
call fcn.1400a2980
ud2

Function at 0x140063920
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
call sub.KERNEL32.dll_GetSystemInfo
mov eax, dword [rsp + 0x40]
add rsp, 0x58
ret

Function at 0x140063c60
Capabilities:
Connect pipe

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, qword [rcx]
mov al, 1
xchg byte [rdi + 0xb8], al
movabs rsi, 0xd00000003
test al, al
jne 0x140063ca8
lea rdx, [rdi + 0x10]
mov rcx, qword [rdi + 0xb0]
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
je 0x140063cb2
xor esi, esi
xor eax, eax
xchg byte [rdi + 0xb8], al
mov rcx, rdi
xor edx, edx
call fcn.1400656e0
mov rax, rsi
add rsp, 0x28
pop rdi
pop rsi
ret
call sub.KERNEL32.dll_GetLastError
cmp eax, 0xe8
je 0x140063c94
cmp eax, 0x217
je 0x140063c94
cmp eax, 0x3e5
jne 0x140063cd6
lock inc qword [rdi]
jg 0x140063ca8
ud2
shl rax, 0x20
or rax, 2
xor ecx, ecx
xchg byte [rdi + 0xb8], cl
mov rsi, rax
jmp 0x140063ca8
Function at 0x1400650f0
Capabilities:
Read file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x70]
mov qword [rbp], 0xfffffffffffffffe
mov r15b, 1
cmp qword [rdx + 0x10], 0
jne 0x1400652c6
mov rbx, r8
mov r13, rdx
mov r14, rcx
lea rdx, [rcx + 0x10]
lea rcx, [rbp - 0x40]
call fcn.140065900
lea r15, [r14 + 0x38]
mov rcx, qword [r14 + 0xb0]
mov rsi, qword [rbp - 0x40]
mov rdi, qword [rbp - 0x38]
mov r8d, 0xffffffff
cmp rdi, r8
cmovb r8, rdi
mov byte [rbp - 1], 1
mov qword [rsp + 0x20], r15
mov rdx, rsi
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_ReadFile]
lea r12, [r13 + 0x10]
test eax, eax
jne 0x140065182
mov byte [rbp - 1], 1
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x3e5
jne 0x140065202
mov dword [rbp - 0x14], 0
mov rcx, qword [r14 + 0xb0]
mov byte [rbp - 1], 1
lea r8, [rbp - 0x14]
mov rdx, r15
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x1400651b1
mov eax, dword [rbp - 0x14]
mov qword [rbp - 0x20], rax
jmp 0x1400651c1
mov byte [rbp - 1], 1
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x3e4
jne 0x140065202
mov qword [rbp - 0x10], r13
mov rcx, r12
call fcn.14002d070
mov rcx, qword [rbp - 0x10]
mov qword [rcx + 0x10], 1
mov qword [rcx + 0x18], 0
movups xmm0, xmmword [rbp - 0x40]
movups xmmword [rcx + 0x20], xmm0
mov rax, qword [rbp - 0x30]
mov qword [rcx + 0x30], rax
lock inc qword [r14]
mov r15b, 1
jg 0x1400652c6
ud2
cmp eax, 0x218
setne r15b
je 0x1400652b0
mov qword [rbp - 0x10], r13
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x20], rax
mov rcx, r12
call fcn.14002d070
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x10], 3
mov r8, qword [rbp - 0x20]
mov qword [rax + 0x18], r8
cmp qword [rax], 0
je 0x1400652b0
mov r12, qword [rax + 8]
test rbx, rbx
je 0x14006528b
mov rdx, qword [rbx + 0x10]
cmp rdx, qword [rbx + 8]
jne 0x140065272
mov byte [rbp - 2], 1
mov qword [rbp - 0x28], r8
mov byte [rbp - 3], 0
mov byte [rbp - 4], 1
mov rcx, rbx
call fcn.140061f10
mov rdx, qword [rbx + 0x10]
mov rax, qword [rbx]
shl rdx, 4
mov qword [rax + rdx], r12
mov dword [rax + rdx + 8], 1
inc qword [rbx + 0x10]
jmp 0x1400652b0
mov rcx, qword [rax + 0x60]
mov byte [rbp - 2], 1
mov qword [rbp - 0x28], r8
mov byte [rbp - 3], 0
mov byte [rbp - 4], 1
mov rdx, r14
mov r8, r12
mov r9d, 1
call fcn.140067190
test rdi, rdi
je 0x1400652c6
mov r8d, 1
mov rcx, rsi
mov rdx, rdi
call fcn.14003fc60
mov eax, r15d
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x140065450
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp], 0xfffffffffffffffe
mov r15, r9
mov rdi, rdx
mov rdx, qword [r8 + 0x10]
mov rax, rdx
sub rax, r9
mov qword [rbp - 0x10], r8
jb 0x1400655d9
mov rsi, rcx
lea r14, [rdi + 0x60]
mov rcx, qword [rdi + 0xb0]
mov rbx, qword [r8]
mov r8d, 0xffffffff
cmp rax, r8
cmovb r8, rax
lea rdx, [rbx + r15]
mov byte [rbp - 1], 1
mov qword [rsp + 0x20], r14
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400654cf
mov byte [rbp - 1], 1
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x3e5
jne 0x14006559d
mov dword [rbp - 0x1c], 0
mov rcx, qword [rdi + 0xb0]
mov byte [rbp - 1], 1
lea r8, [rbp - 0x1c]
mov rdx, r14
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov r14, qword [rbp + 0x60]
test eax, eax
je 0x14006554a
mov qword [rbp - 0x18], r15
mov ebx, dword [rbp - 0x1c]
lea rcx, [r14 + 0x38]
call fcn.14002d070
mov rcx, qword [rbp + 0x60]
mov qword [rcx + 0x38], 2
mov rax, qword [rbp - 0x18]
mov qword [rcx + 0x40], rax
mov rax, qword [rbp - 0x10]
movups xmm0, xmmword [rax]
movups xmmword [rcx + 0x48], xmm0
mov rax, qword [rax + 0x10]
mov qword [rcx + 0x58], rax
lock inc qword [rdi]
jle 0x1400655ee
mov qword [rsi], 1
mov qword [rsi + 8], rbx
jmp 0x1400655cb
mov byte [rbp - 1], 1
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x3e4
jne 0x14006559d
mov qword [rbp - 0x18], r15
lea rcx, [r14 + 0x38]
call fcn.14002d070
mov rcx, qword [rbp + 0x60]
mov qword [rcx + 0x38], 1
mov rax, qword [rbp - 0x18]
mov qword [rcx + 0x40], rax
mov rax, qword [rbp - 0x10]
movups xmm0, xmmword [rax]
movups xmmword [rcx + 0x48], xmm0
mov rax, qword [rax + 0x10]
mov qword [rcx + 0x58], rax
lock inc qword [rdi]
jle 0x1400655ee
mov qword [rsi], 0
jmp 0x1400655cb
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 2
mov rax, qword [rbp - 0x10]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1400655cb
mov r8d, 1
mov rcx, rbx
call fcn.14003fc60
nop
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
mov byte [rbp - 1], 1
lea r8, str.C:Usersdddddd.cargo_registry_srcmirrors.ustc.edu.cn_61ef6e0cd06fb9b8mio_0.8.11_src_syswindows_named_pipe.rs
mov rcx, r15
call fcn.1400a2a10
ud2
ud2
Function at 0x1400746b0
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3e0], rcx
mov qword [rbp + 0x3c8], 2
xorps xmm0, xmm0
movups xmmword [rbp + 0x3d0], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor edi, edi
xor ebx, ebx
xor r12d, r12d
cmp r8, 0x201
jae 0x140074740
jmp 0x14007472f
jae 0x140074800
cmp r8, 0x201
jae 0x140074740
mov esi, 0x200
lea r13, [rbp - 0x58]
mov r15, r8
jmp 0x140074798
sub r8, r12
sub rbx, r12
cmp rbx, r8
jae 0x14007476f
lea rcx, [rbp + 0x3c8]
mov rdx, r12
call fcn.1400a19e0
mov rax, qword [rbp + 0x3c8]
mov qword [rbp + 0x3e8], rax
mov rdi, qword [rbp + 0x3d0]
mov eax, 0xffffffff
cmp rdi, rax
mov r12d, 0xffffffff
cmovb r12, rdi
mov qword [rbp + 0x3d8], r12
mov rbx, rdi
mov rsi, r12
mov r13, qword [rbp + 0x3e8]
mov r15, r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, r15d
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov r14d, eax
test eax, eax
jne 0x1400747c1
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140074868
mov r8d, r14d
cmp r15, r8
jne 0x140074720
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14007488b
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x14007472f
jmp 0x140074740
cmp rsi, r8
jb 0x1400748a5
lea rcx, [rbp + 0x3a8]
mov rdx, r13
call fcn.140077ae0
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3e0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
test rdi, rdi
je 0x140074851
add rdi, rdi
mov r8d, 2
mov rcx, qword [rbp + 0x3e8]
mov rdx, rdi
call fcn.14003fc60
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3e0]
mov qword [rsi], rax
mov byte [rsi + 0x18], 2
test rdi, rdi
jne 0x140074839
jmp 0x140074851
lea rcx, str.internal_error:_entered_unreachable_code_rustc_cc66ad468955717ab92600c770da8c1601a4ff33library_alloc_src_vecmod.rs
lea r8, str.___v_
mov edx, 0x28
call fcn.1400a2650
jmp 0x1400748ba
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.1400a2a80
ud2
Function at 0x14007da00
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rsp + 0xe0]
movups xmm0, xmmword [0x1400b3718]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x14007da44
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rdx
test rcx, rcx
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x80]
cmove rdx, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x14007daaa
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x14007dae1
test eax, eax
js 0x14007dabb
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x14007dad4
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xa8
pop rdi
pop rsi
ret
mov byte [rsp + 0x5c], 0
mov dword [rsp + 0x58], 0
mov qword [rsp + 0x20], 0
lea rdx, str.07_v_
lea rsi, [rsp + 0x78]
lea r9, [rsp + 0x50]
mov r8d, 1
mov rcx, rsi
call fcn.140071bf0
lea rcx, [rsp + 0x58]
mov rdx, rsi
call fcn.140077670
mov rcx, rax
call fcn.140072210
mov ecx, 7
int 0x29
ud2

Function at 0x14007e400
Capabilities:
Generate random numbers via winapi

Disassembly:
sub rsp, 0x38
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x10
mov r9d, 2
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
test eax, eax
js 0x14007e438
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
add rsp, 0x38
ret
call fcn.14007e450
nop
add rsp, 0x38
ret

Function at 0x14007e450
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rbp
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov qword [rbp - 8], 0xfffffffffffffffe
xorps xmm0, xmm0
movaps xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
mov edx, 0x10
call qword [sym.imp.ADVAPI32.dll_SystemFunction036]
test al, al
je 0x14007e493
mov rax, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
add rsp, 0x80
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
lea rax, [0x140075640]
mov qword [rbp - 0x28], rax
lea rax, str.H9_v_
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 1
mov qword [rbp - 0x40], 0
lea rax, [rbp - 0x30]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 1
lea rdx, str.p9_v_
lea rcx, [rbp - 0x60]
call fcn.1400a25b0
ud2
Function at 0x14007eae0
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, r8
mov r14, rdx
mov rsi, rcx
movzx eax, byte [0x1400f0c01]
mov ecx, 0x10
mov edx, 8
add al, ch
cmp dl, byte [rcx]
cld
dec dword [rax - 0x7b]
ror byte [rdi], 0x84
invalid
add byte [rax], al
invalid
mov rbx, rax
mov qword [rax], r14
mov qword [rax + 8], rdi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x14007ec50]
xor edi, edi
xor ecx, ecx
mov rdx, rsi
mov r9, rax
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x14007ebb1
mov rcx, qword [rbx]
mov qword [rbp - 0x18], rbx
mov rax, qword [rbx + 8]
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x10], rax
call qword [rax]
mov rax, qword [rbp - 0x10]
mov rdx, qword [rax + 8]
push rax
or byte [rax - 0x7b], cl
test edx, edx
je 0x14007eb88
mov r8, qword [rax + 0x10]
mov rcx, qword [rbp - 0x20]
call fcn.14003fc60
mov edx, 0x10
mov r8d, 8
mov rcx, qword [rbp - 0x18]
call fcn.14003fc60
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov edi, 1
mov rax, rdi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov qword [rbp - 0x10], r14
mov qword [rbp - 0x18], rdi
mov ecx, 8
mov edx, 0x10
call fcn.1400a2540
ud2