joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b5900
Capabilities:
Access the windows event log

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x14030bc70]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov r14d, r8d
movzx esi, dx
mov rdi, rcx
cmp dword [rcx + 0x1c8], 0
je 0x1400b5a0e
xor r15d, r15d
movzx ebx, r15w
mov word [rsp + 0x50], bx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r15
test r9, r9
je 0x1400b59a3
mov ebx, 1
mov word [rsp + 0x50], bx
mov qword [rsp + 0x60], r9
mov rax, qword [rsp + 0xd0]
test rax, rax
je 0x1400b59a3
mov ebx, 2
mov word [rsp + 0x50], bx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0xd8]
test rax, rax
je 0x1400b59a3
mov ebx, 3
mov word [rsp + 0x50], bx
mov qword [rsp + 0x70], rax
cmp qword [rcx + 0x1d8], r15
jne 0x1400b59ca
lea rdx, [rcx + 8]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov qword [rdi + 0x1d8], rax
test rax, rax
jne 0x1400b59ca
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rdi + 0x1d8]
test rcx, rcx
je 0x1400b5a0e
xor r8d, r8d
mov qword [rsp + 0x40], r15
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], r15d
mov word [rsp + 0x28], bx
mov qword [rsp + 0x20], r15
mov r9d, r14d
movzx edx, si
call qword [sym.imp.ADVAPI32.dll_ReportEventA]
test eax, eax
jne 0x1400b5a0e
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140113910
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret

Function at 0x1400b5a30
Capabilities:
Start service

Disassembly:
push r12
push r14
push r15
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rdi
mov rsi, r8
mov r12, rdx
mov rdi, rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov r14, rax
test rax, rax
je 0x1400b5b04
lea rdx, [rdi + 8]
mov r8d, 0xf01ff
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov r15, rax
test rax, rax
je 0x1400b5afa
test rsi, rsi
je 0x1400b5aa4
mov edx, dword [rsi]
cmp edx, 2
jbe 0x1400b5aa6
mov edx, ebx
mov r8, r12
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_StartServiceA]
mov ebx, 1
mov dword [rsp + 0x20], ebx
test eax, eax
je 0x1400b5ad4
mov rax, qword [rdi]
lea rdx, str.Manual_Start_Service_local
mov rcx, rdi
call qword [rax + 0x80]
jmp 0x1400b5af1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9, qword [rdi]
mov r8d, eax
lea rdx, str.Manual_Start_Service_pending_local___d_
mov rcx, rdi
call qword [r9 + 0x80]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
mov eax, ebx
jmp 0x1400b5b0c
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop r12
ret
Function at 0x1400b6230
Capabilities:
Create process on windows

Disassembly:
push rdi
sub rsp, 0x310
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x328], rbx
mov rax, qword [0x14030bc70]
xor rax, rsp
mov qword [rsp + 0x300], rax
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
mov r9, qword [rdi]
mov r8d, eax
lea rdx, str.ServiceRestart:___d_
mov rcx, rdi
call qword [r9 + 0x80]
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0xe0]
call fcn.140141ad0
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x1f0]
call fcn.140141ad0
mov r8d, 0x104
lea rdx, [rsp + 0xe0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov r9d, ebx
lea r8, [rsp + 0xe0]
lea rdx, str._s__r_d
lea rcx, [rsp + 0x1f0]
call fcn.1400a61e0
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rsp + 0x70]
call fcn.140141ad0
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x1f0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
nop
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.140113910
mov rbx, qword [rsp + 0x328]
add rsp, 0x310
pop rdi
ret
Function at 0x1400b6600
Capabilities:
Delete registry key
Delete service

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x150
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14030bc70]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rsi, rdx
mov r14, rcx
xor r13d, r13d
mov ebx, r13d
mov dword [rsp + 0x30], ebx
xor edx, edx
mov r8d, 0xf003f
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov r15, rax
test rax, rax
je 0x1400b677b
mov r8d, 0x10000
lea rdx, [r14 + 8]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov r12, rax
test rax, rax
je 0x1400b6772
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
je 0x1400b6742
xor edx, edx
mov r8d, 0x100
lea rcx, [rsp + 0x40]
call fcn.140141ad0
movups xmm0, xmmword [str.SYSTEMCurrentControlSetServicesEventLogApplication_]
movaps xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [0x140212680]
movaps xmmword [rsp + 0x50], xmm1
movups xmm0, xmmword [0x140212690]
movaps xmmword [rsp + 0x60], xmm0
movsd xmm1, qword [0x1402126a0]
movsd qword [rsp + 0x70], xmm1
lea rcx, [rsp + 0x40]
dec rcx
nop
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x1400b66e0
xor edx, edx
nop dword [rax + rax]
movzx eax, byte [r14 + rdx + 8]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x1400b66f0
test rsi, rsi
je 0x1400b671c
lea r8, [rsp + 0x40]
mov rdx, 0xffffffff80000002
mov rcx, rsi
call fcn.1400fceb0
jmp 0x1400b672e
lea rdx, [rsp + 0x40]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ebx, 1
mov dword [rsp + 0x30], ebx
lea edx, [rbx + 3]
mov r8d, 0x40020103
jmp 0x1400b6754
xor ecx, ecx
call fcn.1400fc6a0
mov edx, 1
mov r8d, 0x80020104
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov rcx, r14
call fcn.1400b5900
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov r8d, 0xc4
mov rdx, rsi
mov rcx, r14
call fcn.1400b5c40
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rdx, rsi
mov rcx, r14
call fcn.1400b5b30
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
mov eax, ebx
jmp 0x1400b67b6
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140113910
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400b7560
Capabilities:
Move file

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rsi
lea rcx, [rsp + 0x28]
call fcn.1400ba3c0
nop
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x28]
cmp rbx, rdi
je 0x1400b75b3
mov rcx, rbx
call fcn.140022a60
mov rcx, rax
xor edx, edx
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
add rbx, 0x20
cmp rbx, rdi
jne 0x1400b7593
mov rbx, qword [rsp + 0x28]
test rbx, rbx
je 0x1400b76d9
mov rdi, qword [rsp + 0x30]
mov qword [rsp + 0x50], rbx
xor esi, esi
cmp rbx, rdi
je 0x1400b765e
mov rax, qword [rbx + 0x18]
cmp rax, 0x10
jb 0x1400b7613
mov rcx, qword [rbx]
inc rax
cmp rax, 0x1000
jb 0x1400b760e
test cl, 0x1f
jne 0x1400b7653
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x1400b764d
sub rcx, rax
cmp rcx, 8
jb 0x1400b7647
cmp rcx, 0x27
ja 0x1400b7641
mov rcx, rax
call fcn.1400dbae0
mov qword [rbx + 0x18], reloc.WSOCK32.dll_ntohs
mov qword [rbx + 0x10], rsi
cmp qword [rbx + 0x18], 0x10
jb 0x1400b762b
mov rax, qword [rbx]
jmp 0x1400b762e
mov rax, rbx
mov byte [rax], 0
add rbx, 0x20
mov qword [rsp + 0x50], rbx
cmp rbx, rdi
je 0x1400b7659
jmp 0x1400b75d6
call fcn.14014b4d8
int3
call fcn.14014b4d8
int3
call fcn.14014b4d8
int3
call fcn.14014b4d8
int3
mov rbx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x38]
sub rax, rbx
sar rax, 5
movabs rcx, 0x7ffffffffffffff
cmp rax, rcx
jbe 0x1400b767f
call fcn.14014b4d8
int3
shl rax, 5
cmp rax, 0x1000
jb 0x1400b76c3
test bl, 0x1f
je 0x1400b7696
call fcn.14014b4d8
int3
mov rax, qword [rbx - 8]
cmp rax, rbx
jb 0x1400b76a5
call fcn.14014b4d8
int3
sub rbx, rax
cmp rbx, 8
jae 0x1400b76b4
call fcn.14014b4d8
int3
cmp rbx, 0x27
jbe 0x1400b76c0
call fcn.14014b4d8
int3
mov rbx, rax
mov rcx, rbx
call fcn.1400dbae0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rsi
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1400b85c0
Capabilities:
Delete file
Get common file path

Disassembly:
push rbx
sub rsp, 0x1f0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x14030bc70]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
mov rbx, rcx
mov dword [rsp + 0x30], 0
mov rax, qword [rcx + 0x10]
mov rdx, qword [rax + 0xb0]
cmp dword [rdx + 0x2390], 0
je 0x1400b86a6
add rdx, 0x2d0c
lea rcx, [rsp + 0x68]
call fcn.140022180
nop
mov rax, qword [rbx + 0x10]
mov rdx, qword [rax + 0xb0]
add rdx, 0x2c08
lea rcx, [rsp + 0x48]
call fcn.140022180
nop
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x90]
call fcn.1400bc6f0
nop
lea rcx, [rsp + 0x48]
call fcn.1400091f0
nop
lea rcx, [rsp + 0x68]
call fcn.1400091f0
lea rcx, [rsp + 0x90]
call fcn.1400bc990
nop
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0xb0]
call fcn.1400091f0
nop
lea rax, [rsp + 0x90]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x90]
call fcn.1400091f0
xor edx, edx
mov rcx, qword [rbx + 0x38]
call fcn.1400a4180
lea rdx, [rsp + 0x38]
mov rcx, qword [rbx + 0x10]
call fcn.1400ba380
nop
mov rcx, qword [rax]
lea rdx, [rsp + 0xd0]
nop dword [rax + rax]
movzx eax, byte [rcx]
mov byte [rdx], al
lea rcx, [rcx + 1]
lea rdx, [rdx + 1]
test al, al
jne 0x1400b86d0
lea rcx, [rsp + 0x38]
call fcn.1400f81a0
lea rcx, [rsp + 0xd0]
call fcn.1400fafb0
test eax, eax
je 0x1400b8719
xor edx, edx
lea rcx, [rsp + 0xd0]
call fcn.1400fd640
lea rcx, [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, 0x104
lea rcx, [rsp + 0xd0]
call fcn.14010cb70
lea rcx, [rsp + 0xd0]
call fcn.1400f7c20
lea rcx, [rsp + 0xd0]
dec rcx
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x1400b8743
lea rbx, str.msocxushell.dll
xor edx, edx
nop word [rax + rax]
movzx eax, byte [rbx + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x1400b8760
lea rcx, [rsp + 0xd0]
call fcn.1400fafb0
test eax, eax
je 0x1400b879d
xor edx, edx
lea rcx, [rsp + 0xd0]
call fcn.1400fd640
lea rcx, [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [rsp + 0xd0], 0
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x29]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea rcx, [rsp + 0xd0]
call fcn.1400f7c20
lea rcx, [rsp + 0xd0]
dec rcx
nop dword [rax]
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x1400b87e0
xor edx, edx
nop dword [rax + rax]
movzx eax, byte [rbx + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x1400b87f0
lea rcx, [rsp + 0xd0]
call fcn.1400fafb0
test eax, eax
je 0x1400b882d
xor edx, edx
lea rcx, [rsp + 0xd0]
call fcn.1400fd640
lea rcx, [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, 1
mov dword [rsp + 0x30], eax
jmp 0x1400b883c
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.140113910
add rsp, 0x1f0
pop rbx
ret
Function at 0x1400baaf0
Capabilities:
Delete service

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
xor ebx, ebx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rdi, rax
test rax, rax
je 0x1400bab5b
mov r8d, 0x10000
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rsi, rax
test rax, rax
je 0x1400bab52
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
mov ecx, 1
cmovne ebx, ecx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rsi, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400bc480
Capabilities:
Create process on windows
Delete service

Disassembly:
push rdi
sub rsp, 0x320
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x338], rbx
mov rax, qword [0x14030bc70]
xor rax, rsp
mov qword [rsp + 0x310], rax
mov rdi, rcx
xor ebx, ebx
mov dword [rsp + 0x50], ebx
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0xf0]
call fcn.140141ad0
mov r8d, 0x104
lea rdx, [rsp + 0xf0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp byte [rsp + 0xf0], bl
je 0x1400bc5b3
xor edx, edx
lea r8d, [rbx + 0x68]
lea rcx, [rsp + 0x80]
call fcn.140141ad0
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x200]
call fcn.140141ad0
lea r8, [rsp + 0xf0]
lea rdx, str._s__u
lea rcx, [rsp + 0x200]
call fcn.1400a61e0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x200]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x1400bc5b3
mov edx, 0x2710
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1400bc5b3
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, 1
mov dword [rsp + 0x50], ebx
jmp 0x1400bc604
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
test rax, rax
je 0x1400bc604
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rcx + 0xb0]
add rdx, 0x8208
mov r8d, 0xf01ff
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rdi, rax
test rax, rax
je 0x1400bc604
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
mov eax, ebx
jmp 0x1400bc60c
mov rcx, qword [rsp + 0x310]
xor rcx, rsp
call fcn.140113910
mov rbx, qword [rsp + 0x338]
add rsp, 0x320
pop rdi
ret
Function at 0x1400bc730
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push rbx
sub rsp, 0x430
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x14030bc70]
xor rax, rsp
mov qword [rsp + 0x420], rax
mov rbx, rcx
mov rdx, rcx
lea rcx, [rsp + 0x58]
call fcn.1400222b0
nop
lea rcx, [rsp + 0x58]
call fcn.14001da60
cmp qword [rax + 0x18], 0x10
jb 0x1400bc77b
mov rcx, qword [rax]
jmp 0x1400bc77e
mov rcx, rax
mov rax, qword [rax + 0x10]
cmp byte [rcx + rax - 1], 0x5c
je 0x1400bc7b5
lea rdx, [0x1402869a8]
lea rcx, [rsp + 0x38]
call fcn.140022180
nop
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x58]
call fcn.1400226d0
nop
lea rcx, [rsp + 0x38]
call fcn.1400091f0
lea rdx, str._.dll
lea rcx, [rsp + 0x38]
call fcn.140022180
nop
lea r8, [rbx + 0x20]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x98]
call fcn.140022660
nop
lea r8, [rsp + 0x38]
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.140022660
nop
lea rcx, [rsp + 0x98]
call fcn.1400091f0
nop
lea rcx, [rsp + 0x38]
call fcn.1400091f0
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x310]
call fcn.140141ad0
lea rcx, [rsp + 0x78]
call fcn.140022a60
mov r8, rax
mov edx, 0x104
lea rcx, [rsp + 0x310]
call fcn.140156f18
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rsp + 0xc0]
call fcn.140141ad0
lea rcx, [rsp + 0x78]
call fcn.140022a60
mov rcx, rax
lea rdx, [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400bc8d0
call fcn.140029640
mov rbx, rax
lea rdx, str.COMMON
lea rcx, [rsp + 0x38]
call fcn.140022180
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea r9, str.UserProfilesFolder::RemoveProfiles_failed___d_
lea r8, [rsp + 0x38]
mov edx, 1
mov rcx, rbx
call fcn.140027ff0
nop
lea rcx, [rsp + 0x38]
call fcn.1400091f0
nop
lea rcx, [rsp + 0x78]
call fcn.1400091f0
nop
jmp 0x1400bc965
lea rcx, [rsp + 0x58]
call fcn.140022a60
mov r8, rax
mov edx, 0x104
lea rcx, [rsp + 0x200]
call fcn.140156f18
lea r8, [rsp + 0xec]
mov edx, 0x104
lea rcx, [rsp + 0x200]
call fcn.140157c7c
lea rcx, [rsp + 0x200]
call fcn.1400fafb0
test eax, eax
je 0x1400bc93b
lea rcx, [rsp + 0x200]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x1400bc93b
xor edx, edx
lea rcx, [rsp + 0x200]
call fcn.1400fd640
lea rdx, [rsp + 0xc0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1400bc8d0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
lea rcx, [rsp + 0x78]
call fcn.1400091f0
nop
lea rcx, [rsp + 0x58]
call fcn.1400091f0
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.140113910
add rsp, 0x430
pop rbx
ret

Function at 0x1400bc990
Capabilities:
Delete directory

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.1400bc730
mov rcx, rbx
call fcn.140022a60
mov rcx, rax
call fcn.1400fafb0
test eax, eax
je 0x1400bc9de
mov rcx, rbx
call fcn.140022a60
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x1400bc9de
mov rcx, rbx
call fcn.140022a60
mov rcx, rax
xor edx, edx
add rsp, 0x20
pop rbx
jmp fcn.1400fd640
add rsp, 0x20
pop rbx
ret
Function at 0x1400bcb00
Capabilities:
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov qword [rax - 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rdi, r8
mov r15, rdx
mov r13, rcx
mov r9, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 0x10
jb 0x1400bcb3f
mov r8, qword [r8]
movabs rcx, 0xcbf29ce484222325
mov qword [rsp + 0x20], rcx
xor edx, edx
movabs r10, 0x100000001b3
mov qword [rsp + 0x28], rdx
cmp rdx, r9
jae 0x1400bcb7f
movzx eax, byte [r8 + rdx]
xor rcx, rax
mov qword [rsp + 0x20], rcx
imul rcx, r10
mov qword [rsp + 0x20], rcx
inc rdx
jmp 0x1400bcb5a
mov r12, qword [r13 + 0x30]
and r12, rcx
mov qword [rsp + 0x48], r12
mov rbx, qword [r13 + 8]
shl r12, 4
mov rax, qword [r13 + 0x18]
add rax, r12
mov qword [rsp + 0x38], rax
cmp qword [rax], rbx
je 0x1400bcbb0
mov rbx, qword [rax + 8]
mov rbx, qword [rbx]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x30], rbx
cmp rbx, qword [rax]
je 0x1400bcc31
mov rbx, qword [rbx + 8]
mov qword [rsp + 0x30], rbx
cmp qword [rbx + 0x28], 0x10
jb 0x1400bcbd0
mov rdx, qword [rbx + 0x10]
jmp 0x1400bcbd4
lea rdx, [rbx + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x1400bcbe0
mov rcx, qword [rdi]
jmp 0x1400bcbe3
mov rcx, rdi
mov rsi, qword [rbx + 0x20]
mov r14, qword [rdi + 0x10]
mov r8, rsi
cmp r14, rsi
cmovb r8, r14
test r8, r8
je 0x1400bcc03
call fcn.1401420f0
test eax, eax
jne 0x1400bcc2a
cmp r14, rsi
jb 0x1400bcc2a
ja 0x1400bcc2a
mov rdx, qword [rsp + 0xa8]
mov rcx, r13
call fcn.1400c0b50
mov qword [r15], rbx
mov byte [r15 + 8], 0
mov rax, r15
jmp 0x1400bccd1
mov rax, qword [rsp + 0x38]
jmp 0x1400bcbb5
mov rdi, qword [rsp + 0xa8]
mov qword [rsp + 0x38], rdi
mov rax, qword [rdi]
cmp rbx, rax
je 0x1400bcc73
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rdi
mov rdx, qword [rbx + 8]
mov rcx, qword [rax + 8]
mov qword [rbx + 8], rcx
mov rcx, qword [rdi + 8]
mov qword [rax + 8], rcx
mov qword [rdi + 8], rdx
mov rdx, qword [r13 + 0x18]
add rdx, r12
mov rax, qword [rdx]
cmp rax, qword [r13 + 8]
jne 0x1400bcc91
mov qword [rdx], rdi
mov rax, qword [r13 + 0x18]
mov qword [r12 + rax + 8], rdi
jmp 0x1400bccbd
cmp rax, rbx
jne 0x1400bcc9b
mov qword [rdx], rdi
jmp 0x1400bccbd
mov rax, qword [rdx + 8]
mov rcx, qword [rax]
mov qword [rdx + 8], rcx
cmp rcx, rdi
je 0x1400bccbd
mov rdx, qword [r13 + 0x18]
mov rax, qword [rdx + r12 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r12 + 8], rcx
mov rcx, r13
call fcn.1400c0a90
nop
mov qword [r15], rdi
mov byte [r15 + 8], 1
mov rax, r15
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400c10b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], r8
push rbx
sub rsp, 0x20
cmp qword [r8 + 0x28], 0x10
lea r9, [r8 + 0x10]
mov r11, qword [r9 + 0x10]
mov rbx, rdx
mov r10, rcx
jb 0x1400c10d2
mov r9, qword [r9]
xor ecx, ecx
movabs rdx, 0xcbf29ce484222325
test r11, r11
je 0x1400c1119
mov qword [rsp + 0x30], rdi
movabs rdi, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r9 + rcx]
inc rcx
xor rdx, rax
imul rdx, rdi
cmp rcx, r11
jb 0x1400c1100
mov rdi, qword [rsp + 0x30]
mov r9, qword [r10 + 0x30]
mov rcx, qword [r10 + 0x18]
and r9, rdx
shl r9, 4
add rcx, r9
cmp qword [rcx + 8], r8
jne 0x1400c1156
cmp qword [rcx], r8
jne 0x1400c114c
mov rax, qword [r10 + 8]
mov qword [rcx], rax
mov rcx, qword [r10 + 0x18]
mov rax, qword [r10 + 8]
mov qword [rcx + r9 + 8], rax
jmp 0x1400c1161
mov rax, qword [r8 + 8]
mov qword [rcx + 8], rax
jmp 0x1400c1161
cmp qword [rcx], r8
jne 0x1400c1166
mov rax, qword [r8]
mov qword [rcx], rax
mov r8, qword [rsp + 0x40]
lea rcx, [r10 + 8]
mov rdx, rbx
call fcn.1400c1180
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x1400c1210
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r15, qword [r8 + 0x18]
mov r14, r8
mov rdi, qword [r8 + 0x10]
mov r12, rdx
mov rbp, rcx
cmp r15, 0x10
jb 0x1400c1241
mov r8, qword [r8]
xor ecx, ecx
movabs rdx, 0xcbf29ce484222325
test rdi, rdi
je 0x1400c1274
movabs r9, 0x100000001b3
nop dword [rax]
movzx eax, byte [r8 + rcx]
inc rcx
xor rdx, rax
imul rdx, r9
cmp rcx, rdi
jb 0x1400c1260
mov rcx, qword [rbp + 0x30]
and rcx, rdx
mov qword [rsp + 0x58], rsi
mov rdx, qword [rbp + 0x18]
mov rax, rcx
mov rbp, qword [rbp + 8]
add rax, rax
mov rbx, qword [rdx + rax*8]
lea rax, [rcx + rcx]
mov r13, qword [rdx + rax*8]
lea rax, [rax + 1]
lea rax, [rdx + rax*8]
mov qword [rsp + 0x50], rax
cmp r13, rbp
jne 0x1400c12b1
mov rax, rbp
jmp 0x1400c12b7
mov rax, qword [rax]
mov rax, qword [rax]
cmp rbx, rax
je 0x1400c1355
cmp r15, 0x10
jb 0x1400c12cb
mov rdx, qword [r14]
jmp 0x1400c12ce
mov rdx, r14
cmp qword [rbx + 0x28], 0x10
jb 0x1400c12db
mov rcx, qword [rbx + 0x10]
jmp 0x1400c12df
lea rcx, [rbx + 0x10]
mov rsi, qword [rbx + 0x20]
mov r8, rdi
cmp rsi, rdi
cmovb r8, rsi
test r8, r8
je 0x1400c12fb
call fcn.1401420f0
test eax, eax
jne 0x1400c1302
cmp rsi, rdi
jb 0x1400c1302
jbe 0x1400c130c
mov rbx, qword [rbx]
mov rax, qword [rsp + 0x50]
jmp 0x1400c12a7
cmp qword [rbx + 0x28], 0x10
jb 0x1400c1319
mov rdx, qword [rbx + 0x10]
jmp 0x1400c131d
lea rdx, [rbx + 0x10]
cmp r15, 0x10
jb 0x1400c1326
mov r14, qword [r14]
mov rsi, qword [rbx + 0x20]
cmp rdi, rsi
mov r8, rsi
cmovb r8, rdi
test r8, r8
je 0x1400c1345
mov rcx, r14
call fcn.1401420f0
test eax, eax
jne 0x1400c134c
cmp rdi, rsi
jb 0x1400c134c
jbe 0x1400c134f
mov rbx, rbp
mov qword [r12], rbx
jmp 0x1400c1359
mov qword [r12], rbp
mov rsi, qword [rsp + 0x58]
mov rax, r12
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400c44d0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov qword [rcx + 0x20], rdx
mov rbx, rcx
test rdx, rdx
jne 0x1400c44ea
xor al, al
add rsp, 0x30
pop rbx
ret
mov rax, qword [rcx]
call qword [rax]
xor eax, eax
lea r8, [0x1400c5760]
mov qword [rsp + 0x28], rax
mov r9, rbx
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x1400c44e2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
add rsp, 0x30
pop rbx
ret