joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140189450
Capabilities:
Get number of processors

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x60
lea rbp, [rsp + 0x60]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rsi, rdx
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x18], rdx
mov eax, dword [0x14035adc0]
mov rdx, qword gs:[0x58]
mov rax, qword [rdx + rax*8]
movzx eax, byte [rax + 0xb8]
cmp eax, 1
je 0x14017ab4c
test eax, eax
jne 0x14017abf2
mov rdi, rcx
mov eax, dword [0x14035adc0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rcx, [rax + 0x68]
lea rdx, [0x14017a2a0]
call fcn.1401c6de0
mov eax, dword [0x14035adc0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov byte [rax + 0xb8], 1
mov rcx, rdi
mov qword [rbp - 0x20], 0
mov eax, dword [0x14035adc0]
mov rdx, qword gs:[0x58]
mov rax, qword [rdx + rax*8]
mov r8, qword [rax + 0xa0]
test r8, r8
je 0x14017ac1d
mov qword [rbp - 0x40], rcx
mov qword [rbp - 0x38], rsi
cmp qword [r8], 0
mov rdi, qword [rcx]
jne 0x14017ab92
cmp rdi, qword [r8 + 8]
je 0x14017ac47
lea rcx, [rdi + 0x88]
mov byte [rbp - 9], 0
mov rdx, rsi
call fcn.140189dd0
add rdi, 0xb8
mov byte [rbp - 9], 0
mov rcx, rdi
call fcn.14018de60
cmp qword [rbp - 0x20], 0
je 0x14017ac3e
mov rcx, qword [rbp - 0x18]
mov rax, 0xffffffffffffffc0
lock xadd qword [rcx], rax
cmp rax, 0x3f
jbe 0x14017ace9
and rax, 0xffffffffffffffc0
cmp rax, 0x40
jne 0x14017ac3e
mov rax, qword [rcx + 0x10]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
jmp qword [rax + 0x10]
mov qword [rbp - 0x20], 0
mov rdi, qword [rcx]
lea rcx, [rdi + 0x88]
mov rdx, rsi
call fcn.140189dd0
add rdi, 0xb8
mov rcx, rdi
call fcn.14018de60
jmp 0x14017ac3e
mov rdi, qword [rcx]
lea rcx, [rdi + 0x88]
mov rdx, rsi
call fcn.140189dd0
add rdi, 0xb8
mov rcx, rdi
call fcn.14018de60
nop
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
cmp qword [r8 + 0x10], 0
jne 0x14017ad01
mov qword [r8 + 0x10], 0xffffffffffffffff
mov rdi, qword [r8 + 0x18]
test rdi, rdi
je 0x14017acb2
mov qword [rbp - 0x30], rsi
mov rcx, qword [rdi + 0x40]
mov rax, qword [rdi + 0x58]
cmp rax, rcx
jne 0x14017ac8d
mov qword [rbp - 0x28], r8
lea rcx, [rdi + 0x40]
call fcn.1400b78f0
mov rcx, qword [rdi + 0x40]
mov rax, qword [rdi + 0x58]
mov r8, qword [rbp - 0x28]
add rax, qword [rdi + 0x50]
xor edx, edx
cmp rax, rcx
cmovae rdx, rcx
sub rax, rdx
mov rcx, qword [rdi + 0x48]
mov qword [rcx + rax*8], rsi
inc qword [rdi + 0x58]
inc qword [r8 + 0x10]
jmp 0x14017abb8
mov qword [r8 + 0x10], 0
mov rax, 0xffffffffffffffc0
lock xadd qword [rsi], rax
cmp rax, 0x3f
jbe 0x14017ad13
and rax, 0xffffffffffffffc0
cmp rax, 0x40
jne 0x14017abb8
mov rax, qword [rsi + 0x10]
mov rcx, rsi
call qword [rax + 0x10]
jmp 0x14017abb8
lea rcx, str.assertion_failed:_prev.ref_count_____1
lea r8, [0x1402ce718]
mov edx, 0x27
call fcn.140221690
mov byte [rbp - 9], 1
lea rcx, [0x1402ccd38]
call fcn.1402214c0
jmp 0x14017ad2b
lea rcx, str.assertion_failed:_prev.ref_count_____1
lea r8, [0x1402ce718]
mov edx, 0x27
call fcn.140221690
ud2
lea r8, [0x1402ce028]
jmp 0x14017aac0
Function at 0x14018a690
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx]
nop word [rax + rax]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x14018a6a0
test al, 1
je 0x14018a6bf
test al, 2
jne 0x14018a6d7
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x1402ce500]
mov edx, 0x23
call fcn.140221690
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x1402ce540]
mov edx, 0x25
call fcn.140221690
int3
Function at 0x14018a9a0
Capabilities:
Get number of processors

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp], 0xfffffffffffffffe
mov r14, r9
mov edi, r8d
mov rbx, rdx
mov rsi, rcx
mov eax, dword [0x14035adc0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + 0xb8]
cmp eax, 1
je 0x14018aa1a
test eax, eax
jne 0x14018abf5
mov eax, dword [0x14035adc0]
mov rcx, qword gs:[0x58]
mov r15, qword [rcx + rax*8]
lea rcx, [r15 + 0x68]
lea rdx, [0x14017a2a0]
call fcn.1401c6de0
mov byte [r15 + 0xb8], 1
mov eax, dword [0x14035adc0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rax + 0x68]
movabs rax, 0x7ffffffffffffffe
cmp rcx, rax
ja 0x14018aba8
lea rax, [rcx + 1]
mov edx, dword [0x14035adc0]
mov r8, qword gs:[0x58]
mov rdx, qword [r8 + rdx*8]
mov qword [rdx + 0x68], rax
mov rax, qword [rdx + 0x70]
cmp rax, 2
je 0x14018abb4
mov ecx, dword [0x14035adc0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov rcx, qword [rcx + 0x78]
mov edx, 1
mov r9d, 1
lock xadd qword [rcx], r9
test rax, rax
je 0x14018aab5
mov r8d, 0x118
test r9, r9
jns 0x14018aac6
jmp 0x14018abf3
test r9, r9
js 0x14018abf3
mov r8d, 0xb8
xor edx, edx
mov r9d, dword [0x14035adc0]
mov r10, qword gs:[0x58]
mov r9, qword [r10 + r9*8]
dec qword [r9 + 0x68]
mov qword [rbp - 0x10], rdx
mov qword [rbp - 8], rcx
cmp dword [rcx + r8 + 0xa8], 0x3b9aca00
je 0x14018abdf
mov edx, 1
mov r8d, 1
lock xadd qword [rcx], r8
test rax, rax
je 0x14018ab1a
test r8, r8
jns 0x14018ab25
jmp 0x14018abf3
test r8, r8
js 0x14018abf3
xor edx, edx
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rsi], rdx
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rbx
mov dword [rsi + 0x18], edi
movups xmm0, xmmword [rbp - 0x34]
movups xmm1, xmmword [rbp - 0x24]
movups xmmword [rsi + 0x1c], xmm0
movups xmmword [rsi + 0x2c], xmm1
mov edx, dword [rbp - 0x14]
mov dword [rsi + 0x3c], edx
mov qword [rsi + 0x40], 0xffffffffffffffff
mov qword [rsi + 0x48], 0
mov qword [rsi + 0x58], 0
mov byte [rsi + 0x60], 0
mov byte [rsi + 0x68], 0
lock dec qword [rcx]
lea rcx, [rbp - 8]
sete dl
test rax, rax
je 0x14018ab8f
test dl, dl
je 0x14018ab98
call fcn.140188970
jmp 0x14018ab98
test dl, dl
je 0x14018ab98
call fcn.140187ce0
mov rax, rsi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
lea rcx, str.C:Users_root.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.37.0_src_runtimecontextcurrent.rs
call fcn.140221520
mov eax, dword [0x14035adc0]
mov rdx, qword gs:[0x58]
mov rax, qword [rdx + rax*8]
mov qword [rax + 0x68], rcx
xor eax, eax
mov byte [rbp - 0x34], al
lea rcx, [rbp - 0x34]
mov rdx, r14
call fcn.14021baf0
lea rcx, [0x1402cf168]
mov edx, 0x73
mov r8, r14
call fcn.1402215a0
ud2
mov al, 1
mov byte [rbp - 0x34], al
lea rcx, [rbp - 0x34]
mov rdx, r14
call fcn.14021baf0
int3
Function at 0x14018b150
Capabilities:
Get number of processors

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp], 0xfffffffffffffffe
mov edi, r8d
mov rbx, rdx
mov rsi, rcx
mov r14, qword [rbp + 0x60]
mov eax, dword [0x14035adc0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + 0xb8]
cmp eax, 1
je 0x14018b1cb
test eax, eax
jne 0x14018b3a6
mov eax, dword [0x14035adc0]
mov rcx, qword gs:[0x58]
mov r15, qword [rcx + rax*8]
lea rcx, [r15 + 0x68]
lea rdx, [0x14017a2a0]
call fcn.1401c6de0
mov byte [r15 + 0xb8], 1
mov eax, dword [0x14035adc0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rax + 0x68]
movabs rax, 0x7ffffffffffffffe
cmp rcx, rax
ja 0x14018b359
lea rax, [rcx + 1]
mov edx, dword [0x14035adc0]
mov r8, qword gs:[0x58]
mov rdx, qword [r8 + rdx*8]
mov qword [rdx + 0x68], rax
mov rax, qword [rdx + 0x70]
cmp rax, 2
je 0x14018b365
mov ecx, dword [0x14035adc0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov rcx, qword [rcx + 0x78]
mov edx, 1
mov r9d, 1
lock xadd qword [rcx], r9
test rax, rax
je 0x14018b266
mov r8d, 0x118
test r9, r9
jns 0x14018b277
jmp 0x14018b3a4
test r9, r9
js 0x14018b3a4
mov r8d, 0xb8
xor edx, edx
mov r9d, dword [0x14035adc0]
mov r10, qword gs:[0x58]
mov r9, qword [r10 + r9*8]
dec qword [r9 + 0x68]
mov qword [rbp - 0x10], rdx
mov qword [rbp - 8], rcx
cmp dword [rcx + r8 + 0xa8], 0x3b9aca00
je 0x14018b390
mov edx, 1
mov r8d, 1
lock xadd qword [rcx], r8
test rax, rax
je 0x14018b2cb
test r8, r8
jns 0x14018b2d6
jmp 0x14018b3a4
test r8, r8
js 0x14018b3a4
xor edx, edx
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rsi], rdx
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rbx
mov dword [rsi + 0x18], edi
movups xmm0, xmmword [rbp - 0x34]
movups xmm1, xmmword [rbp - 0x24]
movups xmmword [rsi + 0x1c], xmm0
movups xmmword [rsi + 0x2c], xmm1
mov edx, dword [rbp - 0x14]
mov dword [rsi + 0x3c], edx
mov qword [rsi + 0x40], 0xffffffffffffffff
mov qword [rsi + 0x48], 0
mov qword [rsi + 0x58], 0
mov byte [rsi + 0x60], 0
mov byte [rsi + 0x68], 0
lock dec qword [rcx]
lea rcx, [rbp - 8]
sete dl
test rax, rax
je 0x14018b340
test dl, dl
je 0x14018b349
call fcn.140188970
jmp 0x14018b349
test dl, dl
je 0x14018b349
call fcn.140187ce0
mov rax, rsi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
lea rcx, str.C:Users_root.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.37.0_src_runtimecontextcurrent.rs
call fcn.140221520
mov eax, dword [0x14035adc0]
mov rdx, qword gs:[0x58]
mov rax, qword [rdx + rax*8]
mov qword [rax + 0x68], rcx
xor eax, eax
mov byte [rbp - 0x10], al
lea rcx, [rbp - 0x10]
mov rdx, r14
call fcn.14021baf0
lea rcx, [0x1402cf168]
mov edx, 0x73
mov r8, r14
call fcn.1402215a0
ud2
mov al, 1
mov byte [rbp - 0x10], al
lea rcx, [rbp - 0x10]
mov rdx, r14
call fcn.14021baf0
int3
Function at 0x140191110
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 0xffffffffffffffff
je 0x140191128
add rcx, 0x18
add rsp, 0x28
jmp 0x140198850
lea rcx, [0x1402cfb40]
call fcn.140221580
int3
jmp 0x1401b56d0
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, 6
mov r8d, 1
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1401b5708
xor eax, eax
add rsp, 0x38
ret
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x140191d50
Capabilities:
Encode data using xor

Disassembly:
push rbp
sub rsp, 0xb0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x28], 0xfffffffffffffffe
mov qword [rbp + 0x18], rcx
mov rax, qword [rcx]
nop
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x140191d70
test al, 1
je 0x140191e39
test al, 2
jne 0x140191e51
xor rax, 3
mov qword [rbp], rax
mov rcx, rbp
lea rdx, [rbp + 0x18]
call fcn.1401723b0
test rax, rax
je 0x140191dce
mov qword [rbp + 0x10], rax
mov rcx, rax
mov qword [rbp + 0x20], rdx
call qword [rdx]
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax + 8]
test rdx, rdx
mov rcx, qword [rbp + 0x10]
je 0x140191dce
mov r8, qword [rax + 0x10]
call fcn.140024630
mov rcx, qword [rbp + 0x18]
mov qword [rbp + 8], 1
mov rax, 0xffffffffffffffc0
lock xadd qword [rcx], rax
shr rax, 6
cmp rax, qword [rbp + 8]
jb 0x140191e69
jne 0x140191e2f
mov rax, qword [rbp + 0x18]
mov qword [rbp + 0x20], rax
lea rcx, [rax + 0x28]
call fcn.140173310
mov rax, qword [rbp + 0x20]
mov rax, qword [rax + 0x58]
test rax, rax
je 0x140191e1b
mov rcx, qword [rbp + 0x20]
mov rcx, qword [rcx + 0x60]
call qword [rax + 0x18]
mov edx, 0x80
mov r8d, 0x80
mov rcx, qword [rbp + 0x20]
call fcn.140024630
nop
add rsp, 0xb0
pop rbp
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x1402ce500]
mov edx, 0x23
call fcn.140221690
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x1402ce540]
mov edx, 0x25
call fcn.140221690
mov qword [rbp - 8], rax
lea rax, [rbp - 8]
mov qword [rbp - 0x28], rax
lea rax, [fcn.1401df700]
mov qword [rbp - 0x20], rax
lea rcx, [rbp + 8]
mov qword [rbp - 0x18], rcx
mov qword [rbp - 0x10], rax
lea rax, str.current:___sub:_X
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], 2
mov qword [rbp - 0x38], 0
lea rax, [rbp - 0x28]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], 2
lea rdx, [0x1402ce588]
lea rcx, [rbp - 0x58]
call fcn.1402215c0
int3

Function at 0x140196420
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [rsp + 0x40]
add rsp, 0x58
ret

Function at 0x1401965f0
Capabilities:
Connect socket

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx]
mov r8d, dword [rdx + 0x80]
call qword [sym.imp.ws2_32.dll_connect]
test eax, eax
je 0x14019661a
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret
Function at 0x140196630
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx]
movzx eax, dl
mov dword [rsp + 0x24], eax
lea r8, [rsp + 0x24]
mov edx, 0x8004667e
call qword [sym.imp.ws2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
je 0x14019665a
xor eax, eax
add rsp, 0x28
ret
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x28
ret

Function at 0x140196670
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x140196670
sub rsp, 0x38
mov rcx, qword [rcx]
mov dword [rsp + 0x34], edx
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 0xffff
mov r8d, 0x1002
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1401966a5
xor eax, eax
add rsp, 0x38
ret
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x1401966c0
Capabilities:
Set socket configuration

Disassembly:
jmp 0x1401966c0
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, 4
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1401966f8
xor eax, eax
add rsp, 0x38
ret
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x140196710
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x140196710
sub rsp, 0x38
mov rcx, qword [rcx]
mov dword [rsp + 0x34], edx
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 0xffff
mov r8d, 0x1001
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x140196745
xor eax, eax
add rsp, 0x38
ret
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x140196760
Capabilities:
Set socket configuration

Disassembly:
push rsi
push rdi
sub rsp, 0x58
mov rdi, rdx
mov rsi, qword [rcx]
mov dword [rsp + 0x48], 1
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x48]
mov rcx, rsi
mov edx, 0xffff
mov r8d, 8
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x140196887
mov r9d, dword [rdi + 8]
xor ecx, ecx
mov r8d, 0
cmp r9d, 0x3b9aca00
je 0x1401967e8
mov eax, 0x3e8
mul qword [rdi]
mov r8d, r9d
imul r9, r8, 0x431bde83
shr r9, 0x32
add r9, rax
adc rdx, 0
mov eax, 0xffffffff
cmp r9, rax
cmovae r9, rax
xor r8d, r8d
neg rdx
sbb r8d, r8d
or r8d, r9d
mov r9d, dword [rdi + 0x18]
cmp r9d, 0x3b9aca00
je 0x140196829
mov eax, 0x3e8
mul qword [rdi + 0x10]
mov ecx, r9d
imul r9, rcx, 0x431bde83
shr r9, 0x32
add r9, rax
adc rdx, 0
mov eax, 0xffffffff
cmp r9, rax
cmovae r9, rax
xor ecx, ecx
neg rdx
sbb ecx, ecx
or ecx, r9d
mov dword [rsp + 0x48], 1
mov dword [rsp + 0x4c], r8d
mov dword [rsp + 0x50], ecx
mov dword [rsp + 0x54], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
lea rax, [rsp + 0x54]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x48]
mov rcx, rsi
mov edx, 0x98000004
mov r9d, 0xc
call qword [sym.imp.ws2_32.dll_WSAIoctl]
cmp eax, 0xffffffff
je 0x140196887
xor eax, eax
jmp 0x140196894
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x58
pop rdi
pop rsi
ret
Function at 0x1401b2060
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x498
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x410], 0xfffffffffffffffe
mov qword [rbp + 0x3f0], rcx
mov qword [rbp + 0x3f8], 0
mov qword [rbp + 0x400], 2
mov qword [rbp + 0x408], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor esi, esi
xor edi, edi
xor ebx, ebx
cmp r8, 0x201
jae 0x1401b2100
jmp 0x1401b20ef
jae 0x1401b21bf
cmp r8, 0x201
jae 0x1401b2100
mov r14d, 0x200
lea r15, [rbp - 0x60]
mov r12, r8
jmp 0x1401b2157
sub r8, rbx
sub rdi, rbx
cmp rdi, r8
jae 0x1401b212f
lea rcx, [rbp + 0x3f8]
mov rdx, rbx
call fcn.140220010
mov rsi, qword [rbp + 0x3f8]
mov rax, qword [rbp + 0x400]
mov qword [rbp + 0x3e8], rax
mov eax, 0xffffffff
cmp rsi, rax
mov ebx, 0xffffffff
cmovb rbx, rsi
mov qword [rbp + 0x408], rbx
mov rdi, rsi
mov r14, rbx
mov r15, qword [rbp + 0x3e8]
mov r12, rbx
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
mov ecx, r12d
mov rdx, r15
call qword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov r13d, eax
test eax, eax
jne 0x1401b2180
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x1401b2239
mov r8d, r13d
cmp r12, r8
jne 0x1401b20e0
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1401b226d
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x1401b20ef
jmp 0x1401b2100
cmp r14, r8
jb 0x1401b2287
lea rcx, [rbp + 0x3c8]
mov rdx, r15
call fcn.1401b58f0
movups xmm0, xmmword [rbp + 0x3c8]
movups xmm1, xmmword [rbp + 0x3d8]
movaps xmmword [rbp + 0x3b0], xmm1
movaps xmmword [rbp + 0x3a0], xmm0
mov rsi, qword [rbp + 0x3f0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rdx, qword [rbp + 0x3f8]
test rdx, rdx
je 0x1401b2222
mov rcx, qword [rbp + 0x400]
add rdx, rdx
mov r8d, 2
call fcn.140024630
mov rax, rsi
add rsp, 0x498
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3f0]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rdx, qword [rbp + 0x3f8]
test rdx, rdx
jne 0x1401b220d
jmp 0x1401b2222
lea rcx, [0x1402dfb20]
lea r8, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call fcn.140221690
jmp 0x1401b229c
lea rax, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, r14
mov r8, rax
call fcn.140221b10
ud2
Function at 0x1401b2840
Capabilities:
Create directory

Disassembly:
cmp byte [rcx], 0
je 0x1401b2850
mov rcx, rdx
mov rdx, r8
jmp fcn.1401b2860
mov rcx, rdx
mov rdx, r8
jmp fcn.1401bdf60

Function at 0x1401b56d0
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 0xffffffffffffffff
je 0x140191128
add rcx, 0x18
add rsp, 0x28
jmp 0x140198850
lea rcx, [0x1402cfb40]
call fcn.140221580
int3
jmp 0x1401b56d0
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, 6
mov r8d, 1
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1401b5708
xor eax, eax
add rsp, 0x38
ret
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

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

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx]
mov rcx, qword [rax]
cmp r8, 0x7fffffff
mov eax, 0x7fffffff
cmovae r8, rax
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_recv]
cmp eax, 0xffffffff
je 0x1401b5755
movsxd rdx, eax
xor ecx, ecx
mov rax, rcx
add rsp, 0x28
ret
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
xor edx, edx
mov ecx, 0
cmp eax, 0x274a
je 0x1401b574d
shl rax, 0x20
or rax, 2
mov ecx, 1
mov rdx, rax
mov rax, rcx
add rsp, 0x28
ret

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

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx]
mov rcx, qword [rax]
cmp r8, 0x7fffffff
mov eax, 0x7fffffff
cmovae r8, rax
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_send]
cmp eax, 0xffffffff
je 0x1401b57c2
movsxd rdx, eax
xor eax, eax
add rsp, 0x28
ret
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0x28
ret

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

Disassembly:
push rsi
sub rsp, 0x40
mov rax, qword [rcx]
mov rcx, qword [rax]
mov eax, 0xffffffff
cmp r8, rax
cmovae r8, rax
mov dword [rsp + 0x3c], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x3c]
call qword [sym.imp.ws2_32.dll_WSASend]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1401b582f
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
xor ecx, ecx
cmp esi, 0xffffffff
sete cl
mov edx, dword [rsp + 0x3c]
cmove rdx, rax
mov rax, rcx
add rsp, 0x40
pop rsi
ret
Function at 0x1401b9a90
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
mov eax, 0x10b8
call fcn.1401f94d0
sub rsp, rax
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x1020], xmm6
mov qword [rbp + 0x1018], 0xfffffffffffffffe
mov qword [rbp + 0x1008], rdx
mov r15, rcx
lea r12, [rbp - 0x50]
mov r8d, 0x1000
mov rcx, r12
xor edx, edx
call fcn.140216540
xorps xmm6, xmm6
lea r13, [rbp + 0xffc]
lea rbx, [0x1401c0750]
lea r14, [rbp + 0xfb0]
mov rsi, qword [sym.imp.kernel32.dll_WriteFileEx]
mov rdi, qword [sym.imp.kernel32.dll_SleepEx]
mov qword [rbp + 0x1010], r15
mov r8d, 0x1000
mov rcx, r15
mov rdx, r12
call case.0x1401b6c0d.287
mov r15, rdx
mov qword [rbp + 0xfd8], rax
mov qword [rbp + 0xfe0], rdx
test rax, rax
jne 0x1401b9c80
test r15, r15
je 0x1401b9c4c
cmp r15, 0x1000
ja 0x1401b9ca2
xor r12d, r12d
nop word cs:[rax + rax]
mov r8d, r15d
sub r8d, r12d
lea rdx, [r12 + rbp]
add rdx, 0xffffffffffffffb0
mov dword [rbp + 0xffc], 0
movaps xmmword [rbp + 0xfb0], xmm6
mov qword [rbp + 0xfc0], 0
mov qword [rbp + 0xfc8], r13
mov qword [rsp + 0x20], rbx
mov rcx, qword [rbp + 0x1008]
mov r9, r14
call rsi
test eax, eax
je 0x1401b9c20
nop word cs:[rax + rax]
mov ecx, 0xffffffff
mov edx, 1
call rdi
cmp dword [rbp + 0xffc], 0
je 0x1401b9bb0
mov ecx, dword [rbp + 0x1000]
mov eax, dword [rbp + 0x1004]
mov rdx, rcx
shl rdx, 0x20
or rdx, 2
xor r8d, r8d
test ecx, ecx
setne r8b
cmove rdx, rax
mov qword [rbp + 0xfe8], r8
mov qword [rbp + 0xff0], rdx
jne 0x1401b9c40
add r12, rax
cmp r12, r15
je 0x1401b9c10
jbe 0x1401b9b60
jmp 0x1401b9c8e
mov r15, qword [rbp + 0x1010]
lea r12, [rbp - 0x50]
jmp 0x1401b9b0e
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0xfe8], 1
mov qword [rbp + 0xff0], rax
lea rcx, [rbp + 0xff0]
call fcn.1401ac340
mov rsi, qword [sym.imp.kernel32.dll_CloseHandle]
mov rcx, qword [rbp + 0x1010]
call rsi
mov rcx, qword [rbp + 0x1008]
call rsi
movaps xmm6, xmmword [rbp + 0x1020]
add rsp, 0x10b8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rcx, [rbp + 0xfe0]
call fcn.1401ac340
jmp 0x1401b9c4c
lea r8, str.library_std_src_syspalwindowspipe.rs
mov rcx, r12
mov rdx, r15
call fcn.140221b20
jmp 0x1401b9cb6
lea r8, str.library_std_src_syspalwindowspipe.rs
mov edx, 0x1000
mov rcx, r15
call fcn.140221b10
ud2