joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14017dc10
Capabilities:
Link many functions at runtime

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rcx, str.api_ms_win_core_synch_l1_2_0.dll
call sub.KERNEL32.dll_GetModuleHandleA
test rax, rax
je 0x14017dc62
mov rdi, rax
lea rdx, [0x1402b8136]
mov rcx, rax
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x14017dc62
mov rsi, rax
lea rdx, [0x1402b8144]
mov rcx, rdi
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x14017dc62
mov r14, rax
xor edi, edi
jmp 0x14017dce6
lea rcx, str.ntdll.dll
call sub.KERNEL32.dll_GetModuleHandleA
test rax, rax
je 0x14017dd54
mov rsi, rax
lea rdx, [0x1402b80da]
mov rcx, rax
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x14017dd54
mov rbx, rax
lea rdx, [0x1402b80ed]
mov rcx, rsi
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x14017dd54
mov rdi, rax
lea rdx, [0x1402b8101]
mov rcx, rsi
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x14017dd54
mov rsi, rax
lea rcx, [rsp + 0x20]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rbx
test eax, eax
jne 0x14017dd54
mov r14, qword [rsp + 0x20]
mov rax, qword [0x14031ef28]
movzx eax, byte [rax]
mov ecx, 0x18
mov edx, 8
call fcn.14000ea30
test rax, rax
je 0x14017dd6e
mov rbx, rax
mov qword [rax], rdi
mov qword [rax + 8], rsi
mov qword [rax + 0x10], r14
xor eax, eax
lock cmpxchg qword [0x14034c160], rbx
je 0x14017dd47
mov rsi, rax
cmp qword [rbx], 0
je 0x14017dd31
mov rcx, qword [rbx + 0x10]
call fcn.140249e64
mov edx, 0x18
mov r8d, 8
mov rcx, rbx
call fcn.14000ea40
mov rbx, rsi
mov rax, rbx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.parking_lot_requires_either_NT_Keyed_Events__WinXP__or_WaitOnAddress_WakeByAddress__Win8__home_admin_.local_share_cargo_registry_src_index.crates.io_6f17d22bba15001f_parking_lot_core_0.9.9_src_thread_parker_windows_mod.rs
lea r8, [0x1402b8238]
mov edx, 0x5b
call fcn.14017df50
ud2
mov ecx, 8
mov edx, 0x18
call fcn.140226c80
ud2
Function at 0x14017e5d0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rdx, rcx
lea rcx, [0x140251a58]
jmp 0x14017e5e0
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rdx
mov rbx, rcx
mov ecx, dword [rcx + 0x18]
test ecx, ecx
je 0x14017e614
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x14017e629
mov rdi, rax
cmp qword [rax + 8], 0
je 0x14017e629
add rdi, 8
jmp 0x14017e72d
mov rcx, rbx
call fcn.140200490
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x14017e601
mov ecx, dword [rbx + 0x18]
test ecx, ecx
je 0x14017e712
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x14017e72b
mov rdi, rax
test rax, rax
jne 0x14017e692
mov rax, qword [0x14031ef28]
movzx eax, byte [rax]
mov ecx, 0x40
mov edx, 8
call fcn.14000ea30
test rax, rax
je 0x14017e747
mov rdi, rax
mov qword [rax], rbx
mov qword [rax + 8], 0
mov ecx, dword [rbx + 0x18]
test ecx, ecx
je 0x14017e738
dec ecx
mov rdx, rdi
call sub.KERNEL32.dll_TlsSetValue
add rdi, 8
test rsi, rsi
je 0x14017e6cc
mov rax, qword [rsi]
mov qword [rsi], 0
test rax, rax
je 0x14017e6cc
movups xmm0, xmmword [rsi + 8]
movups xmm1, xmmword [rsi + 0x18]
movups xmm2, xmmword [rsi + 0x28]
movups xmmword [rsp + 0x50], xmm2
movups xmmword [rsp + 0x40], xmm1
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x28], rax
jmp 0x14017e6d6
lea rcx, [rsp + 0x28]
call fcn.14017e320
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
movups xmm0, xmmword [rsp + 0x38]
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm1
mov rdx, qword [rsp + 0x58]
mov qword [rdi + 0x30], rdx
cmp qword [rdi], 0
mov qword [rdi], rax
mov qword [rdi + 8], rcx
je 0x14017e72d
lock dec qword [0x14034c168]
jmp 0x14017e72d
mov rcx, rbx
call fcn.140200490
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x14017e645
xor edi, edi
mov rax, rdi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
mov rcx, rbx
call fcn.140200490
mov ecx, eax
jmp 0x14017e68a
mov ecx, 8
mov edx, 0x40
call fcn.140226c80
ud2
Function at 0x14017e5e0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rdx, rcx
lea rcx, [0x140251a58]
jmp 0x14017e5e0
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rdx
mov rbx, rcx
mov ecx, dword [rcx + 0x18]
test ecx, ecx
je 0x14017e614
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x14017e629
mov rdi, rax
cmp qword [rax + 8], 0
je 0x14017e629
add rdi, 8
jmp 0x14017e72d
mov rcx, rbx
call fcn.140200490
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x14017e601
mov ecx, dword [rbx + 0x18]
test ecx, ecx
je 0x14017e712
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x14017e72b
mov rdi, rax
test rax, rax
jne 0x14017e692
mov rax, qword [0x14031ef28]
movzx eax, byte [rax]
mov ecx, 0x40
mov edx, 8
call fcn.14000ea30
test rax, rax
je 0x14017e747
mov rdi, rax
mov qword [rax], rbx
mov qword [rax + 8], 0
mov ecx, dword [rbx + 0x18]
test ecx, ecx
je 0x14017e738
dec ecx
mov rdx, rdi
call sub.KERNEL32.dll_TlsSetValue
add rdi, 8
test rsi, rsi
je 0x14017e6cc
mov rax, qword [rsi]
mov qword [rsi], 0
test rax, rax
je 0x14017e6cc
movups xmm0, xmmword [rsi + 8]
movups xmm1, xmmword [rsi + 0x18]
movups xmm2, xmmword [rsi + 0x28]
movups xmmword [rsp + 0x50], xmm2
movups xmmword [rsp + 0x40], xmm1
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x28], rax
jmp 0x14017e6d6
lea rcx, [rsp + 0x28]
call fcn.14017e320
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
movups xmm0, xmmword [rsp + 0x38]
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm1
mov rdx, qword [rsp + 0x58]
mov qword [rdi + 0x30], rdx
cmp qword [rdi], 0
mov qword [rdi], rax
mov qword [rdi + 8], rcx
je 0x14017e72d
lock dec qword [0x14034c168]
jmp 0x14017e72d
mov rcx, rbx
call fcn.140200490
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x14017e645
xor edi, edi
mov rax, rdi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
mov rcx, rbx
call fcn.140200490
mov ecx, eax
jmp 0x14017e68a
mov ecx, 8
mov edx, 0x40
call fcn.140226c80
ud2
Function at 0x1401d6980
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x468
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], 2
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rsp + 0x20], rax
xor ebx, ebx
mov r14d, 0xffffffff
xor esi, esi
xor r15d, r15d
cmp r8, 0x201
jae 0x1401d6a00
jmp 0x1401d69ef
jae 0x1401d6aa4
cmp r8, 0x201
jae 0x1401d6a00
mov r12d, 0x200
lea r13, [rsp + 0x68]
mov rbp, r8
jmp 0x1401d6a47
sub r8, r15
sub rsi, r15
cmp rsi, r8
jae 0x1401d6a27
lea rcx, [rsp + 0x30]
mov rdx, r15
call fcn.1401c2020
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov rbx, qword [rsp + 0x38]
cmp rbx, r14
mov r15d, 0xffffffff
cmovb r15, rbx
mov qword [rsp + 0x40], r15
mov rsi, rbx
mov r12, r15
mov r13, qword [rsp + 0x20]
mov rbp, r15
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov ecx, ebp
mov rdx, r13
call sub.KERNEL32.dll_GetCurrentDirectoryW
mov edi, eax
test eax, eax
jne 0x1401d6a6b
call fcn.140249d04
test eax, eax
jne 0x1401d6b02
mov r8d, edi
cmp rbp, r8
jne 0x1401d69e0
call fcn.140249d04
cmp eax, 0x7a
jne 0x1401d6b22
add rbp, rbp
cmp rbp, r14
cmovae rbp, r14
mov r8, rbp
cmp r8, 0x201
jb 0x1401d69ef
jmp 0x1401d6a00
cmp r12, r8
jb 0x1401d6b3c
lea rcx, [rsp + 0x48]
mov rdx, r13
call fcn.1401e3090
movups xmm0, xmmword [rsp + 0x48]
movups xmm1, xmmword [rsp + 0x58]
mov rsi, qword [rsp + 0x28]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
test rbx, rbx
je 0x1401d6aeb
add rbx, rbx
mov r8d, 2
mov rcx, qword [rsp + 0x20]
mov rdx, rbx
call fcn.14000ea40
mov rax, rsi
add rsp, 0x468
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.140249d04
shl rax, 0x20
or rax, 2
mov rsi, qword [rsp + 0x28]
mov qword [rsi], rax
mov byte [rsi + 0x18], 2
test rbx, rbx
jne 0x1401d6ad5
jmp 0x1401d6aeb
lea rcx, str.internal_error:_entered_unreachable_code
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.140235da0
jmp 0x1401d6b51
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, r12
mov r8, rax
call fcn.14023c1c0
ud2
Function at 0x1401d7110
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x4a8
mov rdi, rcx
lea rcx, [rsp + 0xa8]
call fcn.140200cb0
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x38], rax
test rax, rax
je 0x1401d7279
mov qword [rsp + 0x40], rdi
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x48], 2
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rsp + 0x30], rax
xor r15d, r15d
mov esi, 0xffffffff
xor r14d, r14d
xor edi, edi
cmp r8, 0x201
jae 0x1401d71d0
jmp 0x1401d71af
jae 0x1401d728f
cmp r8, 0x201
jae 0x1401d71d0
mov r13d, 0x200
lea r12, [rsp + 0xa8]
mov rbp, r8
jmp 0x1401d7216
sub r8, rdi
sub r14, rdi
cmp r14, r8
jae 0x1401d71f7
lea rcx, [rsp + 0x48]
mov rdx, rdi
call fcn.1401c2020
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov r15, qword [rsp + 0x50]
cmp r15, rsi
mov edi, 0xffffffff
cmovb rdi, r15
mov qword [rsp + 0x58], rdi
mov r14, r15
mov r13, rdi
mov r12, qword [rsp + 0x30]
mov rbp, rdi
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, qword [rsp + 0x38]
mov rdx, r12
mov r8d, ebp
call sub.KERNEL32.dll_GetEnvironmentVariableW
mov ebx, eax
test eax, eax
jne 0x1401d7240
call fcn.140249d04
test eax, eax
jne 0x1401d7350
mov r8d, ebx
cmp rbp, r8
jne 0x1401d71a0
call fcn.140249d04
cmp eax, 0x7a
jne 0x1401d7375
add rbp, rbp
cmp rbp, rsi
cmovae rbp, rsi
mov r8, rbp
cmp r8, 0x201
jb 0x1401d71af
jmp 0x1401d71d0
lea rcx, [rsp + 0xb0]
call fcn.1401b74f0
mov byte [rdi + 0x18], 2
jmp 0x1401d7317
cmp r13, r8
jb 0x1401d738f
lea rcx, [rsp + 0x88]
mov rdx, r12
call fcn.1401e3090
movups xmm0, xmmword [rsp + 0x88]
movups xmm1, xmmword [rsp + 0x98]
movaps xmmword [rsp + 0x70], xmm1
movaps xmmword [rsp + 0x60], xmm0
test r15, r15
je 0x1401d72dd
add r15, r15
mov r8d, 2
mov rcx, qword [rsp + 0x30]
mov rdx, r15
call fcn.14000ea40
cmp byte [rsp + 0x78], 2
jne 0x1401d732e
mov rdi, qword [rsp + 0x40]
mov byte [rdi + 0x18], 2
lea rcx, [rsp + 0x60]
mov rsi, qword [rsp + 0x28]
call fcn.1401b74f0
test rsi, rsi
je 0x1401d7317
add rsi, rsi
mov r8d, 2
mov rcx, qword [rsp + 0x38]
mov rdx, rsi
call fcn.14000ea40
mov rax, rdi
add rsp, 0x4a8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movaps xmm0, xmmword [rsp + 0x60]
movaps xmm1, xmmword [rsp + 0x70]
mov rdi, qword [rsp + 0x40]
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
mov rsi, qword [rsp + 0x28]
test rsi, rsi
jne 0x1401d7301
jmp 0x1401d7317
call fcn.140249d04
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x60], rax
mov byte [rsp + 0x78], 2
test r15, r15
jne 0x1401d72c7
jmp 0x1401d72dd
lea rcx, str.internal_error:_entered_unreachable_code
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.140235da0
jmp 0x1401d73a4
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, r13
mov r8, rax
call fcn.14023c1c0
ud2
Function at 0x1401e1e90
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
mov r9d, 2
call sub.ws2_32.dll_recv
cmp eax, 0xffffffff
je 0x1401e1ec6
cdqe
jmp 0x1401e1ed4
call sub.ws2_32.dll_WSAGetLastError
cmp eax, 0x274a
jne 0x1401e1edc
xor eax, eax
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x1401e1eed
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 0x1401e1fe0
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 0xffffffffffffffff
je 0x140144b98
add rcx, 0x18
add rsp, 0x28
jmp 0x1401740b0
lea rcx, str.called__Option::unwrap____on_a__None__value_home_admin_.local_share_cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.35.1_src_io_poll_evented.rs
lea r8, [0x1402b0b40]
mov edx, 0x2b
call fcn.140235da0
ud2
jmp 0x1401e1fe0
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 sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x1401e2017
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 0x1401e2240
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 sub.ws2_32.dll_recv
cmp eax, 0xffffffff
je 0x1401e2276
cdqe
jmp 0x1401e2284
call sub.ws2_32.dll_WSAGetLastError
cmp eax, 0x274a
jne 0x1401e228c
xor eax, eax
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x1401e229d
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 0x1401e2340
Capabilities:
Receive data
Receive 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 + 0x38], 0
mov dword [rsp + 0x3c], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
lea rdx, [rsp + 0x3c]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x38]
mov rdx, rax
call sub.ws2_32.dll_WSARecv
test eax, eax
je 0x1401e23a5
call sub.ws2_32.dll_WSAGetLastError
cmp eax, 0x274a
jne 0x1401e23b6
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
jmp 0x1401e23c9
mov eax, dword [rsp + 0x38]
mov qword [rsi + 8], rax
mov qword [rsi], 0
jmp 0x1401e23c9
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
mov rax, rsi
add rsp, 0x40
pop rsi
ret
Function at 0x1401e23e0
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 sub.ws2_32.dll_send
cmp eax, 0xffffffff
je 0x1401e241c
cdqe
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x1401e2432
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 0x1401e2440
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 sub.ws2_32.dll_WSASend
cmp eax, 0xffffffff
je 0x1401e2494
mov eax, dword [rsp + 0x3c]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x1401e24aa
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, 0x40
pop rsi
ret

Function at 0x1401e2e50
Capabilities:
Set socket configuration

Disassembly:
jmp 0x1401e2e50
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 0x1401e2e99
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 0x1401e2f00
Capabilities:
Set socket configuration

Disassembly:
jmp 0x1401e2f00
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 0x1401e2f49
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 0x1401e2fb0
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 0x1401e2fe9
cdqe
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x1401e2fff
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 0x1401e3010
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 0x1401e3043
cdqe
jmp 0x1401e3051
call sub.ws2_32.dll_WSAGetLastError
cmp eax, 0x274a
jne 0x1401e3059
xor eax, eax
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x1401e306a
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 0x1401e8240
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x38
in al, dx
cmp byte [rax - 0x75], cl
jns 0x1401e827a

Function at 0x1401ea430
Capabilities:
Resolve dns

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov ebp, r9d
mov rsi, rcx
lea rcx, [rsp + 0x30]
call fcn.1402276f0
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1401ea48b
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x1401ea502
mov r8d, 1
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.14000ea40
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x58], 1
mov qword [rsp + 0x28], 0
lea r8, [rsp + 0x50]
lea r9, [rsp + 0x28]
mov rcx, rdi
xor edx, edx
call sub.ws2_32.dll_getaddrinfo
test eax, eax
je 0x1401ea50f
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 byte [rdi], 0
test rbx, rbx
je 0x1401ea502
mov r8d, 1
mov rcx, rdi
mov rdx, rbx
call fcn.14000ea40
nop
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rax, qword [rsp + 0x28]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], bp
xor eax, eax
mov qword [rsi], rax
mov byte [rdi], 0
test rbx, rbx
jne 0x1401ea4f1
jmp 0x1401ea502
Function at 0x1401eadd0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
mov eax, 0x1098
call fcn.140249a00
sub rsp, rax
movaps xmmword [rsp + 0x1080], xmm6
mov rsi, rdx
mov rdi, rcx
lea r14, [rsp + 0x80]
mov r8d, 0x1000
mov rcx, r14
xor edx, edx
call sub.msvcrt.dll_memset
lea r15, [rsp + 0x50]
xorps xmm6, xmm6
lea rbx, [rsp + 0x34]
lea r12, [0x1401f93a0]
lea r13, [rsp + 0x60]
mov qword [rsp + 0x28], rdi
mov r9d, 0x1000
mov rcx, r15
mov rdx, rdi
mov r8, r14
call fcn.1401f8bf0
cmp qword [rsp + 0x50], 0
jne 0x1401eaf56
mov rbp, qword [rsp + 0x58]
test rbp, rbp
je 0x1401eaf2a
cmp rbp, 0x1000
ja 0x1401eaf76
mov rdi, r14
mov r14, r15
xor r15d, r15d
nop word cs:[rax + rax]
mov r8d, ebp
sub r8d, r15d
lea rdx, [rsp + r15]
add rdx, 0x80
mov dword [rsp + 0x34], 0
movaps xmmword [rsp + 0x60], xmm6
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x20], r12
mov rcx, rsi
mov r9, r13
call sub.KERNEL32.dll_WriteFileEx
test eax, eax
je 0x1401eaf00
mov ecx, 0xffffffff
mov edx, 1
call sub.KERNEL32.dll_SleepEx
cmp dword [rsp + 0x34], 0
je 0x1401eaec0
movsxd rax, dword [rsp + 0x38]
test rax, rax
jne 0x1401eaf05
mov eax, dword [rsp + 0x3c]
add r15, rax
cmp r15, rbp
je 0x1401eaef0
jbe 0x1401eae80
jmp 0x1401eaf62
mov r15, r14
mov r14, rdi
mov rdi, qword [rsp + 0x28]
jmp 0x1401eae2d
call fcn.140249d04
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], 1
lea rcx, [rsp + 0x48]
mov rdi, qword [rsp + 0x28]
call fcn.1401b74f0
mov rcx, rdi
call fcn.140249e64
mov rcx, rsi
call fcn.140249e64
movaps xmm6, xmmword [rsp + 0x1080]
add rsp, 0x1098
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rsp + 0x58]
call fcn.1401b74f0
jmp 0x1401eaf2a
lea r8, str.library_std_src_syswindowspipe.rs
mov rcx, r15
mov rdx, rbp
call fcn.14023c240
jmp 0x1401eaf8a
lea r8, str.library_std_src_syswindowspipe.rs
mov edx, 0x1000
mov rcx, rbp
call fcn.14023c1c0
ud2
Function at 0x1401f0c70
Capabilities:
Create directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov r8, rdx
mov rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.140200cb0
mov rax, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
test rax, rax
je 0x1401f0d25
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 fcn.1401f79a0
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
test rdi, rdi
je 0x1401f0d25
mov rcx, rdi
xor edx, edx
call sub.KERNEL32.dll_CreateDirectoryW
test eax, eax
je 0x1401f0cfa
test rsi, rsi
je 0x1401f0cf6
add rsi, rsi
mov r8d, 2
mov rcx, rdi
mov rdx, rsi
call fcn.14000ea40
xor esi, esi
jmp 0x1401f0d25
call fcn.140249d04
mov ebx, eax
shl rbx, 0x20
or rbx, 2
test rsi, rsi
je 0x1401f0d22
add rsi, rsi
mov r8d, 2
mov rcx, rdi
mov rdx, rsi
call fcn.14000ea40
mov rsi, rbx
mov rax, rsi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret

Function at 0x1401f4300
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 [0x140301848]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x1401f4344
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 sub.ntdll.dll_NtReadFile
cmp eax, 0x103
jne 0x1401f43a1
mov rcx, rdi
mov edx, 0xffffffff
call sub.KERNEL32.dll_WaitForSingleObject
mov eax, dword [rsp + 0x60]
cmp eax, 0xc0000011
jne 0x1401f43b0
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
jmp 0x1401f43e7
cmp eax, 0x103
je 0x1401f43f1
test eax, eax
js 0x1401f43cd
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
mov qword [rsi], 0
jmp 0x1401f43e7
mov ecx, eax
call sub.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 dword [rsp + 0x58], 0
mov byte [rsp + 0x5c], 0
lea rax, [0x1403018b0]
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.1401e0ed0
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.1401b8060
mov ecx, 7
int 0x29
ud2