joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000314c
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r15
sub rsp, 0x130
mov rax, qword [0x1400130d8]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov rsi, rdx
lea rcx, [rsp + 0x20]
mov edi, 0x100
xor edx, edx
mov r8d, edi
call sub.msvcrt.dll_memset
test rsi, rsi
jne 0x140003199
mov eax, 0x80004003
jmp 0x140003322
and qword [rsi], 0
lea rcx, [rsp + 0x20]
mov edx, edi
call qword [sym.imp.WS2_32.dll_gethostname]
nop dword [rax + rax]
test eax, eax
je 0x1400031d6
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jne 0x140003320
mov rcx, rdi
lea rax, [rsp + 0x20]
cmp byte [rax], 0
je 0x1400031ec
inc rax
sub rcx, 1
jne 0x1400031de
mov rax, rcx
neg rax
sbb ebx, ebx
not ebx
and ebx, 0x80070057
test rcx, rcx
je 0x140003206
sub rdi, rcx
jmp 0x140003208
xor edi, edi
mov rax, rcx
neg rax
sbb rbp, rbp
and rbp, rdi
test rcx, rcx
je 0x140003320
mov edx, 0x20
xor ecx, ecx
call qword [sym.imp.wsdapi.dll_WSDAllocateLinkedMemory]
nop dword [rax + rax]
test rax, rax
mov r15d, 0x8007000e
mov rdi, rax
cmove ebx, r15d
test ebx, ebx
jne 0x14000330c
and qword [rax], 0
mov ebx, 0x10
and qword [rdi + 0x18], 0
lea rax, [0x14000cfb8]
mov qword [rdi + 8], rax
mov edx, ebx
lea rax, str.00000000
mov rcx, rdi
mov qword [rdi + 0x10], rax
call qword [sym.imp.wsdapi.dll_WSDAllocateLinkedMemory]
nop dword [rax + rax]
mov qword [rdi], rax
test rax, rax
je 0x1400032e7
xorps xmm0, xmm0
mov edx, ebx
mov rcx, rdi
movups xmmword [rax], xmm0
call qword [sym.imp.wsdapi.dll_WSDAllocateLinkedMemory]
nop dword [rax + rax]
mov rcx, qword [rdi]
mov qword [rcx + 8], rax
mov rax, qword [rdi]
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1400032e7
xorps xmm0, xmm0
lea rdx, [rbp*2 + 0x24]
movups xmmword [rcx], xmm0
mov rcx, rdi
call qword [sym.imp.wsdapi.dll_WSDAllocateLinkedMemory]
nop dword [rax + rax]
mov rcx, qword [rdi]
mov rdx, qword [rcx + 8]
mov qword [rdx + 8], rax
mov rax, qword [rdi]
mov rcx, qword [rax + 8]
mov rcx, qword [rcx + 8]
test rcx, rcx
jne 0x1400032ec
mov ebx, r15d
jmp 0x14000330c
lea r9, [rsp + 0x20]
lea r8, str.Debugging_Host____S
lea rdx, [rbp + 0x12]
call fcn.1400028e4
mov ebx, eax
test eax, eax
jne 0x14000330c
mov qword [rsi], rdi
xor edi, edi
test rdi, rdi
je 0x140003320
mov rcx, rdi
call qword [sym.imp.wsdapi.dll_WSDFreeLinkedMemory]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.140009b80
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop rdi
pop rsi
ret
Function at 0x140007078
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x1400130d8]
xor rax, rsp
mov qword [rbp + 0x160], rax
xor r13d, r13d
mov r14, rcx
mov qword [rsp + 0x38], r13
mov word [rsp + 0x30], r13w
test rdx, rdx
jne 0x1400070cb
mov eax, 0x80070057
jmp 0x140007274
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
call fcn.1400074d8
mov ebx, eax
test eax, eax
jne 0x140007105
mov rdx, qword [rsp + 0x38]
call fcn.1400077dc
mov ebx, eax
test eax, eax
jne 0x140007105
mov rdx, qword [rsp + 0x38]
lea rcx, [r14 + 8]
call fcn.140008fb4
mov ebx, eax
jmp 0x140007261
mov edi, 1
cmp ebx, edi
jne 0x140007261
mov rdx, qword [rsp + 0x38]
lea rcx, str.Looking_up__s
mov qword [rsp + 0x50], r13
mov r12d, edi
mov ebx, r13d
call fcn.1400050b8
mov rcx, qword [rsp + 0x38]
lea r9, [rsp + 0x50]
xor r8d, r8d
lea rdx, str.3702
call qword [sym.imp.WS2_32.dll_GetAddrInfoW]
nop dword [rax + rax]
mov r15, qword [rsp + 0x50]
test eax, eax
je 0x140007165
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov ecx, ebx
call fcn.140005100
test ebx, ebx
jne 0x14000724b
test r15, r15
je 0x14000723e
mov dword [rsp + 0x40], 0xff
mov rdi, r13
mov qword [rsp + 0x48], r13
test ebx, ebx
jne 0x140007225
mov rcx, qword [r15 + 0x20]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x80
call qword [sym.imp.WS2_32.dll_WSAAddressToStringW]
nop dword [rax + rax]
test eax, eax
je 0x1400071d2
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jne 0x140007225
lea r9, [rsp + 0x30]
mov rcx, r14
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x60]
call fcn.1400074d8
mov rdi, qword [rsp + 0x48]
mov ebx, eax
test eax, eax
jne 0x140007225
mov rdx, rdi
lea rcx, str.Adding_IP__s
call fcn.1400050b8
lea rcx, [r14 + 8]
mov rdx, rdi
call fcn.140008fb4
mov ecx, eax
mov ebx, eax
call fcn.140005100
cmp ebx, 1
jne 0x140007222
mov ebx, r13d
jmp 0x140007225
mov r12d, r13d
mov r15, qword [r15 + 0x28]
test rdi, rdi
je 0x140007236
mov rcx, rdi
call fcn.14000983c
test ebx, ebx
je 0x140007174
test ebx, ebx
jne 0x14000724b
test r12d, r12d
lea eax, [rbx + 1]
cmovne ebx, eax
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140007261
call qword [sym.imp.WS2_32.dll_FreeAddrInfoW]
nop dword [rax + rax]
cmp qword [rsp + 0x38], r13
je 0x140007272
mov rcx, qword [rsp + 0x38]
call fcn.14000983c
mov eax, ebx
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.140009b80
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1400072a8
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x1400130d8]
xor rax, rsp
mov qword [rbp + 0x160], rax
xor r13d, r13d
mov r14, rcx
mov qword [rsp + 0x38], r13
mov word [rsp + 0x30], r13w
test rdx, rdx
jne 0x1400072fb
mov eax, 0x80070057
jmp 0x1400074a4
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
call fcn.1400074d8
mov ebx, eax
test eax, eax
jne 0x140007335
mov rdx, qword [rsp + 0x38]
call fcn.1400077dc
mov ebx, eax
test eax, eax
jne 0x140007335
mov rdx, qword [rsp + 0x38]
lea rcx, [r14 + 8]
call fcn.14000939c
mov ebx, eax
jmp 0x140007491
mov edi, 1
cmp ebx, edi
jne 0x140007491
mov rdx, qword [rsp + 0x38]
lea rcx, str.Looking_up__s
mov qword [rsp + 0x50], r13
mov r12d, edi
mov ebx, r13d
call fcn.1400050b8
mov rcx, qword [rsp + 0x38]
lea r9, [rsp + 0x50]
xor r8d, r8d
lea rdx, str.3702
call qword [sym.imp.WS2_32.dll_GetAddrInfoW]
nop dword [rax + rax]
mov r15, qword [rsp + 0x50]
test eax, eax
je 0x140007395
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov ecx, ebx
call fcn.140005100
test ebx, ebx
jne 0x14000747b
test r15, r15
je 0x14000746e
mov dword [rsp + 0x40], 0xff
mov rdi, r13
mov qword [rsp + 0x48], r13
test ebx, ebx
jne 0x140007455
mov rcx, qword [r15 + 0x20]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x80
call qword [sym.imp.WS2_32.dll_WSAAddressToStringW]
nop dword [rax + rax]
test eax, eax
je 0x140007402
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jne 0x140007455
lea r9, [rsp + 0x30]
mov rcx, r14
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x60]
call fcn.1400074d8
mov rdi, qword [rsp + 0x48]
mov ebx, eax
test eax, eax
jne 0x140007455
mov rdx, rdi
lea rcx, str.Removing_IP__s
call fcn.1400050b8
lea rcx, [r14 + 8]
mov rdx, rdi
call fcn.14000939c
mov ecx, eax
mov ebx, eax
call fcn.140005100
cmp ebx, 1
jne 0x140007452
mov ebx, r13d
jmp 0x140007455
mov r12d, r13d
mov r15, qword [r15 + 0x28]
test rdi, rdi
je 0x140007466
mov rcx, rdi
call fcn.14000983c
test ebx, ebx
je 0x1400073a4
test ebx, ebx
jne 0x14000747b
test r12d, r12d
lea eax, [rbx + 1]
cmovne ebx, eax
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140007491
call qword [sym.imp.WS2_32.dll_FreeAddrInfoW]
nop dword [rax + rax]
cmp qword [rsp + 0x38], r13
je 0x1400074a2
mov rcx, qword [rsp + 0x38]
call fcn.14000983c
mov eax, ebx
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.140009b80
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x140007b5c
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x1d0
mov rax, qword [0x1400130d8]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
xor ebp, ebp
mov rsi, rcx
test rcx, rcx
jne 0x140007b99
mov eax, 0x80004003
jmp 0x140007c84
lea rcx, str.Allocating_IP_list
call fcn.1400050b8
mov ecx, 0x40
call fcn.1400097fc
mov rbx, rax
test rax, rax
je 0x140007bec
mov dword [rax + 0x10], 1
mov qword [rax + 0x30], rbp
mov qword [rax + 0x38], rbp
mov qword [rax + 0x18], rbp
add rax, 0x20
mov qword [rax + 8], rax
mov qword [rax], rax
lea rax, [0x14000b170]
mov qword [rbx], rax
lea rax, [0x14000b198]
mov qword [rbx + 8], rax
jmp 0x140007bef
mov rbx, rbp
test rbx, rbx
mov edi, 0x8007000e
cmovne edi, ebp
mov ecx, edi
call fcn.140005100
test rbx, rbx
je 0x140007c82
lea rcx, str.Initializing_IP_list
call fcn.1400050b8
lea rcx, [rbx + 8]
call fcn.140008f7c
mov edi, eax
test eax, eax
jne 0x140007c5c
lea rcx, str.Starting_WinSock
call fcn.1400050b8
mov ecx, 0x202
lea rdx, [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_WSAStartup]
nop dword [rax + rax]
test eax, eax
je 0x140007c55
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov ecx, edi
call fcn.140005100
mov ecx, edi
call fcn.140005100
test edi, edi
jne 0x140007c6d
mov qword [rsi], rbx
mov rbx, rbp
test rbx, rbx
je 0x140007c82
mov rdx, qword [rbx]
mov rcx, rbx
mov rax, qword [rdx + 0x10]
call qword [0x14000b610]
mov eax, edi
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.140009b80
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140008ae8
Capabilities:
Accept command line arguments

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x240
mov rax, qword [0x1400130d8]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rsi, r8
mov r14, rdx
mov rbx, rcx
xor edx, edx
mov r8d, 0x200
lea rcx, [rsp + 0x30]
call sub.msvcrt.dll_memset
xor ebp, ebp
mov dword [rsp + 0x20], ebp
test r14, r14
je 0x140008cac
test rsi, rsi
je 0x140008cac
mov rcx, qword [rbx]
mov qword [0x140013718], rcx
test rcx, rcx
je 0x140008b59
lea r8d, [rbp + 7]
xor r9d, r9d
lea edx, [rbp + 3]
call fcn.1400057c0
mov ecx, 1
call fcn.14000a1a8
mov rcx, rax
call qword [sym.imp.msvcrt.dll_fflush]
nop dword [rax + rax]
xor ecx, ecx
call fcn.14000a1a8
mov edi, 0x100
lea rcx, [rsp + 0x30]
mov edx, edi
mov r8, rax
call qword [sym.imp.msvcrt.dll_fgetws]
nop dword [rax + rax]
mov edx, edi
mov dword [0x1400130f0], 1
lea rax, [rsp + 0x30]
mov qword [0x140013718], rbp
cmp word [rax], bp
je 0x140008bbb
add rax, 2
sub rdx, 1
jne 0x140008bac
mov rax, rdx
neg rax
sbb ebx, ebx
not ebx
and ebx, 0x80070057
test rdx, rdx
je 0x140008bd5
sub rdi, rdx
jmp 0x140008bd8
mov rdi, rbp
mov rax, rdx
neg rax
sbb rcx, rcx
and rcx, rdi
test rdx, rdx
je 0x140008ca8
test rcx, rcx
je 0x140008c23
lea rax, [rcx + rcx]
sub rax, 2
dec rcx
cmp word [rsp + rax + 0x30], 0xa
je 0x140008c0d
cmp word [rsp + rax + 0x30], 0xd
jne 0x140008c23
cmp rax, 0x200
jae 0x140008cd0
mov word [rsp + rax + 0x30], bp
test rcx, rcx
jne 0x140008bf6
movzx ecx, word [rsp + 0x30]
lea rdi, [rsp + 0x30]
jmp 0x140008c36
add rdi, 2
movzx ecx, word [rdi]
call qword [sym.imp.msvcrt.dll_iswspace]
nop dword [rax + rax]
test eax, eax
jne 0x140008c2f
cmp bp, word [rdi]
jne 0x140008c50
lea ebx, [rax + 1]
jmp 0x140008ca8
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x140008c9e
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
lea rdx, [rsp + 0x30]
or ebx, 0x80070000
lea rcx, str.Could_not_parse_command__s:__0x_08x_
test eax, eax
cmovle ebx, eax
mov r8d, ebx
call fcn.140005050
test ebx, ebx
jne 0x140008ca8
mov ecx, dword [rsp + 0x20]
mov dword [r14], ecx
mov qword [rsi], rdi
mov eax, ebx
jmp 0x140008cb1
mov eax, 0x80004003
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140009b80
add rsp, 0x240
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.14000a0a8
int3
Function at 0x140009980
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x140013f60], rbx
je 0x1400099cc
cmp rax, rbx
jne 0x1400099bf
mov ebx, 1
mov esi, ebx
jmp 0x1400099d1
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400099a4
mov ebx, 1
mov eax, dword [0x140013f68]
cmp eax, ebx
jne 0x1400099e7
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x140009a4c
mov eax, dword [0x140013f68]
test eax, eax
jne 0x140009a46
mov dword [0x140013f68], ebx
lea r15, [0x14000b648]
lea rdi, [0x14000b630]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x140009a38
test eax, eax
jne 0x140009a3c
cmp qword [rdi], 0
je 0x140009a2d
mov rax, qword [rdi]
mov rcx, qword [0x14000b610]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x140009a0e
test eax, eax
je 0x140009a4c
mov eax, 0xff
jmp 0x140009b28
mov dword [0x140013104], ebx
mov eax, dword [0x140013f68]
cmp eax, ebx
jne 0x140009a73
lea rdx, [0x14000b628]
lea rcx, [0x14000b618]
call sub.msvcrt.dll__initterm
mov dword [0x140013f68], 2
test esi, esi
jne 0x140009a80
xor eax, eax
xchg qword [0x140013f60], rax
cmp qword [0x140013f70], 0
je 0x140009ab4
lea rcx, [0x140013f70]
call fcn.140009d50
test eax, eax
je 0x140009ab4
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140013f70]
mov r9, qword [0x14000b610]
call r9
mov r8, qword [0x140013118]
mov rdx, qword [0x140013110]
mov ecx, dword [0x140013108]
call fcn.1400038d0
mov dword [0x140013100], eax
cmp dword [0x140013120], 0
jne 0x140009ae4
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140013104], 0
jne 0x140009af9
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140013100]
jmp 0x140009b28
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.1400a3000
add rsp, 0x28
jmp 0x140009980

Function at 0x140009c3c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140009c88
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140009c80
cmp dword [rcx + 0x3c], edx
jl 0x140009c80
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140009c80
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140009c88
mov rax, rdx
add rsp, 0x18
ret
Function at 0x140f13bf4
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140f13bfe
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140f13c27
pop rbp
sub rbp, 0x33
sub rbp, 0xf13bf4
sub rsp, 0x20
jmp 0x140f13c46
mov rax, 0xf13bf4
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0xffffffff816c6419
xor byte [rax], dl
inc rax
dec rcx
jne 0x140f13c65
jmp 0x140f13c7c
push rcx
nop
invalid
Function at 0x140001ba0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r12
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x14000e010]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp qword [rcx + 0x18], 8
mov rbx, rcx
mov r8, rcx
jb 0x140001bd0
mov r8, qword [rcx]
xor r15d, r15d
mov r12, 0xffffffffffffffff
mov qword [rsp + 0x38], r15
mov r9d, r12d
mov qword [rsp + 0x30], r15
xor edx, edx
mov dword [rsp + 0x28], r15d
mov ecx, 0xfde9
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd r14, eax
movabs rbp, 0x7fffffffffffffff
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
cmp r14, rbp
ja 0x140001dc3
mov qword [rsp + 0xa8], rdi
cmp r14, 0x10
jae 0x140001c51
mov r8, r14
mov qword [rsp + 0x50], r14
xor edx, edx
mov qword [rsp + 0x58], 0xf
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memset
mov byte [rsp + r14 + 0x40], r15b
jmp 0x140001cde
mov rax, r14
or rax, 0xf
cmp rax, rbp
ja 0x140001c6c
mov ecx, 0x16
mov rbp, rax
cmp rax, rcx
cmovb rbp, rcx
mov rcx, rbp
add rcx, 1
cmovb rcx, r12
cmp rcx, 0x1000
jb 0x140001cac
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001dbd
mov rcx, rax
call fcn.1400072a0
test rax, rax
je 0x140001d84
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140001cbe
test rcx, rcx
je 0x140001cbb
call fcn.1400072a0
mov rdi, rax
jmp 0x140001cbe
mov rdi, r15
mov r8, r14
mov qword [rsp + 0x40], rdi
xor edx, edx
mov qword [rsp + 0x50], r14
mov rcx, rdi
mov qword [rsp + 0x58], rbp
call sub.VCRUNTIME140.dll_memset
mov byte [rdi + r14], r15b
cmp qword [rsp + 0x58], 0x10
lea rax, [rsp + 0x40]
cmovae rax, qword [rsp + 0x40]
cmp qword [rbx + 0x18], 8
jb 0x140001cf9
mov rbx, qword [rbx]
mov qword [rsp + 0x38], r15
mov r9d, r12d
mov qword [rsp + 0x30], r15
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp qword [rsp + 0x58], 0x10
lea rcx, [rsp + 0x40]
cmovae rcx, qword [rsp + 0x40]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x140001d4e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140001d4e
xor bl, bl
jmp 0x140001d50
mov bl, 1
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140001d90
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001d8b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001d8b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400075fc
mov rdi, qword [rsp + 0xa8]
movzx eax, bl
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140007280
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r15
pop r14
pop r12
pop rsi
pop rbp
ret
call fcn.140001810
int3
call fcn.1400018b0
int3

Function at 0x140002030
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x1a], 0
je 0x140002053
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x4b]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x19
jb 0x140002040
mov byte [rcx + 0x1a], 0
mov rax, rcx
ret
Function at 0x140002060
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x1f], 0
je 0x140002083
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x4b]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x1e
jb 0x140002070
mov byte [rcx + 0x1f], 0
mov rax, rcx
ret
Function at 0x1400024c0
Capabilities:
Encode data using xor
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x190
mov rax, qword [0x14000e010]
xor rax, rsp
mov qword [rsp + 0x180], rax
xor edx, edx
mov rdi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140002558
movdqa xmm0, xmmword [0x140009c10]
xor ecx, ecx
movdqa xmm1, xmmword [0x140009c70]
movdqu xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x40], 0xddf8a1
movdqu xmmword [rsp + 0x30], xmm1
mov byte [rsp + 0x44], 1
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x4b]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 0x23
jb 0x140002530
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x44], 0
call fcn.1400062f0
jmp 0x1400025b2
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x130
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x1400025a9
lea rax, [rsp + 0x7c]
mov r8, rdi
sub r8, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140002593
inc rax
test ecx, ecx
jne 0x140002580
mov rcx, rbx
test edx, edx
je 0x1400025d5
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140002572
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.140007280
mov rbx, qword [rsp + 0x1a0]
add rsp, 0x190
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x1400025b4
Function at 0x140002760
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14000e010]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x28], rcx
lea rdx, [rsp + 0x28]
mov rdi, rcx
mov dword [rsp + 0x28], 0x10
lea rcx, [rsp + 0x30]
xor esi, esi
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x1400028c6
mov qword [rsp + 0x68], rbx
lea rax, [rsp + 0x30]
xorps xmm0, xmm0
mov qword [rsp + 0x70], rbp
movups xmmword [rdi], xmm0
mov rdx, 0xffffffffffffffff
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
mov rbx, rdx
nop word [rax + rax]
inc rbx
cmp byte [rax + rbx], sil
jne 0x1400027d0
movabs rbp, 0x7fffffffffffffff
cmp rbx, rbp
ja 0x1400028e0
mov qword [rdi + 0x18], 0xf
cmp rbx, 0x10
jae 0x140002817
mov r8, rbx
mov qword [rdi + 0x10], rbx
lea rdx, [rsp + 0x30]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rdi], sil
jmp 0x1400028a1
mov rax, rbx
or rax, 0xf
cmp rax, rbp
ja 0x140002832
mov ecx, 0x16
mov rbp, rax
cmp rax, rcx
cmovb rbp, rcx
mov rcx, rbp
add rcx, 1
cmovb rcx, rdx
cmp rcx, 0x1000
jb 0x140002875
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400028da
mov rcx, rax
call fcn.1400072a0
test rax, rax
je 0x14000286e
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140002882
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140002882
call fcn.1400072a0
mov rsi, rax
mov r8, rbx
mov qword [rdi], rsi
lea rdx, [rsp + 0x30]
mov qword [rdi + 0x10], rbx
mov rcx, rsi
mov qword [rdi + 0x18], rbp
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + rbx], 0
mov rbx, qword [rsp + 0x68]
mov rax, rdi
mov rbp, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140007280
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
lea rdx, str.Error_getting_computer_name
mov rcx, rdi
call fcn.140005a10
mov rax, rdi
jmp 0x1400028ae
call fcn.140001810
int3
call fcn.1400018b0
int3