joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401c9770
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]

Function at 0x1401c97e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140309b64]
mov rbx, rcx
test esi, esi
jle 0x1401c9910
mov rax, qword [0x140309b68]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1401c982b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1401c98b5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1401c9810
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x1401c9932
mov rax, qword [0x140309b68]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call sym._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140309b68]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1401c9917
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1401c98ae
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1401c98c0
add dword [0x140309b64], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x140309b68]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1401c98ae
call qword [sym.imp.kernel32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
nop dword [rax]
xor esi, esi
jmp 0x1401c9838
mov rax, qword [0x140309b68]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call sym.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call sym.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1401c9ea0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140309bc0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140309ba0]
test rbx, rbx
je 0x1401c9efc
mov rbp, qword [sym.imp.kernel32.dll_TlsGetValue]
mov rdi, qword [sym.imp.kernel32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x1401c9ef3
test rsi, rsi
je 0x1401c9ef3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1401c9ed8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1401ca110
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1401ca128
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x1401ca130
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x1401ca140
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x1401ca18d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x1401ca184
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x1401ca18f
add rax, 0x28
cmp rax, r9
jne 0x1401ca170
xor eax, eax
ret

Function at 0x1401ca190
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x1401ca220
mov rdx, qword [0x14024d380]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x1401ca20e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x1401ca20e
cmp word [rax + 0x18], 0x20b
jne 0x1401ca20e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x1401ca220
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x1401ca1f9
add rbx, 0x28
cmp rbx, rdi
je 0x1401ca220
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x1401ca1f0
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x1401ca230
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14024d380]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1401ca250
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1401ca258
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1401ca250
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1401ca2ad
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1401ca2a4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1401ca250
add rax, 0x28
cmp rax, r9
jne 0x1401ca290
xor eax, eax
ret

Function at 0x1401ca2b0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14024d380]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1401ca2cf
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1401ca2d8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1401ca2cf
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x1401ca2f0
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x14024d380]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1401ca310
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1401ca318
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1401ca310
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x1401ca360
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x1401ca357
test rcx, rcx
je 0x1401ca310
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x1401ca348
xor eax, eax
ret

Function at 0x1401ca370
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14024d380]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1401ca38f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1401ca398
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x1401ca3b0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14024d380]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1401ca3d0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1401ca3d8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1401ca3d0
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x1401ca3d0
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x1401ca424
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1401ca430
add rdx, 0x28
cmp r9, rdx
jne 0x1401ca410
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x1401ca440
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x14024d380]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x1401ca462
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x1401ca470
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1401ca462
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x1401ca462
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x1401ca462
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x1401ca4c5
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x1401ca4d8
add rdx, 0x28
cmp rdx, r10
jne 0x1401ca4b0
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x1401ca4e7
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x1401ca4f7
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1401ca4ce
test ecx, ecx
jg 0x1401ca4e0
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140b00058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140b001df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140b00089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b0006f
add dl, dl
jne 0x140b00096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b000f6
xor eax, eax
add dl, dl
jne 0x140b000a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b001ad
add dl, dl
jne 0x140b000b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b000c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b000d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b000dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140b000ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140b0007e
mov eax, 1
add dl, dl
jne 0x140b00106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b00113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b000fb
sub eax, ebx
mov ebx, 1
jne 0x140b0014c
mov ecx, 1
add dl, dl
jne 0x140b0012e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140b0013b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b00123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b0007e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140b00168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140b00175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b0015d
cmp eax, 0x7d00
jae 0x140b0019b
cmp eax, 0x500
jb 0x140b00196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b0007e
cmp eax, 0x7f
ja 0x140b0019e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b0007e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140b001d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140b0007e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001600
Capabilities:
Access peb ldr_data
Encode data using xor
Get ntdll base address
Resolve function by parsing pe exports

Disassembly:
push r12
sub rsp, 0x20
cmp dword [0x1400059e0], 0
jne 0x1400017fe
mov rax, qword gs:[0x60]
xor r12d, r12d
mov edx, r12d
mov rcx, qword [rax + 0x18]
mov r8, qword [rcx + 0x10]
mov rax, qword [r8 + 0x30]
test rax, rax
je 0x14000180a
nop word [rax + rax]
mov r11, rax
movsxd rax, dword [rax + 0x3c]
mov ecx, dword [rax + r11 + 0x88]
test ecx, ecx
je 0x14000167d
lea rdx, [r11 + rcx]
mov ecx, dword [r11 + rcx + 0xc]
mov eax, dword [rcx + r11]
or eax, 0x20202020
cmp eax, 0x6c64746e
jne 0x14000167d
mov eax, dword [rcx + r11 + 4]
or eax, 0x20202020
cmp eax, 0x6c642e6c
je 0x140001689
mov r8, qword [r8]
mov rax, qword [r8 + 0x30]
test rax, rax
jne 0x140001640
test rdx, rdx
je 0x14000180a
mov qword [rsp + 0x30], rbx
mov ebx, dword [rdx + 0x18]
mov qword [rsp + 0x38], rbp
mov ebp, dword [rdx + 0x24]
mov qword [rsp + 0x40], rsi
mov esi, dword [rdx + 0x20]
mov qword [rsp + 0x18], rdi
add rsi, r11
mov qword [rsp + 0x10], r13
mov r13d, 0x775a
mov qword [rsp + 8], r14
mov r14d, dword [rdx + 0x1c]
mov edx, r12d
add r14, r11
mov qword [rsp], r15
add rbp, r11
lea r15, [0x1400059e0]
nop word [rax + rax]
dec ebx
mov r10d, dword [rsi + rbx*4]
add r10, r11
cmp word [r10], r13w
jne 0x140001743
mov r9d, r12d
mov r8d, 0xea7a5bcc
mov rax, r10
nop dword [rax + rax]
movzx eax, word [rax]
mov ecx, r8d
ror ecx, 8
inc r9d
add ecx, eax
mov eax, r9d
add rax, r10
xor r8d, ecx
cmp byte [rax], r12b
jne 0x140001700
mov ecx, edx
inc edx
add rcx, rcx
mov dword [r15 + rcx*8 + 8], r8d
movzx eax, word [rbp + rbx*2]
mov eax, dword [r14 + rax*4]
mov dword [r15 + rcx*8 + 0xc], eax
mov qword [r15 + rcx*8 + 0x10], r12
cmp edx, 0x258
je 0x140001747
test ebx, ebx
jne 0x1400016e0
mov r14, qword [rsp + 8]
lea eax, [rdx - 1]
mov r13, qword [rsp + 0x10]
mov r11d, r12d
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
mov dword [0x1400059e0], edx
test eax, eax
je 0x1400017f0
nop
mov ecx, edx
mov eax, r12d
sub ecx, r11d
cmp ecx, 1
je 0x1400017e5
nop dword [rax]
lea r10d, [rax + 1]
mov r9d, eax
add r9, r9
mov r8d, r10d
add r8, r8
mov edi, dword [r15 + r9*8 + 0xc]
mov ebx, dword [r15 + r8*8 + 0xc]
cmp edi, ebx
jbe 0x1400017d6
mov edx, dword [r15 + r9*8 + 8]
mov eax, dword [r15 + r8*8 + 8]
mov rcx, qword [r15 + r9*8 + 0x10]
mov dword [r15 + r9*8 + 8], eax
mov rax, qword [r15 + r8*8 + 0x10]
mov qword [r15 + r9*8 + 0x10], rax
mov dword [r15 + r9*8 + 0xc], ebx
mov dword [r15 + r8*8 + 8], edx
mov dword [r15 + r8*8 + 0xc], edi
mov qword [r15 + r8*8 + 0x10], rcx
mov edx, dword [0x1400059e0]
mov ecx, edx
mov eax, r10d
sub ecx, r11d
dec ecx
cmp r10d, ecx
jb 0x140001780
inc r11d
lea eax, [rdx - 1]
cmp r11d, eax
jb 0x140001770
mov rdi, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x30]
mov r15, qword [rsp]
mov eax, 1
add rsp, 0x20
pop r12
ret
xor eax, eax
add rsp, 0x20
pop r12
ret
Function at 0x1400018a0
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x88a8ca72
call fcn.140001820
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140001c20
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0xc95cdbf7
call fcn.140001820
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140001c60
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0xb9d1d13
call fcn.140001820
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret
Function at 0x14000b170
Capabilities:
Encode data using xor

Disassembly:
movdqa xmm2, xmmword [0x14029dd10]
xor eax, eax
cmp dword [reloc.WS2_32.dll_accept], 5
mov r8, rcx
jl 0x14000b2ac
movdqa xmm3, xmmword [0x14029dbb0]
lea rdx, [rcx + 4]
movdqa xmm4, xmmword [reloc.WS2_32.dll_getsockopt]
mov r9, 0xfffffffffffffffe
movdqa xmm5, xmmword [0x14029dc10]
sub r9, rcx
mov r10d, 2
sub r10, rcx
nop dword [rax]
movzx ecx, word [rdx - 4]
movq xmm0, rax
punpcklqdq xmm0, xmm0
add rax, 8
paddq xmm0, xmm3
andps xmm0, xmm4
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
movd xmm0, ecx
pshufb xmm1, xmm5
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 4], cx
lea rcx, [r9 + rdx]
movq xmm0, rcx
movzx ecx, word [rdx - 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm4
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
movd xmm0, ecx
pshufb xmm1, xmm5
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 2], cx
mov rcx, rdx
sub rcx, r8
movq xmm0, rcx
movzx ecx, word [rdx]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm4
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
movd xmm0, ecx
pshufb xmm1, xmm5
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx], cx
lea rcx, [r10 + rdx]
movq xmm0, rcx
movzx ecx, word [rdx + 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm4
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
movd xmm0, ecx
pshufb xmm1, xmm5
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx + 2], cx
add rdx, 8
cmp rax, 0x10
jb 0x14000b1c0
cmp rax, 0x14
jae 0x14000b2dc
movabs r9, 0x535963a995b11b0b
nop word [rax + rax]
movzx ecx, al
mov rdx, r9
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [r8 + rax], dl
inc rax
cmp rax, 0x14
jb 0x14000b2c0
ret

Function at 0x14000b550
Capabilities:
Get hostname

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x1402cbc00]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x28], rcx
lea rdx, [rsp + 0x28]
mov rbx, rcx
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
xorps xmm0, xmm0
lea rax, [rsp + 0x30]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x18], 0
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14000b5b0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140039b70
mov rax, rbx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401e1190
add rsp, 0x50
pop rbx
ret

Function at 0x14000b5e0
Capabilities:
Get session user name

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x1402cbc00]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov qword [rsp + 0x28], rcx
lea rdx, [rsp + 0x28]
mov rbx, rcx
mov dword [rsp + 0x28], 0x101
lea rcx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
xorps xmm0, xmm0
lea rax, [rsp + 0x30]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x18], 0
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14000b640
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140039b70
mov rax, rbx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1401e1190
add rsp, 0x150
pop rbx
ret
Function at 0x14000ca40
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x1402cbc00]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
lea rcx, [0x1402521d0]
xor r8d, r8d
lea r9, [rsp + 0x28]
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov rdx, qword [rsp + 0x28]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x18], 0
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x14000caa0
mov rcx, rbx
call fcn.140039550
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rax, rbx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1401e1190
add rsp, 0x40
pop rbx
ret
Function at 0x140011b60
Capabilities:
Create directory

Disassembly:
sub rsp, 0x28
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140011b83
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
sete al
add rsp, 0x28
ret
mov al, 1
add rsp, 0x28
ret
Function at 0x140014800
Capabilities:
Create directory

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x98]
sub rsp, 0x198
movaps xmmword [rsp + 0x180], xmm6
mov rax, qword [0x1402cbc00]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov r14, r9
mov rdi, r8
mov r13, rdx
mov r12, rcx
mov qword [rbp], rcx
mov qword [rbp + 8], rdx
mov qword [rbp + 0x10], r8
mov r15, qword [rbp + 0x100]
mov qword [rbp + 0x18], r15
mov rbx, qword [r15]
mov rsi, qword [r15 + 8]
cmp rbx, rsi
je 0x1400149fc
lea rax, str.local_extension_settings
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], Ordinal_30
movaps xmm6, xmmword [rsp + 0x20]
nop
mov rdx, rbx
lea rcx, [rbp + 0x50]
call fcn.1400322e0
nop
call fcn.1401bea20
movdqa xmmword [rbp + 0x20], xmm6
lea r8, [rbp + 0x20]
mov edx, eax
lea rcx, [rbp - 0x70]
call fcn.140006a10
nop
lea rax, [rbp + 0x50]
cmp qword [rbp + 0x68], 0xf
cmova rax, qword [rbp + 0x50]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x60]
mov qword [rsp + 0x38], rax
call fcn.1401bea20
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rbp + 0x20], xmm0
lea r8, [rbp + 0x20]
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.140006a10
nop
lea r8, [rsp + 0x70]
mov rdx, r12
lea rcx, [rbp - 0x20]
call fcn.140007790
nop
lea r8, [rbp - 0x70]
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.140007790
nop
mov r8, r13
mov rdx, rax
lea rcx, [rbp + 0x30]
call fcn.140007790
nop
lea rcx, [rbp - 0x40]
call fcn.1400349b0
nop
lea rcx, [rbp - 0x20]
call fcn.1400349b0
nop
lea rcx, [rsp + 0x70]
call fcn.1400349b0
nop
lea rcx, [rbp - 0x70]
call fcn.1400349b0
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x50]
call fcn.14000a0f0
movsd xmm0, qword [rax]
movsd qword [rsp + 0x50], xmm0
mov ecx, dword [rax + 8]
mov dword [rsp + 0x40], ecx
lea rax, [0x1402cd558]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x20], xmm0
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x1400149d8
cmp eax, 1
je 0x1400149dc
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.14000a0f0
movsd xmm0, qword [rax]
movsd qword [rsp + 0x60], xmm0
mov edx, dword [rax + 8]
mov ecx, dword [rsp + 0x60]
test edx, edx
je 0x1400149b0
lea eax, [rcx - 1]
test eax, 0xfffffff7
jne 0x140014a47
cmp ecx, 3
jne 0x1400149dc
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1400149ca
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rdi
lea rcx, [rbp + 0x30]
call fcn.1400142d0
jmp 0x1400149dc
test ecx, ecx
jne 0x140014a58
lea rcx, [rbp + 0x30]
call fcn.1400349b0
nop
lea rcx, [rbp + 0x50]
call fcn.140034ac0
add rbx, 0x20
cmp rbx, rsi
jne 0x140014880
mov rcx, r12
call fcn.1400349b0
nop
mov rcx, r13
call fcn.1400349b0
nop
mov rcx, rdi
call fcn.1400349b0
nop
mov rcx, r15
call fcn.140034830
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.1401e1190
movaps xmm6, xmmword [rsp + 0x180]
add rsp, 0x198
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea r8, [rbp + 0x30]
lea rcx, str.status
call fcn.140008fc0
int3
lea r8, [rbp + 0x30]
lea rdx, [rbp + 0x20]
lea rcx, str.exists
call fcn.1400090b0
int3
Function at 0x1400168c0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x1402cbc00]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, rcx
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140016993
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14001698a
cmp qword [rbx + 0x18], 7
mov r8, rbx
jbe 0x140016923
mov r8, qword [rbx]
lea rax, [rsp + 0x4c]
sub r8, rax
nop dword [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x140016944
add rax, 2
test ecx, ecx
jne 0x140016930
test edx, edx
je 0x14001695c
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140016916
jmp 0x14001698a
mov r8d, dword [rsp + 0x28]
xor edx, edx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x14001698a
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1401e1190
mov rbx, qword [rsp + 0x280]
add rsp, 0x270
pop rdi
ret