joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004cfb0
Capabilities:
Create directory

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x1400b52a0]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbx, rcx
test rcx, rcx
je 0x14004d015
cmp word [rcx], 0
je 0x14004d015
lea rdx, [rsp + 0x20]
call fcn.14000ba10
lea rcx, [rsp + 0x20]
call fcn.14004d950
test al, al
jne 0x14004d003
cmp word [rsp + 0x20], 0
je 0x14004d003
lea rcx, [rsp + 0x20]
call fcn.14004cfb0
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne al
jmp 0x14004d017
xor al, al
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14005b9c0
add rsp, 0x240
pop rbx
ret

Function at 0x14004d2e0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rdi, r8
mov rsi, rdx
xor r8d, r8d
mov rdx, r9
mov rbx, rcx
call fcn.14004d440
cmp rax, 0xffffffffffffffff
jne 0x14004d31b
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], 0
mov r8d, edi
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [rsp + 0x30]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x14004d360
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rdi, r8
mov dword [rsp + 0x30], 0
mov rsi, rdx
xor r8d, r8d
mov rdx, r9
mov rbx, rcx
call fcn.14004d440
cmp rax, 0xffffffffffffffff
jne 0x14004d3a3
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], 0
mov r8d, edi
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [rsp + 0x30]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x14004d3e0
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x38
xor eax, eax
lea r9, [rsp + 0x58]
mov dword [rsp + 0x58], eax
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [rsp + 0x58]
add rsp, 0x38
ret

Function at 0x14004d490
Capabilities:
Get file size

Disassembly:
sub rsp, 0x28
lea rdx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov rcx, qword [rsp + 0x38]
or rdx, 0xffffffffffffffff
test eax, eax
cmove rcx, rdx
mov rax, rcx
add rsp, 0x28
ret

Function at 0x14004d510
Capabilities:
Copy file

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x14004d53d
cmp word [rcx], 0
je 0x14004d53d
test rdx, rdx
je 0x14004d53d
cmp word [rdx], 0
je 0x14004d53d
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
setne al
add rsp, 0x28
ret
xor al, al
add rsp, 0x28
ret

Function at 0x14004d550
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x14004d56f
cmp word [rcx], 0
je 0x14004d56f
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne al
add rsp, 0x28
ret
xor al, al
add rsp, 0x28
ret

Function at 0x14004d580
Capabilities:
Move file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne al
add rsp, 0x28
ret
Function at 0x14004d950
Capabilities:
Check if file exists
Get disk information
Get file attributes

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x14004d990
cmp word [rcx], 0
je 0x14004d990
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14004d984
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
setne al
add rsp, 0x20
pop rbx
ret
shr eax, 4
and eax, 1
add rsp, 0x20
pop rbx
ret
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x14004d9a0
Capabilities:
Delete directory

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x14004d9bf
cmp word [rcx], 0
je 0x14004d9bf
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne al
add rsp, 0x28
ret
xor al, al
add rsp, 0x28
ret

Function at 0x14004da50
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x14004dab2
cmp word [rcx], 0
je 0x14004dab2
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov r8d, eax
cmp eax, 0xffffffff
jne 0x14004da74
or eax, eax
add rsp, 0x28
ret
mov ecx, r8d
and ecx, 2
mov edx, ecx
or edx, 1
and al, 1
mov eax, r8d
cmove edx, ecx
mov ecx, edx
or ecx, 0x10
and al, 0x10
mov eax, r8d
cmove ecx, edx
mov edx, ecx
or edx, 4
and al, 4
cmove edx, ecx
mov eax, edx
or eax, 0x20
and r8d, 0x800
cmove eax, edx
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret

Function at 0x14004e140
Capabilities:
Get disk size

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x14004e1e5
cmp word [rcx], 0
je 0x14004e1e5
call fcn.140003bb0
add eax, 0xfffffffe
cmp eax, 1
ja 0x14004e1a4
cmp word [rbx + 2], 0x3a
jne 0x14004e1a4
xor eax, eax
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov rcx, rbx
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov rax, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret
mov r8d, 0x10001
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14004cf10
test al, al
jne 0x14004e1c5
or rax, 0xffffffffffffffff
add rsp, 0x20
pop rbx
ret
mov rcx, qword [rsp + 0x30]
call fcn.14004d490
mov rcx, qword [rsp + 0x30]
mov rbx, rax
call fcn.14004d1c0
mov rax, rbx
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x14004e4e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x14004e507
cmp word [rcx], 0
je 0x14004e507
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14004e507
shr eax, 4
not eax
and eax, 1
add rsp, 0x28
ret
xor al, al
add rsp, 0x28
ret

Function at 0x14004f6a0
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x238
mov rax, qword [0x1400b52a0]
xor rax, rsp
mov qword [rsp + 0x220], rax
xor eax, eax
lea rdx, [rsp + 0x20]
mov r8d, 0x100
mov word [rsp + 0x20], ax
lea rcx, str.NUMBER_OF_PROCESSORS
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtol]
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.14005b9c0
add rsp, 0x238
ret
Function at 0x14004f810
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov ebx, ecx
mov edi, edx
lea rcx, [rsp + 0x50]
call fcn.14004f7c0
mov eax, dword [0x1400b73d8]
lea r14, [0x1400b5010]
mov r11d, dword [0x1400b73dc]
xor edx, edx
mov r9, qword [rsp + 0x50]
cmp eax, 0x218
movabs r15, 0xf2b9d6480f2b9d65
lea ecx, [rax + 1]
cmovae ecx, edx
lea esi, [r11 + 1]
mov dword [0x1400b73d8], ecx
lea ebp, [rdx + 8]
mov r10d, dword [rcx + r14]
add r10d, r9d
nop word [rax + rax]
lea ecx, [rsi - 1]
mov rax, r15
mul rcx
mov r8d, r11d
shr rdx, 9
imul rax, rdx, 0x21c
sub rcx, rax
mov rax, r15
xor r10d, dword [r14 + rcx*4]
sub r8d, r10d
mov ecx, esi
mul rcx
add r8d, r9d
mov r9d, r11d
shr rdx, 9
xor r8d, r11d
imul rax, rdx, 0x21c
sub rcx, rax
mov rax, r15
xor r10d, dword [r14 + rcx*4]
lea ecx, [rsi + 1]
mul rcx
sub r9d, r10d
add r9d, r8d
shr rdx, 9
imul rax, rdx, 0x21c
xor r9d, r11d
mov r8d, r11d
sub rcx, rax
mov rax, r15
xor r10d, dword [r14 + rcx*4]
lea ecx, [rsi + 2]
mul rcx
sub r8d, r10d
add esi, 4
add r8d, r9d
shr rdx, 9
imul rax, rdx, 0x21c
xor r8d, r11d
sub rcx, rax
mov eax, r11d
xor r10d, dword [r14 + rcx*4]
sub eax, r10d
add eax, r8d
xor eax, r11d
mov r9d, eax
sub rbp, 1
jne 0x14004f880
mov dword [0x1400b73dc], eax
cmp edi, ebx
jae 0x14004f939
mov eax, ebx
jmp 0x14004f94d
je 0x14004f935
sub edi, ebx
add edi, 1
je 0x14004f949
xor edx, edx
div edi
mov r9d, edx
lea eax, [r9 + rbx]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x1400506f0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x2b0
mov rax, qword [0x1400b52a0]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov r10, rcx
mov dword [rsp + 0x20], WSACleanup
movzx ecx, byte [rsp + 0x2e8]
lea rax, [0x14006ef20]
test cl, cl
mov dword [rsp + 0x24], 0x40
mov rbx, r8
mov qword [rsp + 0x38], r10
lea r8, str.runas
mov qword [rsp + 0x40], rdx
cmovne rax, r8
movzx edi, r9b
mov qword [rsp + 0x30], rax
xor eax, eax
cmp byte [rsp + 0x2e0], al
mov qword [rsp + 0x28], rax
sete al
mov dword [rsp + 0x50], eax
test rbx, rbx
jne 0x14005078b
test r10, r10
je 0x14005078b
lea rdx, [rsp + 0x90]
mov rcx, r10
lea rbx, [rsp + 0x90]
call fcn.14000ba10
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x48], rbx
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
setne bl
test dil, dil
je 0x1400507bf
test bl, bl
je 0x1400507bf
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x1400507bf
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
movzx eax, bl
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.14005b9c0
mov rbx, qword [rsp + 0x2d8]
add rsp, 0x2b0
pop rdi
ret
Function at 0x140050d10
Capabilities:
Copy file
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov eax, 0x410
mov rbp, rdx
or word [rcx + 0x20], ax
mov rdi, rcx
movzx eax, word [rcx + 0x20]
test r8d, r8d
je 0x140050d42
or ax, 0x40
mov word [rcx + 0x20], ax
mov rax, qword [rdx + 0x28]
xor esi, esi
mov ebx, esi
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140050d75
cmp byte [rax + 0x1c], sil
je 0x140050d75
mov ecx, dword [rax + 0x30]
inc ecx
add ebx, ecx
lea rcx, [rsp + 0x40]
call fcn.140007330
mov rax, qword [rsp + 0x40]
jmp 0x140050d52
lea eax, [rbx + 1]
mov rcx, 0xffffffffffffffff
movsxd rbx, eax
mov eax, 2
mul rbx
cmovo rax, rcx
mov rcx, rax
call fcn.14005c004
lea r8, [rbx + rbx]
xor edx, edx
mov rcx, rax
mov r14, rax
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rbp + 0x28]
mov ebx, esi
lea rbp, [0x1400b73c0]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
nop dword [rax]
test rax, rax
je 0x140050dfa
cmp byte [rax + 0x1c], sil
je 0x140050dfa
mov rcx, qword [rax + 0x28]
mov rdx, rbp
test rcx, rcx
movsxd rax, ebx
cmovne rdx, rcx
lea rcx, [r14 + rax*2]
call fcn.140008b90
inc eax
lea rcx, [rsp + 0x40]
add ebx, eax
call fcn.140007330
mov rax, qword [rsp + 0x40]
jmp 0x140050dc0
mov rcx, rdi
mov dword [rdi + 8], 3
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], rsi
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov edx, 2
mov rcx, r14
mov ebx, eax
call fcn.140009330
mov rbp, qword [rsp + 0x50]
test ebx, ebx
mov rbx, qword [rsp + 0x48]
sete al
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x140050f90
Capabilities:
Copy file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x1400b52a0]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov eax, 0x400
mov r14d, r9d
or word [rcx + 0x20], ax
mov rbp, r8
cmp dword [rsp + 0x290], 0
mov rbx, rdx
movzx eax, word [rcx + 0x20]
mov rdi, rcx
je 0x140050fe2
or ax, 8
mov word [rcx + 0x20], ax
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, CGlobalUtils::CGlobalUtils
call sub.VCRUNTIME140.dll_memset
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.140008b90
mov rax, qword [rbp + 0x28]
xor ebx, ebx
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
nop
test rax, rax
je 0x140051033
cmp byte [rax + 0x1c], 0
je 0x140051033
mov ecx, dword [rax + 0x30]
inc ecx
add ebx, ecx
lea rcx, [rsp + 0x20]
call fcn.140007330
mov rax, qword [rsp + 0x20]
jmp 0x140051010
lea eax, [rbx + 1]
mov rcx, 0xffffffffffffffff
movsxd rbx, eax
mov eax, 2
mul rbx
cmovo rax, rcx
mov rcx, rax
call fcn.14005c004
lea r8, [rbx + rbx]
xor edx, edx
mov rcx, rax
mov rsi, rax
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rbp + 0x28]
xor ebx, ebx
lea rbp, [0x1400b73c0]
mov rcx, qword [rcx]
mov qword [rsp + 0x20], rcx
nop word [rax + rax]
test rcx, rcx
je 0x1400510ba
cmp byte [rcx + 0x1c], 0
je 0x1400510ba
mov rax, qword [rcx + 0x28]
mov rdx, rbp
test rax, rax
cmovne rdx, rax
movsxd rax, ebx
lea rcx, [rsi + rax*2]
call fcn.140008b90
inc eax
lea rcx, [rsp + 0x20]
add ebx, eax
call fcn.140007330
mov rcx, qword [rsp + 0x20]
jmp 0x140051080
neg r14d
mov qword [rdi + 0x10], rsi
mov rcx, rdi
sbb eax, eax
add eax, 2
mov dword [rdi + 8], eax
lea rax, [rsp + 0x30]
mov qword [rdi + 0x18], rax
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov edx, 2
mov rcx, rsi
mov ebx, eax
call fcn.140009330
test ebx, ebx
jne 0x1400510f7
cmp dword [rdi + 0x24], ebx
jne 0x1400510f7
mov al, 1
jmp 0x1400510f9
xor al, al
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14005b9c0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140052030
Capabilities:
Create shortcut via ishelllink

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rbp, rdx
lea rax, [rsp + 0x30]
xor edx, edx
mov qword [rsp + 0x20], rax
mov rbx, r9
mov rdi, r8
mov rsi, rcx
lea r9, [0x140070260]
lea rcx, [0x140070280]
lea r8d, [rdx + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14005209d
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x38]
lea rdx, [0x140070270]
mov rax, qword [rcx]
call qword [rax]
mov rcx, qword [rsp + 0x30]
test eax, eax
mov rax, qword [rcx]
jns 0x1400520a1
call qword [rax + reloc.WS2_32.dll_recv]
xor al, al
jmp 0x140052112
mov rdx, rsi
call qword [rax + 0xa0]
test rdi, rdi
je 0x1400520bd
mov rcx, qword [rsp + 0x30]
mov rdx, rdi
mov rax, qword [rcx]
call qword [rax + 0x48]
test rbx, rbx
je 0x1400520d0
mov rcx, qword [rsp + 0x30]
mov rdx, rbx
mov rax, qword [rcx]
call qword [rax + gethostname]
mov rcx, qword [rsp + 0x30]
mov edx, dword [rsp + 0x70]
mov rax, qword [rcx]
call qword [rax + 0x78]
mov rcx, qword [rsp + 0x38]
mov r8d, 1
mov rdx, rbp
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rcx, qword [rsp + 0x38]
mov ebx, eax
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
xor eax, eax
test ebx, ebx
setns al
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140052130
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0xb00
mov rax, qword [0x1400b52a0]
xor rax, rsp
mov qword [rsp + 0xaf0], rax
mov rbp, qword [rsp + 0xb50]
xor eax, eax
movzx r14d, r8b
mov qword [rsp + 0x50], rax
mov rdi, rdx
mov qword [rsp + 0x58], rax
mov rsi, rcx
mov qword [rsp + 0x60], rax
lea r8d, [rax + 0x68]
xor edx, edx
lea rcx, [rsp + 0x70]
movzx ebx, r9b
call sub.VCRUNTIME140.dll_memset
xor r15d, r15d
mov dword [rsp + 0x70], 0x68
test bl, bl
mov dword [rsp + 0xac], 1
mov eax, r15d
sete al
mov word [rsp + 0xb0], ax
test rbp, rbp
jne 0x1400521d4
test rsi, rsi
je 0x1400521d4
lea rdx, [rsp + 0xe0]
mov rcx, rsi
lea rbp, [rsp + 0xe0]
call fcn.14000ba10
test rdi, rdi
je 0x14005221e
test rsi, rsi
je 0x140052208
cmp word [rdi], 0x20
je 0x140052208
lea rdx, [0x14006e914]
lea rcx, [rsp + 0x2f0]
call fcn.140008b90
mov r8d, 0x3ff
lea rcx, [rsp + 0x2f2]
jmp 0x140052216
mov r8d, 0x400
lea rcx, [rsp + 0x2f0]
mov rdx, rdi
call fcn.140003bf0
lea rax, [rsp + 0x50]
test rdi, rdi
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x2f0]
cmove rdx, r15
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
xor r9d, r9d
mov qword [rsp + 0x38], rbp
xor r8d, r8d
mov qword [rsp + 0x30], r15
mov rcx, rsi
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
setne bl
test r14b, r14b
je 0x140052280
test bl, bl
je 0x140052280
mov rcx, qword [rsp + 0x50]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
movzx eax, bl
mov rcx, qword [rsp + 0xaf0]
xor rcx, rsp
call fcn.14005b9c0
mov rbx, qword [rsp + 0xb40]
add rsp, 0xb00
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400522b0
Capabilities:
Shutdown system

Disassembly:
sub rsp, 0x58
mov rax, qword [0x1400b52a0]
xor rax, rsp
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x30]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x1400522f4
xor al, al
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14005b9c0
add rsp, 0x58
ret
lea r8, [rsp + 0x3c]
xor ecx, ecx
lea rdx, str.SeShutdownPrivilege
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x38]
xor eax, eax
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x44], 2
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400522e0
xor edx, edx
lea ecx, [rax + 5]
call qword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
setne al
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14005b9c0
add rsp, 0x58
ret
Function at 0x1800193d8
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rax, qword [rdx]
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx], rax
je 0x1800194aa
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov r9d, dword [rcx + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x18001948a
mov r10d, dword [r9 + 0x18]
test r10d, r10d
je 0x18001948a
mov r15d, dword [r9 + 0x20]
dec r10d
mov ebp, 0x30f70e57
lea rcx, [r15 + r10*4]
mov r11d, dword [rcx + r8]
add r11, r8
mov sil, byte [r11]
inc r11
test sil, sil
je 0x180019485
movsx ecx, sil
sub sil, 0x41
mov edx, ecx
or edx, 0x20
cmp sil, 0x19
mov sil, byte [r11]
cmova edx, ecx
inc r11
xor edx, ebp
imul ebp, edx, 0x1000193
test sil, sil
jne 0x180019456
cmp ebp, 0x8e822aab
je 0x18001948f
test r10d, r10d
jne 0x180019438
mov rax, qword [rax]
jmp 0x180019413
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + r10*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
add rax, r8
call rax
mov rax, qword [rbx]
movzx ecx, byte [rax]
cmp ecx, 5
ja 0x1800194d9
je 0x1800194d9
test ecx, ecx
je 0x1800194d9
sub ecx, 1
je 0x1800194cf
sub ecx, 1
jne 0x1800194d9
mov rax, qword [rdi + 0x10]
cmp qword [rbx + 0x10], rax
jmp 0x1800194e1
mov rax, qword [rdi + 8]
cmp qword [rbx + 8], rax
jmp 0x1800194e1
mov rax, qword [rdi + 0x18]
cmp qword [rbx + 0x18], rax
mov rbx, qword [rsp + 0x40]
sete al
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x180019598
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
xor r10d, r10d
mov rbx, rdx
mov r11, rcx
test r9b, r9b
je 0x1800195ea
test r8, r8
je 0x18001960d
movabs r9, 0x100000001b3
mov al, byte [rbx + r10]
mov dl, byte [rbx + r10]
add al, 0x20
movzx ecx, al
sub dl, 0x41
movzx eax, byte [rbx + r10]
cmp dl, 0x19
cmova ecx, eax
inc r10
imul r11, r9
movsx rax, cl
xor r11, rax
cmp r10, r8
jb 0x1800195ba
jmp 0x18001960d
test r8, r8
je 0x18001960d
movabs r9, 0x100000001b3
movsx rcx, byte [rdx + r10]
inc r10
imul r11, r9
xor r11, rcx
cmp r10, r8
jb 0x1800195f9
mov rbx, qword [rsp + 8]
mov rax, r11
ret
xor r8d, r8d
cmp byte [rcx], r8b
je 0x180023eda
inc r8
cmp byte [rcx + r8], 0
jne 0x180023ed0
mov r9b, dl
mov rdx, rcx
movabs rcx, 0xcbf29ce484222325
jmp 0x180019598
Function at 0x18001dbb0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
xor ebx, ebx
mov r15, rdx
cmp byte [rcx], 4
mov rdi, rcx
je 0x18001dc86
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov r9d, dword [rcx + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x18001dc66
mov r10d, dword [r9 + 0x18]
test r10d, r10d
je 0x18001dc66
mov r12d, dword [r9 + 0x20]
dec r10d
mov ebp, 0x8d3ddffd
lea rcx, [r12 + r10*4]
mov r11d, dword [rcx + r8]
add r11, r8
mov sil, byte [r11]
inc r11
test sil, sil
je 0x18001dc61
movsx ecx, sil
sub sil, 0x41
mov edx, ecx
or edx, 0x20
cmp sil, 0x19
mov sil, byte [r11]
cmova edx, ecx
inc r11
xor edx, ebp
imul ebp, edx, 0x1000193
test sil, sil
jne 0x18001dc32
cmp ebp, 0x6d713191
je 0x18001dc6b
test r10d, r10d
jne 0x18001dc14
mov rax, qword [rax]
jmp 0x18001dbef
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + r10*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
add rax, r8
call rax
cmp byte [rdi], 4
lea rax, [rdi + 8]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
cmove rbx, rax
mov rdi, qword [rsp + 0x58]
mov al, byte [rbx]
mov rbx, qword [rsp + 0x40]
mov byte [r15], al
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x18001dcb8
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
movzx r9d, byte [rcx]
xor r8d, r8d
mov r11, rdx
mov r10, rcx
cmp r9d, 5
ja 0x18001dd38
je 0x18001dd1a
mov edx, r9d
test r9d, r9d
je 0x18001dd4d
sub edx, 1
je 0x18001dd4d
sub edx, 1
je 0x18001dd4d
sub edx, 1
je 0x18001dd4d
cmp edx, 1
jne 0x18001dd4d
lea rax, [rcx + 8]
cmp r9b, 4
cmove r8, rax
movzx eax, byte [r8]
mov dword [r11], eax
jmp 0x18001de1b
sub r9b, 5
cmp r9b, 1
setbe al
add rcx, 8
neg al
sbb rax, rax
and rax, rcx
mov eax, dword [rax]
jmp 0x18001de19
mov ecx, r9d
sub ecx, 6
je 0x18001de0a
sub ecx, 1
je 0x18001ddf7
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r9, qword [rax + 0x30]
movsxd rcx, dword [r9 + 0x3c]
mov r10d, dword [rcx + r9 + 0x88]
add r10, r9
cmp r10, r9
je 0x18001ddd5
mov r11d, dword [r10 + 0x18]
test r11d, r11d
je 0x18001ddd5
mov r14d, dword [r10 + 0x20]
dec r11d
mov esi, 0xf2cdde71
lea rcx, [r14 + r11*4]
mov ebx, dword [rcx + r9]
add rbx, r9
mov dil, byte [rbx]
inc rbx
test dil, dil
je 0x18001ddd0
movsx ecx, dil
sub dil, 0x41
mov edx, ecx
or edx, 0x20
cmp dil, 0x19
mov dil, byte [rbx]
cmova edx, ecx
inc rbx
xor edx, esi
imul esi, edx, 0x1000193
test dil, dil
jne 0x18001dda1
cmp esi, 0x87d41b8d
je 0x18001ddda
test r11d, r11d
jne 0x18001dd83
mov rax, qword [rax]
jmp 0x18001dd5e
mov ecx, dword [r10 + 0x24]
add rcx, r9
movzx edx, word [rcx + r11*2]
mov ecx, dword [r10 + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
add rax, r9
call rax
jmp 0x18001de1b
lea rax, [r10 + 8]
cmp r9b, 7
cmove r8, rax
cvttsd2si eax, qword [r8]
jmp 0x18001de19
lea rax, [r10 + 8]
cmp r9b, 6
cmove r8, rax
mov eax, dword [r8]
mov dword [rdx], eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret