joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400cd3b0
Capabilities:
Modify service

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
movabs rdi, 0x8000000000000006
movzx eax, r8b
mov dword [rsp + 0x24], eax
mov rcx, qword [rdx]
lea r8, [rsp + 0x24]
mov edx, 3
call sub.advapi32.dll_ChangeServiceConfig2W
test eax, eax
je 0x1400cd3e7
or rdi, 1
jmp 0x1400cd3f8
call sym.std::sys::pal::windows::os::errno::h64d3f6efc49f2d2e
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], rdi
mov rax, rsi
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x1400cd410
Capabilities:
Modify service

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rax, r8
mov r8, rdx
mov rsi, rcx
mov ecx, 0x3e8
mul rcx
mov ecx, r9d
imul rcx, rcx, 0x431bde83
shr rcx, 0x32
add rcx, rax
adc rdx, 0
shld rdx, rcx, 0x20
jne 0x1400cd48b
movabs rdi, 0x8000000000000006
mov dword [rsp + 0x34], ecx
mov rcx, qword [r8]
lea r8, [rsp + 0x34]
mov edx, 7
call sub.advapi32.dll_ChangeServiceConfig2W
test eax, eax
je 0x1400cd46d
or rdi, 1
jmp 0x1400cd47e
call sym.std::sys::pal::windows::os::errno::h64d3f6efc49f2d2e
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], rdi
mov rax, rsi
add rsp, 0x38
pop rdi
pop rsi
ret
lea rax, [0x140198198]
mov qword [rsp + 0x20], rax
lea rcx, [0x140198183]
lea r9, [0x140197af0]
lea r8, [rsp + 0x33]
mov edx, 0x10
call sym.core::result::unwrap_failed::h8f275d6668207d54
int3
Function at 0x1400d1760
Capabilities:
Create service

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x188
mov edi, r9d
mov rbx, rdx
mov rsi, rcx
movabs r14, 0x8000000000000000
lea rcx, [rsp + 0x110]
mov rdx, r8
call sym.windows_service::service::RawServiceInfo::new::hbb084a9690d35f6c
mov rax, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x138]
mov qword [rsp + 0x90], rcx
lea rcx, [r14 + 1]
movups xmm0, xmmword [rsp + 0x118]
movaps xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [rsp + 0x128]
movaps xmmword [rsp + 0x80], xmm0
cmp rax, rcx
jne 0x1400d17f6
mov rax, qword [rsp + 0x90]
mov qword [rsi + 0x20], rax
movaps xmm0, xmmword [rsp + 0x70]
movaps xmm1, xmmword [rsp + 0x80]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
jmp 0x1400d1939
mov rcx, qword [rsp + 0x180]
mov qword [rsp + 0x108], rcx
movups xmm0, xmmword [rsp + 0x140]
movups xmm1, xmmword [rsp + 0x150]
movups xmm2, xmmword [rsp + 0x160]
movups xmm3, xmmword [rsp + 0x170]
movups xmmword [rsp + 0xf8], xmm3
movups xmmword [rsp + 0xe8], xmm2
movups xmmword [rsp + 0xd8], xmm1
movups xmmword [rsp + 0xc8], xmm0
movaps xmm0, xmmword [rsp + 0x70]
movaps xmm1, xmmword [rsp + 0x80]
movups xmmword [rsp + 0xa0], xmm0
movups xmmword [rsp + 0xb0], xmm1
mov rcx, qword [rsp + 0x90]
mov qword [rsp + 0xc0], rcx
mov qword [rsp + 0x98], rax
mov rcx, qword [rbx]
mov rdx, qword [rsp + 0xb0]
mov r8, qword [rsp + 0xc0]
mov r9d, dword [rsp + 0x100]
mov r10d, dword [rsp + 0x104]
mov r11d, dword [rsp + 0x108]
mov rbx, qword [rsp + 0xd0]
cmp rax, r14
je 0x1400d18bd
mov rax, qword [rsp + 0xa0]
jmp 0x1400d18bf
xor eax, eax
mov r15, qword [rsp + 0xe0]
mov r12, qword [rsp + 0xf0]
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], r11d
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], r9d
mov r9d, edi
call sub.advapi32.dll_CreateServiceW
test rax, rax
je 0x1400d1914
mov qword [rsi + 8], rax
add r14, 7
mov qword [rsi], r14
jmp 0x1400d192c
call sym.std::sys::pal::windows::os::errno::h64d3f6efc49f2d2e
shl rax, 0x20
or rax, 2
add r14, 6
mov qword [rsi], r14
mov qword [rsi + 8], rax
lea rcx, [rsp + 0x98]
call sym.core::ptr::drop_in_place_windows_service::service::RawServiceInfo_::hd226084800eedf9b
mov rax, rsi
add rsp, 0x188
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x1400d45a0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x60
movdqa xmmword [rsp + 0x50], xmm9
movdqa xmmword [rsp + 0x40], xmm8
movdqa xmmword [rsp + 0x30], xmm7
movdqa xmmword [rsp + 0x20], xmm6
mov rbx, r8
mov rsi, rcx
mov r15, r8
sub r15, rdx
shr r15, 2
sub rbx, rdx
je 0x1400d4623
movabs rax, 0x7ffffffffffffffc
cmp rbx, rax
ja 0x1400d475f
mov rdi, rdx
mov rax, qword [0x1401bf7e8]
movzx eax, byte [rax]
mov r14d, 4
mov edx, 4
mov rcx, rbx
call sym.__rust_alloc
test rax, rax
je 0x1400d4762
cmp rbx, 0x20
jae 0x1400d462f
xor ecx, ecx
jmp 0x1400d46f0
xor ecx, ecx
mov eax, 4
jmp 0x1400d472f
movabs rcx, 0x1ffffffffffffff8
and rcx, r15
xor edx, edx
movdqa xmm0, xmmword [0x140198bd0]
movdqa xmm1, xmmword [0x140198be0]
movdqa xmm2, xmmword [0x140198bf0]
movdqa xmm3, xmmword [0x140198c00]
movdqa xmm4, xmmword [0x140198c10]
nop word cs:[rax + rax]
movdqu xmm5, xmmword [rdi + rdx*4]
movdqu xmm6, xmmword [rdi + rdx*4 + 0x10]
movdqa xmm7, xmm5
pxor xmm7, xmm0
movdqa xmm8, xmm6
pxor xmm8, xmm0
paddd xmm7, xmm1
paddd xmm8, xmm1
pxor xmm7, xmm2
movdqa xmm9, xmm3
pcmpgtd xmm9, xmm7
pxor xmm8, xmm2
movdqa xmm7, xmm3
pcmpgtd xmm7, xmm8
movdqa xmm8, xmm9
pandn xmm8, xmm5
pand xmm9, xmm4
por xmm9, xmm8
movdqa xmm5, xmm7
pandn xmm5, xmm6
pand xmm7, xmm4
por xmm7, xmm5
movdqu xmmword [rax + rdx*4], xmm9
movdqu xmmword [rax + rdx*4 + 0x10], xmm7
add rdx, 8
cmp rcx, rdx
jne 0x1400d4670
cmp r15, rcx
je 0x1400d472c
mov edx, 0xfffd
nop word cs:[rax + rax]
mov r8d, dword [rdi + rcx*4]
mov r9d, r8d
xor r9d, 0xd800
add r9d, 0xffef0000
cmp r9d, 0xffef0800
cmovb r8d, edx
mov dword [rax + rcx*4], r8d
inc rcx
cmp r15, rcx
jne 0x1400d4700
mov rcx, r15
mov qword [rsi], r15
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rcx
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x20]
movaps xmm7, xmmword [rsp + 0x30]
movaps xmm8, xmmword [rsp + 0x40]
movaps xmm9, xmmword [rsp + 0x50]
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor r14d, r14d
mov rcx, r14
mov rdx, rbx
call sym.alloc::raw_vec::handle_error::hd43ffb3afada7951
int3
Function at 0x1400d50f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov rsi, r8
mov r14, rdx
mov rdi, rcx
mov rcx, r8
mov edx, 0x22
call sym.__core::fmt::Formatter_as_core::fmt::Write_::write_char::hf59e6ff82b4d9c4c
mov bl, 1
test al, al
jne 0x1400d5286
test r14, r14
je 0x1400d5277
lea r13, [rdi + r14*4]
lea r12, [rsp + 0x2c]
lea r14, [sym.core::fmt::num::__impl_core::fmt::UpperHex_for_i32_::fmt::h776de07d20622183]
lea r15, [0x140198d30]
lea rbp, [rsp + 0x68]
mov qword [rsp + 0x60], r13
mov edx, dword [rdi]
mov eax, edx
xor eax, 0xd800
add eax, 0xffef0000
cmp eax, 0xffef0800
jae 0x1400d51c0
mov dword [rsp + 0x2c], edx
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], 2
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], 1
mov rcx, qword [rsi + 0x20]
mov rdx, qword [rsi + 0x28]
lea r8, [rsp + 0x30]
call sym.core::fmt::write::he8b7e02fe1cc02cc
test al, al
jne 0x1400d5286
add rdi, 4
cmp rdi, r13
jne 0x1400d514a
jmp 0x1400d5277
lea rcx, [rsp + 0x30]
call sym._ZN4core4char7methods22__LT_impl_u20_char_GT_16escape_debug_ext17h2865c5157edf8e68E.llvm.16155026520029237524
cmp byte [rsp + 0x30], 0x80
jne 0x1400d5230
mov r13b, pe_nt_image_headers64
jmp 0x1400d5208
mov edx, dword [rsp + 0x34]
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
xor r13d, r13d
mov rcx, rsi
call sym.__core::fmt::Formatter_as_core::fmt::Write_::write_char::hf59e6ff82b4d9c4c
test al, al
jne 0x1400d5286
cmp r13b, 0x80
je 0x1400d51e0
movzx eax, byte [rsp + 0x3a]
cmp al, byte [rsp + 0x3b]
jae 0x1400d5260
lea ecx, [rax + 1]
mov byte [rsp + 0x3a], cl
movzx edx, byte [rsp + rax + 0x30]
jmp 0x1400d51f8
movzx r13d, byte [rsp + 0x3b]
movzx ebp, byte [rsp + 0x3a]
nop dword [rax + rax]
cmp rbp, r13
jae 0x1400d5260
movzx edx, byte [rsp + rbp + 0x30]
inc rbp
mov rcx, rsi
call sym.__core::fmt::Formatter_as_core::fmt::Write_::write_char::hf59e6ff82b4d9c4c
test al, al
je 0x1400d5240
jmp 0x1400d5286
mov r13, qword [rsp + 0x60]
lea rbp, [rsp + 0x68]
add rdi, 4
cmp rdi, r13
jne 0x1400d514a
mov rcx, rsi
mov edx, 0x22
call sym.__core::fmt::Formatter_as_core::fmt::Write_::write_char::hf59e6ff82b4d9c4c
mov ebx, eax
mov eax, ebx
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400d52a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rsi, r8
mov rdi, rdx
mov r14, rcx
mov rcx, r8
mov edx, 0x22
call sym.__core::fmt::Formatter_as_core::fmt::Write_::write_char::hf59e6ff82b4d9c4c
mov bl, 1
test al, al
jne 0x1400d5438
cmp r14, rdi
je 0x1400d5429
lea r12, [rsp + 0x24]
lea r15, [sym.core::fmt::num::__impl_core::fmt::UpperHex_for_i32_::fmt::h776de07d20622183]
lea r13, [0x140198d30]
lea rbp, [rsp + 0x58]
mov edx, dword [r14]
mov eax, edx
xor eax, 0xd800
add eax, 0xffef0000
cmp eax, 0xffef0800
jae 0x1400d5370
mov dword [rsp + 0x24], edx
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x30], 2
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], 1
mov rcx, qword [rsi + 0x20]
mov rdx, qword [rsi + 0x28]
lea r8, [rsp + 0x28]
call sym.core::fmt::write::he8b7e02fe1cc02cc
test al, al
jne 0x1400d5438
add r14, 4
cmp r14, rdi
jne 0x1400d52f1
jmp 0x1400d5429
lea rcx, [rsp + 0x28]
call sym._ZN4core4char7methods22__LT_impl_u20_char_GT_16escape_debug_ext17h2865c5157edf8e68E.llvm.16155026520029237524
cmp byte [rsp + 0x28], 0x80
jne 0x1400d53e0
mov r13b, pe_nt_image_headers64
jmp 0x1400d53b8
mov edx, dword [rsp + 0x2c]
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
xor r13d, r13d
mov rcx, rsi
call sym.__core::fmt::Formatter_as_core::fmt::Write_::write_char::hf59e6ff82b4d9c4c
test al, al
jne 0x1400d5438
cmp r13b, 0x80
je 0x1400d5390
movzx eax, byte [rsp + 0x32]
cmp al, byte [rsp + 0x33]
jae 0x1400d5410
lea ecx, [rax + 1]
mov byte [rsp + 0x32], cl
movzx edx, byte [rsp + rax + 0x28]
jmp 0x1400d53a8
movzx r13d, byte [rsp + 0x33]
movzx ebp, byte [rsp + 0x32]
nop dword [rax + rax]
cmp rbp, r13
jae 0x1400d5410
movzx edx, byte [rsp + rbp + 0x28]
inc rbp
mov rcx, rsi
call sym.__core::fmt::Formatter_as_core::fmt::Write_::write_char::hf59e6ff82b4d9c4c
test al, al
je 0x1400d53f0
jmp 0x1400d5438
lea r13, [0x140198d30]
lea rbp, [rsp + 0x58]
add r14, 4
cmp r14, rdi
jne 0x1400d52f1
mov rcx, rsi
mov edx, 0x22
call sym.__core::fmt::Formatter_as_core::fmt::Write_::write_char::hf59e6ff82b4d9c4c
mov ebx, eax
mov eax, ebx
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400d5ff0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x48
movdqa xmmword [rsp + 0x30], xmm9
movdqa xmmword [rsp + 0x20], xmm8
movdqa xmmword [rsp + 0x10], xmm7
movdqa xmmword [rsp], xmm6
mov rax, qword [r8]
mov r9, qword [r8 + 8]
cmp rcx, rdx
je 0x1400d61d4
mov r10, qword [r8 + 0x10]
sub rdx, rcx
mov r8, rdx
shr r8, 2
cmp rdx, 0x20
jb 0x1400d6044
lea r11, [r10 + r9*4]
sub r11, rcx
cmp r11, 0x20
jae 0x1400d6103
xor r11d, r11d
mov rsi, r11
or rsi, 1
test dl, 4
je 0x1400d6083
mov edx, dword [rcx + r11*4]
mov r11d, edx
xor r11d, 0xd800
add r11d, 0xffef0000
cmp r11d, 0xffef0800
mov r11d, 0xfffd
cmovae r11d, edx
mov dword [r10 + r9*4], r11d
inc r9
mov r11, rsi
cmp r8, rsi
je 0x1400d61d4
lea rdx, [r10 + r9*4]
add rdx, 4
lea rcx, [rcx + r11*4]
add rcx, 4
sub r8, r11
xor r10d, r10d
mov r11d, 0xfffd
nop dword [rax + rax]
mov esi, dword [rcx + r10*4 - 4]
mov edi, esi
xor edi, 0xd800
add edi, 0xffef0000
cmp edi, 0xffef0800
cmovb esi, r11d
mov dword [rdx + r10*4 - 4], esi
mov esi, dword [rcx + r10*4]
mov edi, esi
xor edi, 0xd800
add edi, 0xffef0000
cmp edi, 0xffef0800
cmovb esi, r11d
mov dword [rdx + r10*4], esi
add r10, 2
cmp r8, r10
jne 0x1400d60b0
add r9, r10
jmp 0x1400d61d4
lea rsi, [r9*4]
mov r11, r8
and r11, 0xfffffffffffffff8
add r9, r11
add rsi, r10
add rsi, 0x10
xor edi, edi
movdqa xmm0, xmmword [0x140198e80]
movdqa xmm1, xmmword [0x140198e90]
movdqa xmm2, xmmword [0x140198ea0]
movdqa xmm3, xmmword [0x140198eb0]
movdqa xmm4, xmmword [0x140198ec0]
nop word cs:[rax + rax]
movdqu xmm5, xmmword [rcx + rdi*4]
movdqu xmm6, xmmword [rcx + rdi*4 + 0x10]
movdqa xmm7, xmm5
pxor xmm7, xmm0
movdqa xmm8, xmm6
pxor xmm8, xmm0
paddd xmm7, xmm1
paddd xmm8, xmm1
pxor xmm7, xmm2
movdqa xmm9, xmm3
pcmpgtd xmm9, xmm7
pxor xmm8, xmm2
movdqa xmm7, xmm3
pcmpgtd xmm7, xmm8
movdqa xmm8, xmm9
pandn xmm8, xmm5
pand xmm9, xmm4
por xmm9, xmm8
movdqa xmm5, xmm7
pandn xmm5, xmm6
pand xmm7, xmm4
por xmm7, xmm5
movdqu xmmword [rsi + rdi*4 - 0x10], xmm9
movdqu xmmword [rsi + rdi*4], xmm7
add rdi, 8
cmp r11, rdi
jne 0x1400d6150
cmp r8, r11
jne 0x1400d6047
mov qword [rax], r9
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
add rsp, 0x48
pop rdi
pop rsi
ret
Function at 0x1400d6200
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov r12, qword [rcx]
mov r15, qword [rcx + 8]
cmp r12, r15
setne al
je 0x1400d6337
mov rsi, r8
mov rdi, rcx
mov rbx, qword [rdx]
mov r8d, 0xfffd
lea rcx, [rsp + 0x2c]
mov rdx, r12
add r12, 4
mov qword [rdi], r12
mov edx, dword [rdx]
mov r9d, edx
xor r9d, 0xd800
add r9d, 0xffef0000
cmp r9d, 0xffef0800
cmovb edx, r8d
cmp edx, 0x110000
setne bpl
and bpl, al
cmp bpl, 1
jne 0x1400d6337
call sym._ZN4core4char7methods22__LT_impl_u20_char_GT_16escape_debug_ext17h2865c5157edf8e68E.llvm.947107864497882524
mov eax, dword [rsp + 0x34]
mov dword [rsi + 8], eax
mov rax, qword [rsp + 0x2c]
mov qword [rsi], rax
cmp al, 0x80
jne 0x1400d62e0
mov r14b, pe_nt_image_headers64
jmp 0x1400d62c0
mov edx, dword [rsi + 4]
mov dword [rsi + 8], 0
mov qword [rsi], 0
xor r14d, r14d
mov rcx, rbx
call sym.__core::fmt::Formatter_as_core::fmt::Write_::write_char::hf59e6ff82b4d9c4c
test al, al
jne 0x1400d6339
cmp r14b, 0x80
je 0x1400d62a0
movzx eax, byte [rsi + 0xa]
cmp al, byte [rsi + 0xb]
jae 0x1400d6320
lea ecx, [rax + 1]
mov byte [rsi + 0xa], cl
movzx edx, byte [rsi + rax]
jmp 0x1400d62b4
movzx r14d, byte [rsi + 0xb]
movzx ecx, byte [rsi + 0xa]
nop dword [rax]
cmp rcx, r14
jae 0x1400d6320
lea r13, [rcx + 1]
mov byte [rsi + 0xa], r13b
movzx edx, byte [rsi + rcx]
mov rcx, rbx
call sym.__core::fmt::Formatter_as_core::fmt::Write_::write_char::hf59e6ff82b4d9c4c
mov rcx, r13
test al, al
je 0x1400d62f0
jmp 0x1400d6339
cmp r12, r15
setne al
mov r8d, 0xfffd
lea rcx, [rsp + 0x2c]
jne 0x1400d6237
xor ebp, ebp
mov eax, ebp
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400faca0
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 0x1400fbfb0
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 0x1400fc040
jmp 0x1400fc02f
jae 0x1400fc0fb
cmp r8, 0x201
jae 0x1400fc040
mov r14d, 0x200
lea r15, [rbp - 0x60]
mov r12, r8
jmp 0x1400fc097
sub r8, rbx
sub rdi, rbx
cmp r8, rdi
jbe 0x1400fc06f
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 0x1400fc0bd
call fcn.14016fbf4
test eax, eax
jne 0x1400fc167
mov r8d, r13d
cmp r12, r8
jne 0x1400fc020
call fcn.14016fbf4
cmp eax, 0x7a
jne 0x1400fc19a
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x1400fc02f
jmp 0x1400fc040
cmp r14, r8
jb 0x1400fc1b4
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 0x1400fc150
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 fcn.14016fbf4
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 0x1400fc13b
jmp 0x1400fc150
lea rcx, str.internal_error:_entered_unreachable_codeh
lea r8, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call sym.core::panicking::panic::h82631201f060ca88
jmp 0x1400fc1c9
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 0x1400fc200
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 0x1400fc21f
mov rdx, rax
add rsp, 0x68
pop rsi
pop rbp
ret
call fcn.14016fbf4
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 0x1400fe160
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 0x1400fe1ec
js 0x1400fe336
mov r15, rdx
mov rax, qword [0x1401bf7e8]
movzx eax, byte [rax]
mov ebx, 1
mov edx, 1
mov rcx, rsi
call sym.__rust_alloc
test rax, rax
je 0x1400fe338
mov r14, rax
mov rbx, rax
mov rcx, r14
mov rdx, r15
mov r8, rsi
call sym.memcpy
mov rdx, r14
cmp rsi, 8
jb 0x1400fe2ec
movabs rax, 0x7fffffffffffffe0
cmp rsi, 0x20
jae 0x1400fe1f6
xor ecx, ecx
jmp 0x1400fe286
mov ebx, 1
jmp 0x1400fe30f
mov rcx, rsi
and rcx, rax
xor edx, edx
movdqa xmm0, xmmword [0x14019a620]
movdqa xmm1, xmmword [0x14019a630]
movdqa xmm2, xmmword [0x14019a640]
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 0x1400fe220
cmp rcx, rsi
je 0x1400fe30f
test sil, 0x18
je 0x1400fe2e6
add rax, 0x18
and rax, rsi
lea rdx, [r14 + rax]
movdqa xmm0, xmmword [0x14019a650]
movdqa xmm1, xmmword [0x14019a660]
movdqa xmm2, xmmword [0x14019a670]
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 0x1400fe2b0
cmp rax, rsi
jne 0x1400fe2ec
jmp 0x1400fe30f
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 0x1400fe2f0
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 0x1400ff990
Capabilities:
Create directory

Disassembly:
push rbp
mov rbp, rsp
cmp byte [rcx], 0
je 0x1400ff9a5
mov rcx, rdx
mov rdx, r8
Function at 0x140108df0
Capabilities:
Set socket configuration

Disassembly:
push rbp
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov rcx, qword [rcx]
xor r9d, r9d
cmp r8d, 0x3b9aca00
je 0x140108e57
mov r9d, 0x3e8
mov rax, rdx
mul r9
mov r9d, 0xffffffff
jo 0x140108e57
mov edx, r8d
imul rdx, rdx, 0x431bde83
shr rdx, 0x32
add rax, rdx
jb 0x140108e57
imul edx, edx, 0xf4240
xor r10d, r10d
sub r8d, edx
setne r10b
add rax, r10
jb 0x140108e57
mov r9d, 0xffffffff
cmp rax, r9
cmovb r9, rax
test r9, r9
je 0x140108e97
mov dword [rbp - 4], r9d
mov dword [rsp + 0x20], 4
lea r9, [rbp - 4]
mov edx, 0xffff
mov r8d, 0x1006
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x140108e84
xor eax, eax
add rsp, 0x30
pop rbp
ret
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rbp
ret
lea rax, str.cannot_set_a_0_duration_timeout
add rsp, 0x30
pop rbp
ret

Function at 0x140108eb0
Capabilities:
Set socket configuration

Disassembly:
push rbp
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov rcx, qword [rcx]
xor r9d, r9d
cmp r8d, 0x3b9aca00
je 0x140108f17
mov r9d, 0x3e8
mov rax, rdx
mul r9
mov r9d, 0xffffffff
jo 0x140108f17
mov edx, r8d
imul rdx, rdx, 0x431bde83
shr rdx, 0x32
add rax, rdx
jb 0x140108f17
imul edx, edx, 0xf4240
xor r10d, r10d
sub r8d, edx
setne r10b
add rax, r10
jb 0x140108f17
mov r9d, 0xffffffff
cmp rax, r9
cmovb r9, rax
test r9, r9
je 0x140108f57
mov dword [rbp - 4], r9d
mov dword [rsp + 0x20], 4
lea r9, [rbp - 4]
mov edx, 0xffff
mov r8d, 0x1005
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x140108f44
xor eax, eax
add rsp, 0x30
pop rbp
ret
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rbp
ret
lea rax, str.cannot_set_a_0_duration_timeout
add rsp, 0x30
pop rbp
ret

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

Disassembly:
push rbp
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rcx, qword [rcx]
cmp r8, 0x7fffffff
mov eax, 0x7fffffff
cmovae r8, rax
mov r9d, 2
call sub.ws2_32.dll_recv
cmp eax, 0xffffffff
je 0x1401090c4
movsxd rdx, eax
xor ecx, ecx
jmp 0x1401090e7
call sub.ws2_32.dll_WSAGetLastError
xor edx, edx
mov ecx, 0
cmp eax, 0x274a
je 0x1401090e7
shl rax, 0x20
or rax, 2
mov ecx, 1
mov rdx, rax
mov rax, rcx
add rsp, 0x20
pop rbp
ret

Function at 0x1401090f0
Capabilities:
Set socket configuration

Disassembly:
push rbp
push rsi
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov rcx, qword [rcx]
xor esi, esi
xor eax, eax
cmp r8d, 0x3b9aca00
setne al
cmove edx, esi
mov word [rbp + 4], ax
mov word [rbp + 6], dx
mov dword [rsp + 0x20], 4
lea r9, [rbp + 4]
mov edx, 0xffff
mov r8d, pe_nt_image_headers64
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
jne 0x140109147
call sub.ws2_32.dll_WSAGetLastError
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov rax, rsi
add rsp, 0x38
pop rsi
pop rbp
ret