joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140021960
Capabilities:
Access pe header
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov r12, rdx
mov rsi, rcx
mov byte [rsp + 0x20], 0
xor edi, edi
test rdx, rdx
je 0x140021986
mov qword [rdx], rdi
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov rbx, rax
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rdi
test rax, rax
je 0x140021b94
movzx eax, word [rax + 0x18]
mov ecx, 0x10b
cmp ax, cx
je 0x140021a25
mov ecx, 0x20b
cmp ax, cx
je 0x1400219c1
xor al, al
jmp 0x140021b94
movzx r14d, word [rbx + 0x14]
add r14, 0x18
add r14, rbx
mov qword [rsp + 0x40], r14
mov r15d, dword [rbx + 0x54]
mov qword [rsp + 0x38], r15
movzx eax, word [rbx + 6]
lea rdx, [rax + rax*4]
shl rdx, 3
mov rcx, r14
call fcn.140020940
movzx edx, di
mov rax, r15
mov word [rsp + 0x24], dx
cmp dx, word [rbx + 6]
jae 0x140021a1d
mov ecx, dword [r14 + 0x10]
add rcx, r15
mov r15, rcx
mov qword [rsp + 0x38], rcx
inc dx
add r14, 0x28
mov qword [rsp + 0x40], r14
jmp 0x1400219f2
mov ebx, dword [rbx + 0xac]
jmp 0x140021a87
movzx r14d, word [rbx + 0x14]
add r14, 0x18
add r14, rbx
mov qword [rsp + 0x40], r14
mov r15d, dword [rbx + 0x54]
mov qword [rsp + 0x38], r15
movzx eax, word [rbx + 6]
lea rdx, [rax + rax*4]
shl rdx, 3
mov rcx, r14
call fcn.140020940
movzx edx, di
mov rax, r15
mov word [rsp + 0x28], dx
cmp dx, word [rbx + 6]
jae 0x140021a81
mov ecx, dword [r14 + 0x10]
add rcx, r15
mov r15, rcx
mov qword [rsp + 0x38], rcx
inc dx
add r14, 0x28
mov qword [rsp + 0x40], r14
jmp 0x140021a56
mov ebx, dword [rbx + 0x9c]
add rbx, rax
mov qword [rsp + 0x38], rbx
mov rdx, rbx
mov rcx, rsi
call fcn.140020940
test r12, r12
je 0x140021aa3
mov qword [r12], rbx
mov rcx, rsi
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov r10, rax
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x98], edi
mov edx, edi
mov r9d, edi
movzx r8d, di
mov dword [rsp + 0x2c], edi
lea ecx, [rbx + 1]
shr ecx, 1
cmp edi, ecx
jae 0x140021b0a
movzx eax, word [rsi]
add eax, edx
mov edx, eax
mov dword [rsp + 0x98], eax
movzx r8d, ax
shr eax, 0x10
test ax, ax
je 0x140021afa
lea edx, [r8 + rax]
mov dword [rsp + 0x98], edx
movzx r8d, dx
mov r9d, edx
add rsi, 2
mov qword [rsp + 0x48], rsi
inc edi
jmp 0x140021ac4
shr r9d, 0x10
add r9w, r8w
movzx r8d, r9w
mov dword [rsp + 0x90], r8d
mov edx, dword [r10 + 0x58]
mov dword [rsp + 0x30], edx
test edx, edx
jne 0x140021b2e
mov al, 1
jmp 0x140021b79
movzx eax, dx
mov ecx, r8d
sub ecx, eax
cmp r8w, dx
jae 0x140021b41
movzx ecx, cx
dec ecx
mov dword [rsp + 0x90], ecx
movzx r9d, cx
mov eax, edx
shr eax, 0x10
cmp cx, ax
jb 0x140021b5a
sub ecx, eax
jmp 0x140021b63
sub r9d, eax
movzx ecx, r9w
dec ecx
mov dword [rsp + 0x90], ecx
lea eax, [rcx + rbx]
mov dword [rsp + 0x90], eax
cmp edx, eax
sete al
mov byte [rsp + 0x20], al
jmp 0x140021b94
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140021bb0
Capabilities:
Access pe header

Disassembly:
push rdi
sub rsp, 0x20
mov rdi, qword [rcx + 0x10]
mov rcx, rdi
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov ecx, dword [rax + 0xd0]
test ecx, ecx
je 0x140021c0d
mov qword [rsp + 0x30], rbx
mov rbx, qword [rcx + rdi + 0x18]
test rbx, rbx
je 0x140021bfd
mov rax, qword [rbx]
test rax, rax
je 0x140021bfd
xor r8d, r8d
mov rcx, rdi
lea edx, [r8 + 1]
call rax
mov rax, qword [rbx + 8]
lea rbx, [rbx + 8]
test rax, rax
jne 0x140021be4
mov rbx, qword [rsp + 0x30]
mov eax, 1
add rsp, 0x20
pop rdi
ret
mov eax, 1
add rsp, 0x20
pop rdi
ret

Function at 0x140021c20
Capabilities:
Access pe header

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov edx, dword [rax + 0x28]
test edx, edx
je 0x140021c87
mov rcx, qword [rbx + 0x10]
lea r9, [rcx + rdx]
xor r8d, r8d
lea edx, [r8 + 1]
call r9
test eax, eax
je 0x140021c61
movzx ecx, byte [rbx + 0xc]
or cl, 1
mov byte [rbx + 0xc], cl
mov eax, 1
jmp 0x140021c8c
mov ecx, 0x45a
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x140021c7f
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov eax, 1
add rsp, 0x20
pop rbx
ret
Function at 0x140022160
Capabilities:
Access pe header
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
mov edx, 8
call fcn.140020940
nop
xor r12d, r12d
mov r15d, r12d
mov rcx, rdi
call fcn.14001fce0
mov rsi, rax
test rax, rax
je 0x140022255
movzx eax, byte [rax + 0xc]
test al, 2
je 0x140022255
test byte [rsi + 0xe], 1
jne 0x1400221da
or al, 4
mov byte [rsi + 0xc], al
mov rcx, rdi
call fcn.1400203f0
mov ecx, 0xc0000001
test al, al
cmovne ecx, r12d
mov eax, ecx
jmp 0x140022363
test rbx, rbx
je 0x140022227
mov rbx, qword [rbx]
test rbx, rbx
je 0x140022255
mov rcx, rdi
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov r13, rax
mov ecx, dword [rbx + 0x40]
cmp dword [rax + 0x50], ecx
jne 0x140022255
test byte [rsi + 0xe], 8
je 0x140022288
call fcn.140024190
dec eax
cmp eax, 7
ja case.default.0x140022225
cdqe
lea r14, [0x140000000]
mov eax, dword [r14 + rax*4 + 0x22384]
add rax, r14
jmp rax
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rdx, qword [rcx + 0x18]
add rdx, 0x10
mov rax, qword [rdx]
cmp rax, rdx
je 0x140022255
mov rbx, rax
mov rax, qword [rax]
cmp qword [rbx + 0x30], rdi
je 0x1400221e2
cmp rax, rdx
jne 0x140022244
mov eax, 0xc0000008
jmp 0x140022363
movzx r15d, word [rbx + 0x6c]
jmp 0x14002228f
movzx ecx, word [rbx + 0x6c]
mov rax, qword [rbx + 0x98]
mov r15d, dword [rax + 0x18]
cmp r15d, ecx
cmove r15d, ecx
jmp 0x14002228f
mov eax, 0xc0000001
jmp 0x140022363
lea r14, [0x140000000]
test r15d, 0xfffffffe
jne 0x140022300
movzx eax, byte [rsi + 0xc]
or al, 4
mov byte [rsi + 0xc], al
test al, 1
je 0x1400222b7
mov rcx, qword [rsi + 0x10]
mov eax, dword [r13 + 0x28]
add rax, rcx
xor r8d, r8d
xor edx, edx
call rax
movzx eax, word [rsi + 0xe]
test al, 1
je 0x1400222e9
test al, 2
je 0x1400222d6
mov rcx, rdi
call fcn.140023330
test eax, eax
jns 0x1400222d6
mov ecx, 3
int 0x29
mov rcx, rbx
call fcn.1400213f0
test al, al
jne 0x1400222e9
mov ecx, 7
int 0x29
mov rcx, rdi
call fcn.1400203f0
test al, al
jne 0x1400222fc
mov ecx, 7
int 0x29
xor eax, eax
jmp 0x140022363
call fcn.140024190
dec eax
cmp eax, 7
ja case.default.0x140022319
cdqe
mov ecx, dword [r14 + rax*4 + 0x223a4]
add rcx, r14
jmp rcx
movzx eax, word [rbx + 0x6c]
test ax, ax
je 0x14002235e
dec ax
mov word [rbx + 0x6c], ax
mov eax, r12d
jmp 0x140022363
movzx eax, word [rbx + 0x6c]
test ax, ax
je 0x140022340
dec ax
mov word [rbx + 0x6c], ax
mov rcx, qword [rbx + 0x98]
mov eax, dword [rcx + 0x18]
test eax, eax
je 0x14002235e
dec eax
mov dword [rcx + 0x18], eax
mov eax, r12d
jmp 0x140022363
mov r12d, 0xc0000001
mov eax, r12d
jmp 0x140022363
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r13
ret
Function at 0x140023960
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1403890f8]
test rax, rax
jne 0x140023a00
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov r8, qword [rcx + 0x18]
add r8, 0x30
mov rax, qword [r8]
cmp r8, rax
je 0x140023a05
mov rcx, qword [0x1403890f8]
mov qword [rsp + 0x20], rbx
nop dword [rax]
lea r9, [rax]
mov rax, qword [rax]
mov rdx, qword [r9 + 0x50]
lea rbx, [r9 + 0x50]
cmp rdx, rbx
je 0x1400239c8
mov qword [0x1403890f8], rdx
cmp qword [rdx], rbx
je 0x1400239da
xor ecx, ecx
mov qword [0x1403890f8], rcx
cmp r8, rax
jne 0x1400239a0
mov rbx, qword [rsp + 0x20]
mov rax, rcx
add rsp, 0x28
ret
lea rcx, [r9 + 0x38]
mov dl, 1
call fcn.140023880
mov rcx, qword [rbx]
mov rbx, qword [rsp + 0x20]
mov eax, eax
shl rax, 4
sub rcx, rax
mov qword [0x1403890f8], rcx
mov rax, rcx
add rsp, 0x28
ret
mov rax, qword [0x1403890f8]
add rsp, 0x28
ret
Function at 0x140023ef0
Capabilities:
Access pe header

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rdi, r8
mov rax, rcx
mov rsi, qword [r8 + 0x10]
mov qword [r11 - 0x58], rsi
mov r15d, dword [r8 + 0x18]
mov dword [r11 - 0x64], r15d
mov rdx, qword [r8]
mov qword [r11 - 0x48], rdx
mov ecx, dword [r8 + 8]
mov dword [r11 + 0x20], ecx
test rdx, rdx
je 0x14002408d
test ecx, ecx
je 0x14002408d
test rsi, rsi
jne 0x140023ff4
mov rcx, rax
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov r13, rax
xor r12d, r12d
mov qword [rsp + 0x38], r12
test rax, rax
jne 0x140023f70
mov eax, 0xc00000ef
jmp 0x1400240bc
movzx ebx, word [rax + 0x14]
add rbx, 0x18
add rbx, r13
mov qword [rsp + 0x38], rbx
movzx r14d, r12w
mov word [rsp + 0x20], r12w
nop word [rax + rax]
cmp r14w, word [r13 + 6]
jae 0x140023fcc
mov rdx, rbx
mov rcx, qword [rsp + 0x98]
call fcn.140224418
test eax, eax
jne 0x140024009
mov esi, dword [rbx + 0xc]
add rsi, qword [rsp + 0x90]
mov qword [rdi + 0x10], rsi
mov qword [rsp + 0x30], rsi
mov r15d, dword [rbx + 8]
mov dword [rdi + 0x18], r15d
mov dword [rsp + 0x24], r15d
test rsi, rsi
je 0x140023fe2
test r15d, r15d
je 0x140023fe2
mov ecx, dword [rsp + 0xa8]
cmp r15d, ecx
jae 0x140024021
mov qword [rdi + 0x10], r12
mov dword [rdi + 0x18], r12d
mov eax, 0xc0000225
jmp 0x1400240bc
inc rsi
mov qword [rsp + 0x30], rsi
dec r15d
mov dword [rsp + 0x24], r15d
xor r12d, r12d
jmp 0x140024026
add rbx, 0x28
mov qword [rsp + 0x38], rbx
inc r14w
mov word [rsp + 0x20], r14w
jmp 0x140023f90
mov rdx, qword [rsp + 0x40]
mov r13d, 0xc0000225
mov dword [rsp + 0x2c], r13d
mov r14d, r12d
mov dword [rsp + 0x28], r12d
nop dword [rax]
mov eax, r15d
sub eax, ecx
cmp r14d, eax
jae 0x14002408b
mov ebx, ecx
mov r8d, ecx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_RtlCompareMemory]
cmp rax, rbx
jne 0x14002406d
mov qword [rdi + 0x10], rsi
mov eax, dword [rdi + 0x18]
dec eax
mov dword [rdi + 0x18], eax
xor eax, eax
jmp 0x1400240bc
inc rsi
mov qword [rsp + 0x30], rsi
inc r14d
mov dword [rsp + 0x28], r14d
mov ecx, dword [rsp + 0xa8]
mov rdx, qword [rsp + 0x40]
jmp 0x140024040
jmp 0x1400240b1
xor r12d, r12d
mov qword [r8 + 0x10], r12
mov dword [r8 + 0x18], r12d
mov eax, 0xc000000d
jmp 0x1400240bc
mov qword [rdi + 0x10], r12
mov dword [rdi + 0x18], r12d
mov eax, r13d
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x14002a7a0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
mov rax, qword [0x14037da00]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rdi, rcx
xor ebx, ebx
xorps xmm0, xmm0
movups xmmword [rbp + 0xf], xmm0
movdqa xmm1, xmmword [0x140341590]
movdqu xmmword [rbp + 0x1f], xmm1
mov word [rbp + 0xf], bx
mov r8, rcx
lea rdx, [rbp - 9]
call fcn.14002afe0
mov r9, qword [rbp + 7]
cmp byte [r9 + 0x19], bl
jne 0x14002a987
lea r8, [r9 + 0x20]
mov rdx, rdi
call fcn.14002b210
test al, al
jne 0x14002a987
cmp r9, qword [0x140388f98]
je 0x14002a987
mov rdx, rdi
call fcn.14002aa00
mov esi, dword [rax]
mov rdx, rdi
call fcn.14002aa00
add rax, 8
lea rcx, [rbp + 0xf]
cmp rcx, rax
je 0x14002a85b
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 7
jbe 0x14002a84f
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp + 0xf]
call fcn.140003ab0
test esi, esi
jle 0x14002a987
xor ecx, ecx
call fcn.140221078
mov dword [rbp - 0x59], eax
mov edx, 0xd
lea rcx, [rbp - 0x21]
call fcn.140011160
mov rdi, rax
mov rsi, qword [rax + 0x10]
mov rcx, rax
call fcn.140042c40
test al, al
jne 0x14002a8a0
mov rax, qword [rdi + 8]
lea rbx, [0x14024ecc0]
test rax, rax
cmovne rbx, rax
mov qword [rbp - 0x49], rsi
mov qword [rbp - 0x41], rbx
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x39]
call fcn.14008e300
nop
mov ebx, 0xffffffff
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x14002a8d9
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14002a8d9
mov rcx, qword [rbp - 0x21]
call fcn.14021b7f0
nop
lea rcx, [rbp - 0x39]
call fcn.140094f20
mov rdx, rax
lea rcx, [rbp + 0x2f]
call fcn.140003c10
nop
mov rax, qword [rbp - 0x39]
test rax, rax
je 0x14002a90a
lock xadd dword [rax], ebx
cmp ebx, 1
jne 0x14002a90a
mov rcx, qword [rbp - 0x39]
call fcn.14021b7f0
lea r8, [rbp + 0xf]
cmp qword [rbp + 0x27], 7
cmova r8, qword [rbp + 0xf]
lea rdx, [rbp + 0x2f]
cmp qword [rbp + 0x47], 7
cmova rdx, qword [rbp + 0x2f]
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x59]
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
mov r9d, 4
call qword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov rdx, qword [rbp + 0x47]
cmp rdx, 7
jbe 0x14002a987
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002a981
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002a9ee
call fcn.140214330
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 7
jbe 0x14002a9c3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002a9be
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002a9e8
call fcn.140214330
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140214310
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.140221490
nop
call fcn.140221490
nop
int3
Function at 0x14002b280
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x90
xor esi, esi
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x14002b2e1
mov qword [rsp + 0xa8], rsi
mov qword [rsp + 0xa0], rsi
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
lea r9, [0x140332178]
xor edx, edx
lea r8d, [rsi + 1]
lea rcx, [0x140332188]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x14002b2e8
call qword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
jmp 0x14002b40a
mov edx, 0xfe
lea rcx, [rsp + 0x78]
call fcn.140011160
mov rbx, rax
mov rdi, qword [rax + 0x10]
mov rcx, rax
call fcn.140042c40
test al, al
je 0x14002b30f
mov rcx, rsi
jmp 0x14002b321
mov rax, qword [rbx + 8]
lea rcx, [0x14024ecc0]
test rax, rax
cmovne rcx, rax
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rcx
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.14008e300
nop
mov ebx, 0xffffffff
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14002b360
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14002b360
mov rcx, qword [rsp + 0x78]
call fcn.14021b7f0
nop
lea rcx, [rsp + 0x60]
call fcn.140094f20
mov rcx, rax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14002b393
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x14002b393
mov rcx, qword [rsp + 0x60]
call fcn.14021b7f0
mov rcx, qword [rsp + 0xa0]
mov rax, qword [rcx]
lea rdx, [rsp + 0xa8]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
call qword [rax + 0x18]
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x14002b3e8
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x14002b3fb
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
shr ebx, 0x1f
xor bl, 1
movzx eax, bl
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140030c00
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x2c0
mov rax, qword [0x14037da00]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov rbx, rcx
xor r14d, r14d
lea rdx, [rcx + 0x50]
lea rcx, [rsp + 0x28]
call fcn.1400ab650
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x28]
call fcn.1400ac530
nop
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.140002b60
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140030c7c
mov eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140030c7c
mov rcx, qword [rsp + 0x30]
call fcn.14021b7f0
mov ebx, dword [rbx + 0x48]
cmp ebx, 0xffffffff
je 0x140030d2f
lea rbp, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
cmova rbp, qword [rsp + 0x48]
mov esi, r14d
mov dword [rsp + 0x70], 0x238
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140030d2b
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, 1
jne 0x140030d1f
nop dword [rax + rax]
lea rdx, [rsp + 0x9c]
mov rcx, rbp
call fcn.140221a08
test eax, eax
jne 0x140030d0c
mov dword [rsp + 0x20], r14d
lea rdx, [rsp + 0x20]
mov ecx, dword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
mov eax, dword [rsp + 0x20]
cmp eax, 0x3e8
ja 0x140030d07
cmp eax, ebx
jne 0x140030d0c
mov esi, 1
lea rdx, [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x140030cd0
mov rcx, rdi
call fcn.140024fc0
test esi, esi
jne 0x140030d2f
xor bl, bl
jmp 0x140030d31
mov bl, 1
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x140030d6f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140030d6a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030db8
call fcn.140214330
movdqa xmm0, xmmword [0x140341590]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], r14w
lea rcx, [rsp + 0x28]
call fcn.1400ab8b0
movzx eax, bl
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.140214310
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call fcn.140221490
nop
int3

Function at 0x140030f70
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.1400312b0
xor eax, eax
mov qword [rbx + 0xe0], rax
mov qword [rbx + 0xe8], rax
mov dword [rbx + 0xf4], eax
mov rcx, qword [rbx + 0xb8]
add rsp, 0x20
pop rbx
jmp fcn.14002d8e0
Function at 0x140031180
Capabilities:
Get memory capacity

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x170
mov rax, qword [0x14037da00]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rbx, rcx
mov dword [r11 - 0x58], 0x40
lea rcx, [r11 - 0x58]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov r8d, 0x48
lea rdx, [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_K32GetProcessMemoryInfo]
mov rbp, qword [rsp + 0xe0]
shr rbp, 0x14
mov rsi, qword [rsp + 0x108]
shr rsi, 0x14
mov dword [rsp + 0x90], 0x40
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rdi, qword [rsp + 0xa0]
shr rdi, 0x14
mov rbx, qword [rbx + 0xb0]
mov edx, 0x122
lea rcx, [rsp + 0x70]
call fcn.140011160
nop
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.14000e810
mov byte [rsp + 0x38], 0
xor eax, eax
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], esi
mov r9d, ebp
mov r8d, edi
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.14001dda0
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140031285
mov eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140031285
mov rcx, qword [rsp + 0x70]
call fcn.14021b7f0
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140214310
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400373a0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x20]
sub rsp, 0x120
xor esi, esi
movzx eax, byte [rcx + 0x1c]
test al, al
je 0x1400373cd
xor al, al
jmp 0x140037518
mov byte [rcx + 0x1c], 1
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rax
xorps xmm1, xmm1
movups xmmword [rbp - 0x50], xmm1
movups xmmword [rbp - 0x40], xmm1
movups xmmword [rbp - 0x30], xmm1
movups xmmword [rbp - 0x20], xmm1
movups xmmword [rbp - 0x10], xmm1
movups xmmword [rbp], xmm1
mov qword [rbp + 0x10], rax
mov dword [rbp - 0x50], 0x68
mov dword [rbp - 0x14], 1
mov word [rbp - 0x10], si
mov edx, 0xf5
lea rcx, [rbp - 0x68]
call fcn.140011160
mov rbx, rax
mov rdi, qword [rax + 0x10]
mov rcx, rax
call fcn.140042c40
test al, al
je 0x140037437
mov rcx, rsi
jmp 0x140037449
mov rax, qword [rbx + 8]
lea rcx, [0x14024ecc0]
test rax, rax
cmovne rcx, rax
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x80]
call fcn.14008e300
nop
mov ebx, 0xffffffff
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x140037484
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140037484
mov rcx, qword [rbp - 0x68]
call fcn.14021b7f0
lea rcx, [rbp - 0x80]
call fcn.140094f20
mov rdx, rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1400374d0
xor dil, dil
jmp 0x1400374f9
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dil, 1
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x140037514
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x140037514
mov rcx, qword [rbp - 0x80]
call fcn.14021b7f0
movzx eax, dil
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14003e8a0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x10
mov rax, qword [0x14037da00]
xor rax, rsp
mov qword [rsp], rax
mov eax, dword [rsp + 0x40]
xor r10d, r10d
mov rbx, r8
mov qword [rcx], r10
mov dword [rcx + 8], r10d
mov rbp, r9
mov rsi, rdx
mov r11, rcx
mov edi, r10d
mov r9d, r10d
mov r8d, r10d
test rbx, rbx
jle 0x14003e989
nop
movsx edx, byte [r8 + rsi]
lea ecx, [rdx - 0x41]
cmp ecx, 0x19
jbe 0x14003e915
lea ecx, [rdx - 0x61]
cmp ecx, 0x19
ja 0x14003e90a
lea ecx, [rdx - 0x47]
jmp 0x14003e915
lea ecx, [rdx - 0x30]
cmp ecx, 9
ja 0x14003e91f
lea ecx, [rdx + 4]
cmp ecx, 0xffffffff
je 0x14003e97d
jmp 0x14003e9be
mov ecx, eax
and ecx, 1
cmp edx, 0x2b
jne 0x14003e935
test ecx, ecx
jne 0x14003e935
lea ecx, [rdx + 0x13]
jmp 0x14003e9be
cmp edx, 0x2d
jne 0x14003e943
test ecx, ecx
je 0x14003e94c
lea ecx, [rdx + 0x11]
jmp 0x14003e9be
cmp edx, 0x2f
jne 0x14003e9b0
test ecx, ecx
je 0x14003e9b9
test al, 4
je 0x14003e97d
cmp edx, 0x3d
jne 0x14003ea00
test bl, 3
jne 0x14003e9f6
lea rcx, [rbx - 1]
cmp r8, rcx
je 0x14003e97d
lea rcx, [rbx - 2]
cmp r8, rcx
jne 0x14003e9ec
inc r8
cmp byte [r8 + rsi], dl
jne 0x14003e9ec
inc r8
cmp r8, rbx
jl 0x14003e8f0
mov qword [r11], r9
mov rax, r11
mov rcx, qword [rsp]
xor rcx, rsp
call fcn.140214310
mov rbx, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
add rsp, 0x10
pop rdi
ret
cmp edx, 0x5f
jne 0x14003e94c
test ecx, ecx
je 0x14003e94c
mov ecx, 0x3f
shl r10d, 6
add edi, 6
or r10d, ecx
cmp edi, 8
jl 0x14003e97d
sub edi, 8
mov edx, r10d
mov ecx, edi
shr edx, cl
mov byte [r9 + rbp], dl
mov edx, 1
shl edx, cl
inc r9
dec edx
and r10d, edx
jmp 0x14003e97d
mov dword [r11 + 8], 3
jmp 0x14003e98c
mov dword [r11 + 8], 1
jmp 0x14003e98c
mov dword [r11 + 8], 2
jmp 0x14003e98c
Function at 0x14007ebf0
Capabilities:
Hash data using sha1
Hash data using sha256
Hash data using sha384
Hash data using sha512

Disassembly:
mov rcx, qword [rcx]
mov edx, dword [rcx + 0x1ec]
mov byte [rcx + 0x1e8], 0
jmp fcn.14007ec10