joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001f990
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x14037da00]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov r15, rdx
mov rbx, rcx
mov edx, 0x203
lea rcx, [rsp + 0x70]
call fcn.140011170
mov rdi, rax
mov rsi, qword [rax + 0x10]
mov rcx, rax
call fcn.140042c70
test al, al
je 0x14001f9f0
xor ecx, ecx
jmp 0x14001fa02
mov rax, qword [rdi + 8]
lea rcx, [0x14024eca0]
test rax, rax
cmovne rcx, rax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rcx
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x58]
call fcn.14008e330
nop
mov edi, 0xffffffff
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14001fa41
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14001fa41
mov rcx, qword [rsp + 0x70]
call fcn.14021b810
nop
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x40]
call fcn.140093ea0
nop
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x40]
call fcn.140041fa0
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14001fa80
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14001fa80
mov rcx, qword [rsp + 0x40]
call fcn.14021b810
nop
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x14001fa9d
lock xadd dword [rax], edi
cmp edi, 1
jne 0x14001fa9d
mov rcx, qword [rsp + 0x58]
call fcn.14021b810
mov edi, 0x100
mov r8d, edi
xor edx, edx
lea rcx, [rbp - 0x4e]
call fcn.1402406a0
lea r11, [rbp - 0x78]
mov rsi, qword [rbp - 0x78]
mov r14, qword [rbp - 0x60]
cmp r14, 0xf
cmova r11, rsi
xor r10d, r10d
mov word [rbp - 0x50], r10w
xor eax, eax
lea rcx, [rbp - 0x4e]
mov byte [rcx], al
inc eax
lea rcx, [rcx + 1]
cmp eax, edi
jl 0x14001fad2
xor r8d, r8d
lea r9, [rbp - 0x4e]
nop word [rax + rax]
movzx edx, byte [r9]
movzx eax, dl
add al, byte [r8 + r11]
add al, r10b
movzx r10d, al
lea rcx, [rbp - 0x4e]
movzx eax, byte [rcx + r10]
mov byte [r9], al
mov byte [rcx + r10], dl
lea rax, [r8 + 1]
lea r9, [r9 + 1]
xor r8d, r8d
cmp rax, 0xc
cmovl r8, rax
sub rdi, 1
jne 0x14001faf0
movzx r9d, byte [rbp - 0x50]
movzx r10d, byte [rbp - 0x4f]
test r15d, r15d
jle 0x14001fb7c
mov r11d, r15d
nop dword [rax]
inc r9b
movzx eax, r9b
lea rdx, [rbp - 0x4e]
add rdx, rax
movzx r8d, byte [rdx]
add r10b, r8b
movzx eax, r10b
movzx ecx, byte [rbp + rax - 0x4e]
mov byte [rdx], cl
mov byte [rbp + rax - 0x4e], r8b
add cl, r8b
movzx eax, cl
movzx ecx, byte [rbp + rax - 0x4e]
xor byte [rbx], cl
lea rbx, [rbx + 1]
sub r11, 1
jne 0x14001fb40
cmp r14, 0xf
jbe 0x14001fbaf
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14001fba7
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001fbdb
mov rcx, rsi
call fcn.140214360
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.140214340
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.1402214b0
int3
Function at 0x140020420
Capabilities:
Access pe header

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
call fcn.14001fd10
mov rcx, rsi
mov rdi, rax
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
test rdi, rdi
je 0x1400204af
movzx edx, byte [rdi + 0xc]
and dl, 6
cmp dl, 2
je 0x1400204af
cmp qword [rdi + 0x20], 0
je 0x14002048a
mov qword [rsp + 0x30], rbx
xor ebx, ebx
cmp dword [rdi + 0x28], ebx
jbe 0x14002047c
mov rax, qword [rdi + 0x20]
mov rcx, qword [rax + rbx*8]
test rcx, rcx
je 0x140020475
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
inc ebx
cmp ebx, dword [rdi + 0x28]
jb 0x140020462
mov rcx, qword [rdi + 0x20]
call fcn.140214360
mov rbx, qword [rsp + 0x30]
cmp qword [rdi + 0x10], 0
je 0x1400204a2
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov al, 1
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rsi, qword [rsp + 0x38]
xor al, al
add rsp, 0x20
pop rdi
ret
Function at 0x140021990
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 0x1400219b6
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 0x140021bc4
movzx eax, word [rax + 0x18]
mov ecx, 0x10b
cmp ax, cx
je 0x140021a55
mov ecx, 0x20b
cmp ax, cx
je 0x1400219f1
xor al, al
jmp 0x140021bc4
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.140020970
movzx edx, di
mov rax, r15
mov word [rsp + 0x24], dx
cmp dx, word [rbx + 6]
jae 0x140021a4d
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 0x140021a22
mov ebx, dword [rbx + 0xac]
jmp 0x140021ab7
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.140020970
movzx edx, di
mov rax, r15
mov word [rsp + 0x28], dx
cmp dx, word [rbx + 6]
jae 0x140021ab1
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 0x140021a86
mov ebx, dword [rbx + 0x9c]
add rbx, rax
mov qword [rsp + 0x38], rbx
mov rdx, rbx
mov rcx, rsi
call fcn.140020970
test r12, r12
je 0x140021ad3
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 0x140021b3a
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 0x140021b2a
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 0x140021af4
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 0x140021b5e
mov al, 1
jmp 0x140021ba9
movzx eax, dx
mov ecx, r8d
sub ecx, eax
cmp r8w, dx
jae 0x140021b71
movzx ecx, cx
dec ecx
mov dword [rsp + 0x90], ecx
movzx r9d, cx
mov eax, edx
shr eax, 0x10
cmp cx, ax
jb 0x140021b8a
sub ecx, eax
jmp 0x140021b93
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 0x140021bc4
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140021be0
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 0x140021c3d
mov qword [rsp + 0x30], rbx
mov rbx, qword [rcx + rdi + 0x18]
test rbx, rbx
je 0x140021c2d
mov rax, qword [rbx]
test rax, rax
je 0x140021c2d
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 0x140021c14
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 0x140021c50
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 0x140021cb7
mov rcx, qword [rbx + 0x10]
lea r9, [rcx + rdx]
xor r8d, r8d
lea edx, [r8 + 1]
call r9
test eax, eax
je 0x140021c91
movzx ecx, byte [rbx + 0xc]
or cl, 1
mov byte [rbx + 0xc], cl
mov eax, 1
jmp 0x140021cbc
mov ecx, 0x45a
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x140021caf
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov eax, 1
add rsp, 0x20
pop rbx
ret
Function at 0x140022190
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.140020970
nop
xor r12d, r12d
mov r15d, r12d
mov rcx, rdi
call fcn.14001fd10
mov rsi, rax
test rax, rax
je 0x140022285
movzx eax, byte [rax + 0xc]
test al, 2
je 0x140022285
test byte [rsi + 0xe], 1
jne 0x14002220a
or al, 4
mov byte [rsi + 0xc], al
mov rcx, rdi
call fcn.140020420
mov ecx, 0xc0000001
test al, al
cmovne ecx, r12d
mov eax, ecx
jmp 0x140022393
test rbx, rbx
je 0x140022257
mov rbx, qword [rbx]
test rbx, rbx
je 0x140022285
mov rcx, rdi
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov r13, rax
mov ecx, dword [rbx + 0x40]
cmp dword [rax + 0x50], ecx
jne 0x140022285
test byte [rsi + 0xe], 8
je 0x1400222b8
call fcn.1400241c0
dec eax
cmp eax, 7
ja case.default.0x140022255
cdqe
lea r14, [0x140000000]
mov eax, dword [r14 + rax*4 + 0x223b4]
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 0x140022285
mov rbx, rax
mov rax, qword [rax]
cmp qword [rbx + 0x30], rdi
je 0x140022212
cmp rax, rdx
jne 0x140022274
mov eax, 0xc0000008
jmp 0x140022393
movzx r15d, word [rbx + 0x6c]
jmp 0x1400222bf
movzx ecx, word [rbx + 0x6c]
mov rax, qword [rbx + 0x98]
mov r15d, dword [rax + 0x18]
cmp r15d, ecx
cmove r15d, ecx
jmp 0x1400222bf
mov eax, 0xc0000001
jmp 0x140022393
lea r14, [0x140000000]
test r15d, 0xfffffffe
jne 0x140022330
movzx eax, byte [rsi + 0xc]
or al, 4
mov byte [rsi + 0xc], al
test al, 1
je 0x1400222e7
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 0x140022319
test al, 2
je 0x140022306
mov rcx, rdi
call fcn.140023360
test eax, eax
jns 0x140022306
mov ecx, 3
int 0x29
mov rcx, rbx
call fcn.140021420
test al, al
jne 0x140022319
mov ecx, 7
int 0x29
mov rcx, rdi
call fcn.140020420
test al, al
jne 0x14002232c
mov ecx, 7
int 0x29
xor eax, eax
jmp 0x140022393
call fcn.1400241c0
dec eax
cmp eax, 7
ja case.default.0x140022349
cdqe
mov ecx, dword [r14 + rax*4 + 0x223d4]
add rcx, r14
jmp rcx
movzx eax, word [rbx + 0x6c]
test ax, ax
je 0x14002238e
dec ax
mov word [rbx + 0x6c], ax
mov eax, r12d
jmp 0x140022393
movzx eax, word [rbx + 0x6c]
test ax, ax
je 0x140022370
dec ax
mov word [rbx + 0x6c], ax
mov rcx, qword [rbx + 0x98]
mov eax, dword [rcx + 0x18]
test eax, eax
je 0x14002238e
dec eax
mov dword [rcx + 0x18], eax
mov eax, r12d
jmp 0x140022393
mov r12d, 0xc0000001
mov eax, r12d
jmp 0x140022393
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 0x140023990
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140389100]
test rax, rax
jne 0x140023a30
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 0x140023a35
mov rcx, qword [0x140389100]
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 0x1400239f8
mov qword [0x140389100], rdx
cmp qword [rdx], rbx
je 0x140023a0a
xor ecx, ecx
mov qword [0x140389100], rcx
cmp r8, rax
jne 0x1400239d0
mov rbx, qword [rsp + 0x20]
mov rax, rcx
add rsp, 0x28
ret
lea rcx, [r9 + 0x38]
mov dl, 1
call fcn.1400238b0
mov rcx, qword [rbx]
mov rbx, qword [rsp + 0x20]
mov eax, eax
shl rax, 4
sub rcx, rax
mov qword [0x140389100], rcx
mov rax, rcx
add rsp, 0x28
ret
mov rax, qword [0x140389100]
add rsp, 0x28
ret
Function at 0x140023f20
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 0x1400240bd
test ecx, ecx
je 0x1400240bd
test rsi, rsi
jne 0x140024024
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 0x140023fa0
mov eax, 0xc00000ef
jmp 0x1400240ec
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 0x140023ffc
mov rdx, rbx
mov rcx, qword [rsp + 0x98]
call fcn.140224438
test eax, eax
jne 0x140024039
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 0x140024012
test r15d, r15d
je 0x140024012
mov ecx, dword [rsp + 0xa8]
cmp r15d, ecx
jae 0x140024051
mov qword [rdi + 0x10], r12
mov dword [rdi + 0x18], r12d
mov eax, 0xc0000225
jmp 0x1400240ec
inc rsi
mov qword [rsp + 0x30], rsi
dec r15d
mov dword [rsp + 0x24], r15d
xor r12d, r12d
jmp 0x140024056
add rbx, 0x28
mov qword [rsp + 0x38], rbx
inc r14w
mov word [rsp + 0x20], r14w
jmp 0x140023fc0
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 0x1400240bb
mov ebx, ecx
mov r8d, ecx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_RtlCompareMemory]
cmp rax, rbx
jne 0x14002409d
mov qword [rdi + 0x10], rsi
mov eax, dword [rdi + 0x18]
dec eax
mov dword [rdi + 0x18], eax
xor eax, eax
jmp 0x1400240ec
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 0x140024070
jmp 0x1400240e1
xor r12d, r12d
mov qword [r8 + 0x10], r12
mov dword [r8 + 0x18], r12d
mov eax, 0xc000000d
jmp 0x1400240ec
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 0x14002a7d0
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 [0x140341560]
movdqu xmmword [rbp + 0x1f], xmm1
mov word [rbp + 0xf], bx
mov r8, rcx
lea rdx, [rbp - 9]
call fcn.14002b010
mov r9, qword [rbp + 7]
cmp byte [r9 + 0x19], bl
jne 0x14002a9b7
lea r8, [r9 + 0x20]
mov rdx, rdi
call fcn.14002b240
test al, al
jne 0x14002a9b7
cmp r9, qword [0x140388f98]
je 0x14002a9b7
mov rdx, rdi
call fcn.14002aa30
mov esi, dword [rax]
mov rdx, rdi
call fcn.14002aa30
add rax, 8
lea rcx, [rbp + 0xf]
cmp rcx, rax
je 0x14002a88b
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 7
jbe 0x14002a87f
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp + 0xf]
call fcn.140003ac0
test esi, esi
jle 0x14002a9b7
xor ecx, ecx
call fcn.140221098
mov dword [rbp - 0x59], eax
mov edx, SHCreateThread
lea rcx, [rbp - 0x21]
call fcn.140011170
mov rdi, rax
mov rsi, qword [rax + 0x10]
mov rcx, rax
call fcn.140042c70
test al, al
jne 0x14002a8d0
mov rax, qword [rdi + 8]
lea rbx, [0x14024eca0]
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.14008e330
nop
mov ebx, 0xffffffff
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x14002a909
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14002a909
mov rcx, qword [rbp - 0x21]
call fcn.14021b810
nop
lea rcx, [rbp - 0x39]
call fcn.140094f50
mov rdx, rax
lea rcx, [rbp + 0x2f]
call fcn.140003c20
nop
mov rax, qword [rbp - 0x39]
test rax, rax
je 0x14002a93a
lock xadd dword [rax], ebx
cmp ebx, 1
jne 0x14002a93a
mov rcx, qword [rbp - 0x39]
call fcn.14021b810
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 0x14002a9b7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002a9b1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002aa1e
call fcn.140214360
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 7
jbe 0x14002a9f3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002a9ee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002aa18
call fcn.140214360
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140214340
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.1402214b0
nop
call fcn.1402214b0
nop
int3
Function at 0x14002b2b0
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 0x14002b311
mov qword [rsp + 0xa8], rsi
mov qword [rsp + 0xa0], rsi
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
lea r9, [0x140332158]
xor edx, edx
lea r8d, [rsi + 1]
lea rcx, [0x140332168]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x14002b318
call qword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
jmp 0x14002b43a
mov edx, 0xfe
lea rcx, [rsp + 0x78]
call fcn.140011170
mov rbx, rax
mov rdi, qword [rax + 0x10]
mov rcx, rax
call fcn.140042c70
test al, al
je 0x14002b33f
mov rcx, rsi
jmp 0x14002b351
mov rax, qword [rbx + 8]
lea rcx, [0x14024eca0]
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.14008e330
nop
mov ebx, 0xffffffff
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14002b390
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14002b390
mov rcx, qword [rsp + 0x78]
call fcn.14021b810
nop
lea rcx, [rsp + 0x60]
call fcn.140094f50
mov rcx, rax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14002b3c3
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x14002b3c3
mov rcx, qword [rsp + 0x60]
call fcn.14021b810
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 0x14002b418
mov rdx, qword [rcx]
call qword [rdx + reloc.SHLWAPI.dll_SHCreateThread]
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x14002b42b
mov rax, qword [rcx]
call qword [rax + reloc.SHLWAPI.dll_SHCreateThread]
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 0x140030c30
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.1400ab680
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x28]
call fcn.1400ac560
nop
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.140002b70
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140030cac
mov eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140030cac
mov rcx, qword [rsp + 0x30]
call fcn.14021b810
mov ebx, dword [rbx + 0x48]
cmp ebx, 0xffffffff
je 0x140030d5f
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 0x140030d5b
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, 1
jne 0x140030d4f
nop dword [rax + rax]
lea rdx, [rsp + 0x9c]
mov rcx, rbp
call fcn.140221a28
test eax, eax
jne 0x140030d3c
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 0x140030d37
cmp eax, ebx
jne 0x140030d3c
mov esi, 1
lea rdx, [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x140030d00
mov rcx, rdi
call fcn.140024ff0
test esi, esi
jne 0x140030d5f
xor bl, bl
jmp 0x140030d61
mov bl, 1
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x140030d9f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140030d9a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030de8
call fcn.140214360
movdqa xmm0, xmmword [0x140341560]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], r14w
lea rcx, [rsp + 0x28]
call fcn.1400ab8e0
movzx eax, bl
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.140214340
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.1402214b0
nop
int3

Function at 0x140030fa0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.1400312e0
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.14002d910
Function at 0x1400311b0
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.140011170
nop
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.14000e820
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.14001ddd0
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400312b5
mov eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400312b5
mov rcx, qword [rsp + 0x70]
call fcn.14021b810
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140214340
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