joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400db550
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x1400db592
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1400db5d9
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x1400db632
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x1400db5f0
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1400db673
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1400f02a2]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1400f02a3]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1400db640
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x1400db94c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1400db986
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400db98b
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400db9d4
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x1400db9d4
dec r8
sub rdx, 1
jne 0x1400db9ba
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1400dd178
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400dd1c2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400dd1c2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400dd1c2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400dd1c2
cmp dword [rcx + 0x84], 0xe
jbe 0x1400dd1c2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400dd1c4
xor al, al
add rsp, 0x28
ret
Function at 0x180003f90
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x180003fd2
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x180003fda
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x180003feb
jmp 0x180004002
xor r10d, r10d
jmp 0x18000408d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x180004002
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x180004019
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x180004039
add r11, r8
jmp 0x18000416b
mov rcx, qword [rax + 0x18]
xor rcx, rsi
mov rdi, qword [rax + 0x10]
mov r9, qword [rax]
add r9, rdi
mov r11, qword [rax + 8]
add r11, rcx
rol rdi, 0xd
xor rdi, r9
rol rcx, 0x10
rol r9, 0x20
xor rcx, r11
add r11, rdi
rol rdi, 0x11
add r9, rcx
xor rdi, r11
rol rcx, 0x15
mov qword [rax + 0x10], rdi
xor rcx, r9
rol r11, 0x20
mov qword [rax + 0x18], rcx
mov qword [rax + 8], r11
xor r9, rsi
mov qword [rax], r9
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x180004102
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
mov rbx, qword [rdx + r10]
xor rdi, rbx
add rcx, rsi
rol rsi, 0xd
add r9, rdi
xor rsi, rcx
rol rdi, 0x10
xor rdi, r9
rol rcx, 0x20
add r9, rsi
add rcx, rdi
rol rsi, 0x11
xor rsi, r9
rol rdi, 0x15
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x1800040b0
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x180004120
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x180004132
jmp 0x18000414d
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x18000414d
lea rcx, [rdx + r8]
movzx esi, word [r10 + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x180004167
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret
Function at 0x1800050d0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
movaps xmmword [rsp + 0x30], xmm6
mov rax, qword [0x1800c5160]
mov esi, dword [rax + 0x18]
test esi, esi
je 0x180005185
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x180005178
je 0x180005176
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
mov edx, 0x10
call sub.bcryptprimitives.dll_ProcessPrng
movaps xmm6, xmmword [rsp + 0x20]
mov rax, qword [0x1800fdf88]
movzx eax, byte [rax]
mov ecx, 0x18
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x1800051a6
movups xmmword [rax], xmm6
mov dword [rax + 0x10], esi
mov ecx, esi
mov rbx, rax
call sub.kernel32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rsi, rbx
mov rdx, rbx
call fcn.1800a7164
test rdi, rdi
je 0x180005171
mov edx, 0x18
mov r8d, 8
mov rcx, rdi
call sym.__rust_dealloc
mov rax, rsi
jmp 0x180005178
xor eax, eax
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
mov rcx, qword [0x1800c5160]
call sym.std::sys::thread_local::key::windows::LazyKey::init::h597144e332ffcf99
mov esi, eax
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x1800050fd
jmp 0x180005178
mov ecx, 8
mov edx, 0x18
call sym.alloc::alloc::handle_alloc_error::h526f0ddc898dc940
int3
Function at 0x180006980
Capabilities:
Encrypt data using rc4 via systemfunction032
Link many functions at runtime

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov edi, ecx
call sub.kernel32.dll_CreateTimerQueue
test rax, rax
je 0x1800069c8
mov rsi, rax
xor ecx, ecx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call sub.kernel32.dll_CreateEventW
test rax, rax
je 0x1800069c8
xor ecx, ecx
call sub.kernel32.dll_GetModuleHandleA
test rax, rax
je 0x1800069c8
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
jne 0x1800069d9
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r14, str.ntdll
mov rcx, r14
call sub.kernel32.dll_LoadLibraryA
lea rdx, str.RtlCaptureContext
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
mov rbx, rax
mov rcx, r14
call sub.kernel32.dll_GetModuleHandleA
lea rdx, str.NtContinue
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
mov r14, rax
lea rcx, str.Advapi32
call sub.kernel32.dll_LoadLibraryA
lea rdx, str.SystemFunction032
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
mov r15, rax
lea r13, str.kernel32.dll
mov rcx, r13
call sub.kernel32.dll_LoadLibraryA
lea rdx, str.VirtualProtect
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
mov rbp, rax
mov rcx, r13
call sub.kernel32.dll_LoadLibraryA
lea rdx, str.WaitForSingleObject
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
mov r12, rax
mov rcx, r13
call sub.kernel32.dll_LoadLibraryA
lea rdx, str.SetEvent
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
movq xmm0, r15
movq xmm1, rbp
punpcklqdq xmm0, xmm1
movq xmm1, rbx
movq xmm2, r14
punpcklqdq xmm2, xmm1
pxor xmm1, xmm1
pcmpeqd xmm2, xmm1
pcmpeqd xmm0, xmm1
movdqa xmm1, xmm2
shufps xmm1, xmm0, 0xdd
shufps xmm2, xmm0, 0x88
andps xmm2, xmm1
movmskps ecx, xmm2
test ecx, ecx
jne 0x1800069c8
test r12, r12
je 0x1800069c8
test rax, rax
je 0x1800069c8
xor ecx, ecx
mov edx, 1
xor r8d, r8d
xor r9d, r9d
call sub.kernel32.dll_CreateEventW
test rax, rax
je 0x1800069c8
mov rbx, rax
mov rcx, rax
mov edx, edi
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
jne 0x1800069c8
mov rcx, rbx
call sub.kernel32.dll_SetEvent
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp 0x1800a6ecc
jmp qword [sym.imp.kernel32.dll_DeleteTimerQueue]

Function at 0x180007b10
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call sym.std::sys::os_str::wtf8::Buf::as_mut_slice::h30fe6b7321b7e128
mov rcx, rax
add rsp, 0x28
jmp sym.std::sys::pal::windows::fs::unlink::hb1dd3f6aae384c7b

Function at 0x1800084f0
Capabilities:
Hash data with crc32

Disassembly:
shl r8, 4
xor r9d, r9d
nop word [rax + rax]
cmp r8, r9
je 0x18000851f
mov eax, dword [rdx + r9]
add r9, 0x10
test rax, rax
je 0x180008500
mov rdx, qword [rdx + r9 - 8]
mov r8, rax
jmp sym.__zip::crc32::Crc32Reader_R__as_std::io::Read_::read::h83402e2e22a865b5
mov edx, 1
xor eax, eax
mov r8, rax
jmp sym.__zip::crc32::Crc32Reader_R__as_std::io::Read_::read::h83402e2e22a865b5
Function at 0x180008530
Capabilities:
Hash data with crc32

Disassembly:
shl r8, 4
xor r9d, r9d
nop word [rax + rax]
cmp r8, r9
je 0x18000855f
mov eax, dword [rdx + r9]
add r9, 0x10
test rax, rax
je 0x180008540
mov rdx, qword [rdx + r9 - 8]
mov r8, rax
jmp sym.__zip::crc32::Crc32Reader_R__as_std::io::Read_::read::h0a0caa65ca1ddcde
mov edx, 1
xor eax, eax
mov r8, rax
jmp sym.__zip::crc32::Crc32Reader_R__as_std::io::Read_::read::h0a0caa65ca1ddcde

Function at 0x180008c40
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rsi, rcx
mov r14, qword [rcx + 0x10]
test r14, r14
je 0x180008cb3
mov rbx, r8
mov rdi, rdx
cmp r8, r14
mov r8, r14
cmovb r8, rbx
mov rcx, qword [rsi]
mov rax, qword [rsi + 8]
call qword [rax + 0x18]
mov rcx, rax
mov eax, 1
test rcx, rcx
jne 0x180008d58
sub r14, rdx
jb 0x180008d62
mov qword [rsi + 0x10], r14
test rdx, rdx
je 0x180008cb3
cmp rdx, rbx
ja 0x180008d99
mov eax, dword [rsi + 0x18]
not eax
test dl, 1
jne 0x180008ce4
mov rcx, rdi
cmp rdx, 1
jne 0x180008d07
jmp 0x180008d4e
mov eax, dword [rsi + 0x1c]
cmp eax, dword [rsi + 0x18]
jne 0x180008cc6
add rsi, 0x18
xor edx, edx
jmp 0x180008d54
lea rdx, [0x1800d5e5b]
mov r8d, 0x10
mov cl, 0x27
call sym.std::io::error::Error::new::h334dd3ea3c12be73
mov rdx, rax
mov eax, 1
jmp 0x180008d58
lea rcx, [rdi + 1]
movzx r8d, byte [rdi]
xor r8b, al
movzx r8d, r8b
lea r9, [0x1800d59fc]
shr eax, 8
xor eax, dword [r9 + r8*4]
cmp rdx, 1
je 0x180008d4e
add rdi, rdx
lea r8, [0x1800d59fc]
nop word cs:[rax + rax]
movzx r9d, byte [rcx]
xor r9b, al
movzx r9d, r9b
shr eax, 8
xor eax, dword [r8 + r9*4]
movzx r9d, byte [rcx + 1]
xor r9b, al
movzx r9d, r9b
shr eax, 8
xor eax, dword [r8 + r9*4]
add rcx, 2
cmp rcx, rdi
jne 0x180008d20
add rsi, 0x18
not eax
mov dword [rsi], eax
xor eax, eax
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rax, str.number_of_read_bytes_exceeds_limit
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 1
mov qword [rsp + 0x38], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
lea rdx, str._rustc_eeb90cda1969383f56a2637cbd3037bdf598841clibrary_std_srciomod.rs
lea rcx, [rsp + 0x28]
call sym.core::panicking::panic_fmt::h50bba86df16ca19f
lea r8, [0x1800d5e70]
mov rcx, rdx
mov rdx, rbx
call sym.core::slice::index::slice_end_index_len_fail::hdaa9bbd2fcad4cbb
int3
Function at 0x180008db0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
call sym.__flate2::deflate::read::DeflateDecoder_R__as_std::io::Read_::read::h90eacdf78d4eef2f
mov rcx, rax
mov eax, 1
test rcx, rcx
jne 0x180008e8b
test rdx, rdx
je 0x180008dff
cmp rdx, rbx
ja 0x180008eb1
mov eax, dword [rsi + 0xa0]
not eax
test dl, 1
jne 0x180008e1a
mov rcx, rdi
cmp rdx, 1
jne 0x180008e3d
jmp 0x180008e7e
mov eax, dword [rsi + 0xa4]
cmp eax, dword [rsi + 0xa0]
jne 0x180008e93
add rsi, 0xa0
jmp 0x180008e87
lea rcx, [rdi + 1]
movzx r8d, byte [rdi]
xor r8b, al
movzx r8d, r8b
lea r9, [0x1800d59fc]
shr eax, 8
xor eax, dword [r9 + r8*4]
cmp rdx, 1
je 0x180008e7e
add rdi, rdx
lea r8, [0x1800d59fc]
nop word [rax + rax]
movzx r9d, byte [rcx]
xor r9b, al
movzx r9d, r9b
shr eax, 8
xor eax, dword [r8 + r9*4]
movzx r9d, byte [rcx + 1]
xor r9b, al
movzx r9d, r9b
shr eax, 8
xor eax, dword [r8 + r9*4]
add rcx, 2
cmp rcx, rdi
jne 0x180008e50
add rsi, 0xa0
not eax
mov dword [rsi], eax
xor eax, eax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
lea rdx, [0x1800d5e5b]
mov r8d, 0x10
mov cl, 0x27
call sym.std::io::error::Error::new::h334dd3ea3c12be73
mov rdx, rax
mov eax, 1
jmp 0x180008e8b
lea r8, [0x1800d5e70]
mov rcx, rdx
mov rdx, rbx
call sym.core::slice::index::slice_end_index_len_fail::hdaa9bbd2fcad4cbb
int3
Function at 0x180009850
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
mov rbx, qword [rdx]
mov r15, qword [rdx + 8]
mov rcx, qword [rdx + 0x18]
mov r8, r15
sub r8, rcx
add rcx, rbx
xor edx, edx
call sub.msvcrt.dll_memset
mov qword [rsi + 0x18], r15
mov r12, qword [rsi + 0x10]
mov r14, r15
sub r14, r12
add rbx, r12
mov rcx, rdi
mov rdx, rbx
mov r8, r14
call sym.__flate2::deflate::read::DeflateDecoder_R__as_std::io::Read_::read::h90eacdf78d4eef2f
test rax, rax
jne 0x180009969
test rdx, rdx
je 0x1800098cf
cmp r14, rdx
jb 0x1800099bf
mov eax, dword [rdi + 0xa0]
not eax
test dl, 1
jne 0x1800098ea
mov rcx, rbx
cmp rdx, 1
jne 0x18000990d
jmp 0x18000994e
mov eax, dword [rdi + 0xa4]
cmp eax, dword [rdi + 0xa0]
jne 0x18000997a
add rdi, 0xa0
jmp 0x180009957
lea rcx, [rbx + 1]
movzx r8d, byte [rbx]
xor r8b, al
movzx r8d, r8b
lea r9, [0x1800d59fc]
shr eax, 8
xor eax, dword [r9 + r8*4]
cmp rdx, 1
je 0x18000994e
add rbx, rdx
lea r8, [0x1800d59fc]
nop word [rax + rax]
movzx r9d, byte [rcx]
xor r9b, al
movzx r9d, r9b
shr eax, 8
xor eax, dword [r8 + r9*4]
movzx r9d, byte [rcx + 1]
xor r9b, al
movzx r9d, r9b
shr eax, 8
xor eax, dword [r8 + r9*4]
add rcx, 2
cmp rcx, rbx
jne 0x180009920
add rdi, 0xa0
not eax
mov dword [rdi], eax
add r12, rdx
jb 0x18000999b
cmp r12, r15
ja 0x1800099a7
mov qword [rsi + 0x10], r12
xor edx, edx
mov rax, rdx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rdx, [0x1800d5e5b]
mov r8d, 0x10
mov cl, 0x27
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
jmp sym.std::io::error::Error::new::h334dd3ea3c12be73
lea rcx, [0x1800d6a20]
call sym.core::num::overflow_panic::add::h0652203aed22676d
lea rcx, str.assertion_failed:_filled___self.buf.init_rustc_eeb90cda1969383f56a2637cbd3037bdf598841clibrarycore_srcio_borrowed_buf.rs
lea r8, [0x1800d6a08]
mov edx, 0x29
call sym.core::panicking::panic::h82631201f060ca88
lea r8, [0x1800d5e70]
mov rcx, rdx
mov rdx, r14
call sym.core::slice::index::slice_end_index_len_fail::hdaa9bbd2fcad4cbb
int3
Function at 0x180032a50
Capabilities:
Get system information on windows

Disassembly:
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x50]
xorps xmm0, xmm0
movaps xmmword [rbp - 0x10], xmm0
movaps xmmword [rbp - 0x20], xmm0
movaps xmmword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x30]
call sub.kernel32.dll_GetSystemInfo
mov ecx, dword [rbp - 0x10]
xor eax, eax
test rcx, rcx
sete al
lea rdx, str.The_number_of_hardware_threads_is_not_known_for_the_target_platform
cmovne rdx, rcx
add rsp, 0x50
pop rbp
ret

Function at 0x180033d60
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x468
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3c8], rcx
mov qword [rbp + 0x3d0], 0
mov qword [rbp + 0x3d8], 2
mov qword [rbp + 0x3e0], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3c0], rax
xor esi, esi
xor edi, edi
xor ebx, ebx
cmp r8, 0x201
jae 0x180033df0
jmp 0x180033ddf
jae 0x180033eab
cmp r8, 0x201
jae 0x180033df0
mov r14d, 0x200
lea r15, [rbp - 0x60]
mov r12, r8
jmp 0x180033e47
sub r8, rbx
sub rdi, rbx
cmp r8, rdi
jbe 0x180033e1f
lea rcx, [rbp + 0x3d0]
mov rdx, rbx
call sym.alloc::raw_vec::RawVec_T_A_::reserve::do_reserve_and_handle::h498cd2a0878ddf3d
mov rsi, qword [rbp + 0x3d0]
mov rax, qword [rbp + 0x3d8]
mov qword [rbp + 0x3c0], rax
mov eax, 0xffffffff
cmp rsi, rax
mov ebx, 0xffffffff
cmovb rbx, rsi
mov qword [rbp + 0x3e0], rbx
mov rdi, rsi
mov r14, rbx
mov r15, qword [rbp + 0x3c0]
mov r12, rbx
xor ecx, ecx
call sub.kernel32.dll_SetLastError
mov ecx, r12d
mov rdx, r15
call sub.kernel32.dll_GetCurrentDirectoryW
mov r13d, eax
test eax, eax
jne 0x180033e6d
call sub.kernel32.dll_GetLastError
test eax, eax
jne 0x180033f17
mov r8d, r13d
cmp r12, r8
jne 0x180033dd0
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
jne 0x180033f4a
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x180033ddf
jmp 0x180033df0
cmp r14, r8
jb 0x180033f64
lea rcx, [rbp + 0x3a0]
mov rdx, r15
call sym.__std::ffi::os_str::OsString_as_std::os::windows::ffi::OsStringExt_::from_wide::h4f0d847f13879248
movups xmm0, xmmword [rbp + 0x3a0]
movups xmm1, xmmword [rbp + 0x3b0]
mov rsi, qword [rbp + 0x3c8]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rdx, qword [rbp + 0x3d0]
test rdx, rdx
je 0x180033f00
mov rcx, qword [rbp + 0x3d8]
add rdx, rdx
mov r8d, 2
call sym.__rust_dealloc
mov rax, rsi
add rsp, 0x468
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3c8]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rdx, qword [rbp + 0x3d0]
test rdx, rdx
jne 0x180033eeb
jmp 0x180033f00
lea rcx, str.internal_error:_entered_unreachable_codex
lea r8, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call sym.core::panicking::panic::h82631201f060ca88
jmp 0x180033f79
lea rax, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, r14
mov r8, rax
call sym.core::slice::index::slice_end_index_len_fail::hdaa9bbd2fcad4cbb
ud2
Function at 0x180033fb0
Capabilities:
Query environment variable

Disassembly:
push rbp
push rsi
sub rsp, 0x68
lea rbp, [rsp + 0x60]
call sub.kernel32.dll_GetEnvironmentStringsW
test rax, rax
je 0x180033fcf
mov rdx, rax
add rsp, 0x68
pop rsi
pop rbp
ret
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rbp], rax
mov rax, rbp
mov qword [rbp - 0x10], rax
lea rax, [sym.__std::io::error::Error_as_core::fmt::Display_::fmt::hab0355a4f2b8b8d2]
mov qword [rbp - 8], rax
lea rax, str.failure_getting_env_string_from_OS:
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], 1
mov qword [rbp - 0x20], 0
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], 1
lea rdx, str.library_std_src_syspalwindowsos.rs
lea rcx, [rbp - 0x40]
call sym.core::panicking::panic_fmt::h50bba86df16ca19f
ud2
Function at 0x180035f10
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
movdqa xmmword [rbp - 0x10], xmm7
movdqa xmmword [rbp - 0x20], xmm6
mov rsi, r8
mov rdi, rcx
test r8, r8
je 0x180035f9c
js 0x1800360e6
mov r15, rdx
mov rax, qword [0x1800fdf88]
movzx eax, byte [rax]
mov ebx, 1
mov edx, 1
mov rcx, rsi
call sym.__rust_alloc
test rax, rax
je 0x1800360e8
mov r14, rax
mov rbx, rax
mov rcx, r14
mov rdx, r15
mov r8, rsi
call sub.msvcrt.dll_memcpy
mov rdx, r14
cmp rsi, 8
jb 0x18003609c
movabs rax, 0x7fffffffffffffe0
cmp rsi, 0x20
jae 0x180035fa6
xor ecx, ecx
jmp 0x180036036
mov ebx, 1
jmp 0x1800360bf
mov rcx, rsi
and rcx, rax
xor edx, edx
movdqa xmm0, xmmword [0x1800d9330]
movdqa xmm1, xmmword [0x1800d9340]
movdqa xmm2, xmmword [0x1800d9350]
nop word cs:[rax + rax]
movdqu xmm3, xmmword [rbx + rdx]
movdqu xmm4, xmmword [rbx + rdx + 0x10]
movdqa xmm5, xmm3
paddb xmm5, xmm0
movdqa xmm6, xmm4
paddb xmm6, xmm0
movdqa xmm7, xmm5
pminub xmm7, xmm1
pcmpeqb xmm7, xmm5
pand xmm7, xmm2
movdqa xmm5, xmm6
pminub xmm5, xmm1
pcmpeqb xmm5, xmm6
pand xmm5, xmm2
pxor xmm7, xmm3
pxor xmm5, xmm4
movdqu xmmword [rbx + rdx], xmm7
movdqu xmmword [rbx + rdx + 0x10], xmm5
add rdx, 0x20
cmp rcx, rdx
jne 0x180035fd0
cmp rcx, rsi
je 0x1800360bf
test sil, 0x18
je 0x180036096
add rax, 0x18
and rax, rsi
lea rdx, [r14 + rax]
movdqa xmm0, xmmword [0x1800d9360]
movdqa xmm1, xmmword [0x1800d9370]
movdqa xmm2, xmmword [0x1800d9380]
nop dword [rax]
movq xmm3, qword [rbx + rcx]
movdqa xmm4, xmm3
paddb xmm4, xmm0
movdqa xmm5, xmm4
pmaxub xmm5, xmm1
pcmpeqb xmm5, xmm4
pandn xmm5, xmm2
pxor xmm5, xmm3
movq qword [rbx + rcx], xmm5
add rcx, 8
cmp rax, rcx
jne 0x180036060
cmp rax, rsi
jne 0x18003609c
jmp 0x1800360bf
add rcx, r14
mov rdx, rcx
add r14, rsi
nop
movzx eax, byte [rdx]
lea ecx, [rax - 0x61]
cmp cl, 0x1a
setb cl
shl cl, 5
xor cl, al
mov byte [rdx], cl
lea rax, [rdx + 1]
mov rdx, rax
cmp rax, r14
jne 0x1800360a0
mov qword [rdi], rsi
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], rsi
mov byte [rdi + 0x18], 0
mov rax, rdi
movaps xmm6, xmmword [rbp - 0x20]
movaps xmm7, xmmword [rbp - 0x10]
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
xor ebx, ebx
mov rcx, rbx
mov rdx, rsi
call sym.alloc::raw_vec::handle_error::hd43ffb3afada7951
int3

Function at 0x180037740
Capabilities:
Create directory

Disassembly:
push rbp
mov rbp, rsp
cmp byte [rcx], 0
je 0x180037755
mov rcx, rdx
mov rdx, r8