joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431050
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
mov rcx, qword [rcx]
movzx eax, dl
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 0xffff
mov r8d, 0x20
call sub.WS2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x431087
xor eax, eax
add rsp, 0x38
ret
call sub.WS2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x431110
Capabilities:
Set socket configuration

Disassembly:
push rsi
sub rsp, 0x30
mov rcx, qword [rcx]
movzx eax, dl
mov dword [rsp + 0x2c], eax
mov dword [rsp + 0x20], 4
xor esi, esi
lea r9, [rsp + 0x2c]
xor edx, edx
mov r8d, 0xb
call sub.WS2_32.dll_setsockopt
cmp eax, 0xffffffff
jne 0x43114f
call sub.WS2_32.dll_WSAGetLastError
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov rax, rsi
add rsp, 0x30
pop rsi
ret

Function at 0x4311d0
Capabilities:
Set socket configuration

Disassembly:
push rsi
sub rsp, 0x30
mov rcx, qword [rcx]
mov dword [rsp + 0x2c], edx
mov dword [rsp + 0x20], 4
xor esi, esi
lea r9, [rsp + 0x2c]
xor edx, edx
mov r8d, 0xa
call sub.WS2_32.dll_setsockopt
cmp eax, 0xffffffff
jne 0x43120c
call sub.WS2_32.dll_WSAGetLastError
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov rax, rsi
add rsp, 0x30
pop rsi
ret

Function at 0x431290
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
mov rcx, qword [rcx]
movzx eax, dl
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 0x29
mov r8d, 0xb
call sub.WS2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x4312c7
xor eax, eax
add rsp, 0x38
ret
call sub.WS2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x431350
Capabilities:
Set socket configuration

Disassembly:
push rsi
sub rsp, 0x30
mov rcx, qword [rcx]
mov eax, dword [rdx]
mov edx, dword [r8]
shl rdx, 0x20
or rdx, rax
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 8
xor esi, esi
lea r9, [rsp + 0x28]
xor edx, edx
mov r8d, 0xc
call sub.WS2_32.dll_setsockopt
cmp eax, 0xffffffff
jne 0x431399
call sub.WS2_32.dll_WSAGetLastError
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov rax, rsi
add rsp, 0x30
pop rsi
ret

Function at 0x4313b0
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x48
mov rcx, qword [rcx]
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], r8d
mov dword [rsp + 0x20], 0x14
lea r9, [rsp + 0x30]
mov edx, 0x29
mov r8d, 0xc
call sub.WS2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x4313ed
xor eax, eax
add rsp, 0x48
ret
call sub.WS2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x48
ret

Function at 0x431400
Capabilities:
Set socket configuration

Disassembly:
push rsi
sub rsp, 0x30
mov rcx, qword [rcx]
mov eax, dword [rdx]
mov edx, dword [r8]
shl rdx, 0x20
or rdx, rax
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 8
xor esi, esi
lea r9, [rsp + 0x28]
xor edx, edx
mov r8d, 0xd
call sub.WS2_32.dll_setsockopt
cmp eax, 0xffffffff
jne 0x431449
call sub.WS2_32.dll_WSAGetLastError
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov rax, rsi
add rsp, 0x30
pop rsi
ret
Function at 0x431460
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x48
mov rcx, qword [rcx]
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], r8d
mov dword [rsp + 0x20], 0x14
lea r9, [rsp + 0x30]
mov edx, 0x29
mov r8d, 0xd
call sub.WS2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x43149d
xor eax, eax
add rsp, 0x48
ret
call sub.WS2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x48
ret

Function at 0x4314b0
Capabilities:
Send data
Send data on socket

Disassembly:
push rsi
sub rsp, 0x20
mov rax, r8
mov rsi, rcx
mov rcx, qword [rdx]
cmp r9, 0x7fffffff
mov r8d, 0x7fffffff
cmovb r8, r9
mov rdx, rax
xor r9d, r9d
call sub.WS2_32.dll_send
cmp eax, 0xffffffff
je 0x4314e9
cdqe
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x4314ff
call sub.WS2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x20
pop rsi
ret

Function at 0x431510
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rsi
sub rsp, 0x20
mov rax, r8
mov rsi, rcx
mov rcx, qword [rdx]
cmp r9, 0x7fffffff
mov r8d, 0x7fffffff
cmovb r8, r9
mov rdx, rax
xor r9d, r9d
call sub.WS2_32.dll_recv
cmp eax, 0xffffffff
je 0x431543
cdqe
jmp 0x431551
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x274a
jne 0x431559
xor eax, eax
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x43156a
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x20
pop rsi
ret
Function at 0x432a40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
movzx ebp, byte [rdx + 0x38]
xor ebx, ebx
cmp bpl, 1
setne dl
mov eax, 0
sbb eax, eax
mov rsi, rcx
or al, dl
movzx ecx, al
cmp cl, 0xff
je 0x432a70
test ecx, ecx
jne 0x432ac0
movzx ebx, byte [rdi + 0x3a]
cmp al, 0xff
je 0x432a7c
test ecx, ecx
jne 0x432ac0
mov rcx, rdi
call dbg.include_cur_dir
movzx eax, al
test bpl, bpl
jne 0x432ac7
lea rdx, [rdi + 0x10]
xor ecx, ecx
cmp byte [rdi + 0x10], 6
cmove rdx, rcx
je case.0x432ab3.2
movzx r8d, byte [rdx]
mov ecx, 6
lea r9, [0x00432c38]
movsxd r8, dword [r9 + r8*4]
add r8, r9
jmp r8
mov rcx, qword [rdx + 0x10]
add rcx, 4
jmp case.0x432ab3.2
xor eax, eax
test bpl, bpl
je 0x432a8c
xor ecx, ecx
add rax, rcx
movzx r10d, bl
lea rcx, [rax + r10]
mov rdx, qword [rdi + 8]
cmp rdx, rcx
jb 0x432c19
mov r11, qword [rdi]
lea r8, [r11 + rcx]
cmp rdx, rcx
jne 0x432afa
movzx r9d, byte [rdi + 0x10]
xor r10d, r10d
jmp 0x432b79
movzx r9d, byte [rdi + 0x10]
add rax, r10
sub rax, rdx
inc rax
lea rdi, [rdx + r11]
dec rdi
xor r10d, r10d
cmp r9b, 3
jae 0x432b40
nop dword [rax + rax]
cmp byte [rdi], 0x5c
je 0x432b5b
inc rax
dec rdi
cmp rax, 1
jne 0x432b20
jmp 0x432b79
movzx ebx, byte [rdi]
cmp ebx, 0x2f
je 0x432b5b
cmp ebx, 0x5c
je 0x432b5b
inc rax
dec rdi
cmp rax, 1
jne 0x432b40
jmp 0x432b79
neg rax
add rcx, rax
inc rcx
cmp rdx, rcx
jb 0x432c27
add r11, rcx
mov r10d, 1
mov r8, r11
sub rdx, rcx
je 0x432ba3
mov al, 9
cmp rdx, 2
je 0x432ba7
cmp rdx, 1
jne 0x432bb7
cmp byte [r8], 0x2e
jne 0x432bb7
xor eax, eax
cmp r9b, 3
setae al
lea eax, [rax + rax*2]
add eax, 7
jmp 0x432bb7
mov al, 0xa
jmp 0x432bb7
cmp byte [r8], 0x2e
jne 0x432bb7
cmp byte [r8 + 1], 0x2e
sete al
xor al, 9
add r10, rdx
mov qword [rsi], r10
mov byte [rsi + 8], al
mov qword [rsi + 0x10], r8
mov qword [rsi + 0x18], rdx
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 8
jmp case.0x432ab3.2
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 2
jmp case.0x432ab3.2
mov ecx, 2
jmp case.0x432ab3.2
lea r8, [0x004c3258]
call dbg.slice_start_index_len_fail
ud2
lea r8, [0x004c3270]
call dbg.slice_start_index_len_fail
ud2
Function at 0x436700
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0x60
mov rax, r8
mov rsi, rcx
mov rcx, qword [rdx]
mov r8d, 0xffffffff
cmp r9, r8
cmovb r8, r9
mov dword [rsp + 0x30], 0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x58], rdx
lea rdx, [dbg.callback]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x40]
mov rdx, rax
call sub.KERNEL32.dll_WriteFileEx
test eax, eax
je 0x436792
nop dword [rax + rax]
mov ecx, 0xffffffff
mov edx, 1
call sub.KERNEL32.dll_SleepEx
cmp dword [rsp + 0x30], 0
je 0x436760
mov eax, dword [rsp + 0x34]
test rax, rax
je 0x4367ac
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
jmp 0x4367b6
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x4367b9
mov eax, dword [rsp + 0x38]
mov qword [rsi + 8], rax
xor eax, eax
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x60
pop rsi
ret

Function at 0x436850
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0x60
mov rax, r8
mov rsi, rcx
mov rcx, qword [rdx]
mov rcx, qword [rcx]
mov r8d, 0xffffffff
cmp r9, r8
cmovb r8, r9
mov dword [rsp + 0x30], 0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x58], rdx
lea rdx, [dbg.callback]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x40]
mov rdx, rax
call sub.KERNEL32.dll_WriteFileEx
test eax, eax
je 0x4368e2
nop
mov ecx, 0xffffffff
mov edx, 1
call sub.KERNEL32.dll_SleepEx
cmp dword [rsp + 0x30], 0
je 0x4368b0
mov eax, dword [rsp + 0x34]
test rax, rax
je 0x4368fc
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
jmp 0x436906
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x436909
mov eax, dword [rsp + 0x38]
mov qword [rsi + 8], rax
xor eax, eax
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x60
pop rsi
ret

Function at 0x4374a0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 0x30]
mov edx, 1
call sub.KERNEL32.dll_TerminateProcess
test eax, eax
je 0x4374bd
xor eax, eax
add rsp, 0x28
ret
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x28
ret

Function at 0x438970
Capabilities:
Initialize winsock library

Disassembly:
push rsi
push rdi
sub rsp, 0x1f8
mov rax, qword [rcx]
mov rdi, qword [rax]
mov qword [rax], 0
test rdi, rdi
je 0x4389c8
lea rsi, [rsp + 0x60]
mov r8d, 0x198
mov rcx, rsi
xor edx, edx
call sub.msvcrt.dll_memset
mov cx, 0x202
mov rdx, rsi
call sub.WS2_32.dll_WSAStartup
mov dword [rsp + 0x2c], eax
test eax, eax
jne 0x4389e2
lea rax, [0x004bcde0]
mov qword [rdi], rax
add rsp, 0x1f8
pop rdi
pop rsi
ret
lea rcx, str.called__Option::unwrap____on_a__None__value_rustc_eb26296b556cef10fb713a38f3d16b9886080f26library_alloc_srccollections_btree_navigate.rs
lea r8, str.library_std_src_synconce.rs
mov edx, 0x2b
call dbg.panic
ud2
mov qword [rsp + 0x30], 0
lea rdx, [0x004c5430]
lea r9, str.library_std_src_syswindows_net.rs
lea rcx, [rsp + 0x2c]
lea r8, [rsp + 0x30]
call dbg.assert_failed<i32, i32>
ud2
Function at 0x439a00
Capabilities:
Resolve dns

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov ebp, r9d
mov rsi, rcx
lea rcx, [rsp + 0x30]
call sym.__str_as_alloc::ffi::c_str::CString::new::SpecNewImpl_::spec_new_impl::h43bef7c82fb318eb
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x439a5b
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x439ad2
mov r8d, 1
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
jmp sym.__rust_dealloc
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x58], 1
mov qword [rsp + 0x28], 0
lea r8, [rsp + 0x50]
lea r9, [rsp + 0x28]
mov rcx, rdi
xor edx, edx
call sub.WS2_32.dll_getaddrinfo
test eax, eax
je 0x439adf
call sub.WS2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
mov byte [rdi], 0
test rbx, rbx
je 0x439ad2
mov r8d, 1
mov rcx, rdi
mov rdx, rbx
call sym.__rust_dealloc
nop
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rax, qword [rsp + 0x28]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], bp
xor eax, eax
mov qword [rsi], rax
mov byte [rdi], 0
test rbx, rbx
jne 0x439ac1
jmp 0x439ad2
Function at 0x43a670
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
mov eax, 0x1098
call dbg.___chkstk_ms
sub rsp, rax
movaps xmmword [rsp + 0x1080], xmm6
mov rsi, rdx
mov rdi, rcx
lea r14, [rsp + 0x80]
mov r8d, 0x1000
mov rcx, r14
xor edx, edx
call sub.msvcrt.dll_memset
lea r15, [rsp + 0x40]
xorps xmm6, xmm6
lea rbx, [rsp + 0x30]
lea r12, [dbg.callback]
lea r13, [rsp + 0x60]
mov qword [rsp + 0x28], rdi
mov r9d, 0x1000
mov rcx, r15
mov rdx, rdi
mov r8, r14
call sym.std::sys::windows::pipe::AnonPipe::read::h14f7133a4c244ff7
cmp qword [rsp + 0x40], 0
jne 0x43a7f6
mov rbp, qword [rsp + 0x48]
test rbp, rbp
je 0x43a7ca
cmp rbp, 0x1000
ja 0x43a816
mov rdi, r14
mov r14, r15
xor r15d, r15d
nop word cs:[rax + rax]
mov r8d, ebp
sub r8d, r15d
lea rdx, [rsp + r15]
add rdx, 0x80
mov dword [rsp + 0x30], 0
movaps xmmword [rsp + 0x60], xmm6
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x20], r12
mov rcx, rsi
mov r9, r13
call sub.KERNEL32.dll_WriteFileEx
test eax, eax
je 0x43a7a0
mov ecx, 0xffffffff
mov edx, 1
call sub.KERNEL32.dll_SleepEx
cmp dword [rsp + 0x30], 0
je 0x43a760
mov eax, dword [rsp + 0x34]
test rax, rax
jne 0x43a7a5
mov eax, dword [rsp + 0x38]
add r15, rax
cmp r15, rbp
je 0x43a790
jbe 0x43a720
jmp 0x43a802
mov r15, r14
mov r14, rdi
mov rdi, qword [rsp + 0x28]
jmp 0x43a6cd
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], 1
lea rcx, [rsp + 0x58]
mov rdi, qword [rsp + 0x28]
call dbg.drop_in_place<std::io::error::Error>
mov rcx, rdi
call fcn.004bccb8
mov rcx, rsi
call fcn.004bccb8
movaps xmm6, xmmword [rsp + 0x1080]
add rsp, 0x1098
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rsp + 0x48]
call dbg.drop_in_place<std::io::error::Error>
jmp 0x43a7ca
lea r8, str.library_std_src_syswindowspipe.rs
mov rcx, r15
mov rdx, rbp
call dbg.slice_index_order_fail
jmp 0x43a82a
lea r8, str.library_std_src_syswindowspipe.rs
mov edx, 0x1000
mov rcx, rbp
call dbg.slice_end_index_len_fail
ud2

Function at 0x43f8b0
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov qword [rsp + 0x38], rcx
mov rsi, qword [rcx]
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x43f8c9
dec ecx
jmp 0x43f8d3
mov rcx, rsi
call sym.std::sys::windows::thread_local_key::StaticKey::init::h01dafbee67694799
mov ecx, eax
mov edx, 1
call fcn.004bc9d8
mov rdi, qword [rsp + 0x38]
cmp qword [rdi + 8], 0
je 0x43f8fd
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x43f8fd
lock dec qword [rcx]
jne 0x43f8fd
call dbg.drop_slow<std::thread::Inner>
mov edx, 0x20
mov r8d, 8
mov rcx, rdi
call sym.__rust_dealloc
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x43f91b
dec ecx
jmp 0x43f925
mov rcx, rsi
call sym.std::sys::windows::thread_local_key::StaticKey::init::h01dafbee67694799
mov ecx, eax
xor edx, edx
call fcn.004bc9d8
nop
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x43f9d0
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x68
mov rdi, rcx
mov rsi, qword [rcx]
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x43f9e7
dec ecx
jmp 0x43f9f1
mov rcx, rsi
call sym.std::sys::windows::thread_local_key::StaticKey::init::h01dafbee67694799
mov ecx, eax
mov edx, 1
call fcn.004bc9d8
mov edx, 0x20
mov r8d, 8
mov rcx, rdi
call sym.__rust_dealloc
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x43fa19
dec ecx
jmp 0x43fa23
mov rcx, rsi
call sym.std::sys::windows::thread_local_key::StaticKey::init::h01dafbee67694799
mov ecx, eax
xor edx, edx
add rsp, 0x68
pop rdi
pop rsi
jmp fcn.004bc9d8

Function at 0x43fad0
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x68
mov rdi, rcx
mov rsi, qword [rcx]
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x43fae7
dec ecx
jmp 0x43faf1
mov rcx, rsi
call sym.std::sys::windows::thread_local_key::StaticKey::init::h01dafbee67694799
mov ecx, eax
mov edx, 1
call fcn.004bc9d8
mov edx, 0x10
mov r8d, 8
mov rcx, rdi
call sym.__rust_dealloc
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x43fb19
dec ecx
jmp 0x43fb23
mov rcx, rsi
call sym.std::sys::windows::thread_local_key::StaticKey::init::h01dafbee67694799
mov ecx, eax
xor edx, edx
add rsp, 0x68
pop rdi
pop rsi
jmp fcn.004bc9d8

Function at 0x43fbd0
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov qword [rsp + 0x38], rcx
mov rsi, qword [rcx]
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x43fbe9
dec ecx
jmp 0x43fbf3
mov rcx, rsi
call sym.std::sys::windows::thread_local_key::StaticKey::init::h01dafbee67694799
mov ecx, eax
mov edx, 1
call fcn.004bc9d8
mov rdi, qword [rsp + 0x38]
cmp qword [rdi + 8], 0
je 0x43fc1d
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x43fc1d
lock dec qword [rcx]
jne 0x43fc1d
call dbg.drop_slow<std::sync::mutex::Mutex<alloc::vec::Vec<u8, alloc::alloc::Global>>>
mov edx, 0x18
mov r8d, 8
mov rcx, rdi
call sym.__rust_dealloc
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x43fc3b
dec ecx
jmp 0x43fc45
mov rcx, rsi
call sym.std::sys::windows::thread_local_key::StaticKey::init::h01dafbee67694799
mov ecx, eax
xor edx, edx
call fcn.004bc9d8
nop
add rsp, 0x78
pop rdi
pop rsi
ret

Function at 0x43fcf0
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov qword [rsp + 0x38], rcx
mov rsi, qword [rcx]
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x43fd09
dec ecx
jmp 0x43fd13
mov rcx, rsi
call sym.std::sys::windows::thread_local_key::StaticKey::init::h01dafbee67694799
mov ecx, eax
mov edx, 1
call fcn.004bc9d8
mov rdi, qword [rsp + 0x38]
cmp qword [rdi + 8], 0
je 0x43fd3d
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x43fd3d
lock dec qword [rcx]
jne 0x43fd3d
call dbg.drop_slow<std::sync::mpmc::context::Inner>
mov edx, 0x18
mov r8d, 8
mov rcx, rdi
call sym.__rust_dealloc
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x43fd5b
dec ecx
jmp 0x43fd65
mov rcx, rsi
call sym.std::sys::windows::thread_local_key::StaticKey::init::h01dafbee67694799
mov ecx, eax
xor edx, edx
call fcn.004bc9d8
nop
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x441580
Capabilities:
Create directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov r8, rdx
mov rdx, rcx
lea rcx, [rsp + 0x20]
call sym.std::sys::windows::to_u16s::inner::ha99fab964c929425
mov rax, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
test rax, rax
je 0x441635
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x38]
lea rdx, [rsp + 0x20]
mov r8b, 1
call dbg.get_long_path
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
test rdi, rdi
je 0x441635
mov rcx, rdi
xor edx, edx
call sub.KERNEL32.dll_CreateDirectoryW
test eax, eax
je 0x44160a
test rsi, rsi
je 0x441606
add rsi, rsi
mov r8d, 2
mov rcx, rdi
mov rdx, rsi
call sym.__rust_dealloc
xor esi, esi
jmp 0x441635
call sub.KERNEL32.dll_GetLastError
mov ebx, eax
shl rbx, 0x20
or rbx, 2
test rsi, rsi
je 0x441632
add rsi, rsi
mov r8d, 2
mov rcx, rdi
mov rdx, rsi
call sym.__rust_dealloc
mov rsi, rbx
mov rax, rsi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret

Function at 0x4419c0
Capabilities:
Delete file

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov r8, rdx
mov rdx, rcx
lea rcx, [rsp + 0x20]
call sym.std::sys::windows::to_u16s::inner::ha99fab964c929425
mov rax, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
test rax, rax
je 0x441a73
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x38]
lea rdx, [rsp + 0x20]
mov r8b, 1
call dbg.get_long_path
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
test rdi, rdi
je 0x441a73
mov rcx, rdi
call sub.KERNEL32.dll_DeleteFileW
test eax, eax
je 0x441a48
test rsi, rsi
je 0x441a44
add rsi, rsi
mov r8d, 2
mov rcx, rdi
mov rdx, rsi
call sym.__rust_dealloc
xor esi, esi
jmp 0x441a73
call sub.KERNEL32.dll_GetLastError
mov ebx, eax
shl rbx, 0x20
or rbx, 2
test rsi, rsi
je 0x441a70
add rsi, rsi
mov r8d, 2
mov rcx, rdi
mov rdx, rsi
call sym.__rust_dealloc
mov rsi, rbx
mov rax, rsi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
Function at 0x441a80
Capabilities:
Move file

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
mov r14, r9
mov r15, r8
mov r8, rdx
mov rdx, rcx
lea rcx, [rsp + 0x20]
call sym.std::sys::windows::to_u16s::inner::ha99fab964c929425
mov rax, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x28]
test rax, rax
je 0x441bda
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x38]
lea rdx, [rsp + 0x20]
mov r8b, 1
call dbg.get_long_path
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
test rdi, rdi
je 0x441b90
lea rcx, [rsp + 0x20]
mov rdx, r15
mov r8, r14
call sym.std::sys::windows::to_u16s::inner::ha99fab964c929425
mov rax, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x28]
test rax, rax
je 0x441bc1
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x38]
lea rdx, [rsp + 0x20]
mov r8b, 1
call dbg.get_long_path
mov r14, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
test r14, r14
je 0x441bc1
mov rcx, rdi
mov rdx, r14
mov r8d, 1
call sub.KERNEL32.dll_MoveFileExW
test eax, eax
je 0x441b95
test rbx, rbx
je 0x441b73
add rbx, rbx
mov r8d, 2
mov rcx, r14
mov rdx, rbx
call sym.__rust_dealloc
test rsi, rsi
je 0x441b8c
add rsi, rsi
mov r8d, 2
mov rcx, rdi
mov rdx, rsi
call sym.__rust_dealloc
xor ebx, ebx
jmp 0x441bda
mov rbx, rsi
jmp 0x441bda
call sub.KERNEL32.dll_GetLastError
mov r15d, eax
shl r15, 0x20
or r15, 2
test rbx, rbx
je 0x441bbe
add rbx, rbx
mov r8d, 2
mov rcx, r14
mov rdx, rbx
call sym.__rust_dealloc
mov rbx, r15
test rsi, rsi
je 0x441bda
add rsi, rsi
mov r8d, 2
mov rcx, rdi
mov rdx, rsi
call sym.__rust_dealloc
mov rax, rbx
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x441c10
Capabilities:
Delete directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov r8, rdx
mov rdx, rcx
lea rcx, [rsp + 0x20]
call sym.std::sys::windows::to_u16s::inner::ha99fab964c929425
mov rax, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
test rax, rax
je 0x441cc3
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x38]
lea rdx, [rsp + 0x20]
mov r8b, 1
call dbg.get_long_path
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
test rdi, rdi
je 0x441cc3
mov rcx, rdi
call sub.KERNEL32.dll_RemoveDirectoryW
test eax, eax
je 0x441c98
test rsi, rsi
je 0x441c94
add rsi, rsi
mov r8d, 2
mov rcx, rdi
mov rdx, rsi
call sym.__rust_dealloc
xor esi, esi
jmp 0x441cc3
call sub.KERNEL32.dll_GetLastError
mov ebx, eax
shl rbx, 0x20
or rbx, 2
test rsi, rsi
je 0x441cc0
add rsi, rsi
mov r8d, 2
mov rcx, rdi
mov rdx, rsi
call sym.__rust_dealloc
mov rsi, rbx
mov rax, rsi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret