joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005b2f0
Capabilities:
Check os version

Disassembly:
sub rsp, 0x388
mov qword [rsp + 0x260], rcx
lea rcx, [rsp + 0x144]
call fcn.140055920
lea rcx, [rsp + 0x26c]
lea rdx, [rsp + 0x144]
mov r8d, 0x11c
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x26c]
mov r8d, 0x11c
call sub.VCRUNTIME140.dll_memcpy
mov eax, 0x11c
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0x28]
call qword [sym.imp.ntdll.dll_RtlGetVersion]
mov ecx, eax
call fcn.14005ad80
test al, 1
jne 0x14005b365
mov byte [rsp + 0x27], 1
jmp 0x14005b36e
cmp dword [rsp + 0x2c], 6
ja 0x14005b388
jmp 0x14005b37f
mov al, byte [rsp + 0x27]
and al, 1
movzx eax, al
add rsp, 0x388
ret
cmp dword [rsp + 0x2c], 6
je 0x14005b38f
jmp 0x14005b39f
mov byte [rsp + 0x27], 1
jmp 0x14005b36e
cmp dword [rsp + 0x30], 3
setae al
and al, 1
mov byte [rsp + 0x27], al
jmp 0x14005b36e
mov byte [rsp + 0x27], 0
jmp 0x14005b36e
Function at 0x14005c8b0
Capabilities:
Accept command line arguments

Disassembly:
push rbp
sub rsp, 0x140
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xb8], 0xfffffffffffffffe
mov qword [rbp - 0x18], rdx
mov rax, rcx
mov rcx, qword [rbp - 0x18]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rax
mov qword [rbp + 0x58], rcx
mov eax, dword [rbp + 0xb4]
mov dword [rbp + 0xc], eax
lea rax, [rbp + 0xc]
mov qword [rbp + 0xa0], rax
lea rdx, [rbp + 0xc]
call sub.shell32.dll_CommandLineToArgvW
mov rcx, rax
mov qword [rbp], rcx
mov qword [rbp + 0x60], rcx
call fcn.1400559b0
test al, 1
jne 0x14005c961
mov rcx, qword [rbp]
movsxd rdx, dword [rbp + 0xc]
mov eax, edx
mov dword [rbp + 0xac], eax
mov dword [rbp + 0xb0], eax
mov dword [rbp + 0x6c], eax
call fcn.14007a610
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rdx
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
lea rcx, [rbp + 0x10]
call fcn.14006c2d0
mov rcx, qword [rbp - 0x38]
mov rdx, qword [rbp - 0x30]
call fcn.14007d550
mov qword [rbp - 0x28], rdx
mov qword [rbp - 0x20], rax
jmp 0x14005c96c
mov rcx, qword [rbp - 0x10]
call fcn.14006c2d0
jmp 0x14005c9e7
mov rax, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x20]
mov qword [rbp + 0x28], rcx
mov qword [rbp + 0x30], rax
lea rcx, [rbp + 0x28]
call fcn.14007dd30
mov qword [rbp - 0x40], rax
jmp 0x14005c98b
mov rax, qword [rbp - 0x40]
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0x38]
cmp rax, 0
sete al
test al, 1
jne 0x14005c9a4
jmp 0x14005c9af
mov rcx, qword [rbp]
call sub.kernel32.dll_LocalFree
jmp 0x14005c9cc
mov rax, qword [rbp + 0x38]
mov qword [rbp - 0x50], rax
mov qword [rbp + 0x80], rax
mov rcx, qword [rax]
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
mov qword [rbp - 0x48], rax
jmp 0x14005c9f4
mov rax, qword [rbp - 0x10]
mov rcx, qword [rbp + 0x10]
mov qword [rax], rcx
mov rcx, qword [rbp + 0x18]
mov qword [rax + 8], rcx
mov rcx, qword [rbp + 0x20]
mov qword [rax + 0x10], rcx
mov rax, qword [rbp - 8]
add rsp, 0x140
pop rbp
ret
mov rdx, qword [rbp - 0x48]
mov rax, qword [rbp - 0x50]
mov qword [rbp + 0x88], rdx
mov rcx, qword [rax]
call fcn.14007a690
mov qword [rbp - 0x60], rdx
mov qword [rbp - 0x58], rax
jmp 0x14005ca15
mov r8, qword [rbp - 0x60]
mov rdx, qword [rbp - 0x58]
mov qword [rbp + 0x90], rdx
mov qword [rbp + 0x98], r8
lea rcx, [rbp + 0x40]
call fcn.140063b10
jmp 0x14005ca36
lea rcx, [rbp + 0x10]
lea rdx, [rbp + 0x40]
call fcn.14006d1e0
jmp 0x14005ca45
jmp 0x14005c97c
Function at 0x140078730
Capabilities:
Reference wmi statements

Disassembly:
push rbp
sub rsp, 0x140
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xb8], 0xfffffffffffffffe
mov qword [rbp - 0x30], rdx
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x20], rcx
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x80], 0
mov qword [rbp - 0x18], 0
cmp qword [rdx + 0x10], 1
je 0x14007877b
jmp 0x1400787bb
mov rax, qword [rbp - 0x30]
add rax, 0x18
mov qword [rbp - 0x40], rax
mov qword [rbp + 0x38], rax
lea rcx, [0x14012a172]
mov qword [rbp + 0x40], rcx
mov qword [rbp + 0x48], 4
mov qword [rbp + 0xa8], rcx
mov qword [rbp + 0xb0], 4
call sub.oleaut32.dll_SysAllocString
mov qword [rbp - 0x38], rax
jmp 0x1400787cb
mov rax, qword [rbp - 0x28]
mov qword [rax], 2
jmp 0x1400788ee
mov rax, qword [rbp - 0x38]
mov qword [rbp + 0x50], rax
lea rcx, str.SELECT__FROM_MSAcpi_ThermalZoneTemperature
mov qword [rbp + 0x58], rcx
mov qword [rbp + 0x60], 0x2c
mov qword [rbp + 0x98], rcx
mov qword [rbp + 0xa0], 0x2c
call sub.oleaut32.dll_SysAllocString
mov qword [rbp - 0x48], rax
jmp 0x140078803
mov r8, qword [rbp - 0x48]
mov rdx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x40]
mov qword [rbp + 0x68], r8
mov rcx, qword [rax]
mov qword [rbp + 0x88], 0
mov qword [rbp + 0x90], 0
mov rax, rsp
lea r9, [rbp - 0x18]
mov qword [rax + 0x28], r9
mov qword [rax + 0x20], 0
mov r9d, 0x30
call fcn.140083760
mov dword [rbp - 0x4c], eax
jmp 0x14007884f
mov rcx, qword [rbp - 0x38]
mov eax, dword [rbp - 0x4c]
mov dword [rbp + 0x74], eax
call sub.oleaut32.dll_SysFreeString
jmp 0x140078860
mov rcx, qword [rbp - 0x48]
call sub.oleaut32.dll_SysFreeString
jmp 0x14007886b
mov ecx, dword [rbp - 0x4c]
call fcn.140077330
mov byte [rbp - 0x4d], al
jmp 0x140078878
mov al, byte [rbp - 0x4d]
test al, 1
jne 0x1400788a0
jmp 0x140078881
mov rcx, qword [rbp - 0x30]
mov rax, qword [rbp - 0x18]
mov qword [rbp - 8], rax
mov qword [rbp - 0x10], 1
add rcx, 0x20
call fcn.140062df0
jmp 0x1400788ad
mov rax, qword [rbp - 0x28]
mov qword [rax], 2
jmp 0x1400788ee
mov rdx, qword [rbp - 0x30]
mov rcx, qword [rbp - 0x10]
mov rax, qword [rbp - 8]
mov qword [rdx + 0x20], rcx
mov qword [rdx + 0x28], rax
mov rcx, rbp
mov r8d, 0x38
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbp - 0x28]
mov rdx, rbp
mov r8d, 0x38
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rbp - 0x20]
add rsp, 0x140
pop rbp
ret
mov rcx, qword [rbp - 0x30]
call fcn.1400621f0
jmp 0x1400788e1
Function at 0x140085420
Capabilities:
Get disk size

Disassembly:
sub rsp, 0xb8
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x38], rcx
cmp qword [rcx + 0x78], 0
jne 0x140085442
mov byte [rsp + 0x2f], 0
jmp 0x14008554e
mov byte [rsp + 0x4f], 0
mov qword [rsp + 0x50], 1
mov byte [rsp + 0x5f], 0
mov qword [rsp + 0x60], 1
lea rax, [rsp + 0x78]
mov qword [rsp + 0x88], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x78]
mov edx, 8
call fcn.14005a1b0
lea rcx, [rsp + 0x78]
xor edx, edx
mov r8d, 8
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x30], rax
add rcx, 0x48
call fcn.14006dcc0
mov rcx, rax
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0x98], 0
mov qword [rsp + 0xa0], 0
xor eax, eax
mov r8d, eax
lea r9, [rsp + 0x30]
mov rdx, r8
call sub.kernel32.dll_GetDiskFreeSpaceExW
cmp eax, 0
je 0x140085438
lea rcx, [rsp + 0x30]
call fcn.14005ada0
mov rcx, rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rcx]
mov qword [rax + 0x80], rcx
mov byte [rsp + 0x2f], 1
mov al, byte [rsp + 0x2f]
and al, 1
movzx eax, al
add rsp, 0xb8
ret
Function at 0x140085660
Capabilities:
Get disk size

Disassembly:
sub rsp, 0x138
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov byte [rsp + 0xcf], 0
mov qword [rsp + 0xd0], 1
mov byte [rsp + 0xdf], 0
mov qword [rsp + 0xe0], 1
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x108], rax
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x110], rax
lea rcx, [rsp + 0xf8]
mov edx, 8
call fcn.14005a1b0
lea rcx, [rsp + 0xf8]
xor edx, edx
mov r8d, 8
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x7f], 0
mov qword [rsp + 0x80], 1
mov byte [rsp + 0x8f], 0
mov qword [rsp + 0x90], 1
lea rax, [rsp + 0xa8]
mov qword [rsp + 0xb8], rax
lea rax, [rsp + 0xa8]
mov qword [rsp + 0xc0], rax
lea rcx, [rsp + 0xa8]
mov edx, 8
call fcn.14005a1b0
lea rcx, [rsp + 0xa8]
xor edx, edx
mov r8d, 8
call sub.VCRUNTIME140.dll_memset
mov r8, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x128], rcx
mov qword [rsp + 0x130], r8
mov qword [rsp + 0x118], 0
mov qword [rsp + 0x120], 0
xor eax, eax
mov edx, eax
lea r8, [rsp + 0x48]
lea r9, [rsp + 0x50]
call sub.kernel32.dll_GetDiskFreeSpaceExW
cmp eax, 0
jne 0x140085846
mov rax, qword [rsp + 0x28]
mov qword [rax], 0
jmp 0x140085881
lea rcx, [rsp + 0x48]
call fcn.14005ada0
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x50]
call fcn.14005ada0
mov rdx, qword [rsp + 0x20]
mov rcx, rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rcx]
mov qword [rax + 8], rdx
mov qword [rax + 0x10], rcx
mov qword [rax], 1
mov rax, qword [rsp + 0x30]
add rsp, 0x138
ret

Function at 0x140085890
Capabilities:
Get disk information

Disassembly:
sub rsp, 0x58
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rcx
call sub.kernel32.dll_GetLogicalDrives
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x1400858ba
mov rcx, qword [rsp + 0x30]
call fcn.14006c2f0
jmp 0x1400858ef
xor ecx, ecx
mov edx, 0x20
call fcn.1400540f0
mov dword [rsp + 0x2c], eax
mov r8d, edx
mov edx, dword [rsp + 0x2c]
lea rcx, [rsp + 0x48]
lea r9, [rsp + 0x44]
call fcn.140080d90
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x48]
call fcn.14008c010
mov rax, qword [rsp + 0x38]
add rsp, 0x58
ret
Function at 0x140086760
Capabilities:
List groups for user account

Disassembly:
push rbp
sub rsp, 0x140
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xb8], 0xfffffffffffffffe
mov qword [rbp], rdx
mov qword [rbp + 8], rcx
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x88], rdx
mov byte [rbp + 0x87], 0
call fcn.1400864e0
mov qword [rbp + 0x20], rax
mov dword [rbp + 0x28], 0
mov dword [rbp + 0x2c], 0
lea rax, [0x14012b5c0]
mov qword [rbp + 0xa8], rax
mov qword [rbp + 0xb0], 1
lea rcx, [rbp + 0x20]
call fcn.140086620
mov qword [rbp + 0x18], rax
jmp 0x1400867d4
mov rdx, qword [rbp]
mov rcx, qword [rbp + 0x18]
mov rax, rsp
lea r8, [rbp + 0x2c]
mov qword [rax + 0x38], r8
lea r8, [rbp + 0x28]
mov qword [rax + 0x30], r8
mov qword [rax + 0x20], rcx
mov dword [rax + 0x28], 0xffffffff
lea rcx, [0x14012b5c0]
xor r8d, r8d
mov r9d, 1
call sub.netapi32.dll_NetUserGetLocalGroups
mov dword [rbp - 4], eax
jmp 0x140086814
mov eax, dword [rbp - 4]
mov dword [rbp + 0x94], eax
cmp eax, 0
je 0x14008682d
lea rcx, [rbp + 0x68]
call fcn.14006c2d0
jmp 0x14008683d
mov eax, dword [rbp + 0x28]
mov edx, eax
lea rcx, [rbp + 0x50]
call fcn.14006c190
jmp 0x14008689b
mov byte [rbp + 0x87], 1
mov rax, qword [rbp + 0x68]
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x70]
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0x78]
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 8]
mov byte [rbp + 0x87], 0
mov rcx, qword [rbp + 0x30]
mov qword [rax], rcx
mov rcx, qword [rbp + 0x38]
mov qword [rax + 8], rcx
mov rcx, qword [rbp + 0x40]
mov qword [rax + 0x10], rcx
mov byte [rbp + 0x87], 0
lea rcx, [rbp + 0x20]
call fcn.140060250
mov rax, qword [rbp + 0x10]
add rsp, 0x140
pop rbp
ret
mov byte [rbp + 0x87], 1
mov rax, qword [rbp + 0x60]
mov qword [rbp + 0x40], rax
movups xmm0, xmmword [rbp + 0x50]
movaps xmmword [rbp + 0x30], xmm0
mov rcx, qword [rbp + 0x20]
call fcn.1400532e0
mov byte [rbp - 5], al
jmp 0x1400868c0
mov al, byte [rbp - 5]
test al, 1
jne 0x14008685c
jmp 0x1400868c9
mov rcx, qword [rbp + 0x20]
mov eax, dword [rbp + 0x28]
mov edx, eax
call fcn.14007a650
mov qword [rbp - 0x18], rdx
mov qword [rbp - 0x10], rax
jmp 0x1400868e1
mov rdx, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x10]
mov qword [rbp + 0x98], rcx
mov qword [rbp + 0xa0], rdx
call fcn.140053430
mov qword [rbp - 0x28], rdx
mov qword [rbp - 0x20], rax
jmp 0x140086906
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x20]
call fcn.14007d370
mov qword [rbp - 0x38], rdx
mov qword [rbp - 0x30], rax
jmp 0x14008691d
mov r8, qword [rbp - 0x38]
mov rdx, qword [rbp - 0x30]
lea rcx, [rbp + 0x30]
call fcn.14006f9a0
jmp 0x140086930
jmp 0x14008685c
Function at 0x1400cfcc0
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 qword [sym.imp.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 0x1400cfd00
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 + 0x3d0], rcx
mov qword [rbp + 0x3d8], 0
mov qword [rbp + 0x3e0], 2
mov qword [rbp + 0x3e8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3c8], rax
xor esi, esi
xor edi, edi
xor ebx, ebx
cmp r8, 0x201
jae 0x1400cfda0
jmp 0x1400cfd8f
jae 0x1400cfe5f
cmp r8, 0x201
jae 0x1400cfda0
mov r14d, 0x200
lea r15, [rbp - 0x58]
mov r12, r8
jmp 0x1400cfdf7
sub r8, rbx
sub rdi, rbx
cmp rdi, r8
jae 0x1400cfdcf
lea rcx, [rbp + 0x3d8]
mov rdx, rbx
call fcn.1400ea0a0
mov rsi, qword [rbp + 0x3d8]
mov rax, qword [rbp + 0x3e0]
mov qword [rbp + 0x3c8], rax
mov eax, 0xffffffff
cmp rsi, rax
mov ebx, 0xffffffff
cmovb rbx, rsi
mov qword [rbp + 0x3e8], rbx
mov rdi, rsi
mov r14, rbx
mov r15, qword [rbp + 0x3c8]
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 0x1400cfe20
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x1400cfecb
mov r8d, r13d
cmp r12, r8
jne 0x1400cfd80
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400cfeff
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x1400cfd8f
jmp 0x1400cfda0
cmp r14, r8
jb 0x1400cff19
lea rcx, [rbp + 0x3a8]
mov rdx, r15
call fcn.1400d2470
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3d0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rdx, qword [rbp + 0x3d8]
test rdx, rdx
je 0x1400cfeb4
mov rcx, qword [rbp + 0x3e0]
add rdx, rdx
mov r8d, 2
call fcn.140011030
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 + 0x3d0]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rdx, qword [rbp + 0x3d8]
test rdx, rdx
jne 0x1400cfe9f
jmp 0x1400cfeb4
lea rcx, str.internal_error:_entered_unreachable_code_rustc_3f5fd8dd41153bc5fdca9427e9e05be2c767ba23library_alloc_src_vecmod.rs
lea r8, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call fcn.1400eb0f0
jmp 0x1400cff2e
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.1400eb560
ud2
Function at 0x1400d2330
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rsi, rdx
mov rcx, qword [rcx]
mov rax, qword [rdx + 8]
mov rdi, qword [rdx + 0x10]
sub rax, rdi
cmp rax, 0x7fffffff
mov r8d, 0x7fffffff
cmovb r8, rax
mov rdx, qword [rdx]
add rdx, rdi
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_recv]
cmp eax, 0xffffffff
je 0x1400d238d
cdqe
add rdi, rax
mov qword [rsi + 0x10], rdi
mov rax, qword [rsi + 0x18]
cmp rax, rdi
cmova rdi, rax
mov qword [rsi + 0x18], rdi
xor eax, eax
jmp 0x1400d23a6
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x274a
jne 0x1400d239e
xor eax, eax
jmp 0x1400d23a6
shl rax, 0x20
or rax, 2
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400d23b0
Capabilities:
Send data
Send 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
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_send]
cmp eax, 0xffffffff
je 0x1400d23e6
movsxd rdx, eax
xor eax, eax
add rsp, 0x20
pop rbp
ret
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x1400d2410
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
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_recv]
cmp eax, 0xffffffff
je 0x1400d2442
movsxd rdx, eax
xor ecx, ecx
jmp 0x1400d2466
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
xor edx, edx
mov ecx, 0
cmp eax, 0x274a
je 0x1400d2466
shl rax, 0x20
or rax, 2
mov ecx, 1
mov rdx, rax
mov rax, rcx
add rsp, 0x20
pop rbp
ret
Function at 0x1400d7ba0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
movups xmm0, xmmword [0x140132e88]
movaps xmmword [rbp], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
test r9, r9
je 0x1400d7bd8
mov rcx, qword [rbp + 0x60]
mov qword [rbp - 0x30], rcx
test r9, r9
mov qword [rbp - 0x38], r9
lea rcx, [rbp - 0x30]
cmove rcx, r9
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
mov rax, rbp
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x1400d7c36
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rbp]
cmp eax, 0x103
je 0x1400d7c63
test eax, eax
js 0x1400d7c42
mov rdx, qword [rbp + 8]
xor eax, eax
jmp 0x1400d7c59
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xa8
pop rsi
pop rbp
ret
mov dword [rbp + 0x18], 0
mov byte [rbp + 0x1c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea rax, [rbp + 0x20]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x18]
lea rdx, [rbp - 0x38]
call fcn.1400d1b70
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.1400cdf40
mov ecx, 7
int 0x29
ud2

Function at 0x1400d7cc0
Capabilities:
Create udp socket

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov edi, edx
cmp word [rcx], 0
mov eax, 2
mov r14d, 0x17
cmove r14d, eax
mov dword [rsp + 0x28], 0x81
mov dword [rsp + 0x20], 0
xor ebx, ebx
mov ecx, r14d
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_WSASocketW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400d7da1
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2739
je 0x1400d7d28
mov esi, eax
cmp eax, 0x2726
jne 0x1400d7d94
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
mov ecx, r14d
mov edx, edi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_WSASocketW]
cmp rax, 0xffffffffffffffff
je 0x1400d7d8c
mov rsi, rax
xor ebx, ebx
mov rcx, rax
mov edx, 1
xor r8d, r8d
call qword [sym.imp.kernel32.dll_SetHandleInformation]
test eax, eax
jne 0x1400d7da1
call qword [sym.imp.kernel32.dll_GetLastError]
mov edi, eax
shl rdi, 0x20
or rdi, 2
mov rcx, rsi
call qword [sym.imp.ws2_32.dll_closesocket]
mov ebx, 1
mov rsi, rdi
jmp 0x1400d7da1
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov ebx, 1
mov rax, rbx
mov rdx, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
Function at 0x1400d87c0
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, r8
mov r14, rdx
mov rsi, rcx
movzx eax, byte [0x14015d181]
mov ecx, 0x10
mov edx, 8
call fcn.140011020
test rax, rax
je 0x1400d88ab
mov rbx, rax
mov qword [rax], r14
mov qword [rax + 8], rdi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x1400d8960]
xor edi, edi
xor ecx, ecx
mov rdx, rsi
mov r9, rax
call qword [sym.imp.kernel32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x1400d889d
mov rax, qword [rbx]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x20], rbx
mov rax, qword [rbx + 8]
mov qword [rbp - 0x10], rax
mov rax, qword [rax]
test rax, rax
je 0x1400d885a
mov rcx, qword [rbp - 0x18]
call rax
mov rcx, qword [rbp - 0x18]
mov rax, qword [rbp - 0x10]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1400d8874
mov r8, qword [rax + 0x10]
call fcn.140011030
mov edx, 0x10
mov r8d, 8
mov rcx, qword [rbp - 0x20]
call fcn.140011030
call qword [sym.imp.kernel32.dll_GetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov edi, 1
mov rax, rdi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov qword [rbp - 0x10], r14
mov qword [rbp - 0x18], rdi
mov ecx, 8
mov edx, 0x10
call fcn.1400eaeb0
ud2

Function at 0x1400daa80
Capabilities:
Resolve dns

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x208
lea rbp, [rsp + 0x80]
mov rax, rdx
mov rsi, rcx
mov rdx, qword [rdx]
mov rdi, qword [rax + 8]
movzx eax, word [rax + 0x10]
mov word [rbp + 0x186], ax
mov rax, qword [0x14015d280]
cmp rax, 3
jne 0x1400dabb2
lea rax, [rbp + 0x186]
mov qword [rbp + 0x170], rax
cmp rdi, 0x17f
ja 0x1400dabd8
lea rbx, [rbp - 0x60]
mov rcx, rbx
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rdi - 0x60], 0
inc rdi
lea rcx, [rbp + 0x158]
mov rdx, rbx
mov r8, rdi
call fcn.1400e3780
cmp qword [rbp + 0x158], 0
je 0x1400dab21
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x1400daba3
mov rcx, qword [rbp + 0x160]
xorps xmm0, xmm0
movaps xmmword [rbp + 0x120], xmm0
movaps xmmword [rbp + 0x140], xmm0
movaps xmmword [rbp + 0x130], xmm0
mov dword [rbp + 0x128], 1
mov qword [rbp + 0x178], 0
lea r8, [rbp + 0x120]
lea r9, [rbp + 0x178]
xor edx, edx
call qword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x1400dab84
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x1400dab9c
mov rax, qword [rbp + 0x178]
movzx ecx, word [rbp + 0x186]
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], cx
xor ecx, ecx
mov qword [rsi + 8], rax
mov qword [rsi], rcx
mov rax, rsi
add rsp, 0x208
pop rbx
pop rdi
pop rsi
pop rbp
ret
mov rbx, rdx
call fcn.1400ea390
mov rdx, rbx
lea rax, [rbp + 0x186]
mov qword [rbp + 0x170], rax
cmp rdi, 0x17f
jbe 0x1400daad7
lea r9, [rbp + 0x170]
mov rcx, rsi
mov r8, rdi
call fcn.1400ea400
jmp 0x1400daba3
Function at 0x1400dabf0
Capabilities:
Connect socket

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x40
lea rbp, [rsp + 0x40]
mov eax, 1
test rcx, rcx
jne 0x1400daca3
mov rax, qword [0x14015d280]
cmp rax, 3
jne 0x1400daccc
mov rsi, rdx
mov rcx, rdx
mov edx, 1
call fcn.1400d7cc0
test rax, rax
je 0x1400dac37
mov eax, 1
jmp 0x1400daca3
cmp word [rsi], 0
je 0x1400dac59
movups xmm0, xmmword [rsi + 4]
mov eax, dword [rsi + 0x14]
mov r9d, dword [rsi + 0x18]
movzx ecx, word [rsi + 0x1c]
mov r8d, 0x1c
mov r10w, 0x17
jmp 0x1400dac6e
mov eax, dword [rsi + 2]
movzx ecx, word [rsi + 6]
xorps xmm0, xmm0
mov r8d, 0x10
mov r10w, 2
rol cx, 8
mov word [rbp - 0x1c], r10w
mov word [rbp - 0x1a], cx
mov dword [rbp - 0x18], eax
movups xmmword [rbp - 0x14], xmm0
mov dword [rbp - 4], r9d
lea rax, [rbp - 0x1c]
mov rsi, rdx
mov rcx, rdx
mov rdx, rax
call qword [sym.imp.ws2_32.dll_connect]
cmp eax, 0xffffffff
je 0x1400dacab
xor eax, eax
mov rdx, rsi
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov edi, eax
shl rdi, 0x20
or rdi, 2
mov rcx, rsi
call qword [sym.imp.ws2_32.dll_closesocket]
mov rdx, rdi
jmp 0x1400dac30
mov rsi, rdx
call fcn.1400ea390
mov rdx, rsi
jmp 0x1400dac1b