joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140021d80
Capabilities:
Access pe header
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
push r12
push r15
sub rsp, 0x50
mov rax, qword gs:[0x30]
mov rbp, r9
mov r15, r8
mov r12d, edx
mov rdi, rcx
mov r10, qword [rax + 0x60]
mov rbx, qword [r10 + 0x30]
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
test rax, rax
jne 0x140021dc5
mov eax, 0xc000007b
jmp 0x140021e46
mov rax, qword gs:[0x30]
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], r14
mov rcx, qword [rax + 0x60]
mov rsi, qword [rcx + 0x30]
mov rcx, rdi
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
test rax, rax
je 0x140021e37
mov rax, qword [0x140398f48]
mov edx, 8
mov rcx, rsi
movzx r8d, word [rax + 0x16]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r14, rax
test rax, rax
je 0x140021e37
lea r9, [rsp + 0x40]
mov rdx, rbp
lea r8, [rsp + 0x30]
mov rcx, r15
call fcn.1400235e0
test eax, eax
jns 0x140021e5c
mov r8, r14
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, 0xc0000017
mov rsi, qword [rsp + 0x70]
mov r14, qword [rsp + 0x78]
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r12
pop rdi
ret
lea rax, [rsp + 0x40]
mov r8, rdi
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov edx, r12d
mov rcx, r14
call fcn.140021860
test eax, eax
jne 0x140021eb2
mov r8, r14
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r8, qword [rsp + 0x38]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r8, qword [rsp + 0x48]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, 0xc0000001
jmp 0x140021e3c
mov rax, qword [0x140398f48]
cmp byte [rax + 0x14], 3
jne 0x140021f59
mov rax, qword gs:[0x30]
lea rdi, [r14 + 0x70]
mov edx, 1
mov rcx, qword [rax + 0x60]
mov rax, qword [0x140398f48]
mov rsi, qword [rcx + 0x18]
mov rcx, qword [rax + 0x58]
mov rbx, qword [rcx]
lea rcx, [r14 + 0x58]
call fcn.140021c20
mov ecx, eax
lea rdx, [r14 + 0x10]
shl rcx, 4
add rcx, rbx
mov rax, qword [rcx + 8]
mov qword [rdi], rcx
mov qword [rdi + 8], rax
mov qword [rax], rdi
mov qword [rcx + 8], rdi
lea rcx, [rsi + 0x10]
mov rax, qword [rcx + 8]
mov qword [r14], rcx
mov qword [r14 + 8], rax
mov qword [rax], r14
mov rax, qword [rsi + 0x28]
mov qword [rcx + 8], r14
lea rcx, [rsi + 0x20]
mov qword [rdx], rcx
mov qword [rdx + 8], rax
mov qword [rax], rdx
mov rax, qword [rsi + 0x38]
mov qword [rcx + 8], rdx
lea rdx, [r14 + 0x20]
lea rcx, [rsi + 0x30]
mov qword [rdx + 8], rax
mov qword [rdx], rcx
mov qword [rax], rdx
mov qword [rcx + 8], rdx
mov rax, qword [rsp + 0x90]
test rax, rax
je 0x140021f69
mov qword [rax], r14
xor eax, eax
jmp 0x140021e3c
Function at 0x1400234c0
Capabilities:
Access pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x140023567
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
test rax, rax
je 0x140023567
movsxd r8, dword [rbx + 0x3c]
movzx edx, word [r8 + rbx + 6]
lea eax, [rdx + rdx*4]
lea ecx, [r8 + rax*8]
movabs rax, 0xaabbcc11ffee00
movsxd rdi, ecx
add rdi, 0x108
add rdi, rbx
cmp qword [rdi], rax
jne 0x140023567
cmp qword [rdi + 0x10], rbx
jne 0x140023567
mov rcx, rbx
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
test rdi, rdi
je 0x140023570
movzx eax, byte [rdi + 0xc]
and al, 6
cmp al, 2
je 0x140023570
cmp qword [rdi + 0x20], 0
je 0x14002353f
mov rcx, rdi
call fcn.14001fed0
cmp qword [rdi + 0x10], 0
je 0x140023557
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, rbx
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x140023c10
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 0x140023c6d
mov qword [rsp + 0x30], rbx
mov rbx, qword [rcx + rdi + 0x18]
test rbx, rbx
je 0x140023c5d
mov rax, qword [rbx]
test rax, rax
je 0x140023c5d
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 0x140023c44
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 0x140023c80
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 0x140023d0c
mov rcx, qword [rbx + 0x10]
lea rax, [rcx + rdx]
xor r8d, r8d
lea edx, [r8 + 1]
call rax
test al, al
je 0x140023ce6
movzx eax, byte [rbx + 0xc]
or al, 1
mov byte [rbx + 0xc], al
mov rdx, qword [rbx + 0x38]
mov rax, qword [0x140398f48]
cmp byte [rax + 0x14], 5
ja 0x140023cd5
mov eax, dword [rdx + 0x68]
bts eax, 0x13
mov dword [rdx + 0x68], eax
jmp 0x140023cdf
mov ecx, dword [rdx + 0x68]
bts ecx, 0x13
mov dword [rdx + 0x68], ecx
mov eax, 1
jmp 0x140023d11
mov ecx, 0x45a
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x140023d04
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov eax, 1
add rsp, 0x20
pop rbx
ret
Function at 0x140023d20
Capabilities:
Access pe header

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, 0x30
mov rbx, r8
mov r13, rdx
mov r12, rcx
xor edi, edi
cmp qword [r8], rdi
je 0x140023e64
mov r8, qword [r8 + 8]
test r8, r8
je 0x140023e64
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140023d7c
inc rcx
mov qword [rbx + 0x10], rcx
mov rax, qword [rbx + 0x18]
dec rax
mov qword [rbx + 0x18], rax
jmp 0x140023df8
mov rcx, r12
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov r15, rax
mov qword [rsp + 0x28], rdi
test rax, rax
je 0x140023e5d
movzx esi, word [rax + 0x14]
add rsi, 0x18
add rsi, rax
mov qword [rsp + 0x28], rsi
movzx r14d, di
mov word [rsp + 0x20], di
nop
cmp r14w, word [r15 + 6]
jae 0x140023ddd
mov r8d, 8
mov rdx, rsi
mov rcx, r13
call fcn.1402304cc
test eax, eax
jne 0x140023e36
mov eax, dword [rsi + 0xc]
add rax, r12
mov qword [rbx + 0x10], rax
mov eax, dword [rsi + 8]
mov qword [rbx + 0x18], rax
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140023e4e
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x140023e4e
mov r8, qword [rbx + 8]
cmp rax, r8
jb 0x140023e4e
mov r14, rcx
sub r14, r8
add r14, rax
cmp rcx, r14
ja 0x140023e4e
mov rsi, qword [rbx + 8]
mov rdx, rcx
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_RtlCompareMemory]
cmp rax, rsi
je 0x140023e75
mov rcx, qword [rbx + 0x10]
inc rcx
mov qword [rbx + 0x10], rcx
mov rax, qword [rbx + 0x18]
dec rax
mov qword [rbx + 0x18], rax
mov r8, rsi
jmp 0x140023e01
add rsi, 0x28
mov qword [rsp + 0x28], rsi
inc r14w
mov word [rsp + 0x20], r14w
jmp 0x140023db0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
mov edi, 0xc0000225
jmp 0x140023e71
mov edi, 0xc00000ef
jmp 0x140023e71
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
mov edi, 0xc000000d
mov dword [rsp + 0x24], edi
jmp 0x140023e7d
mov eax, edi
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov r12, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r13
ret
Function at 0x140023f50
Capabilities:
Access pe header
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x40
mov r15, rdx
mov r12, rcx
mov byte [rsp + 0x20], 0
xor edi, edi
test rdx, rdx
je 0x140023f7e
mov qword [rdx], rdi
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov rbx, rax
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x70], rdi
test rax, rax
je 0x1400240c3
movzx eax, word [rax + 0x18]
mov ecx, 0x10b
cmp ax, cx
je 0x140024018
mov ecx, 0x20b
cmp ax, cx
je 0x140023fb9
xor al, al
jmp 0x1400240c3
movzx esi, word [rbx + 0x14]
add rsi, 0x18
add rsi, rbx
mov qword [rsp + 0x30], rsi
mov r14d, dword [rbx + 0x54]
mov qword [rsp + 0x70], r14
movzx eax, word [rbx + 6]
lea rdx, [rax + rax*4]
shl rdx, 3
mov rcx, rsi
call fcn.1400240e0
mov rax, r14
mov word [rsp + 0x24], di
cmp di, word [rbx + 6]
jae 0x140024010
mov ecx, dword [rsi + 0x10]
add rcx, r14
mov r14, rcx
mov qword [rsp + 0x70], rcx
inc di
add rsi, 0x28
mov qword [rsp + 0x30], rsi
jmp 0x140023fe6
mov edi, dword [rbx + 0xac]
jmp 0x140024075
movzx esi, word [rbx + 0x14]
add rsi, 0x18
add rsi, rbx
mov qword [rsp + 0x30], rsi
mov r14d, dword [rbx + 0x54]
mov qword [rsp + 0x70], r14
movzx eax, word [rbx + 6]
lea rdx, [rax + rax*4]
shl rdx, 3
mov rcx, rsi
call fcn.1400240e0
mov rax, r14
mov word [rsp + 0x28], di
cmp di, word [rbx + 6]
jae 0x14002406f
mov ecx, dword [rsi + 0x10]
add rcx, r14
mov r14, rcx
mov qword [rsp + 0x70], rcx
inc di
add rsi, 0x28
mov qword [rsp + 0x30], rsi
jmp 0x140024045
mov edi, dword [rbx + 0x9c]
add rdi, rax
mov qword [rsp + 0x70], rdi
mov ebx, dword [rbx + 0x58]
mov rdx, rdi
mov rcx, r12
call fcn.1400240e0
test r15, r15
je 0x140024093
mov qword [r15], rdi
test ebx, ebx
jne 0x14002409b
mov al, 1
jmp 0x1400240c3
mov r8d, ebx
mov edx, edi
mov rcx, r12
call fcn.140023ea0
mov byte [rsp + 0x20], al
jmp 0x1400240c3
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
ret
Function at 0x14002a5c0
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 [0x14038d940]
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 [0x14034fd10]
movdqu xmmword [rbp + 0x1f], xmm1
mov word [rbp + 0xf], bx
mov r8, rcx
lea rdx, [rbp - 9]
call fcn.14002ae00
mov r9, qword [rbp + 7]
cmp byte [r9 + 0x19], bl
jne 0x14002a7a7
lea r8, [r9 + 0x20]
mov rdx, rdi
call fcn.14002b030
test al, al
jne 0x14002a7a7
cmp r9, qword [0x140398ff8]
je 0x14002a7a7
mov rdx, rdi
call fcn.14002a820
mov esi, dword [rax]
mov rdx, rdi
call fcn.14002a820
add rax, 8
lea rcx, [rbp + 0xf]
cmp rcx, rax
je 0x14002a67b
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 7
jbe 0x14002a66f
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp + 0xf]
call fcn.140003ac0
test esi, esi
jle 0x14002a7a7
xor ecx, ecx
call fcn.14022cf3c
mov dword [rbp - 0x59], eax
mov edx, 0xd
lea rcx, [rbp - 0x21]
call fcn.1400111e0
mov rdi, rax
mov rsi, qword [rax + 0x10]
mov rcx, rax
call fcn.140042b10
test al, al
jne 0x14002a6c0
mov rax, qword [rdi + 8]
lea rbx, [0x14025ad40]
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.14008d7e0
nop
mov ebx, 0xffffffff
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x14002a6f9
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14002a6f9
mov rcx, qword [rbp - 0x21]
call fcn.1402275a0
nop
lea rcx, [rbp - 0x39]
call fcn.140094620
mov rdx, rax
lea rcx, [rbp + 0x2f]
call fcn.140003c20
nop
mov rax, qword [rbp - 0x39]
test rax, rax
je 0x14002a72a
lock xadd dword [rax], ebx
cmp ebx, 1
jne 0x14002a72a
mov rcx, qword [rbp - 0x39]
call fcn.1402275a0
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 0x14002a7a7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002a7a1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002a80e
call fcn.1402200d0
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 7
jbe 0x14002a7e3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002a7de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002a808
call fcn.1402200d0
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1402200b0
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.14022d354
nop
call fcn.14022d354
nop
int3
Function at 0x14002b0a0
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 0x14002b101
mov qword [rsp + 0xa8], rsi
mov qword [rsp + 0xa0], rsi
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
lea r9, [0x140340948]
xor edx, edx
lea r8d, [rsi + 1]
lea rcx, [0x140340958]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x14002b108
call qword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
jmp 0x14002b22a
mov edx, 0x100
lea rcx, [rsp + 0x78]
call fcn.1400111e0
mov rbx, rax
mov rdi, qword [rax + 0x10]
mov rcx, rax
call fcn.140042b10
test al, al
je 0x14002b12f
mov rcx, rsi
jmp 0x14002b141
mov rax, qword [rbx + 8]
lea rcx, [0x14025ad40]
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.14008d7e0
nop
mov ebx, 0xffffffff
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14002b180
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14002b180
mov rcx, qword [rsp + 0x78]
call fcn.1402275a0
nop
lea rcx, [rsp + 0x60]
call fcn.140094620
mov rcx, rax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14002b1b3
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x14002b1b3
mov rcx, qword [rsp + 0x60]
call fcn.1402275a0
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 0x14002b208
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x14002b21b
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 0x1400309d0
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 [0x14038d940]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov rbx, rcx
xor r14d, r14d
lea rdx, [rcx + 0x50]
lea rcx, [rsp + 0x28]
call fcn.1400aab30
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x28]
call fcn.1400aba10
nop
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.140002b70
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140030a4c
mov eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140030a4c
mov rcx, qword [rsp + 0x30]
call fcn.1402275a0
mov ebx, dword [rbx + 0x48]
cmp ebx, 0xffffffff
je 0x140030aff
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 0x140030afb
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, 1
jne 0x140030aef
nop dword [rax + rax]
lea rdx, [rsp + 0x9c]
mov rcx, rbp
call fcn.14022d8c8
test eax, eax
jne 0x140030adc
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 0x140030ad7
cmp eax, ebx
jne 0x140030adc
mov esi, 1
lea rdx, [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x140030aa0
mov rcx, rdi
call fcn.140024e10
test esi, esi
jne 0x140030aff
xor bl, bl
jmp 0x140030b01
mov bl, 1
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x140030b3f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140030b3a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030b88
call fcn.1402200d0
movdqa xmm0, xmmword [0x14034fd10]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], r14w
lea rcx, [rsp + 0x28]
call fcn.1400aad90
movzx eax, bl
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.1402200b0
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.14022d354
nop
int3

Function at 0x140030d40
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.140031080
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.14002d710
Function at 0x140030f50
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 [0x14038d940]
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, 0x124
lea rcx, [rsp + 0x70]
call fcn.1400111e0
nop
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.14000e890
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.14001df30
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140031055
mov eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140031055
mov rcx, qword [rsp + 0x70]
call fcn.1402275a0
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1402200b0
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 0x1400370f0
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 0x14003711d
xor al, al
jmp 0x140037268
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, 0xf7
lea rcx, [rbp - 0x68]
call fcn.1400111e0
mov rbx, rax
mov rdi, qword [rax + 0x10]
mov rcx, rax
call fcn.140042b10
test al, al
je 0x140037187
mov rcx, rsi
jmp 0x140037199
mov rax, qword [rbx + 8]
lea rcx, [0x14025ad40]
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.14008d7e0
nop
mov ebx, 0xffffffff
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x1400371d4
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400371d4
mov rcx, qword [rbp - 0x68]
call fcn.1402275a0
lea rcx, [rbp - 0x80]
call fcn.140094620
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 0x140037220
xor dil, dil
jmp 0x140037249
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 0x140037264
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x140037264
mov rcx, qword [rbp - 0x80]
call fcn.1402275a0
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 0x14003e960
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 [0x14038d940]
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 0x14003ea49
nop
movsx edx, byte [r8 + rsi]
lea ecx, [rdx - 0x41]
cmp ecx, 0x19
jbe 0x14003e9d5
lea ecx, [rdx - 0x61]
cmp ecx, 0x19
ja 0x14003e9ca
lea ecx, [rdx - 0x47]
jmp 0x14003e9d5
lea ecx, [rdx - 0x30]
cmp ecx, 9
ja 0x14003e9df
lea ecx, [rdx + 4]
cmp ecx, 0xffffffff
je 0x14003ea3d
jmp 0x14003ea7e
mov ecx, eax
and ecx, 1
cmp edx, 0x2b
jne 0x14003e9f5
test ecx, ecx
jne 0x14003e9f5
lea ecx, [rdx + 0x13]
jmp 0x14003ea7e
cmp edx, 0x2d
jne 0x14003ea03
test ecx, ecx
je 0x14003ea0c
lea ecx, [rdx + 0x11]
jmp 0x14003ea7e
cmp edx, 0x2f
jne 0x14003ea70
test ecx, ecx
je 0x14003ea79
test al, 4
je 0x14003ea3d
cmp edx, 0x3d
jne 0x14003eac0
test bl, 3
jne 0x14003eab6
lea rcx, [rbx - 1]
cmp r8, rcx
je 0x14003ea3d
lea rcx, [rbx - 2]
cmp r8, rcx
jne 0x14003eaac
inc r8
cmp byte [r8 + rsi], dl
jne 0x14003eaac
inc r8
cmp r8, rbx
jl 0x14003e9b0
mov qword [r11], r9
mov rax, r11
mov rcx, qword [rsp]
xor rcx, rsp
call fcn.1402200b0
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 0x14003ea0c
test ecx, ecx
je 0x14003ea0c
mov ecx, 0x3f
shl r10d, 6
add edi, 6
or r10d, ecx
cmp edi, 8
jl 0x14003ea3d
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 0x14003ea3d
mov dword [r11 + 8], 3
jmp 0x14003ea4c
mov dword [r11 + 8], 1
jmp 0x14003ea4c
mov dword [r11 + 8], 2
jmp 0x14003ea4c
Function at 0x14007eac0
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.14007eae0