joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400d8ae0
Capabilities:
Create pipe

Disassembly:
mov r11, rsp
push rsi
push rdi
push r14
sub rsp, 0x1a0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov rax, qword [0x1402d9850]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov r14, r8
mov rsi, rdx
mov dword [rsp + 0x20], 0x78
mov dword [r11 - 0x68], 0x18
mov edi, 1
mov dword [r11 - 0x58], edi
xor ebx, ebx
mov qword [r11 - 0x60], rbx
mov qword [rsp + 0x28], rbx
mov qword [r11 - 0x48], rbx
xor r9d, r9d
lea r8, [r11 - 0x68]
lea rdx, [rsp + 0x28]
lea rcx, [r11 - 0x48]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x1400d8b7c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
lea rax, [0x140232118]
mov qword [rsp + 0x40], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0x38]
call fcn.14012ccc0
xor r8d, r8d
mov edx, edi
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
jne 0x1400d8bb7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x48], eax
lea rax, [0x140232150]
mov qword [rsp + 0x50], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0x48]
call fcn.14012ccc0
mov rax, qword [rsp + 0x28]
mov qword [rsi], rax
mov rax, qword [rsp + 0x170]
mov qword [r14], rax
mov dword [rsp + 0x20], ebx
jmp 0x1400d8bd8
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14012a1e0
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x1a0
pop r14
pop rdi
pop rsi
ret
Function at 0x1400d8c10
Capabilities:
Create pipe

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1e0
mov qword [r11 - 0x188], 0xfffffffffffffffe
mov rax, qword [0x1402d9850]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov r13, r9
mov r12, r8
mov r15, rdx
mov dword [rsp + 0x40], 0x78
mov dword [rsp + 0x190], 0x18
mov r14d, 1
mov dword [r11 - 0x78], r14d
xor esi, esi
mov qword [r11 - 0x80], rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rsi
mov qword [r11 - 0x68], rsi
xor r9d, r9d
lea r8, [r11 - 0x88]
lea rdx, [rsp + 0x50]
lea rcx, [r11 - 0x68]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x1400d8cc0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x60], eax
lea rax, [0x140232118]
mov qword [rsp + 0x68], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0x60]
call fcn.14012ccc0
mov rcx, qword [rsp + 0x48]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400d8cd5
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x48], rsi
mov rdi, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], esi
lea r9, [rsp + 0x48]
mov r8, rbx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x1400d8d3e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x70], eax
lea rax, [0x140232130]
mov qword [rsp + 0x78], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0x70]
call fcn.14012ccc0
xor r8d, r8d
mov edx, r14d
mov rcx, qword [rsp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
jne 0x1400d8d86
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x80], eax
lea rax, [0x140232150]
mov qword [rsp + 0x88], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0x80]
call fcn.14012ccc0
mov rax, qword [rsp + 0x50]
mov qword [r15], rax
mov rax, qword [rsp + 0x1b0]
mov qword [r12], rax
mov rax, qword [rsp + 0x48]
mov qword [r13], rax
mov dword [rsp + 0x40], esi
jmp 0x1400d8db2
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, r14d
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.14012a1e0
add rsp, 0x1e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400d8de0
Capabilities:
Create thread
Resume thread
Terminate thread

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x210
mov qword [rsp + 0xb8], 0xfffffffffffffffe
mov rax, qword [0x1402d9850]
xor rax, rsp
mov qword [rsp + 0x200], rax
mov esi, r8d
mov rbx, rdx
mov rdi, rcx
mov dword [rsp + 0x34], 0x78
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x20]
cmp qword [rdi + 0x48], 0
je 0x1400d8fe8
mov rax, qword [rdi + 0x60]
test rax, rax
je 0x1400d8fe8
mov qword [rsp + 0x1e0], rax
mov qword [rsp + 0x1e8], rbx
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x1e0]
lea r8, [0x1400d9050]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
mov qword [rsp + 0xc0], rax
test rax, rax
jne 0x1400d8ead
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x48], eax
lea rax, [0x14021e578]
mov qword [rsp + 0x50], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0x48]
call fcn.14012ccc0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x1400d8ee2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x58], eax
lea rax, [0x14021d138]
mov qword [rsp + 0x60], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0x58]
call fcn.14012ccc0
mov edx, esi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
jne 0x1400d8f19
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x68], eax
lea rax, [0x140232410]
mov qword [rsp + 0x70], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0x68]
call fcn.14012ccc0
mov rcx, rbx
cmp eax, 0x102
jne 0x1400d8f56
mov edx, 0x5b4
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [rsp + 0x78], 0x5b4
lea rax, [0x140232410]
mov qword [rsp + 0x80], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0x78]
call fcn.14012ccc0
xor edi, edi
mov dword [rsp + 0x30], edi
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
jne 0x1400d8f9b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x88], eax
lea rax, [0x140232478]
mov qword [rsp + 0x90], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0x88]
call fcn.14012ccc0
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x1400d8fcd
mov dword [rsp + 0x98], eax
lea rax, str.Utils::PipedProcess::ReadProc
mov qword [rsp + 0xa0], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0x98]
call fcn.14012ccc0
mov dword [rsp + 0x34], edi
mov esi, 1
cmp rbx, 0xffffffffffffffff
je 0x1400d8fe6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x1400d901f
mov dword [rsp + 0xa8], 2
lea rax, str.Checking_process
mov qword [rsp + 0xb0], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0xa8]
call fcn.14012ccc0
nop
mov esi, dword [rsp + 0x30]
mov edi, dword [rsp + 0x34]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
mov rcx, qword [rsp + 0x200]
xor rcx, rsp
call fcn.14012a1e0
add rsp, 0x210
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400d97e0
Capabilities:
Create thread
Resume thread
Terminate thread

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
sub rsp, 0x210
mov qword [r11 - 0x160], 0xfffffffffffffffe
mov rax, qword [0x1402d9850]
xor rax, rsp
mov qword [rsp + 0x200], rax
mov edi, r9d
mov dword [rsp + 0x34], 0x78
test rdx, rdx
je 0x1400d9a12
test r8d, r8d
je 0x1400d9a12
cmp qword [rcx + 0x48], 0
je 0x1400d99e4
mov rax, qword [rcx + 0x58]
test rax, rax
je 0x1400d99e4
mov qword [r11 - 0x68], rax
mov qword [r11 - 0x60], rdx
mov dword [r11 - 0x58], r8d
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
lea r9, [r11 - 0x68]
lea r8, [0x1400d9aa0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
mov qword [rsp + 0x1e0], rax
test rax, rax
jne 0x1400d98a9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x48], eax
lea rax, [0x14021e578]
mov qword [rsp + 0x50], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0x48]
call fcn.14012ccc0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x1400d98de
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x58], eax
lea rax, [0x14021d138]
mov qword [rsp + 0x60], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0x58]
call fcn.14012ccc0
mov edx, edi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
jne 0x1400d9915
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x68], eax
lea rax, [0x140232410]
mov qword [rsp + 0x70], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0x68]
call fcn.14012ccc0
mov rcx, rbx
cmp eax, 0x102
jne 0x1400d9952
mov edx, 0x5b4
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [rsp + 0x78], 0x5b4
lea rax, [0x140232410]
mov qword [rsp + 0x80], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0x78]
call fcn.14012ccc0
xor edi, edi
mov dword [rsp + 0x30], edi
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
jne 0x1400d9997
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x88], eax
lea rax, [0x140232478]
mov qword [rsp + 0x90], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0x88]
call fcn.14012ccc0
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x1400d99c9
mov dword [rsp + 0x98], eax
lea rax, str.Utils::PipedProcess::WriteProc
mov qword [rsp + 0xa0], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0x98]
call fcn.14012ccc0
mov dword [rsp + 0x34], edi
mov esi, 1
cmp rbx, 0xffffffffffffffff
je 0x1400d99e2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x1400d9a49
mov dword [rsp + 0xa8], 2
lea rax, str.Checking_process
mov qword [rsp + 0xb0], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0xa8]
call fcn.14012ccc0
mov dword [rsp + 0xb8], 0x57
lea rax, str.Checking_parameters
mov qword [rsp + 0xc0], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0xb8]
call fcn.14012ccc0
nop
mov esi, dword [rsp + 0x30]
mov edi, dword [rsp + 0x34]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
mov rcx, qword [rsp + 0x200]
xor rcx, rsp
call fcn.14012a1e0
add rsp, 0x210
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400da2f0
Capabilities:
Delete file

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x80
mov qword [r11 - 0x48], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov rax, qword [0x1402d9850]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rbx, rcx
mov qword [r11 - 0x38], rcx
mov qword [r11 - 0x18], 7
xor edi, edi
mov qword [r11 - 0x20], rdi
mov word [rsp + 0x58], di
mov qword [r11 - 0x50], 7
mov qword [r11 - 0x58], rdi
mov word [rsp + 0x20], di
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rcx
lea rcx, [r11 - 0x68]
call fcn.140007890
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x20]
call fcn.1400dba40
test al, al
je 0x1400da37f
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
mov r8, qword [rsp + 0x70]
cmp r8, 8
jb 0x1400da39c
inc r8
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x58]
call fcn.140007540
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rdi
mov word [rsp + 0x58], di
mov r8, qword [rbx + 0x18]
cmp r8, 8
jb 0x1400da3c7
inc r8
mov rdx, qword [rbx]
mov rcx, rbx
call fcn.140007540
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rdi
cmp qword [rbx + 0x18], 8
jb 0x1400da3e2
mov rax, qword [rbx]
mov word [rax], di
jmp 0x1400da3e5
mov word [rbx], di
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14012a1e0
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rdi
ret
Function at 0x1400da740
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x4c0]
sub rsp, 0x5c0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x600], rbx
mov rax, qword [0x1402d9850]
xor rax, rsp
mov qword [rbp + 0x4b0], rax
mov r14, rdx
mov edx, ecx
mov ecx, 0x18
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1400da7b1
mov dword [rbp + 0x70], 0x438
lea rdx, [rbp + 0x70]
mov rcx, rax
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
jne 0x1400da7b8
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x1400da9d0
xor r15d, r15d
nop dword [rax + rax]
mov qword [rbp - 8], 7
mov qword [rbp - 0x10], r15
mov word [rbp - 0x20], r15w
mov qword [rbp + 0x18], 7
mov qword [rbp + 0x10], r15
mov word [rbp], r15w
mov qword [rbp + 0x38], 7
mov qword [rbp + 0x30], r15
mov word [rbp + 0x20], r15w
mov qword [rbp + 0x58], 7
mov qword [rbp + 0x50], r15
mov word [rbp + 0x40], r15w
cmp word [rbp + 0xa0], 0
jne 0x1400da813
mov r8, r15
jmp 0x1400da82b
lea rax, [rbp + 0xa0]
or r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x1400da820
lea rdx, [rbp + 0xa0]
lea rcx, [rbp - 0x20]
call fcn.140007090
cmp word [rbp + 0x2a0], 0
jne 0x1400da84a
mov r8, r15
jmp 0x1400da860
lea rax, [rbp + 0x2a0]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1400da855
lea rdx, [rbp + 0x2a0]
lea rcx, [rbp]
call fcn.140007090
mov eax, dword [rbp + 0x90]
mov dword [rbp + 0x60], eax
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], r15
mov word [rsp + 0x28], r15w
cmp word [rbp + 0x2a0], 0
jne 0x1400da89c
mov r8, r15
jmp 0x1400da8bb
lea rax, [rbp + 0x2a0]
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400da8b0
lea rdx, [rbp + 0x2a0]
lea rcx, [rsp + 0x28]
call fcn.140007090
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.1400db870
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], r15
mov word [rsp + 0x28], r15w
cmp word [rbp + 0x2a0], 0
jne 0x1400da8fd
mov r8, r15
jmp 0x1400da91b
lea rax, [rbp + 0x2a0]
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400da910
lea rdx, [rbp + 0x2a0]
lea rcx, [rsp + 0x28]
call fcn.140007090
lea rdx, [rbp + 0x40]
lea rcx, [rsp + 0x28]
call fcn.1400db6e0
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x50]
call fcn.1400d9c90
mov rdi, rax
lea rbx, [rax + 0x60]
mov r9d, 0xa
xor r8d, r8d
lea rdx, str.Microsoft
mov rcx, rbx
call fcn.140006ec0
cmp rax, 0xffffffffffffffff
jne 0x1400da98d
lea r9d, [rax + 8]
xor r8d, r8d
lea rdx, str.Google
mov rcx, rbx
call fcn.140006ec0
cmp rax, 0xffffffffffffffff
jne 0x1400da98d
mov bl, 1
jmp 0x1400da98f
xor bl, bl
mov rcx, rdi
call fcn.1400d9e30
test bl, bl
je 0x1400da9a8
lea rdx, [rbp - 0x20]
mov rcx, r14
call fcn.1400dc5e0
nop
lea rcx, [rbp - 0x20]
call fcn.1400d9e30
lea rdx, [rbp + 0x70]
mov rcx, rsi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x1400da7c0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rbp + 0x4b0]
xor rcx, rsp
call fcn.14012a1e0
mov rbx, qword [rsp + 0x600]
add rsp, 0x5c0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400dba40
Capabilities:
Get common file path

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x270]
sub rsp, 0x370
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x3a0], rbx
mov rax, qword [0x1402d9850]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rbp + 0x20], rcx
xor esi, esi
mov dword [rsp + 0x20], esi
lea rdx, [rbp + 0x50]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x1400dbacd
mov r8, qword [rbx + 0x18]
cmp r8, 8
jb 0x1400dbab0
inc r8
mov rdx, qword [rbx]
mov rcx, rbx
call fcn.140007540
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rsi
cmp qword [rbx + 0x18], 8
jb 0x1400dbac6
mov rbx, qword [rbx]
xor al, al
jmp 0x1400dbc15
lea rax, [0x14026d150]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x20], 1
lea rax, vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x4c], 0x78
xor r8d, r8d
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x48]
call fcn.1400435f0
nop
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + rcx + 0x30], rax
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x2c], edx
mov edx, 2
lea rcx, [rsp + 0x38]
call fcn.140042190
nop
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.140043d80
mov rcx, rax
lea rdx, [0x14025f110]
call fcn.140043d80
mov rcx, rax
lea rdx, [0x140232a78]
call fcn.140043d80
mov rcx, rax
lea rdx, str._cache_
call fcn.140043d80
mov rcx, rax
mov rdx, rbx
call fcn.140044070
mov rcx, rax
lea rdx, str..cache
call fcn.140043d80
lea rdx, [rbp + 0x28]
lea rcx, [rsp + 0x30]
call fcn.14003ffc0
mov rdx, rax
mov rcx, rdi
call fcn.140050cb0
mov r8, qword [rbp + 0x40]
cmp r8, 8
jb 0x1400dbbc6
inc r8
mov rdx, qword [rbp + 0x28]
lea rcx, [rbp + 0x28]
call fcn.140007540
nop
lea rcx, [rbp - 0x48]
call fcn.14003fff0
nop
lea rax, vtable.std::ios_base.0
mov qword [rbp - 0x48], rax
lea rcx, [rbp - 0x48]
call fcn.14010acb0
nop
mov r8, qword [rbx + 0x18]
cmp r8, 8
jb 0x1400dbbfd
inc r8
mov rdx, qword [rbx]
mov rcx, rbx
call fcn.140007540
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rsi
cmp qword [rbx + 0x18], 8
jb 0x1400dbc13
mov rbx, qword [rbx]
mov al, 1
mov word [rbx], si
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.14012a1e0
mov rbx, qword [rsp + 0x3a0]
add rsp, 0x370
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400dbc40
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x270
mov rax, qword [0x1402d9850]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov r14, rdx
mov dword [rsp + 0x20], 0x238
xor edx, edx
mov rbx, rcx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea rdx, [rsp + 0x20]
mov rcx, rax
mov rdi, rax
xor sil, sil
call sub.KERNEL32.dll_Process32FirstW
cmp eax, 1
jne 0x1400dbcdb
lea rdx, [rsp + 0x20]
mov rcx, rdi
call sub.KERNEL32.dll_Process32NextW
cmp eax, 1
jne 0x1400dbcdb
mov rcx, rbx
call fcn.1400067f0
mov rdx, rax
lea rcx, [rsp + 0x4c]
call fcn.1401324a4
test eax, eax
je 0x1400dbcd1
lea rdx, [rsp + 0x20]
mov rcx, rdi
call sub.KERNEL32.dll_Process32NextW
cmp eax, 1
je 0x1400dbca4
jmp 0x1400dbcdb
mov eax, dword [rsp + 0x28]
mov sil, 1
mov dword [r14], eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8, qword [rbx + 0x18]
cmp r8, 8
jb 0x1400dbcfc
mov rdx, qword [rbx]
inc r8
mov rcx, rbx
call fcn.140007540
xor eax, eax
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rax
cmp qword [rbx + 0x18], 8
jb 0x1400dbd14
mov rbx, qword [rbx]
mov word [rbx], ax
movzx eax, sil
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14012a1e0
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x270
pop r14
pop rdi
pop rsi
ret
Function at 0x1400dd1b0
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x1f0
mov qword [rsp + 0x98], 0xfffffffffffffffe
mov qword [rsp + 0x228], rbx
mov rax, qword [0x1402d9850]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
xor r14d, r14d
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x34], 0x78
lea r9, [rsp + 0x34]
lea r8, [rsp + 0x30]
lea rdx, str._Utils::MD5::Calculate_
lea rcx, [rsp + 0xb0]
call fcn.14003fda0
nop
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x20], 0xf0000000
lea r9d, [r14 + 1]
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x1400dd26b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x58], eax
lea rax, str.CryptAcquireContext
mov qword [rsp + 0x60], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0x58]
call fcn.14012ccc0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8003
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x1400dd2b6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x68], eax
lea rax, [0x140232fa8]
mov qword [rsp + 0x70], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0x68]
call fcn.14012ccc0
xor r9d, r9d
mov r8d, esi
mov rdx, rdi
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x1400dd2f8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x78], eax
lea rax, [0x140232fc8]
mov qword [rsp + 0x80], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0x78]
call fcn.14012ccc0
mov dword [rsp + 0x40], 0x10
mov dword [rsp + 0x20], r14d
lea r9, [rsp + 0x40]
mov r8, rbx
mov edx, 2
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x1400dd351
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x88], eax
lea rax, [0x140232fe8]
mov qword [rsp + 0x90], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0x88]
call fcn.14012ccc0
mov dword [rsp + 0x34], r14d
mov dword [rsp + 0x30], 1
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400dd36e
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400dd380
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ebx, dword [rsp + 0x30]
lea rcx, [rsp + 0xb0]
call fcn.14003fbb0
nop
mov ecx, dword [rsp + 0x34]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.14012a1e0
mov rbx, qword [rsp + 0x228]
add rsp, 0x1f0
pop r14
pop rdi
pop rsi
ret
mov rax, r8
mov rcx, rdx
mov rdx, rax
mov r8, r9
jmp 0x1400dd1b0
Function at 0x1400e23f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rdi
movzx eax, byte [rdx + 0x100]
mov rdi, r9
movzx r10d, byte [rdx + 0x101]
mov r11, rdx
test r9, r9
je 0x1400e24ae
mov qword [rsp + 0x10], rbx
nop word [rax + rax]
movzx eax, al
inc eax
and eax, 0x800000ff
jge 0x1400e2435
dec eax
or eax, 0xffffff00
inc eax
movzx r10d, r10b
movzx r9d, al
movzx ebx, byte [r9 + r11]
add r10d, ebx
and r10d, 0x800000ff
jge 0x1400e245b
dec r10d
or r10d, 0xffffff00
inc r10d
movzx edx, r10b
movzx ecx, byte [rdx + r11]
mov byte [r9 + r11], cl
mov byte [rdx + r11], bl
movzx edx, byte [r9 + r11]
add edx, ebx
and edx, 0x800000ff
jge 0x1400e2485
dec edx
or edx, 0xffffff00
inc edx
movzx ecx, dl
movzx edx, byte [rcx + r11]
xor byte [r8], dl
inc r8
sub rdi, 1
jne 0x1400e2420
mov rbx, qword [rsp + 0x10]
mov byte [r11 + 0x100], al
mov byte [r11 + 0x101], r10b
pop rdi
ret
mov byte [rdx + 0x100], al
mov byte [rdx + 0x101], r10b
pop rdi
ret

Function at 0x1400e3270
Capabilities:
Impersonate user

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x1a0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov rax, qword [0x1402d9850]
xor rax, rsp
mov qword [rsp + 0x198], rax
mov rdi, rdx
mov dword [rsp + 0x20], 0x78
xor ebx, ebx
mov qword [rdx], rbx
xor eax, eax
mov qword [r11 - 0x68], rax
mov qword [r11 - 0x58], rax
mov qword [r11 - 0x50], rax
mov qword [r11 - 0x48], rax
mov qword [r11 - 0x40], rax
mov qword [r11 - 0x38], rax
mov dword [r11 - 0x68], 0x38
lea rax, str.Test
mov qword [r11 - 0x60], rax
lea rdx, [r11 - 0x68]
call qword [sym.imp.USERENV.dll_LoadUserProfileW]
test eax, eax
jne 0x1400e330c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
lea rax, [0x140234748]
mov qword [rsp + 0x38], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0x30]
call fcn.14012ccc0
mov rax, qword [rsp + 0x170]
mov qword [rdi], rax
mov dword [rsp + 0x20], ebx
mov edi, 1
jmp 0x1400e332a
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.14012a1e0
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x1a0
pop rdi
ret
Function at 0x1400e8010
Capabilities:
Schedule task via itaskscheduler

Disassembly:
push rdi
sub rsp, 0x1a0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x1b0], rbx
mov rax, qword [0x1402d9850]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov rdi, rdx
mov dword [rsp + 0x30], 0x80004001
lea r8, [rsp + 0x30]
lea rdx, str._Utils::SystemSchedulerXP::OpenScheduler_
lea rcx, [rsp + 0x68]
call fcn.1400e5130
nop
xor ebx, ebx
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [0x140234d48]
xor edx, edx
lea r8d, [rbx + 1]
lea rcx, [0x140234d68]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x1400e80b2
mov dword [rsp + 0x50], eax
lea rax, [0x14021f658]
mov qword [rsp + 0x58], rax
lea rdx, [0x1402d5f30]
lea rcx, [rsp + 0x50]
call fcn.14012ccc0
mov rax, qword [rsp + 0x38]
mov qword [rdi], rax
mov dword [rsp + 0x30], ebx
jmp 0x1400e80c4
lea rcx, [rsp + 0x68]
call fcn.1400e58f0
mov eax, ebx
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14012a1e0
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x1a0
pop rdi
ret