joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401120f0
Capabilities:
Write file on windows

Disassembly:
push rbp
sub rsp, 0x60
lea rbp, [rsp + 0x60]
mov eax, 0xffffffff
cmp r8, rax
cmovae r8, rax
mov dword [rbp - 0xc], 0
xorps xmm0, xmm0
movaps xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], 0
lea rax, [rbp - 0xc]
mov qword [rbp - 0x18], rax
mov rcx, qword [rcx]
lea rax, [sym.std::sys::pal::windows::pipe::AnonPipe::alertable_io_internal::callback::hf64253c2a258b517]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x30]
call sub.KERNEL32.dll_WriteFileEx
test eax, eax
je 0x140112177
mov ecx, 0xffffffff
mov edx, 1
call sub.KERNEL32.dll_SleepEx
cmp dword [rbp - 0xc], 1
jne 0x140112140
mov ecx, dword [rbp - 8]
mov edx, dword [rbp - 4]
mov r8, rcx
shl r8, 0x20
or r8, 2
xor eax, eax
test ecx, ecx
setne al
cmovne rdx, r8
add rsp, 0x60
pop rbp
ret
call sub.KERNEL32.dll_GetLastError
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0x60
pop rbp
ret

Function at 0x1401121a0
Capabilities:
Write file on windows

Disassembly:
push rbp
sub rsp, 0x60
lea rbp, [rsp + 0x60]
mov eax, 0xffffffff
cmp r8, rax
cmovae r8, rax
mov rax, qword [rcx]
mov dword [rbp - 0xc], 0
xorps xmm0, xmm0
movaps xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], 0
lea rcx, [rbp - 0xc]
mov qword [rbp - 0x18], rcx
mov rcx, qword [rax]
lea rax, [sym.std::sys::pal::windows::pipe::AnonPipe::alertable_io_internal::callback::hf64253c2a258b517]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x30]
call sub.KERNEL32.dll_WriteFileEx
test eax, eax
je 0x140112237
nop word cs:[rax + rax]
mov ecx, 0xffffffff
mov edx, 1
call sub.KERNEL32.dll_SleepEx
cmp dword [rbp - 0xc], 1
jne 0x140112200
mov ecx, dword [rbp - 8]
mov edx, dword [rbp - 4]
mov r8, rcx
shl r8, 0x20
or r8, 2
xor eax, eax
test ecx, ecx
setne al
cmovne rdx, r8
add rsp, 0x60
pop rbp
ret
call sub.KERNEL32.dll_GetLastError
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0x60
pop rbp
ret

Function at 0x1401122e0
Capabilities:
Read file on windows

Disassembly:
push rbp
mov rbp, rsp
pop rbp
jmp sym.std::sys::pal::windows::pipe::AnonPipe::read::hd2c2e375469e23d2

Function at 0x1401122f0
Capabilities:
Read file on windows

Disassembly:
push rbp
mov rbp, rsp
pop rbp
jmp sym.std::sys::pal::windows::pipe::AnonPipe::read_buf::hc52cc8772fc17230

Function at 0x140112c60
Capabilities:
Terminate process

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov rsi, qword [rcx + 0x30]
mov rcx, rsi
mov edx, 1
call sub.KERNEL32.dll_TerminateProcess
test eax, eax
je 0x140112c85
xor eax, eax
jmp 0x140112cd0
call sub.KERNEL32.dll_GetLastError
cmp eax, 5
jne 0x140112cc8
mov rdi, rax
mov rcx, rsi
xor edx, edx
call sub.KERNEL32.dll_WaitForSingleObject
test eax, eax
je 0x140112ca9
cmp eax, 0x102
je 0x140112c81
jmp 0x140112cc0
mov dword [rbp - 4], 0
lea rdx, [rbp - 4]
mov rcx, rsi
call sub.KERNEL32.dll_GetExitCodeProcess
test eax, eax
jne 0x140112c81
call sub.KERNEL32.dll_GetLastError
mov rax, rdi
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
Function at 0x140113160
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov ecx, dword [0x1401ea258]
test ecx, ecx
je 0x14011320f
dec ecx
call fcn.140173a38
mov rsi, rax
cmp rax, 2
jbe 0x14011322f
lock inc qword [rsi - 0x10]
jle 0x14011327c
add rsi, 0xfffffffffffffff0
mov qword [rbp - 0x30], rsi
xor ecx, ecx
call sym.std::sync::mpmc::waker::current_thread_id::DUMMY::__u7b__u7b_closure_u7d__u7d_::hb975952bc2cfde6f
test rax, rax
je 0x14011323f
mov qword [rbp - 0x30], 1
mov qword [rbp - 0x28], 1
mov qword [rbp - 0x20], rsi
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], rax
mov rax, qword [0x1401b5f98]
movzx eax, byte [rax]
mov ecx, 0x30
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x140113269
movups xmm0, xmmword [rbp - 0x30]
movups xmm1, xmmword [rbp - 0x20]
movups xmm2, xmmword [rbp - 0x10]
movups xmmword [rax + 0x20], xmm2
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x1401ea240]
call sym.std::sys::thread_local::key::windows::LazyKey::init::h3b25bd09068d2560
mov ecx, eax
call fcn.140173a38
mov rsi, rax
cmp rax, 2
ja 0x14011318f
mov rcx, rsi
call sym.std::thread::current::init_current::h94edbd5403e72943
mov rsi, rax
jmp 0x14011319e
lea rax, str.std_src_threadlocal.rs
mov qword [rsp + 0x20], rax
lea rcx, [0x140196bf2]
lea r9, [0x140194c68]
lea r8, [rbp + 7]
mov edx, 0x46
call sym.core::result::unwrap_failed::heaa9bd3985e144d1
jmp 0x14011327c
lea rbx, [rbp - 0x20]
mov ecx, 8
mov edx, 0x30
call sym.alloc::alloc::handle_alloc_error::h5b2832badfdb0979
ud2
Function at 0x140113740
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rsi
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov rax, qword [rcx]
cmp byte [rax], 0
mov byte [rax], 0
je 0x1401138b9
mov byte [rbp + 7], 0
mov eax, dword [0x1401ea180]
cmp eax, 3
jne 0x1401137a8
cmp byte [rbp + 7], 0
jne 0x1401138a0
mov ecx, dword [0x1401ea238]
test ecx, ecx
je 0x1401137bc
dec ecx
call fcn.140173a38
test rax, rax
je 0x1401137d4
mov rcx, qword [0x1401ea148]
cmp rax, rcx
jne 0x1401137e5
mov eax, dword [0x1401ea150]
cmp eax, 0xffffffff
je 0x1401138a0
inc eax
jmp 0x140113806
lea rcx, [rbp + 7]
call sym.std::sync::once_lock::OnceLock_T_::initialize::h5ca406724af0b6ee
cmp byte [rbp + 7], 0
je 0x140113773
jmp 0x1401138a0
lea rcx, [0x1401ea220]
call sym.std::sys::thread_local::key::windows::LazyKey::init::h3b25bd09068d2560
mov ecx, eax
call fcn.140173a38
test rax, rax
jne 0x140113789
call sym.std::thread::current::id::get_or_init::__u7b__u7b_closure_u7d__u7d_::hedc11dbc19db473f
mov rcx, qword [0x1401ea148]
cmp rax, rcx
je 0x140113795
mov rcx, rax
mov dl, 1
xor eax, eax
lock cmpxchg byte [0x1401ea154], dl
jne 0x1401138a0
mov qword [0x1401ea148], rcx
mov eax, 1
mov dword [0x1401ea150], eax
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 1
mov qword [rbp - 0x10], 0
mov byte [rbp - 8], 0
mov byte [rbp - 3], 0
mov dword [rbp - 7], 0
cmp qword [0x1401ea158], 0
jne 0x1401138c5
mov qword [0x1401ea158], 0xffffffffffffffff
lea rcx, [0x1401ea160]
call sym._ZN4core3ptr95drop_in_place_LT_std..io..buffered..linewriter..LineWriter_LT_std..io..stdio..StdoutRaw_GT__GT_17h52c2e677019eef
movups xmm0, xmmword [rbp - 0x20]
movups xmm1, xmmword [rbp - 0x10]
movups xmmword [0x1401ea170], xmm1
movups xmmword [0x1401ea160], xmm0
inc qword [0x1401ea158]
dec dword [0x1401ea150]
jne 0x1401138a0
mov qword [0x1401ea148], 0
xor eax, eax
xchg byte [0x1401ea154], al
cmp al, 2
jne 0x1401138a0
lea rcx, [0x1401ea154]
call fcn.140131cbc
mov eax, dword [0x1401ea1f0]
cmp eax, 3
jne 0x1401138b1
call qword [0x1401ea1e8]
nop
add rsp, 0x48
pop rsi
pop rbp
ret
lea rcx, str.std_src_synconce.rs
call sym.core::option::unwrap_failed::h9508d322d744588d
lea rcx, [0x140196ac8]
call sym.core::cell::panic_already_borrowed::h439a15d5ce72f317
ud2

Function at 0x140113be0
Capabilities:
Initialize winsock library

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x1f0
lea rbp, [rsp + 0x80]
mov rax, qword [rcx]
mov rdi, qword [rax]
mov qword [rax], 0
test rdi, rdi
je 0x140113c43
lea rsi, [rbp - 0x60]
mov r8d, 0x198
mov rcx, rsi
xor edx, edx
call fcn.1401745c0
mov cx, 0x202
mov rdx, rsi
call sub.ws2_32.dll_WSAStartup
mov dword [rbp + 0x16c], eax
test eax, eax
jne 0x140113c4f
lea rax, [0x140173d90]
mov qword [rdi], rax
add rsp, 0x1f0
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.std_src_synconce.rs
call sym.core::option::unwrap_failed::h9508d322d744588d
mov qword [rbp + 0x138], 0
lea rdx, [0x140198c28]
lea r9, str.std_src_syspalwindows_net.rs
lea rcx, [rbp + 0x16c]
lea r8, [rbp + 0x138]
call sym.core::panicking::assert_failed::he2381c55c73c196a
int3
Function at 0x140114aa0
Capabilities:
Resolve dns

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov r14, r9
mov rsi, rcx
lea rcx, [rbp - 0x28]
call sym.__str_as_alloc::ffi::c_str::CString::new::SpecNewImpl_::spec_new_impl::ha32cd5f3c3df5e34
mov rdx, qword [rbp - 0x28]
mov rax, rdx
neg rax
jno 0x140114b20
mov rdi, qword [rbp - 0x20]
mov rbx, qword [rbp - 0x18]
xorps xmm0, xmm0
movaps xmmword [rbp - 0x60], xmm0
movaps xmmword [rbp - 0x40], xmm0
movaps xmmword [rbp - 0x50], xmm0
mov dword [rbp - 0x58], 1
mov qword [rbp - 8], 0
lea r8, [rbp - 0x60]
lea r9, [rbp - 8]
mov rcx, rdi
xor edx, edx
call sub.ws2_32.dll_getaddrinfo
test eax, eax
je 0x140114b50
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x140114b64
lea rax, [0x1401979f8]
mov qword [rsi + 8], rax
mov qword [rsi], 1
jae 0x140114b84
mov rcx, qword [rbp - 0x20]
mov r8d, 1
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
jmp sym.__rust_dealloc
mov rcx, qword [r14]
mov rax, qword [rbp - 8]
movzx ecx, word [rcx]
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], cx
xor ecx, ecx
mov qword [rsi + 8], rax
mov qword [rsi], rcx
mov byte [rdi], 0
test rbx, rbx
je 0x140114b84
mov r8d, 1
mov rcx, rdi
mov rdx, rbx
call sym.__rust_dealloc
nop
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
Function at 0x140115480
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
mov eax, 0x1098
call sym.___chkstk_ms
sub rsp, rax
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x1000], xmm6
mov rsi, rdx
mov qword [rbp + 0xff8], rcx
mov qword [rbp + 0xfd8], rcx
mov qword [rbp + 0xfe0], rdx
lea rbx, [rbp - 0x50]
mov r8d, 0x1000
mov rcx, rbx
xor edx, edx
call fcn.1401745c0
xorps xmm6, xmm6
lea r15, [rbp + 0xfec]
lea rdi, [sym.std::sys::pal::windows::pipe::AnonPipe::alertable_io_internal::callback::hf64253c2a258b517]
lea r12, [rbp + 0xfb0]
mov r8d, 0x1000
lea rcx, [rbp + 0xfd8]
mov rdx, rbx
call sym.std::sys::pal::windows::pipe::AnonPipe::read::hd2c2e375469e23d2
mov r14, rdx
test rax, rax
jne 0x1401155fc
test r14, r14
je 0x1401155cd
cmp r14, 0x1000
ja 0x140115660
xor r13d, r13d
nop word cs:[rax + rax]
cmp r13, r14
ja 0x14011564c
mov r8d, r14d
sub r8d, r13d
lea rdx, [r13 - 0x50]
add rdx, rbp
mov dword [rbp + 0xfec], 0
movaps xmmword [rbp + 0xfb0], xmm6
mov qword [rbp + 0xfc0], 0
mov qword [rbp + 0xfc8], r15
mov qword [rsp + 0x20], rdi
mov rcx, rsi
mov r9, r12
call sub.KERNEL32.dll_WriteFileEx
test eax, eax
je 0x1401155c8
nop word cs:[rax + rax]
mov ecx, 0xffffffff
mov edx, 1
call sub.KERNEL32.dll_SleepEx
cmp dword [rbp + 0xfec], 1
jne 0x140115590
cmp dword [rbp + 0xff0], 0
jne 0x1401155cd
mov eax, dword [rbp + 0xff4]
add r13, rax
cmp r13, r14
jne 0x140115530
jmp 0x1401154ec
call sub.KERNEL32.dll_GetLastError
mov rcx, qword [rbp + 0xff8]
call sub.KERNEL32.dll_CloseHandle
mov rcx, rsi
call sub.KERNEL32.dll_CloseHandle
movaps xmm6, xmmword [rbp + 0x1000]
add rsp, 0x1098
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov eax, r14d
and eax, 3
cmp eax, 1
jne 0x1401155cd
mov rbx, r14
dec rbx
mov r15, qword [r14 - 1]
mov rdi, qword [r14 + 7]
mov rax, qword [rdi]
test rax, rax
je 0x140115622
mov rcx, r15
call rax
mov rdx, qword [rdi + 8]
test rdx, rdx
je 0x140115637
mov r8, qword [rdi + 0x10]
mov rcx, r15
call sym.__rust_dealloc
mov edx, 0x18
mov r8d, 8
mov rcx, rbx
call sym.__rust_dealloc
jmp 0x1401155cd
lea r8, str.std_src_syspalwindowspipe.rs
mov rcx, r13
mov rdx, r14
call sym.core::slice::index::slice_index_order_fail::h969286e508d582f3
jmp 0x140115674
lea r8, str.std_src_syspalwindowspipe.rs
mov edx, 0x1000
mov rcx, r14
call sym.core::slice::index::slice_end_index_len_fail::h01c9774db41e734a
ud2
Function at 0x140118ae0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov ecx, dword [0x1401ea238]
test ecx, ecx
je 0x140118b00
dec ecx
add rsp, 0x20
pop rbp
jmp fcn.140173a38
lea rcx, [0x1401ea220]
call sym.std::sys::thread_local::key::windows::LazyKey::init::h3b25bd09068d2560
mov ecx, eax
add rsp, 0x20
pop rbp
jmp fcn.140173a38

Function at 0x140118b20
Capabilities:
Set thread local storage value

Disassembly:
push rbp
push rsi
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov rsi, rcx
mov ecx, dword [0x1401ea238]
test ecx, ecx
je 0x140118b48
dec ecx
mov rdx, rsi
add rsp, 0x28
pop rsi
pop rbp
jmp sub.KERNEL32.dll_TlsSetValue
lea rcx, [0x1401ea220]
call sym.std::sys::thread_local::key::windows::LazyKey::init::h3b25bd09068d2560
mov ecx, eax
jmp 0x140118b3a

Function at 0x1401197e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x270
lea rbp, [rsp + 0x80]
mov rsi, rcx
mov rdi, qword [rdx + 8]
cmp rdi, 0xffffffffffffffff
je 0x1401198d3
mov eax, dword [rdx + 0x10]
movzx ebx, word [rdx + 0x40]
movzx r15d, word [rdx + 0x42]
movzx r14d, word [rdx + 0x44]
mov dword [rdx + 0x10], 0
cmp eax, 1
jne 0x14011984a
mov r12, qword [rdx]
cmp bx, 0x2e
jne 0x1401198ed
test r15w, r15w
je 0x14011984a
mov eax, r15d
xor eax, 0x2e
or ax, r14w
jne 0x1401198ed
mov r14, rdx
lea rbx, [rbp - 0x60]
mov r8d, 0x250
mov rcx, rbx
xor edx, edx
call fcn.1401745c0
mov rcx, rdi
mov rdx, rbx
call sub.KERNEL32.dll_FindNextFileW
test eax, eax
je 0x1401198df
mov rbx, qword [r14]
lea r14, [rbp - 0x60]
jmp 0x14011988f
mov rcx, rdi
mov rdx, r14
call sub.KERNEL32.dll_FindNextFileW
test eax, eax
je 0x1401198df
cmp word [rbp - 0x34], 0x2e
jne 0x1401198ac
movzx eax, word [rbp - 0x32]
test ax, ax
je 0x140119880
cmp ax, 0x2e
jne 0x1401198ac
cmp word [rbp - 0x30], 0
je 0x140119880
lock inc qword [rbx]
jle 0x140119979
lea rcx, [rsi + 0x10]
lea rdx, [rbp - 0x60]
mov r8d, 0x250
call sym.memcpy
mov eax, 8
jmp 0x140119958
mov qword [rsi], 0
jmp 0x140119964
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x12
jne 0x140119941
xor eax, eax
jmp 0x140119961
lock inc qword [r12]
jle 0x140119979
lea rax, [rdx + 0x14]
add rdx, 0x46
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmm2, xmmword [rax + 0x1c]
movups xmmword [rsi + 0x2c], xmm2
movups xmmword [rsi + 0x20], xmm1
movups xmmword [rsi + 0x10], xmm0
lea rcx, [rsi + 0x42]
mov r8d, 0x21e
call sym.memcpy
mov qword [rsi + 8], r12
mov word [rsi + 0x3c], bx
mov word [rsi + 0x3e], r15w
mov word [rsi + 0x40], r14w
mov qword [rsi], 1
jmp 0x140119964
mov ebx, eax
shl rbx, 0x20
or rbx, 2
mov qword [rsi + 8], 0
mov eax, 0x10
mov qword [rsi + rax], rbx
mov eax, 1
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x270
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
ud2
Function at 0x14011a2d0
Capabilities:
Create directory

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov r8, rdx
mov rdx, rcx
lea rcx, [rbp - 0x10]
call sym.std::sys::pal::windows::to_u16s::inner::h0835110978e9de33
mov rax, qword [rbp - 0x10]
mov rsi, qword [rbp - 8]
mov rcx, rax
neg rcx
jo 0x14011a333
movabs rbx, 0x8000000000000000
mov rcx, qword [rbp]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], rcx
lea rcx, [rbp - 0x40]
lea rdx, [rbp - 0x28]
mov r8b, 1
call sym.std::sys::path::windows::get_long_path::hb526bb4596cade7f
mov rdi, qword [rbp - 0x40]
mov rsi, qword [rbp - 0x38]
cmp rdi, rbx
jne 0x14011a33f
mov rax, rsi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop rbp
ret
mov rcx, rsi
xor edx, edx
call sub.KERNEL32.dll_CreateDirectoryW
test eax, eax
je 0x14011a36a
test rdi, rdi
je 0x14011a395
add rdi, rdi
mov r8d, 2
mov rcx, rsi
mov rdx, rdi
call sym.__rust_dealloc
xor eax, eax
jmp 0x14011a336
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
test rdi, rdi
je 0x14011a336
add rdi, rdi
mov r8d, 2
mov rcx, rsi
mov rdx, rdi
mov rsi, rax
call sym.__rust_dealloc
jmp 0x14011a333
xor eax, eax
jmp 0x14011a336
Function at 0x14011a810
Capabilities:
Delete file

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov r8, rdx
mov rdx, rcx
lea rcx, [rbp - 0x10]
call sym.std::sys::pal::windows::to_u16s::inner::h0835110978e9de33
mov rax, qword [rbp - 0x10]
mov rsi, qword [rbp - 8]
mov rcx, rax
neg rcx
jo 0x14011a873
movabs rbx, 0x8000000000000000
mov rcx, qword [rbp]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], rcx
lea rcx, [rbp - 0x40]
lea rdx, [rbp - 0x28]
mov r8b, 1
call sym.std::sys::path::windows::get_long_path::hb526bb4596cade7f
mov rdi, qword [rbp - 0x40]
mov rsi, qword [rbp - 0x38]
cmp rdi, rbx
jne 0x14011a87f
mov rax, rsi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop rbp
ret
mov rcx, rsi
call sub.KERNEL32.dll_DeleteFileW
test eax, eax
je 0x14011a8a8
test rdi, rdi
je 0x14011a8d3
add rdi, rdi
mov r8d, 2
mov rcx, rsi
mov rdx, rdi
call sym.__rust_dealloc
xor eax, eax
jmp 0x14011a876
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
test rdi, rdi
je 0x14011a876
add rdi, rdi
mov r8d, 2
mov rcx, rsi
mov rdx, rdi
mov rsi, rax
call sym.__rust_dealloc
jmp 0x14011a873
xor eax, eax
jmp 0x14011a876

Function at 0x14011a8e0
Capabilities:
Move file

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov rbx, r9
mov r14, r8
mov r8, rdx
mov rdx, rcx
lea rcx, [rbp - 0x10]
call sym.std::sys::pal::windows::to_u16s::inner::h0835110978e9de33
mov rax, qword [rbp - 0x10]
mov rsi, qword [rbp - 8]
mov rcx, rax
neg rcx
jo 0x14011a9b9
movabs r15, 0x8000000000000000
mov rcx, qword [rbp]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], rcx
lea rcx, [rbp - 0x40]
lea rdx, [rbp - 0x28]
mov r8b, 1
call sym.std::sys::path::windows::get_long_path::hb526bb4596cade7f
mov rdi, qword [rbp - 0x40]
mov rsi, qword [rbp - 0x38]
cmp rdi, r15
je 0x14011a9b9
lea rcx, [rbp - 0x10]
mov rdx, r14
mov r8, rbx
call sym.std::sys::pal::windows::to_u16s::inner::h0835110978e9de33
mov rax, qword [rbp - 0x10]
mov rbx, qword [rbp - 8]
cmp rax, r15
je 0x14011a99a
mov rcx, qword [rbp]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], rcx
lea rcx, [rbp - 0x40]
lea rdx, [rbp - 0x28]
mov r8b, 1
call sym.std::sys::path::windows::get_long_path::hb526bb4596cade7f
mov r14, qword [rbp - 0x40]
mov rbx, qword [rbp - 0x38]
cmp r14, r15
jne 0x14011a9c9
mov rax, rbx
test rdi, rdi
je 0x14011a9bc
add rdi, rdi
mov r8d, 2
mov rcx, rsi
mov rdx, rdi
mov rsi, rax
call sym.__rust_dealloc
mov rax, rsi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
mov rcx, rsi
mov rdx, rbx
mov r8d, 1
call sub.KERNEL32.dll_MoveFileExW
test eax, eax
je 0x14011aa14
test r14, r14
je 0x14011a9f7
add r14, r14
mov r8d, 2
mov rcx, rbx
mov rdx, r14
call sym.__rust_dealloc
test rdi, rdi
je 0x14011aa10
add rdi, rdi
mov r8d, 2
mov rcx, rsi
mov rdx, rdi
call sym.__rust_dealloc
xor eax, eax
jmp 0x14011a9bc
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
test r14, r14
je 0x14011a99d
add r14, r14
mov r8d, 2
mov rcx, rbx
mov rdx, r14
mov rbx, rax
call sym.__rust_dealloc
jmp 0x14011a99a
Function at 0x14011aa70
Capabilities:
Delete directory

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov r8, rdx
mov rdx, rcx
lea rcx, [rbp - 0x10]
call sym.std::sys::pal::windows::to_u16s::inner::h0835110978e9de33
mov rax, qword [rbp - 0x10]
mov rsi, qword [rbp - 8]
mov rcx, rax
neg rcx
jo 0x14011aad3
movabs rbx, 0x8000000000000000
mov rcx, qword [rbp]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], rcx
lea rcx, [rbp - 0x40]
lea rdx, [rbp - 0x28]
mov r8b, 1
call sym.std::sys::path::windows::get_long_path::hb526bb4596cade7f
mov rdi, qword [rbp - 0x40]
mov rsi, qword [rbp - 0x38]
cmp rdi, rbx
jne 0x14011aadf
mov rax, rsi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop rbp
ret
mov rcx, rsi
call sub.KERNEL32.dll_RemoveDirectoryW
test eax, eax
je 0x14011ab08
test rdi, rdi
je 0x14011ab33
add rdi, rdi
mov r8d, 2
mov rcx, rsi
mov rdx, rdi
call sym.__rust_dealloc
xor eax, eax
jmp 0x14011aad6
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
test rdi, rdi
je 0x14011aad6
add rdi, rdi
mov r8d, 2
mov rcx, rsi
mov rdx, rdi
mov rsi, rax
call sym.__rust_dealloc
jmp 0x14011aad3
xor eax, eax
jmp 0x14011aad6

Function at 0x14011bde0
Capabilities:
Set file attributes

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x70
lea rbp, [rsp + 0x70]
mov ebx, r8d
mov r8, rdx
mov rdx, rcx
lea rcx, [rbp - 0x18]
call sym.std::sys::pal::windows::to_u16s::inner::h0835110978e9de33
mov rax, qword [rbp - 0x18]
mov rsi, qword [rbp - 0x10]
mov rcx, rax
neg rcx
jo 0x14011be48
movabs r14, 0x8000000000000000
mov rcx, qword [rbp - 8]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x20], rcx
lea rcx, [rbp - 0x48]
lea rdx, [rbp - 0x30]
mov r8b, 1
call sym.std::sys::path::windows::get_long_path::hb526bb4596cade7f
mov rdi, qword [rbp - 0x48]
mov rsi, qword [rbp - 0x40]
cmp rdi, r14
jne 0x14011be56
mov rax, rsi
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov rcx, rsi
mov edx, ebx
call sub.KERNEL32.dll_SetFileAttributesW
test eax, eax
je 0x14011be81
test rdi, rdi
je 0x14011beac
add rdi, rdi
mov r8d, 2
mov rcx, rsi
mov rdx, rdi
call sym.__rust_dealloc
xor eax, eax
jmp 0x14011be4b
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
test rdi, rdi
je 0x14011be4b
add rdi, rdi
mov r8d, 2
mov rcx, rsi
mov rdx, rdi
mov rsi, rax
call sym.__rust_dealloc
jmp 0x14011be48
xor eax, eax
jmp 0x14011be4b
Function at 0x14011c1c0
Capabilities:
Copy file

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x70]
mov rbx, r9
mov r14, r8
mov r8, rdx
mov rdx, rcx
lea rcx, [rbp - 0x28]
call sym.std::sys::pal::windows::to_u16s::inner::h0835110978e9de33
mov rax, qword [rbp - 0x28]
mov rsi, qword [rbp - 0x20]
mov rcx, rax
neg rcx
jo 0x14011c29b
movabs r15, 0x8000000000000000
mov rcx, qword [rbp - 0x18]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rsi
mov qword [rbp], rcx
lea rcx, [rbp - 0x40]
lea rdx, [rbp - 0x10]
mov r8b, 1
call sym.std::sys::path::windows::get_long_path::hb526bb4596cade7f
mov rdi, qword [rbp - 0x40]
mov rsi, qword [rbp - 0x38]
cmp rdi, r15
je 0x14011c29b
lea rcx, [rbp - 0x28]
mov rdx, r14
mov r8, rbx
call sym.std::sys::pal::windows::to_u16s::inner::h0835110978e9de33
mov rax, qword [rbp - 0x28]
mov rdx, qword [rbp - 0x20]
cmp rax, r15
je 0x14011c27a
mov rcx, qword [rbp - 0x18]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
mov qword [rbp], rcx
lea rcx, [rbp - 0x40]
lea rdx, [rbp - 0x10]
mov r8b, 1
call sym.std::sys::path::windows::get_long_path::hb526bb4596cade7f
mov rbx, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x38]
cmp rbx, r15
jne 0x14011c2b0
mov eax, 1
test rdi, rdi
je 0x14011c2a3
add rdi, rdi
mov r8d, 2
mov rcx, rsi
mov rsi, rdx
mov rdx, rdi
call sym.__rust_dealloc
mov eax, 1
mov rdx, rsi
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
mov qword [rbp - 0x10], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r8, [sym.std::sys::pal::windows::fs::copy::callback::h1a6ac30a1d9758ed]
lea r9, [rbp - 0x10]
mov rcx, rsi
mov r14, rdx
call sub.KERNEL32.dll_CopyFileExW
test eax, eax
je 0x14011c32c
mov rdx, qword [rbp - 0x10]
test rbx, rbx
je 0x14011c306
add rbx, rbx
mov r8d, 2
mov rcx, r14
mov r14, rdx
mov rdx, rbx
call sym.__rust_dealloc
mov rdx, r14
test rdi, rdi
je 0x14011c325
add rdi, rdi
mov r8d, 2
mov rcx, rsi
mov rsi, rdx
mov rdx, rdi
call sym.__rust_dealloc
mov rdx, rsi
xor eax, eax
jmp 0x14011c2a3
call sub.KERNEL32.dll_GetLastError
mov edx, eax
shl rdx, 0x20
or rdx, 2
test rbx, rbx
je 0x14011c27a
add rbx, rbx
mov r8d, 2
mov rcx, r14
mov r14, rdx
mov rdx, rbx
call sym.__rust_dealloc
mov rdx, r14
jmp 0x14011c27a