joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14011b2a0
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rax, rdx
mov rsi, rcx
lea rdx, [rsp + 0x3c]
mov rcx, rax
call qword [sym.imp.shell32.dll_CommandLineToArgvW]
test rax, rax
je 0x14011b3d3
mov rdi, rax
movsxd r13, dword [rsp + 0x3c]
mov qword [rsp + 0x20], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
test r13, r13
je 0x14011b37e
shl r13, 3
lea rbx, [rsp + 0x58]
lea r14, [rsp + 0x40]
lea r15, [rsp + 0x20]
mov r12, rdi
jmp 0x14011b33b
add r12, 8
mov rax, qword [rsp + 0x20]
lea rcx, [rdx + rdx*2]
mov rdx, qword [rsp + 0x68]
mov qword [rax + rcx*8 + 0x10], rdx
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rax + rcx*8], xmm0
inc qword [rsp + 0x30]
add r13, 0xfffffffffffffff8
je 0x14011b37e
mov rcx, r12
call fcn.140127920
lea rcx, [rax + rdx*2]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rcx
mov word [rsp + 0x50], 0
mov rcx, rbx
mov rdx, r14
call fcn.14011cb20
mov rdx, qword [rsp + 0x30]
cmp rdx, qword [rsp + 0x28]
jne 0x14011b310
mov rcx, r15
call fcn.14005af20
mov rdx, qword [rsp + 0x30]
jmp 0x14011b310
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x58]
call fcn.1400c8f90
test al, al
je 0x14011b3e3
call fcn.140127620
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], edx
mov qword [rsp + 0x40], 1
mov rcx, qword [rsp + 0x30]
mov qword [rsi + 0x10], rcx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rsi], xmm0
test rax, rax
je 0x14011b3f4
lea rcx, [rsp + 0x48]
call fcn.140127940
jmp 0x14011b3f4
mov qword [rsi], 8
xorps xmm0, xmm0
movups xmmword [rsi + 8], xmm0
jmp 0x14011b3f4
mov rax, qword [rsp + 0x30]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rsi], xmm0
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14011d870
Capabilities:
Get memory capacity

Disassembly:
push rsi
push rbx
sub rsp, 0xa8
mov ebx, r8d
mov rsi, rcx
test dl, dl
je 0x14011d8f7
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x20], 0x40
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x14011d8bc
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsi + 0x70], xmm0
jmp 0x14011d8f7
call fcn.140127620
mov qword [rsp + 0x98], rax
mov dword [rsp + 0xa0], edx
mov qword [rsp + 0x90], 1
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsi + 0x70], xmm0
test rax, rax
je 0x14011d8f7
lea rcx, [rsp + 0x98]
call fcn.140127940
test bl, bl
je 0x14011d991
xorps xmm0, xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x20]
mov edx, 0x68
call qword [sym.imp.KERNEL32.dll_K32GetPerformanceInfo]
test eax, eax
je 0x14011d991
mov rdx, qword [rsp + 0x30]
mov r9, qword [rsp + 0x40]
xor r10d, r10d
sub rdx, r9
cmovb rdx, r10
mov rcx, qword [rsp + 0x70]
mov rax, rcx
mul rdx
mov r8, rax
mov r11, 0xffffffffffffffff
cmovo r8, r11
mov rdx, qword [rsp + 0x28]
sub rdx, r9
cmovb rdx, r10
mov rax, rcx
mul rdx
cmovo rax, r11
mov qword [rsi + 0x80], r8
mov qword [rsi + 0x88], rax
add rsp, 0xa8
pop rbx
pop rsi
ret
Function at 0x14011deb0
Capabilities:
Get hostname

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rsi, rcx
mov dword [rsp + 0x24], 0
call fcn.1400160e0
lea r8, [rsp + 0x24]
mov ecx, 5
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
mov edi, eax
test eax, eax
je 0x14011df1f
xor eax, eax
mov qword [rsp + 0x40], rax
mov r14d, dword [rsp + 0x24]
test r14, r14
je 0x14011df44
lea r12, [r14 + r14]
mov edx, 2
mov rcx, r12
call fcn.140001440
mov r15, rax
test rax, rax
jne 0x14011df4a
mov ecx, 2
mov rdx, r12
call fcn.1401688d0
ud2
call fcn.140127620
mov rbx, rax
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], edx
mov eax, 1
mov qword [rsp + 0x40], rax
mov r14d, dword [rsp + 0x24]
test r14, r14
jne 0x14011def7
mov r15d, 2
mov rcx, r15
call fcn.14008cc10
lea r8, [rsp + 0x24]
mov ecx, 5
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x14011df96
test r14d, r14d
je 0x14011dff1
lea rax, [r14 + r14]
xor r8d, r8d
nop dword [rax]
cmp word [r15 + r8*2], 0
je 0x14011dff4
inc r8
add rax, 0xfffffffffffffffe
jne 0x14011df80
mov r8, r14
jmp 0x14011dff4
call fcn.140127620
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], edx
mov qword [rsp + 0x28], 1
test rax, rax
je 0x14011dfbc
lea rcx, [rsp + 0x30]
call fcn.140127940
test r14d, r14d
je 0x14011dfd5
add r14, r14
mov r8d, 2
mov rcx, r15
mov rdx, r14
call fcn.140001420
test edi, edi
jne 0x14011dfe8
test rbx, rbx
je 0x14011dfe8
lea rcx, [rsp + 0x48]
call fcn.140127940
mov qword [rsi], 0
jmp 0x14011e046
xor r8d, r8d
lea rcx, [rsp + 0x28]
mov rdx, r15
call fcn.14014f3f0
cmp qword [rsp + 0x28], 0
je 0x14011e057
mov rax, qword [rsp + 0x38]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsi], xmm0
test r14d, r14d
je 0x14011e033
add r14, r14
mov r8d, 2
mov rcx, r15
mov rdx, r14
call fcn.140001420
test edi, edi
jne 0x14011e046
test rbx, rbx
je 0x14011e046
lea rcx, [rsp + 0x48]
call fcn.140127940
mov rax, rsi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov qword [rsi], 0
test r14d, r14d
jne 0x14011e01f
jmp 0x14011e033
Function at 0x140124820
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rdi, rdx
mov rsi, rcx
mov rax, qword [rdx + 0x10]
mov qword [rsp + 0x30], rax
movzx eax, byte [rdx + 0x18]
mov byte [rsp + 0x27], al
movzx eax, byte [0x140230ff1]
mov ecx, 0x5f0
mov edx, 8
call fcn.140001410
test rax, rax
je 0x140124a79
mov rbx, rax
lea r15, [rdi + 0x20]
mov r8d, 0x5f0
mov rcx, rax
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rdi + 0x60]
mov qword [rsp + 0x28], rax
movabs rcx, 0x7465646279746573
movabs rdx, 0x6c7967656e657261
movabs r8, 0xded7d4e2d7dedfc6
movabs r9, 0xa60c596fc19fead0
movabs r10, 0xe414a674f0de7325
movabs r11, 0x800000000000000
nop word cs:[rax + rax]
mov ebp, 1
lock xadd qword [0x140231050], rbp
mov r14, rbp
xor r14, rcx
lea r12, [r14 + rdx]
mov rax, r14
rol rax, 0x10
xor rax, r12
lea r13, [rax + r8]
rol rax, 0x15
add r14, r9
mov r12, r14
xor r12, r10
rol r14, 0x20
xor rbp, r13
add rbp, r12
rol r12, 0xd
xor r13, r11
xor r12, rbp
rol rbp, 0x20
xor r13, rax
add r14, r13
rol r13, 0x10
xor r13, r14
add rbp, r13
rol r13, 0x15
add r14, r12
rol r12, 0x11
xor r13, rbp
xor r12, r14
rol r14, 0x20
xor rbp, r11
add rbp, r12
rol r12, 0xd
xor r12, rbp
rol rbp, 0x20
xor r14, 0xff
add r14, r13
rol r13, 0x10
xor r13, r14
add rbp, r13
rol r13, 0x15
add r14, r12
rol r12, 0x11
xor r12, r14
rol r14, 0x20
xor r13, rbp
add rbp, r12
rol r12, 0xd
xor r12, rbp
rol rbp, 0x20
add r14, r13
rol r13, 0x10
xor r13, r14
add rbp, r13
rol r13, 0x15
add r14, r12
rol r12, 0x11
xor r12, r14
rol r14, 0x20
xor r13, rbp
add rbp, r12
rol r12, 0xd
add r14, r13
rol r13, 0x10
xor r13, r14
rol r13, 0x15
xor r12, rbp
add r14, r12
rol r12, 0x11
mov rbp, r14
rol rbp, 0x20
xor rbp, r12
xor rbp, r13
xor rbp, r14
je 0x1401248d0
mov rax, qword [rdi + 0x40]
movups xmm0, xmmword [r15]
movups xmm1, xmmword [r15 + 0x10]
movups xmmword [rsi + 0x128], xmm1
movups xmmword [rsi + 0x118], xmm0
mov rcx, qword [rsp + 0x30]
mov qword [rsi + 0x138], rcx
movzx ecx, byte [rsp + 0x27]
mov byte [rsi + 0x140], cl
mov qword [rsi], 0
mov qword [rsi + 8], rbx
mov qword [rsi + 0x80], 0
mov qword [rsi + 0x88], rbx
mov rcx, qword [rsp + 0x28]
mov qword [rsi + 0x100], rcx
mov qword [rsi + 0x108], rbp
mov qword [rsi + 0x110], rax
mov rcx, qword [rdi + 0x48]
test rcx, rcx
je 0x140124a65
mov rdx, qword [rdi + 0x50]
test rdx, rdx
je 0x140124a65
mov r8d, 1
call fcn.140001420
mov rax, rsi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 8
mov edx, 0x5f0
call fcn.1401688d0
ud2

Function at 0x14012f2e0
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x50
mov rsi, rcx
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x40]
test rax, rax
je 0x14012f316
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x14012f326
lea rax, str.The_number_of_hardware_threads_is_not_known_for_the_target_platform
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x50
pop rsi
ret
Function at 0x14012f340
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3e0], rcx
mov qword [rbp + 0x3c8], 2
xorps xmm0, xmm0
movups xmmword [rbp + 0x3d0], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor edi, edi
xor ebx, ebx
xor r12d, r12d
cmp r8, 0x201
jae 0x14012f3d0
jmp 0x14012f3bf
jae 0x14012f490
cmp r8, 0x201
jae 0x14012f3d0
mov esi, 0x200
lea r13, [rbp - 0x58]
mov r15, r8
jmp 0x14012f428
sub r8, r12
sub rbx, r12
cmp rbx, r8
jae 0x14012f3ff
lea rcx, [rbp + 0x3c8]
mov rdx, r12
call fcn.1401676d0
mov rax, qword [rbp + 0x3c8]
mov qword [rbp + 0x3e8], rax
mov rdi, qword [rbp + 0x3d0]
mov eax, 0xffffffff
cmp rdi, rax
mov r12d, 0xffffffff
cmovb r12, rdi
mov qword [rbp + 0x3d8], r12
mov rbx, rdi
mov rsi, r12
mov r13, qword [rbp + 0x3e8]
mov r15, r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, r15d
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov r14d, eax
test eax, eax
jne 0x14012f451
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14012f4f8
mov r8d, r14d
cmp r15, r8
jne 0x14012f3b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14012f51b
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x14012f3bf
jmp 0x14012f3d0
cmp rsi, r8
jb 0x14012f535
lea rcx, [rbp + 0x3a8]
mov rdx, r13
call fcn.140132930
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3e0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
test rdi, rdi
je 0x14012f4e1
add rdi, rdi
mov r8d, 2
mov rcx, qword [rbp + 0x3e8]
mov rdx, rdi
call fcn.140001420
mov rax, rsi
add rsp, 0x478
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 + 0x3e0]
mov qword [rsi], rax
mov byte [rsi + 0x18], 2
test rdi, rdi
jne 0x14012f4c9
jmp 0x14012f4e1
lea rcx, str.internal_error:_entered_unreachable_codeX
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.140168bc0
jmp 0x14012f54a
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.140169090
ud2
Function at 0x1401326f0
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 0xffffffffffffffff
je 0x1400ece08
add rcx, 0x18
add rsp, 0x28
jmp 0x1400f7db0
lea rcx, str.called__Option::unwrap____on_a__None__valueC:UsersEge.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.35.1_srciopoll_evented.rs_
lea r8, [0x1401d9bc0]
mov edx, 0x2b
call fcn.140168bc0
ud2
jmp 0x1401326f0
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 0x140132728
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 0x140132740
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rsi
sub rsp, 0x20
mov rax, r8
mov rsi, rcx
mov rcx, qword [rdx]
mov rcx, qword [rcx]
cmp r9, 0x7fffffff
mov r8d, 0x7fffffff
cmovb r8, r9
mov rdx, rax
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_recv]
cmp eax, 0xffffffff
je 0x140132777
cdqe
jmp 0x140132786
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x274a
jne 0x14013278e
xor eax, eax
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x14013279f
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 0x1401327b0
Capabilities:
Send data
Send data on socket

Disassembly:
push rsi
sub rsp, 0x20
mov rax, r8
mov rsi, rcx
mov rcx, qword [rdx]
mov rcx, qword [rcx]
cmp r9, 0x7fffffff
mov r8d, 0x7fffffff
cmovb r8, r9
mov rdx, rax
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_send]
cmp eax, 0xffffffff
je 0x1401327ed
cdqe
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x140132804
call qword [sym.imp.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 0x140132810
Capabilities:
Send data
Send data on socket

Disassembly:
push rsi
sub rsp, 0x40
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 + 0x3c], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x3c]
mov rdx, rax
call qword [sym.imp.ws2_32.dll_WSASend]
cmp eax, 0xffffffff
je 0x140132865
mov eax, dword [rsp + 0x3c]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x14013287c
call qword [sym.imp.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, 0x40
pop rsi
ret
Function at 0x140136c20
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
mov eax, 0x1098
call fcn.14015db00
sub rsp, rax
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x1000], xmm6
mov qword [rbp + 0xff8], 0xfffffffffffffffe
mov qword [rbp + 0xfd8], rdx
mov rbx, rcx
lea rsi, [rbp - 0x50]
mov r8d, 0x1000
mov rcx, rsi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0xfec], 0
xorps xmm6, xmm6
movaps xmmword [rbp + 0xfb0], xmm6
mov qword [rbp + 0xfc0], 0
lea r14, [rbp + 0xfec]
mov qword [rbp + 0xfc8], r14
lea r15, [0x14013df50]
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0xfb0]
mov rcx, rbx
mov rdx, rsi
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_ReadFileEx]
test eax, eax
je 0x140136e11
mov r12, qword [sym.imp.KERNEL32.dll_SleepEx]
lea rsi, [rbp + 0xfb0]
mov r13, qword [sym.imp.KERNEL32.dll_WriteFileEx]
mov qword [rbp + 0xfe0], rbx
mov ecx, 0xffffffff
mov edx, 1
call r12
cmp dword [rbp + 0xfec], 0
je 0x140136ce7
cmp dword [rbp + 0xff0], 0
jne 0x140136e26
mov eax, dword [rbp + 0xff4]
test rax, rax
je 0x140136e26
cmp eax, 0x1000
ja 0x140136e71
xor ebx, ebx
nop word cs:[rax + rax]
cmp rbx, rax
ja 0x140136e56
lea rdx, [rbx + rbp]
add rdx, 0xffffffffffffffb0
mov rdi, rax
mov r8d, eax
sub r8d, ebx
mov dword [rbp + 0xfec], 0
movaps xmmword [rbp + 0xfb0], xmm6
mov qword [rbp + 0xfc0], 0
mov qword [rbp + 0xfc8], r14
mov qword [rsp + 0x20], r15
mov rcx, qword [rbp + 0xfd8]
mov r9, rsi
call r13
test eax, eax
je 0x140136e19
nop word [rax + rax]
mov ecx, 0xffffffff
mov edx, 1
call r12
cmp dword [rbp + 0xfec], 0
je 0x140136d90
cmp dword [rbp + 0xff0], 0
jne 0x140136e1f
mov eax, dword [rbp + 0xff4]
add rbx, rax
mov rax, rdi
cmp rbx, rdi
jne 0x140136d30
mov dword [rbp + 0xfec], 0
movaps xmmword [rbp + 0xfb0], xmm6
mov qword [rbp + 0xfc0], 0
mov qword [rbp + 0xfc8], r14
mov qword [rsp + 0x20], r15
mov rbx, qword [rbp + 0xfe0]
mov rcx, rbx
lea rdx, [rbp - 0x50]
mov r8d, 0x1000
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_ReadFileEx]
test eax, eax
jne 0x140136ce7
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140136e26
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rbx, qword [rbp + 0xfe0]
mov rsi, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call rsi
mov rcx, qword [rbp + 0xfd8]
call rsi
movaps xmm6, xmmword [rbp + 0x1000]
add rsp, 0x1098
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea r8, str.library_std_src_syswindowspipe.rs
mov rcx, rbx
mov qword [rbp + 0xfd0], rax
mov rdx, rax
call fcn.140169110
jmp 0x140136e8c
lea r8, str.library_std_src_syswindowspipe.rs
mov edx, 0x1000
mov qword [rbp + 0xfd0], rax
mov rcx, rax
call fcn.140169090
ud2
Function at 0x14013b030
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rsp + 0xe0]
movups xmm0, xmmword [0x14021aae8]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x14013b074
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rdx
test rcx, rcx
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x80]
cmove rdx, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtReadFile]
cmp eax, 0x103
jne 0x14013b0d3
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0xc0000011
jne 0x14013b0e2
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
jmp 0x14013b11a
cmp eax, 0x103
je 0x14013b124
test eax, eax
js 0x14013b0ff
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
mov qword [rsi], 0
jmp 0x14013b11a
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
add rsp, 0xa8
pop rdi
pop rsi
ret
mov byte [rsp + 0x5c], 0
mov dword [rsp + 0x58], 0
lea rax, [0x14021ab50]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.140131c80
mov rcx, rax
call fcn.1401293b0
mov ecx, 7
int 0x29
ud2

Function at 0x14013b190
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rsp + 0xe0]
movups xmm0, xmmword [0x14021aae8]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x14013b1d4
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rdx
test rcx, rcx
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x80]
cmove rdx, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x14013b23a
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x14013b271
test eax, eax
js 0x14013b24b
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x14013b264
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xa8
pop rdi
pop rsi
ret
mov byte [rsp + 0x5c], 0
mov dword [rsp + 0x58], 0
lea rax, [0x14021ab50]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.140131c80
mov rcx, rax
call fcn.1401293b0
mov ecx, 7
int 0x29
ud2
Function at 0x14013b340
Capabilities:
Create udp socket

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov edi, r8d
mov rsi, rcx
cmp word [rdx], 0
mov eax, 2
mov ebx, 0x17
cmove ebx, eax
mov dword [rsp + 0x28], 0x81
mov dword [rsp + 0x20], 0
mov ecx, ebx
mov edx, r8d
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_WSASocketW]
cmp rax, 0xffffffffffffffff
je 0x14013b395
mov qword [rsi + 8], rax
mov qword [rsi], 0
jmp 0x14013b431
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2726
je 0x14013b3a9
cmp eax, 0x2739
jne 0x14013b3fa
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
mov ecx, ebx
mov edx, edi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_WSASocketW]
cmp rax, 0xffffffffffffffff
je 0x14013b3f4
mov rdi, rax
mov rcx, rax
mov edx, 1
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
je 0x14013b40f
mov qword [rsi + 8], rdi
mov qword [rsi], 0
jmp 0x14013b431
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x14013b431
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
mov rcx, rdi
call qword [sym.imp.ws2_32.dll_closesocket]
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret

Function at 0x14013d2f0
Capabilities:
Create pipe
Generate random numbers via winapi

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x128
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x90], xmm6
mov qword [rbp + 0x88], 0xfffffffffffffffe
mov qword [rbp + 0x38], rcx
mov byte [rbp + 0x85], dl
movzx eax, dl
mov ecx, 0x40080002
sub ecx, eax
mov dword [rbp + 0x34], ecx
xor edi, edi
mov r15d, 8
mov sil, 1
xorps xmm6, xmm6
mov rbx, qword [sym.imp.bcrypt.dll_BCryptGenRandom]
xor eax, eax
mov qword [rbp - 0x18], rax
nop
Function at 0x14013e400
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rdi, rdx
cmp qword [rdx], 0
jne 0x14013e50f
mov rsi, rcx
mov rbx, qword [rdi + 0x18]
mov rax, qword [rbx + 8]
test rax, rax
jne 0x14013e438
mov rdx, qword [rbx + 0x10]
lea rax, [rdx + 0xf]
cmp rax, 0xf
jbe 0x14013e4d2
xor eax, eax
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
je 0x14013e4f1
sub rax, rdx
add rdx, qword [rbx]
mov r8, qword [rdi + 0x10]
mov ecx, 0xffffffff
cmp rax, rcx
cmovae rax, rcx
mov dword [rsp + 0x30], 0
mov rcx, qword [rdi + 0x20]
mov qword [rsp + 0x20], r8
lea r9, [rsp + 0x30]
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14013e48e
mov eax, dword [rsp + 0x30]
mov ecx, 2
test rax, rax
jne 0x14013e4ab
jmp 0x14013e4a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x14013e4a6
cmp eax, 0x6d
jne 0x14013e4c2
mov byte [rsi + 1], 0
jmp 0x14013e4b6
mov ecx, 1
mov qword [rdi], rcx
mov qword [rdi + 8], rax
mov byte [rsi + 1], 1
xor eax, eax
mov byte [rsi], al
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov al, 1
jmp 0x14013e4b8
mov r8d, 0x10
mov rcx, rbx
call fcn.140167790
mov rax, qword [rbx + 8]
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
jne 0x14013e445
mov r8d, 1
mov rcx, rbx
mov rdx, rax
call fcn.140167790
mov rax, qword [rbx + 8]
mov rdx, qword [rbx + 0x10]
jmp 0x14013e445
mov qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140167680
ud2