joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800a97f0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
mov qword [rsp + 8], rcx
push rbp
lea rbp, [rsp - 0x1390]
mov eax, 0x1490
call fcn.1800b7a40
sub rsp, rax
mov r8d, 2
mov rdi, rdx
mov rbx, rcx
call fcn.180006c40
mov rdx, qword [0x180f641b8]
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
movzx r8d, bl
xor r8, rax
movzx eax, byte [rbp + 0x13a1]
imul r8, rcx
xor r8, rax
movzx eax, byte [rbp + 0x13a2]
imul r8, rcx
xor r8, rax
movzx eax, byte [rbp + 0x13a3]
imul r8, rcx
xor r8, rax
movzx eax, byte [rbp + 0x13a4]
imul r8, rcx
xor r8, rax
movzx eax, byte [rbp + 0x13a5]
imul r8, rcx
xor r8, rax
movzx eax, byte [rbp + 0x13a6]
imul r8, rcx
xor r8, rax
movzx eax, byte [rbp + 0x13a7]
imul r8, rcx
xor r8, rax
imul rcx, r8
and rcx, qword [0x180f641e0]
shl rcx, 4
add rcx, qword [0x180f641c8]
mov rax, qword [rcx + 8]
cmp rax, rdx
je 0x1800a98e3
mov rcx, qword [rcx]
cmp rbx, qword [rax + 0x10]
je 0x1800a98e5
cmp rax, rcx
je 0x1800a98e3
mov rax, qword [rax + 8]
cmp rbx, qword [rax + 0x10]
jne 0x1800a98d2
jmp 0x1800a98e5
xor eax, eax
test rax, rax
mov rcx, rdx
cmovne rcx, rax
cmp rcx, rdx
je 0x1800a9a36
lea rdx, [rbp + 0x13a0]
lea rcx, [0x180f641b0]
call fcn.1800a94a0
mov rcx, rax
call fcn.1800a9570
test al, al
je 0x1800a9a36
lea rdx, [rbp + 0x13a0]
lea rcx, [0x180f641b0]
call fcn.1800a94a0
mov rdx, rdi
lea rcx, str.jit_function_addr__p
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rsp + 0x30], xmm0
movsd xmm0, qword [rax + 0x20]
movsd qword [rsp + 0x60], xmm0
call fcn.180003ff0
xor edx, edx
lea rcx, [rsp + 0x78]
mov r8d, 0x178
call fcn.1800df510
xor eax, eax
lea rcx, [rbp + 0x120]
xor edx, edx
mov qword [rbp + 0xf8], rax
mov r8d, 0x448
mov qword [rbp + 0x108], rax
call fcn.1800df510
xor edx, edx
lea rcx, [rbp + 0x578]
mov r8d, 0x400
call fcn.1800df510
movups xmm1, xmmword [rsp + 0x20]
lea rdx, [rsp + 0x70]
mov r8d, 0xa08
movups xmm0, xmmword [rsp + 0x30]
mov qword [rsp + 0x70], rdi
movq rax, xmm1
mov qword [rbp + 0x568], rbx
movq qword [rbp + 0x110], xmm0
or rax, 0x401020
psrldq xmm0, 8
movq qword [rbp + 0x118], xmm0
movdqa xmm0, xmm1
psrldq xmm1, 0xc
mov qword [rbp + 0xf0], rax
movd eax, xmm1
psrldq xmm0, 8
movd dword [rbp + 0x570], xmm0
movsxd rcx, eax
mov qword [rbp + 0x100], rcx
lea rcx, [rbp + 0x980]
mov dword [rbp + 0x574], 2
call fcn.1800df8d0
mov rdx, qword [rsp + 0x60]
lea rcx, [rbp + 0x980]
call fcn.1800042f0
lea r11, [rsp + 0x1490]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1800af350
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, 0x5a4d
cmp cx, word [rax]
jne 0x1800af3e0
movsxd rdx, dword [rax + 0x3c]
cmp dword [rdx + rax], 0x4550
jne 0x1800af3e0
mov ecx, dword [rdx + rax + 0x98]
test rcx, rcx
je 0x1800af3e0
add rcx, rax
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x38], rcx
call fcn.1800b0d70
test rax, rax
je 0x1800af3e0
mov r9, 0xffffffffffffffff
nop word [rax + rax]
inc r9
cmp word [rbx + r9*2], 0
jne 0x1800af3b0
mov rdx, qword [rsp + 0x40]
add r9, r9
mov rcx, qword [rsp + 0x38]
add rdx, 0xfffffffffffffffc
mov r8, rbx
call fcn.1800b0de0
test rax, rax
setne al
add rsp, 0x20
pop rbx
ret
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x1800af8c0
Capabilities:
Enumerate gui resources

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rcx
mov qword [rcx], rax
mov rdx, rcx
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rax
lea rcx, [0x1800aedd0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x1800b0fb0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.1800b11d0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x1800b10b7
mov rax, qword [0x180111b50]
cmp qword [rsp + 0x20], rax
jb 0x1800b1014
mov rax, qword [0x180111b58]
cmp qword [rsp + 0x20], rax
ja 0x1800b1014
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1800b0fd6
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1800df510
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x1800b1043
jmp 0x1800b10b7
cmp dword [rsp + 0x50], 0x10000
jne 0x1800b109a
cmp qword [rsp + 0x48], 0x10000
jb 0x1800b109a
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800b1088
mov rax, qword [rsp + 0x28]
jmp 0x1800b10b9
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1800b10b2
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.1800b11d0
mov qword [rsp + 0x20], rax
jmp 0x1800b0fd6
xor eax, eax
add rsp, 0x68
ret
Function at 0x1800b10c0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.1800b1210
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x1800b11c3
mov rax, qword [0x180111b50]
cmp qword [rsp + 0x20], rax
jb 0x1800b111b
mov rax, qword [0x180111b58]
cmp qword [rsp + 0x20], rax
ja 0x1800b111b
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1800b10dd
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1800df510
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x1800b114a
jmp 0x1800b11c3
cmp dword [rsp + 0x50], 0x10000
jne 0x1800b11a1
cmp qword [rsp + 0x48], 0x10000
jb 0x1800b11a1
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800b118f
mov rax, qword [rsp + 0x28]
jmp 0x1800b11c5
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1800b11be
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.1800b1210
mov qword [rsp + 0x20], rax
jmp 0x1800b10dd
xor eax, eax
add rsp, 0x68
ret
Function at 0x1800b65fc
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1800b6636
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1800b663b
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1800b6684
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1800f3280]
cmp byte [rcx + rax], 0
je 0x1800b6684
dec r8
sub rdx, 1
jne 0x1800b666a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1800ce3c8
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1800ce437
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1800ce437
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1800ce437
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1800ce437
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1800ce437
cmp dword [rcx + 0x84], 0xe
jbe 0x1800ce437
cmp dword [rcx + 0xf8], 0
je 0x1800ce437
mov ecx, ebx
call fcn.1800ce4f4
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1800ce2c4
nop
cmp dword [rbp + 0x20], 0
je 0x1800ce485
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1800ce490
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1800ce3c8
Function at 0x140001000
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push rdi
sub rsp, 0x50
mov rax, qword [0x140003008]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor edx, edx
mov byte [rsp + 0x40], 1
mov ecx, 0x43a
mov r8d, 0x2fd4
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x1400010be
xor edx, edx
mov qword [rsp + 0x60], rbx
mov r9d, 0x1000
mov qword [rsp + 0x68], rsi
mov rcx, rax
mov dword [rsp + 0x20], 0x40
lea r8d, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
xor esi, esi
lea r8, [rsp + 0x40]
mov rdx, rax
mov qword [rsp + 0x20], rsi
mov rcx, rdi
mov rbx, rax
lea r9d, [rsi + 1]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x30], rsi
mov r9, rbx
mov dword [rsp + 0x28], esi
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rbx, qword [rsp + 0x60]
lea eax, [rsi - 1]
mov rsi, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400010f0
add rsp, 0x50
pop rdi
ret
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400010f0
add rsp, 0x50
pop rdi
ret

Function at 0x1400019cc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001a16
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001a16
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001a16
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001a16
cmp dword [rcx + 0x84], 0xe
jbe 0x140001a16
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001a18
xor al, al
add rsp, 0x28
ret
Function at 0x140011433
Capabilities:
Terminate process

Disassembly:
jmp 0x14001c5c0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret

Function at 0x140011532
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001d0f0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001d110
xor al, al
jmp 0x14001d191
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001d123
xor al, al
jmp 0x14001d191
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001d14d
xor al, al
jmp 0x14001d191
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001d161
xor al, al
jmp 0x14001d191
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001d173
xor al, al
jmp 0x14001d191
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001d18f
xor al, al
jmp 0x14001d191
mov al, 1
add rsp, 0x38
ret
Function at 0x14001a9e0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140011799
movzx eax, al
test eax, eax
jne 0x14001aa00
mov ecx, 7
call fcn.140011622
nop
mov byte [rsp + 0x20], 0
call fcn.140011668
mov byte [rsp + 0x21], al
cmp dword [0x140029520], 1
jne 0x14001aa24
mov ecx, 7
call fcn.140011622
nop
jmp 0x14001aa7c
cmp dword [0x140029520], 0
jne 0x14001aa77
mov dword [0x140029520], 1
lea rdx, [0x140023770]
lea rcx, [0x140023440]
call fcn.140011375
test eax, eax
je 0x14001aa58
mov eax, 0xff
jmp 0x14001ab81
lea rdx, [0x140023330]
lea rcx, [section..rdata]
call fcn.14001164f
mov dword [0x140029520], 2
jmp 0x14001aa7c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011604
call fcn.14001155a
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x14001aad9
mov rcx, qword [rsp + 0x30]
call fcn.1400112c6
movzx eax, al
test eax, eax
je 0x14001aad9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140030020]
nop
call fcn.1400115af
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001ab0d
mov rcx, qword [rsp + 0x38]
call fcn.1400112c6
movzx eax, al
test eax, eax
je 0x14001ab0d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011735
nop
call fcn.14001ac30
mov dword [rsp + 0x28], eax
call fcn.140011532
movzx eax, al
test eax, eax
jne 0x14001ab2c
mov ecx, dword [rsp + 0x28]
call fcn.140011096
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001ab3b
call fcn.140011744
nop
xor edx, edx
mov cl, 1
call fcn.14001128f
mov eax, dword [rsp + 0x28]
jmp 0x14001ab81
add rsp, 0x68
ret
Function at 0x1400191bd
Capabilities:
Write file on windows

Disassembly:
jmp 0x140024c90
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x1400751cd]
call fcn.14001a301
nop
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x140024ce8
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x140024dfa
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x140024d93
cmp qword [rbp + 0x28], 0
jle 0x140024d93
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x140024d31
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.14001a1e4
nop
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
nop
cmp qword [rbp + 0x130], 0
jle 0x140024de9
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x140024de9
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x14001938e
Capabilities:
Create thread

Disassembly:
jmp 0x14002bdf0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x188]
mov rax, qword [0x140068040]
xor rax, rbp
mov qword [rbp + 0x120], rax
lea rcx, [0x14007532c]
call fcn.14001a301
nop
mov edx, 8
lea rcx, [rbp + 8]
call fcn.140019573
mov rdx, qword [rbp + 0x158]
lea rcx, [rbp + 0x108]
call fcn.14001994c
mov qword [rbp + 0x118], rax
mov rdx, qword [rbp + 0x118]
lea rcx, [rbp + 8]
call fcn.1400193e3
nop
lea rcx, [rbp + 0x108]
call fcn.14001978a
nop
lea rax, [0x140019c8f]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x150]
add rax, 8
mov qword [rbp + 0x118], rax
lea rcx, [rbp + 8]
call fcn.140019ce9
mov rcx, qword [rbp + 0x118]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll__beginthreadex]
mov rcx, qword [rbp + 0x150]
mov qword [rcx], rax
mov rax, qword [rbp + 0x150]
cmp qword [rax], 0
je 0x14002bef3
lea rcx, [rbp + 8]
call fcn.1400197da
nop
jmp 0x14002bf0c
mov rax, qword [rbp + 0x150]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.140019415
nop
lea rcx, [rbp + 8]
call fcn.14001978a
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x140057660]
call fcn.140019ff0
mov rcx, qword [rbp + 0x120]
xor rcx, rbp
call fcn.1400198f7
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret
Function at 0x1400196e5
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
jmp 0x140033da0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x508
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xda
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x528]
mov rax, qword [0x140068040]
xor rax, rbp
mov qword [rbp + 0x4d8], rax
lea rcx, [0x14007532f]
call fcn.14001a301
nop
lea r8, [0x140058de4]
mov rdx, qword [rbp + 0x500]
lea rcx, [rbp + 0x458]
call fcn.14001a0c7
mov qword [rbp + 0x4c8], rax
mov rcx, qword [rbp + 0x4c8]
call fcn.140019604
lea rdx, [rbp + 0x10]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rbp + 0x278], rax
lea rcx, [rbp + 0x458]
call fcn.14001a06d
nop
cmp qword [rbp + 0x278], 0xffffffffffffffff
jne 0x140033e47
jmp 0x140033f46
lea rdx, [0x140058dec]
lea rcx, [rbp + 0x3c]
call qword [sym.imp.ucrtbased.dll_wcscmp]
test eax, eax
je 0x140033f1f
lea rdx, [0x140058df0]
lea rcx, [rbp + 0x3c]
call qword [sym.imp.ucrtbased.dll_wcscmp]
test eax, eax
je 0x140033f1f
lea r8, [0x140058df8]
mov rdx, qword [rbp + 0x500]
lea rcx, [rbp + 0x498]
call fcn.14001a0c7
mov qword [rbp + 0x4c8], rax
mov rax, qword [rbp + 0x4c8]
mov qword [rbp + 0x4d0], rax
lea r8, [rbp + 0x3c]
mov rdx, qword [rbp + 0x4d0]
lea rcx, [rbp + 0x298]
call fcn.140019b6d
nop
lea rcx, [rbp + 0x498]
call fcn.14001a06d
nop
mov eax, dword [rbp + 0x10]
and eax, 0x10
test eax, eax
je 0x140033efc
lea rcx, [rbp + 0x298]
call fcn.1400196e5
nop
lea rcx, [rbp + 0x298]
call fcn.140019604
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
nop
jmp 0x140033f12
lea rcx, [rbp + 0x298]
call fcn.140019604
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea rcx, [rbp + 0x298]
call fcn.14001a06d
nop
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x278]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140033e47
mov rcx, qword [rbp + 0x278]
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
lea rcx, [rbp - 0x20]
lea rdx, [0x140056100]
call fcn.140019ff0
mov rcx, qword [rbp + 0x4d8]
xor rcx, rbp
call fcn.1400198f7
lea rsp, [rbp + 0x4e8]
pop rdi
pop rbp
ret
Function at 0x140019a91
Capabilities:
Terminate process

Disassembly:
jmp 0x140041bb0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret
Function at 0x140019d39
Capabilities:
Parse pe header

Disassembly:
jmp 0x140043f10
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140043f30
xor al, al
jmp 0x140043fb1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140043f43
xor al, al
jmp 0x140043fb1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140043f6d
xor al, al
jmp 0x140043fb1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140043f81
xor al, al
jmp 0x140043fb1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140043f93
xor al, al
jmp 0x140043fb1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140043faf
xor al, al
jmp 0x140043fb1
mov al, 1
add rsp, 0x38
ret
Function at 0x140019dcf
Capabilities:
Check if file exists
Get file attributes

Disassembly:
jmp 0x140034670
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x14007532f]
call fcn.14001a301
nop
mov rcx, qword [rbp + 0x100]
call fcn.140019604
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0xffffffff
je 0x1400346c4
mov eax, dword [rbp + 4]
and eax, 0x10
test eax, eax
jne 0x1400346c4
mov dword [rbp + 0xd4], 1
jmp 0x1400346ce
mov dword [rbp + 0xd4], 0
movzx eax, byte [rbp + 0xd4]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x140019e42
Capabilities:
Get token membership

Disassembly:
jmp 0x140034e10
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x60]
lea rdi, [rsp + 0x60]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140068040]
xor rax, rbp
mov qword [rbp + 0x118], rax
lea rcx, [0x14007532f]
call fcn.14001a301
nop
mov dword [rbp + 4], 0
mov qword [rbp + 0x28], 0
mov byte [rbp + 0x44], 0
mov byte [rbp + 0x45], 0
mov byte [rbp + 0x46], 0
mov byte [rbp + 0x47], 0
mov byte [rbp + 0x48], 0
mov byte [rbp + 0x49], 5
lea rax, [rbp + 0x28]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0x220
mov r8d, 0x20
mov dl, 2
lea rcx, [rbp + 0x44]
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x140034ece
xor al, al
jmp 0x140034f11
lea r8, [rbp + 4]
mov rdx, qword [rbp + 0x28]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x140034ee9
mov dword [rbp + 4], 0
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
nop
cmp dword [rbp + 4], 0
je 0x140034f03
mov byte [rbp + 0x114], 1
jmp 0x140034f0a
mov byte [rbp + 0x114], 0
movzx eax, byte [rbp + 0x114]
mov rdi, rax
lea rcx, [rbp - 0x60]
lea rdx, [0x1400552c0]
call fcn.140019ff0
mov rax, rdi
mov rcx, qword [rbp + 0x118]
xor rcx, rbp
call fcn.1400198f7
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret