joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b5740
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 0x1400b5777
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 0x1400b5800
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 0x1400b583f
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 0x1400b58c0
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 0x1400b58fc
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 0x1400b5980
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 0x1400b59b7
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 0x1400b5a40
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 0x1400b5a89
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 0x1400b5aa0
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 0x1400b5add
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 0x1400b5af0
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 0x1400b5b39
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 0x1400b5b50
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 0x1400b5b8d
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 0x1400b5ba0
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 0x1400b5bd9
cdqe
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x1400b5bef
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 0x1400b5c00
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 0x1400b5c33
cdqe
jmp 0x1400b5c41
call sub.ws2_32.dll_WSAGetLastError
cmp eax, 0x274a
jne 0x1400b5c49
xor eax, eax
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x1400b5c5a
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 0x1400ba910
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 + 0x34], 0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0
lea rdx, [rsp + 0x34]
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 0x1400ba9a3
nop dword [rax + rax]
mov ecx, 0xffffffff
mov edx, 1
call sub.kernel32.dll_SleepEx
cmp dword [rsp + 0x34], 0
je 0x1400ba970
movsxd rax, dword [rsp + 0x38]
test rax, rax
je 0x1400ba9bd
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
jmp 0x1400ba9c7
call fcn.14013f504
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x1400ba9ca
mov eax, dword [rsp + 0x3c]
mov qword [rsi + 8], rax
xor eax, eax
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x60
pop rsi
ret
Function at 0x1400ba9f0
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 + 0x34], 0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0
lea rdx, [rsp + 0x34]
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 0x1400baa83
nop
mov ecx, 0xffffffff
mov edx, 1
call sub.kernel32.dll_SleepEx
cmp dword [rsp + 0x34], 0
je 0x1400baa50
movsxd rax, dword [rsp + 0x38]
test rax, rax
je 0x1400baa9d
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
jmp 0x1400baaa7
call fcn.14013f504
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x1400baaaa
mov eax, dword [rsp + 0x3c]
mov qword [rsi + 8], rax
xor eax, eax
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x60
pop rsi
ret

Function at 0x1400bab50
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x68
mov rax, r8
mov rsi, rcx
mov rcx, qword [rdx]
mov r8d, 0xffffffff
cmp r9, r8
cmovb r8, r9
mov dword [rsp + 0x34], 0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0
lea rdx, [rsp + 0x34]
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_ReadFileEx
test eax, eax
je 0x1400babe1
nop dword [rax]
mov ecx, 0xffffffff
mov edx, 1
call sub.kernel32.dll_SleepEx
cmp dword [rsp + 0x34], 0
je 0x1400babb0
mov edi, dword [rsp + 0x38]
test edi, edi
je 0x1400bac02
mov ecx, edi
call dbg.decode_error_kind
cmp al, 0xb
jne 0x1400babf3
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
jmp 0x1400bac0f
call fcn.14013f504
mov edi, eax
mov ecx, edi
call dbg.decode_error_kind
cmp al, 0xb
je 0x1400babd9
shl rdi, 0x20
or rdi, 2
mov eax, 1
jmp 0x1400bac08
mov edi, dword [rsp + 0x3c]
xor eax, eax
mov qword [rsi], rax
mov qword [rsi + 8], rdi
mov rax, rsi
add rsp, 0x68
pop rdi
pop rsi
ret

Function at 0x1400bb740
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, qword [rcx + 0x30]
mov edi, dword [rcx + 0x30]
mov rcx, rdi
mov edx, 1
add dword [rax], eax
add byte [rax], al
call sub.kernel32.dll_TerminateProcess
or byte [rax], al
test eax, eax
invalid
je 0x1400bb75f
xor esi, esi
jmp 0x1400bb7a8
call fcn.14013f504
mov esi, eax
cmp eax, 5
invalid
jne 0x1400bb7a0
invalid
mov rcx, rdi
xor edx, edx
call sub.kernel32.dll_WaitForSingleObject
invalid
invalid
or byte [rax], al
test eax, eax
je 0x1400bb782
invalid
cmp eax, 0x102
je 0x1400bb75b
jmp 0x1400bb79b
mov dword [rsp + 0x24], 0
lea rdx, [rsp + 0x24]
push rsp
and al, 0x24
mov rcx, rdi
call sub.kernel32.dll_GetExitCodeProcess
test eax, eax
invalid
jne 0x1400bb75b
call fcn.14013f504
shl rsi, 0x20
or rsi, 2
mov rax, rsi
add rsp, 0x28
add esp, 0x28
pop rdi
pop rsi
ret
Function at 0x1400bcb80
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 0x1400bcbd8
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 0x1400bcbf2
lea rax, [0x14013f2b4]
mov qword [rdi], rax
add rsp, 0x1f8
pop rdi
pop rsi
ret
lea rcx, [0x140153f70]
lea r8, str.library_std_src_synconce.rs
mov edx, 0x2b
call dbg.panic
ud2
mov qword [rsp + 0x30], 0
lea rdx, [0x1401592d0]
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 0x1400bdac0
Capabilities:
Resolve dns

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
sub esp, 0x88
in al, dx
mov byte [rax], al
add byte [rax], al
mov ebp, r9d
int 0x48
mov esi, ecx
invalid
lea rcx, [rsp + 0x30]
xor al, ch
movsd dword [rdi], dword [rsi]
cld
add al, 0
mov rcx, qword [rsp + 0x30]
and al, 0x30
test rcx, rcx
leave
je case.0x1400b90f2.122
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
mov dword [rsi], 1
add byte [rax], al
add byte [rax - 0x75], cl
push rsp
and al, 0x38
test rdx, rdx
je 0x1400bdb92
lea eax, [rax]
add byte [rax], al
invalid
mov r8d, 1
add rsp, 0x88
invalid
mov byte [rax], al
add byte [rax], al
add byte [rbx + 0x5d], bl
pop rdi
pop rsi
jmp sym.__rust_dealloc
sal ah, cl
invalid
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
sub dword [rsp + 0x50], eax
and al, 0x50
push rax
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
and al, 0x60
mov dword [rsp + 0x58], 1
and al, 0x58
add dword [rax], eax
add byte [rax], al
add byte [rax], al
mov qword [rsp + 0x28], 0
add byte [rax], al
add byte [rax], al
lea r8, [rsp + 0x50]
lea r9, [rsp + 0x28]
and al, 0x28
mov rcx, rdi
mov ecx, edi
xor edx, edx
call sub.ws2_32.dll_getaddrinfo
mov eax, 0x85000817
test eax, eax
je 0x1400bdb9f
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
add cl, byte [rax - 0x77]
or byte [rax + 1], r15b
mov eax, 1
add byte [rax], al
mov qword [rsi], rax
invalid
mov byte [rdi], 0
test rbx, rbx
test ebx, ebx
invalid
je 0x1400bdb92
invalid
mov r8d, 1
mov rcx, rdi
mov ecx, edi
mov rdx, rbx
mov edx, ebx
call sym.__rust_dealloc
sal esp, 1
hlt
invalid
nop
add rsp, 0x88
add byte [rbx + 0x5d], bl
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rax, qword [rsp + 0x28]
mov qword [rsi + 8], rax
or byte [rax - 0x77], cl
mov dword [rsi + 0x10], eax
adc byte [rsi - 0x77], ah
mov word [rsi + 0x18], bp
xor eax, eax
mov qword [rsi], rax
mov byte [rdi], 0
invalid
add byte [rax - 0x7b], cl
test rbx, rbx
jne 0x1400bdb81
jmp 0x1400bdb92
Function at 0x1400bec30
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
mov eax, 0x1078
call dbg.___chkstk_ms
sub rsp, rax
movaps xmmword [rsp + 0x1060], xmm6
mov rsi, rdx
mov rdi, rcx
lea rbx, [rsp + 0x60]
mov r8d, 0x1000
mov rcx, rbx
xor edx, edx
call sub.msvcrt.dll_memset
mov dword [rsp + 0x34], 0
xorps xmm6, xmm6
movaps xmmword [rsp + 0x40], xmm6
mov qword [rsp + 0x50], 0
lea r13, [rsp + 0x34]
mov qword [rsp + 0x58], r13
lea rbp, [dbg.callback]
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x40]
mov rcx, rdi
mov rdx, rbx
mov r8d, 0x1000
call sub.kernel32.dll_ReadFileEx
test eax, eax
je 0x1400bedc5
lea rbx, [rsp + 0x40]
lea r14, [rsp + 0x60]
mov ecx, 0xffffffff
mov edx, 1
call sub.kernel32.dll_SleepEx
cmp dword [rsp + 0x34], 0
je 0x1400becc3
cmp dword [rsp + 0x38], 0
jne 0x1400bedca
mov r15d, dword [rsp + 0x3c]
test r15, r15
je 0x1400bedca
cmp r15d, 0x1000
ja 0x1400bee0a
xor r12d, r12d
nop word cs:[rax + rax]
cmp r12, r15
ja 0x1400bedf6
lea rdx, [rsp + r12]
add rdx, 0x60
mov r8d, r15d
sub r8d, r12d
mov dword [rsp + 0x34], 0
movaps xmmword [rsp + 0x40], xmm6
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x20], rbp
mov rcx, rsi
mov r9, rbx
call sub.kernel32.dll_WriteFileEx
test eax, eax
je 0x1400bedc5
nop word cs:[rax + rax]
mov ecx, 0xffffffff
mov edx, 1
call sub.kernel32.dll_SleepEx
cmp dword [rsp + 0x34], 0
je 0x1400bed60
cmp dword [rsp + 0x38], 0
jne 0x1400bedca
mov eax, dword [rsp + 0x3c]
add r12, rax
cmp r12, r15
jne 0x1400bed10
mov dword [rsp + 0x34], 0
movaps xmmword [rsp + 0x40], xmm6
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x20], rbp
mov rcx, rdi
mov rdx, r14
mov r8d, 0x1000
mov r9, rbx
call sub.kernel32.dll_ReadFileEx
test eax, eax
jne 0x1400becc3
call fcn.14013f504
mov rcx, rdi
call sub.kernel32.dll_CloseHandle
mov rcx, rsi
call sub.kernel32.dll_CloseHandle
movaps xmm6, xmmword [rsp + 0x1060]
add rsp, 0x1078
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r8, str.library_std_src_syswindowspipe.rs
mov rcx, r12
mov rdx, r15
call dbg.slice_index_order_fail
jmp 0x1400bee1e
lea r8, str.library_std_src_syswindowspipe.rs
mov edx, 0x1000
mov rcx, r15
call dbg.slice_end_index_len_fail
ud2
Function at 0x1400c3ab0
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x68
mov qword [rsp + 0x30], rcx
mov rsi, qword [rcx]
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x1400c3ac9
dec ecx
jmp 0x1400c3ad3
mov rcx, rsi
call sym.std::sys::windows::thread_local_key::StaticKey::init::h2de08b4a932e6024
mov ecx, eax
mov edx, 1
call fcn.14013f6bc
mov rdi, qword [rsp + 0x30]
cmp qword [rdi + 8], 0
je 0x1400c3b01
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x1400c3b01
lock dec qword [rax]
jne 0x1400c3b01
lea rcx, [rdi + 0x10]
call dbg.drop_slow<std::sync::mpmc::context::Inner, 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 0x1400c3b1f
dec ecx
jmp 0x1400c3b29
mov rcx, rsi
call sym.std::sys::windows::thread_local_key::StaticKey::init::h2de08b4a932e6024
mov ecx, eax
xor edx, edx
call fcn.14013f6bc
nop
add rsp, 0x68
pop rdi
pop rsi
ret

Function at 0x1400c3bc0
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 0x1400c3bd7
dec ecx
jmp 0x1400c3be1
mov rcx, rsi
call sym.std::sys::windows::thread_local_key::StaticKey::init::h2de08b4a932e6024
mov ecx, eax
mov edx, 1
call fcn.14013f6bc
mov edx, 0x20
mov r8d, 8
mov rcx, rdi
call sym.__rust_dealloc
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x1400c3c09
dec ecx
jmp 0x1400c3c13
mov rcx, rsi
call sym.std::sys::windows::thread_local_key::StaticKey::init::h2de08b4a932e6024
mov ecx, eax
xor edx, edx
add rsp, 0x68
pop rdi
pop rsi
jmp fcn.14013f6bc

Function at 0x1400c3cb0
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x68
mov qword [rsp + 0x30], rcx
mov rsi, qword [rcx]
xor dword [rbx - 0x367ae7b2], ecx
je 0x1400c3cc9
dec ecx
jmp 0x1400c3cd3
mov rcx, rsi
call sym.std::sys::windows::thread_local_key::StaticKey::init::h2de08b4a932e6024
mov ecx, eax
mov edx, 1
call fcn.14013f6bc
mov rdi, qword [rsp + 0x30]
cmp qword [rdi + 8], 0
je 0x1400c3d01
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x1400c3d01
lock dec qword [rax]
jne 0x1400c3d01
lea rcx, [rdi + 0x10]
call dbg.drop_slow<std::sync::mutex::Mutex<alloc::vec::Vec<u8, alloc::alloc::Global>>, alloc::alloc::Global>
mov edx, 0x18
mov r8d, 8
mov rcx, rdi
call sym.__rust_dealloc
dec dword [rbx - 0x367ae7b2]
je 0x1400c3d1f
dec ecx
jmp 0x1400c3d29
mov rcx, rsi
call sym.std::sys::windows::thread_local_key::StaticKey::init::h2de08b4a932e6024
mov ecx, eax
xor edx, edx
call fcn.14013f6bc
nop
add rsp, 0x68
invalid
pop rdi
pop rsi
ret
Function at 0x1400c3dc0
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x68
mov qword [rsp + 0x30], rcx
and al, 0x30
mov rsi, qword [rcx]
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x1400c3dd9
dec ecx
jmp 0x1400c3de3
mov rcx, rsi
call sym.std::sys::windows::thread_local_key::StaticKey::init::h2de08b4a932e6024
mov ecx, eax
mov edx, 1
call fcn.14013f6bc
invalid
add byte [rax - 0x75], cl
jl 0x1400c3e15
xor byte [rax - 0x7d], cl
jg 0x1400c3dfe
invalid
je case.0x1400b9232.308
mov rax, qword [rdi + 0x18]
test rax, rax
je case.0x1400b9232.308
lock dec qword [rax]
jne case.0x1400b9232.308
lea rcx, [rdi + 0x18]
call dbg.drop_slow<std::thread::Inner, alloc::alloc::Global>
mov edx, 0x20
mov r8d, 8
mov rcx, rdi
call sym.__rust_dealloc
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x1400c3e2f
dec ecx
jmp 0x1400c3e39
mov rcx, rsi
call sym.std::sys::windows::thread_local_key::StaticKey::init::h2de08b4a932e6024
mov ecx, eax
xor edx, edx
call fcn.14013f6bc
nop
add rsp, 0x68
pop rdi
pop rsi
ret

Function at 0x1400c3ed0
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x68
push 0x48cf8948
mov esi, dword [rcx]
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x1400c3ee7
dec ecx
jmp case.0x1400b814d.252
mov rcx, rsi
call sym.std::sys::windows::thread_local_key::StaticKey::init::h2de08b4a932e6024
mov ecx, eax
mov edx, 1
call fcn.14013f6bc
sal dword [rdi + 0x10ba0007], 0
add byte [rax], al
mov r8d, 8
mov rcx, rdi
call sym.__rust_dealloc
mov ecx, dword [rsi + 0x18]
invalid
invalid
test ecx, ecx
je 0x1400c3f19
dec ecx
jmp 0x1400c3f23
invalid
mov rcx, rsi
call sym.std::sys::windows::thread_local_key::StaticKey::init::h2de08b4a932e6024
mov ecx, eax
xor edx, edx
add rsp, 0x68
invalid
push 0xffffffff8ce95e5f
jmp fcn.14013f6bc
Function at 0x1400c5b80
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::h36a8adcb91ede8d9
mov rax, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
test rax, rax
je 0x1400c5c35
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 0x1400c5c35
mov rcx, rdi
xor edx, edx
call sub.kernel32.dll_CreateDirectoryW
test eax, eax
je 0x1400c5c0a
test rsi, rsi
je 0x1400c5c06
add rsi, rsi
mov r8d, 2
mov rcx, rdi
mov rdx, rsi
call sym.__rust_dealloc
xor esi, esi
jmp 0x1400c5c35
call fcn.14013f504
mov ebx, eax
shl rbx, 0x20
or rbx, 2
test rsi, rsi
je 0x1400c5c32
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 0x1400c5fc0
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::h36a8adcb91ede8d9
mov rax, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
test rax, rax
je 0x1400c6073
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 0x1400c6073
mov rcx, rdi
call sub.kernel32.dll_DeleteFileW
test eax, eax
je 0x1400c6048
test rsi, rsi
je 0x1400c6044
add rsi, rsi
mov r8d, 2
mov rcx, rdi
mov rdx, rsi
call sym.__rust_dealloc
xor esi, esi
jmp 0x1400c6073
call fcn.14013f504
mov ebx, eax
shl rbx, 0x20
or rbx, 2
test rsi, rsi
je 0x1400c6070
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 0x1400c6080
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::h36a8adcb91ede8d9
mov rax, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x28]
test rax, rax
je 0x1400c61da
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 0x1400c6190
lea rcx, [rsp + 0x20]
mov rdx, r15
mov r8, r14
call sym.std::sys::windows::to_u16s::inner::h36a8adcb91ede8d9
mov rax, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x28]
test rax, rax
je 0x1400c61c1
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 0x1400c61c1
mov rcx, rdi
mov rdx, r14
mov r8d, 1
call sub.kernel32.dll_MoveFileExW
test eax, eax
je 0x1400c6195
test rbx, rbx
je 0x1400c6173
add rbx, rbx
mov r8d, 2
mov rcx, r14
mov rdx, rbx
call sym.__rust_dealloc
test rsi, rsi
je 0x1400c618c
add rsi, rsi
mov r8d, 2
mov rcx, rdi
mov rdx, rsi
call sym.__rust_dealloc
xor ebx, ebx
jmp 0x1400c61da
mov rbx, rsi
jmp 0x1400c61da
call fcn.14013f504
mov r15d, eax
shl r15, 0x20
or r15, 2
test rbx, rbx
je 0x1400c61be
add rbx, rbx
mov r8d, 2
mov rcx, r14
mov rdx, rbx
call sym.__rust_dealloc
mov rbx, r15
test rsi, rsi
je 0x1400c61da
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 0x1400c6210
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::h36a8adcb91ede8d9
mov rax, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
test rax, rax
je 0x1400c62c3
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 0x1400c62c3
mov rcx, rdi
call sub.kernel32.dll_RemoveDirectoryW
test eax, eax
je 0x1400c6298
test rsi, rsi
je 0x1400c6294
add rsi, rsi
mov r8d, 2
mov rcx, rdi
mov rdx, rsi
call sym.__rust_dealloc
xor esi, esi
jmp 0x1400c62c3
call fcn.14013f504
mov ebx, eax
shl rbx, 0x20
or rbx, 2
test rsi, rsi
je 0x1400c62c0
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