joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400132e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
mov byte [r11 + 0x18], r8b
mov byte [rsp + 0x10], dl
mov qword [r11 + 8], rcx
push rdi
push r13
sub rsp, 0x58
mov rax, qword [rcx + 0x2c8]
xor r8d, r8d
mov r13, r9
mov qword [rsp + 0x28], r8
mov r9, rcx
mov rdi, qword [rax]
mov qword [rsp + 0x20], rdi
cmp rdi, rax
je 0x1400134d7
mov qword [r11 + 0x20], rbx
mov qword [r11 - 0x18], rbp
mov qword [r11 - 0x20], rsi
mov qword [r11 - 0x28], r12
mov qword [r11 - 0x30], r14
mov qword [r11 - 0x38], r15
mov r15, qword [rdi + 0x40]
cmp r15, qword [r9 + 0x2b0]
je 0x14001344a
mov rax, qword [r15 + 0x20]
xor r14d, r14d
mov r12, qword [r13 + 0x10]
mov rbx, qword [rax]
cmp rbx, rax
je 0x14001344a
movzx edi, byte [rsp + 0x80]
mov rsi, qword [rbx + 0x20]
test rsi, rsi
je 0x1400133cd
movzx eax, byte [rsi + 0x88]
cmp dl, al
jne 0x1400133cd
movzx ebp, dil
xor bpl, 1
test dil, dil
je 0x1400133a0
test al, al
je 0x1400133a0
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x28]
test al, al
movzx ebp, bpl
mov eax, 1
cmove ebp, eax
test r12, r12
je 0x1400133c5
mov rax, qword [rsi]
mov rdx, r13
mov rcx, rsi
call qword [rax + 0x38]
test al, al
jne 0x1400133ca
mov rax, qword [rsi]
mov rdx, r13
mov rcx, rsi
call qword [rax + 0x48]
test al, al
jmp 0x1400133c8
test bpl, bpl
je 0x1400133cd
inc r14
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x1400133f9
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1400133f4
cmp rbx, qword [rax + 0x10]
jne 0x1400133f4
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1400133e1
mov rbx, rax
jmp 0x14001341f
mov rcx, qword [rax]
mov rbx, rax
cmp byte [rcx + 0x19], 0
jne 0x14001341f
nop word [rax + rax]
mov rax, qword [rcx]
mov rbx, rcx
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x140013410
movzx edx, byte [rsp + 0x78]
cmp rbx, qword [r15 + 0x20]
jne 0x140013364
mov rdi, qword [rsp + 0x20]
mov r8, qword [rsp + 0x28]
mov r9, qword [rsp + 0x70]
test r14, r14
je 0x14001344a
inc r8
mov qword [rsp + 0x28], r8
mov rax, qword [rdi + 0x10]
cmp byte [rax + 0x19], 0
je 0x14001347d
mov rax, qword [rdi + 8]
cmp byte [rax + 0x19], 0
jne 0x140013473
nop
cmp rdi, qword [rax + 0x10]
jne 0x140013473
mov rdi, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140013460
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x1400134a4
mov rdx, qword [rax]
mov rdi, rax
mov qword [rsp + 0x20], rax
cmp byte [rdx + 0x19], 0
jne 0x1400134a4
nop
mov rcx, qword [rdx]
mov rdi, rdx
mov qword [rsp + 0x20], rdx
mov rdx, rcx
cmp byte [rcx + 0x19], 0
je 0x140013490
movzx edx, byte [rsp + 0x78]
cmp rdi, qword [r9 + 0x2c8]
jne 0x140013334
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov r12, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x88]
mov rax, r8
add rsp, 0x58
pop r13
pop rdi
ret
Function at 0x1400134f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rax, qword [r9 + 0x10]
xor ebp, ebp
mov qword [rsp + 0x50], rax
mov r14, r9
mov rax, qword [rcx + 0x20]
movzx r15d, r8b
movzx r12d, dl
mov r13, rcx
mov rbx, qword [rax]
cmp rbx, rax
je 0x140013603
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rdi
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x1400135a2
movzx eax, byte [rdi + 0x88]
cmp r12b, al
jne 0x1400135a2
movzx esi, r15b
xor sil, 1
test r15b, r15b
je 0x140013572
test al, al
je 0x140013572
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x28]
test al, al
movzx esi, sil
mov eax, 1
cmove esi, eax
cmp qword [rsp + 0x50], 0
jbe 0x14001359a
mov rax, qword [rdi]
mov rdx, r14
mov rcx, rdi
call qword [rax + 0x38]
test al, al
jne 0x14001359f
mov rax, qword [rdi]
mov rdx, r14
mov rcx, rdi
call qword [rax + 0x48]
test al, al
jmp 0x14001359d
test sil, sil
je 0x1400135a2
inc rbp
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x1400135ce
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1400135c9
cmp rbx, qword [rax + 0x10]
jne 0x1400135c9
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1400135b6
mov rbx, rax
jmp 0x1400135ef
mov rdx, qword [rax]
mov rbx, rax
cmp byte [rdx + 0x19], 0
jne 0x1400135ef
nop word [rax + rax]
mov rcx, qword [rdx]
mov rbx, rdx
mov rdx, rcx
cmp byte [rcx + 0x19], 0
je 0x1400135e0
cmp rbx, qword [r13 + 0x20]
jne 0x140013535
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x68]
mov rax, rbp
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1400243c0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x280
mov rax, qword [0x1400fe3f8]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r12, rdx
mov r15, rcx
xor ebx, ebx
mov edi, ebx
mov esi, ebx
mov ebp, ebx
xor edx, edx
lea ecx, [rbx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x140024482
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdi, [0x140101af0]
mov qword [rsp + 0x20], rdi
mov rcx, rdi
call fcn.14007ca08
test eax, eax
jne 0x1400245a8
lea rdx, str.____Could_not_create_modules_snapshot._Error:
lea rcx, [0x140382470]
call fcn.140001910
mov r8, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
mov eax, dword [rcx + r8 + 0x18]
and eax, 0xfffff3ff
bts eax, 9
mov dword [rcx + r8 + 0x18], eax
mov edx, ebx
mov rcx, r8
call fcn.14001ee90
mov rcx, rax
call fcn.1400038c0
nop
mov rcx, rdi
call fcn.14007ca10
xor eax, eax
jmp 0x140024574
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x34]
call fcn.14009f630
mov dword [rsp + 0x30], 0x238
lea rdx, [rsp + 0x30]
mov rcx, r14
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x140024510
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdi, [0x140101af0]
mov qword [rsp + 0x20], rdi
mov rcx, rdi
call fcn.14007ca08
test eax, eax
jne 0x1400245a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.____Could_not_enumerate_processes._Error:
lea rcx, [0x140382470]
call fcn.140001910
mov rcx, rax
mov edx, ebx
call fcn.14001ee90
mov rcx, rax
call fcn.1400038c0
nop
mov rcx, rdi
call fcn.14007ca10
xor eax, eax
jmp 0x140024574
mov edx, dword [rsp + 0x38]
test edx, edx
je 0x140024546
mov r9, r12
lea r8, [rsp + 0x5c]
mov rcx, r15
call fcn.140024050
cmp eax, 1
jne 0x140024532
inc rsi
jmp 0x140024543
test eax, eax
jne 0x14002453b
inc rbp
jmp 0x140024543
cmp eax, 2
jne 0x140024543
inc rdi
inc rbx
lea rdx, [rsp + 0x30]
mov rcx, r14
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x140024510
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9, rbp
mov r8, rsi
mov rdx, rdi
mov rcx, r15
call fcn.140023920
mov rax, rbx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14009c8a0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov ecx, eax
call fcn.14007cb1c
int3
mov ecx, eax
call fcn.14007cb1c
int3
Function at 0x14002a210
Capabilities:
Acquire debug privileges

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1400fe3f8]
xor rax, rsp
mov qword [rsp + 0x68], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
lea r9, [rsp + 0x38]
xor r8d, r8d
lea edx, [r8 + 0x28]
call qword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
jne 0x14002a322
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3f0
jne 0x14002a322
mov ecx, 2
call qword [sym.imp.ADVAPI32.dll_ImpersonateSelf]
test eax, eax
je 0x14002a31b
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
lea r9, [rsp + 0x38]
xor r8d, r8d
lea edx, [r8 + 0x28]
call qword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
jne 0x14002a322
lea rdx, str.Error:_cannot_open_the_token
lea rcx, [0x140382470]
call fcn.140001910
mov rdi, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
mov rcx, qword [rcx + rax + 0x40]
mov rbx, qword [rcx + 8]
mov qword [rsp + 0x60], rbx
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 8]
nop
lea rcx, [rsp + 0x58]
call fcn.1400053a0
mov r8, qword [rax]
mov dl, 0xa
mov rcx, rax
call qword [r8 + 0x40]
movzx esi, al
test rbx, rbx
je 0x14002a307
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x10]
test rax, rax
je 0x14002a307
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
movzx edx, sil
mov rcx, rdi
call fcn.14001b590
mov rcx, rdi
call fcn.1400185f0
xor al, al
jmp 0x14002a3e7
mov rbx, qword [rsp + 0x38]
mov dword [rsp + 0x30], 0x10
lea r8, [rsp + 0x40]
lea rdx, [0x1400d5848]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x14002a34e
xor bl, bl
jmp 0x14002a3d9
mov dword [rsp + 0x58], 1
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x5c], rax
xor edi, edi
mov dword [rsp + 0x64], edi
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9d, [rdi + 0x10]
lea r8, [rsp + 0x58]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14002a347
mov dword [rsp + 0x48], 1
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x4c], rax
or dword [rsp + 0x54], 2
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov r9d, dword [rsp + 0x30]
lea r8, [rsp + 0x48]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
sete bl
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, bl
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14009c8a0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x1400333b0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x240
mov rax, qword [0x1400fe3f8]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov r10, qword [rcx]
xor r14d, r14d
mov rbx, rcx
cmp qword [r10 + 0x70], 0xffffffffffffffff
jne 0x1400334ec
mov qword [rsp + 0x268], rbp
call fcn.140032c40
mov rdi, qword [rbx]
lea r8d, [r14 + 0x30]
xorps xmm0, xmm0
mov qword [rsp + 0x40], 1
xorps xmm1, xmm1
lea rdx, [rsp + 0x40]
xor r9d, r9d
lea ecx, [r14 + 0x1f]
mov rax, qword [rdi + 0x68]
mov qword [rsp + 0x48], rax
movdqu xmmword [rsp + 0x50], xmm0
movdqu xmmword [rsp + 0x60], xmm1
call sub.ntdll.dll_NtQuerySystemInformation
mov ecx, eax
call fcn.140031520
mov r10, qword [rdi + 0x58]
xor r11b, r11b
mov rbp, qword [rdi + 0x60]
add rbp, r10
cmp r10, rbp
je 0x1400334c9
mov rsi, qword [rdi + 0x50]
mov rdi, qword [rdi + 0x48]
dec rsi
nop dword [rax + rax]
mov rcx, r10
lea rdx, [rsp + 0x50]
and ecx, 1
mov rax, r10
shr rax, 1
and rax, rsi
mov rax, qword [rdi + rax*8]
mov rcx, qword [rax + rcx*8]
mov r9d, dword [rcx + 0x8c]
mov eax, r9d
shr rax, 0x1d
lea rdx, [rdx + rax*4]
mov eax, r9d
and eax, 0x1fffffff
or dword [rdx], eax
test r9d, r9d
setne al
inc r10
or r11b, al
cmp r10, rbp
jne 0x140033460
test r11b, r11b
je 0x1400334c9
mov r8d, 0x30
lea rdx, [rsp + 0x40]
lea ecx, [r8 - 0x11]
call sub.ntdll.dll_NtSetSystemInformation
mov ecx, eax
call fcn.140031520
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.140032a90
mov r10, qword [rbx]
mov rbp, qword [rsp + 0x268]
cmp qword [r10 + 0x70], 0xffffffffffffffff
je 0x1400335ba
mov rax, qword [r10 + 0x58]
xor r8b, r8b
mov r11, qword [r10 + 0x60]
mov r9d, r14d
add r11, rax
cmp rax, r11
je 0x140033578
mov rdi, qword [r10 + 0x50]
mov rsi, qword [r10 + 0x48]
dec rdi
nop dword [rax]
mov rdx, rax
mov rcx, rax
shr rcx, 1
and edx, 1
and rcx, rdi
inc rax
mov rcx, qword [rsi + rcx*8]
mov rdx, qword [rcx + rdx*8]
or r8b, byte [rdx + 0x94]
or r9d, dword [rdx + 0x90]
cmp rax, r11
jne 0x140033510
test r8b, r8b
je 0x140033578
mov rcx, qword [r10 + 0x68]
lea rdx, [0x1400d2840]
mov eax, r9d
xor r9d, r9d
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], r14
lea r8d, [r9 + 1]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_EnableTraceEx2]
mov ecx, eax
call fcn.140031520
mov rcx, qword [rbx]
xor r9d, r9d
add rcx, 0x70
xor r8d, r8d
lea edx, [r9 + 1]
call qword [sym.imp.ADVAPI32.dll_ProcessTrace]
mov ecx, eax
call fcn.140031520
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14009c8a0
mov rbx, qword [rsp + 0x270]
add rsp, 0x240
pop r14
pop rdi
pop rsi
ret
lea rcx, [rsp + 0x40]
call fcn.14002cbc0
lea rdx, [0x1400fc640]
lea rcx, [rsp + 0x40]
call fcn.14009d9c0
int3
Function at 0x14003e820
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x1400fe3f8]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, rcx
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x104
call fcn.14009f630
mov edx, 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov qword [rbx + 0x18], 0xf
test eax, eax
jne 0x14003e87e
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 0x10], rax
mov byte [rbx], al
jmp 0x14003e8b7
xor eax, eax
mov byte [rsp + 0x32], 0
mov qword [rbx], rax
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x10], rax
mov byte [rbx], al
lea rax, [rsp + 0x30]
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14003e8a0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140012bb0
mov rax, rbx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14009c8a0
add rsp, 0x150
pop rbx
ret

Function at 0x14003f470
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp byte [0x140381cd0], 0
mov rbx, rcx
jne 0x14003f4b4
xor edx, edx
lea rcx, [0x140381cd0]
mov r8d, 0x104
call fcn.14009f630
mov r8d, 0x104
lea rdx, [0x140381cd0]
lea rcx, str._SystemRoot__system32
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [0x140381de0], 0
lea rdi, [0x140381de0]
jne 0x14003f4ea
xor edx, edx
mov r8d, 0x104
mov rcx, rdi
call fcn.14009f630
mov r8d, 0x104
lea rcx, str._SystemRoot_SysWoW64
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea rdx, [0x140381cd0]
mov rcx, rbx
call fcn.14003e760
test rax, rax
jne 0x14003f509
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdi + r8], 0
jne 0x14003f510
mov rdx, rdi
mov rcx, rbx
call fcn.14009ef80
mov rbx, qword [rsp + 0x30]
mov al, 1
add rsp, 0x20
pop rdi
ret
Function at 0x14003fb10
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x340
mov rax, qword [0x1400fe3f8]
xor rax, rsp
mov qword [rsp + 0x330], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x30], rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xor edx, edx
mov r8d, 0x20c
lea rcx, [rsp + 0x120]
call fcn.14009f630
mov dword [rsp + 0x20], 9
mov r9d, 0x20c
lea r8, [rsp + 0x120]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_ZwQueryInformationFile]
test eax, eax
je 0x14003fb97
xor ebx, ebx
mov qword [rdi], rbx
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], rbx
mov byte [rdi], bl
jmp 0x14003fcce
lea rcx, [rsp + 0xa0]
call fcn.140005e10
nop
lea r9, [rsp + 0x124]
cmp word [rsp + 0x124], 0
je 0x14003fbcb
nop dword [rax + rax]
add r9, 2
cmp word [r9], 0
jne 0x14003fbc0
lea r8, [rsp + 0x124]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0xa0]
call fcn.140025270
nop
lea rcx, [rsp + 0x80]
call fcn.14003e820
nop
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
mov rcx, rax
call fcn.1400129a0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm0
xor ebx, ebx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], bl
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x14003fc71
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003fc6b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003fcf8
call fcn.14006b0f0
nop
mov rdx, qword [rsp + 0x98]
cmp rdx, 0x10
jb 0x14003fcb0
inc rdx
mov rcx, qword [rsp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003fcab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003fcf2
call fcn.14006b0f0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rdi + 0x10], xmm1
lea rcx, [rsp + 0xa0]
call fcn.14000b590
mov rax, rdi
mov rcx, qword [rsp + 0x330]
xor rcx, rsp
call fcn.14009c8a0
mov rbx, qword [rsp + 0x360]
add rsp, 0x340
pop rdi
ret
call fcn.1400a3548
nop
call fcn.1400a3548
int3
Function at 0x1400449b0
Capabilities:
Acquire debug privileges

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1400fe3f8]
xor rax, rsp
mov qword [rsp + 0x68], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
lea r9, [rsp + 0x38]
xor r8d, r8d
lea edx, [r8 + 0x28]
call qword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
jne 0x140044ac2
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3f0
jne 0x140044ac2
mov ecx, 2
call qword [sym.imp.ADVAPI32.dll_ImpersonateSelf]
test eax, eax
je 0x140044abb
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
lea r9, [rsp + 0x38]
xor r8d, r8d
lea edx, [r8 + 0x28]
call qword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
jne 0x140044ac2
lea rdx, str.Error:_cannot_open_the_token
lea rcx, [0x140382470]
call fcn.140001910
mov rdi, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
mov rcx, qword [rcx + rax + 0x40]
mov rbx, qword [rcx + 8]
mov qword [rsp + 0x60], rbx
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 8]
nop
lea rcx, [rsp + 0x58]
call fcn.1400053a0
mov r8, qword [rax]
mov dl, 0xa
mov rcx, rax
call qword [r8 + 0x40]
movzx esi, al
test rbx, rbx
je 0x140044aa7
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x10]
test rax, rax
je 0x140044aa7
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
movzx edx, sil
mov rcx, rdi
call fcn.14001b590
mov rcx, rdi
call fcn.1400185f0
xor al, al
jmp 0x140044b87
mov rbx, qword [rsp + 0x38]
mov dword [rsp + 0x30], 0x10
lea r8, [rsp + 0x40]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
jne 0x140044aee
xor bl, bl
jmp 0x140044b79
mov dword [rsp + 0x58], 1
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x5c], rax
xor edi, edi
mov dword [rsp + 0x64], edi
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9d, [rdi + 0x10]
lea r8, [rsp + 0x58]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140044ae7
mov dword [rsp + 0x48], 1
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x4c], rax
or dword [rsp + 0x54], 2
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov r9d, dword [rsp + 0x30]
lea r8, [rsp + 0x48]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
sete bl
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, bl
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14009c8a0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140048e10
Capabilities:
Create thread
Terminate thread

Disassembly:
push rsi
sub rsp, 0x60
mov rsi, rcx
test rcx, rcx
jne 0x140048e26
xor eax, eax
add rsp, 0x60
pop rsi
ret
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x58], rbp
xor ebp, ebp
mov ebx, ebp
mov qword [rsp + 0x50], rdi
call fcn.140048d30
test al, al
je 0x140048eba
call fcn.140048d30
test al, al
jne 0x140048e52
mov edi, ebp
jmp 0x140048e78
lea r9, [rsp + 0x70]
mov qword [rsp + 0x70], rbp
xor r8d, r8d
mov edx, 0x280018bd
mov rcx, rsi
call qword [0x140381f20]
mov rdi, qword [rsp + 0x70]
test eax, eax
cmovne rdi, rbp
mov r9d, 8
mov qword [rsp + 0x78], rbp
lea r8, [rsp + 0x78]
mov rcx, rdi
lea edx, [r9 - 7]
call qword [0x140381f30]
mov rbx, qword [rsp + 0x78]
test eax, eax
cmovne rbx, rbp
test rdi, rdi
je 0x140048eb1
mov rdx, rdi
mov rcx, rsi
call qword [0x140381f28]
test rbx, rbx
jne 0x140048f8c
cmp qword [0x140381f18], rbp
jne 0x140048ef9
lea rcx, [0x1400d7118]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x140048f8c
lea rdx, str.RtlCreateProcessReflection
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140048f8c
mov qword [0x140381f18], rax
xorps xmm0, xmm0
mov qword [rsp + 0x28], rbp
lea r9, [rsp + 0x30]
mov qword [rsp + 0x30], rsi
lea r8, [0x140048fd0]
mov dword [rsp + 0x20], ebp
xor edx, edx
xor ecx, ecx
movdqu xmmword [rsp + 0x38], xmm0
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
mov edx, 0x3e8
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x140048fa7
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcessId]
lea rdx, [0x1400d7178]
mov ebx, eax
lea rcx, [0x140382470]
call fcn.140001910
mov rcx, rax
mov edx, ebx
call fcn.14001ee90
mov rcx, rax
lea rdx, str.__Cannot_create_reflection:_timeout_passed__n
call fcn.140001910
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, rbp
mov rbp, qword [rsp + 0x58]
mov rax, rbx
mov rbx, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x50]
add rsp, 0x60
pop rsi
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [rsp + 0x44], bpl
je 0x140048f89
mov rcx, qword [rsp + 0x38]
mov rbx, rbp
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
cmovbe rbx, rcx
jmp 0x140048f8c

Function at 0x140049040
Capabilities:
Terminate process

Disassembly:
push rdi
sub rsp, 0x20
mov rdi, rcx
test rcx, rcx
je 0x140049085
mov rcx, qword [rcx]
test rcx, rcx
je 0x140049085
xor edx, edx
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rdi]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
mov qword [rdi], 0
mov rbx, qword [rsp + 0x30]
setne al
add rsp, 0x20
pop rdi
ret
xor al, al
add rsp, 0x20
pop rdi
ret