joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006e6b0
Capabilities:
Check for time delay via queryperformancecounter
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x160
mov dil, byte [rdx]
mov bpl, byte [rdx + 7]
mov rbx, rcx
movzx ecx, word [rdx + 8]
xor r14d, r14d
mov rsi, rdx
mov r15d, 1
cmp qword [rbx + 0x28], r14
je 0x14006e79e
cmp dil, 0x14
je 0x14006e79e
lea eax, [rdi + 0x70]
cmp al, r15b
jbe 0x14006e79e
cmp dil, 0xff
je 0x14006e786
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x14006e72e
movzx eax, dil
lea rcx, [rsp + 0x60]
or byte [rsp + rax + 0x60], 0x80
call qword [sym.imp.USER32.dll_SetKeyboardState]
movzx eax, bpl
mov rcx, rsi
shl eax, 0x10
movsxd r9, eax
or r9, r15
call fcn.14006d934
cmp al, r15b
jne 0x14006e74d
bts r9, 0x18
cmp byte [rbx + 0x1b], r14b
jne 0x14006e75f
cmp byte [rbx + 0x21], r14b
jne 0x14006e75f
cmp dil, 0x12
jne 0x14006e77b
cmp byte [rbx + 0x1a], r14b
jne 0x14006e77b
cmp byte [rbx + 0x20], r14b
jne 0x14006e77b
bts r9, 0x1d
movzx r8d, dil
mov edx, 0x104
jmp 0x14006e792
movzx r8d, dil
mov edx, 0x100
jmp 0x14006e792
movzx r8d, cx
mov r9, r15
mov edx, 0x102
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x14006e7fb
cmp dil, 0xff
je 0x14006e7c9
mov rcx, rdx
call fcn.14006d934
mov r8b, bpl
mov dl, dil
mov rcx, rbx
cmp al, r15b
jne 0x14006e7bf
mov r9d, r15d
jmp 0x14006e7c2
xor r9d, r9d
call fcn.14006efdc
jmp 0x14006e7fb
mov word [rsp + 0x3a], cx
lea rdx, [rsp + 0x30]
mov r8d, SafeArrayCreateEx
mov ecx, r15d
mov dword [rsp + 0x30], r15d
mov word [rsp + 0x38], r14w
mov qword [rsp + 0x3c], 4
mov qword [rsp + 0x48], r14
call qword [sym.imp.USER32.dll_SendInput]
mov rcx, rbx
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
jmp fcn.14006d6d8
Function at 0x14006e820
Capabilities:
Check for time delay via queryperformancecounter
Log keystrokes via polling

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, 0x160
mov dil, byte [rdx]
mov bpl, byte [rdx + 7]
mov rbx, rcx
movzx ecx, word [rdx + 8]
xor r14d, r14d
mov rsi, rdx
cmp qword [rbx + 0x28], r14
je 0x14006e8fe
cmp dil, 0x14
je 0x14006e8fe
lea eax, [rdi + 0x70]
cmp al, 1
jbe 0x14006e8fe
cmp dil, 0xff
je 0x14006e962
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x14006e89c
movzx eax, dil
lea rcx, [rsp + 0x60]
xor byte [rsp + rax + 0x60], 0x80
call qword [sym.imp.USER32.dll_SetKeyboardState]
movzx eax, bpl
mov rcx, rsi
shl eax, 0x10
movsxd r9, eax
mov eax, 0xc0000001
or r9, rax
call fcn.14006d934
cmp al, 1
jne 0x14006e8bf
bts r9, 0x18
cmp byte [rbx + 0x1b], r14b
jne 0x14006e8d1
cmp byte [rbx + 0x21], r14b
jne 0x14006e8d1
cmp dil, 0x12
jne 0x14006e8e9
cmp byte [rbx + 0x1a], r14b
jne 0x14006e8e9
cmp byte [rbx + 0x20], r14b
jne 0x14006e8e9
bts r9, 0x1d
mov edx, 0x105
jmp 0x14006e8ee
mov edx, 0x101
mov rcx, qword [rbx + 0x28]
movzx r8d, dil
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x14006e962
cmp dil, 0xff
je 0x14006e92c
mov rcx, rdx
call fcn.14006d934
mov r8b, bpl
mov dl, dil
mov rcx, rbx
mov r9d, 3
cmp al, 1
je 0x14006e925
mov r9d, 2
call fcn.14006efdc
jmp 0x14006e962
mov r8d, SafeArrayCreateEx
mov word [rsp + 0x3a], cx
lea rdx, [rsp + 0x30]
lea ecx, [r8 - 0x27]
mov dword [rsp + 0x30], 1
mov word [rsp + 0x38], r14w
mov qword [rsp + 0x3c], 6
mov qword [rsp + 0x48], r14
call qword [sym.imp.USER32.dll_SendInput]
mov rcx, rbx
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
jmp fcn.14006d6bc

Function at 0x14006e988
Capabilities:
Check for time delay via queryperformancecounter
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call fcn.14006e6b0
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14006e820
Function at 0x14006e9b4
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x38]
sub rsp, 0x130
xor esi, esi
mov rbx, rdx
mov rdi, rcx
cmp byte [rdx], sil
jne 0x14006e9f8
cmp byte [rdx + 1], sil
jne 0x14006e9f8
cmp byte [rdx + 2], sil
jne 0x14006e9f8
cmp byte [rdx + 3], sil
jne 0x14006e9f8
cmp byte [rdx + 4], sil
je 0x14006ebc0
mov rcx, qword [rcx + 0x28]
test rcx, rcx
je 0x14006eb46
call qword [sym.imp.USER32.dll_GetParent]
test rax, rax
je 0x14006eb46
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x14006ea6e
mov al, byte [rsp + 0x40]
mov cl, 0x80
cmp byte [rbx], sil
je 0x14006ea37
or al, cl
or byte [rbp - 0x30], cl
mov byte [rsp + 0x40], al
cmp byte [rbx + 1], sil
je 0x14006ea46
or al, cl
or byte [rbp - 0x2f], cl
mov byte [rsp + 0x40], al
cmp byte [rbx + 2], sil
je 0x14006ea50
or byte [rsp + 0x41], cl
cmp byte [rbx + 3], sil
je 0x14006ea5a
or byte [rsp + 0x42], cl
cmp byte [rbx + 4], sil
je 0x14006ea63
or byte [rbp - 0x75], cl
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_SetKeyboardState]
cmp byte [rbx], sil
jne 0x14006ea79
cmp byte [rbx + 1], sil
je 0x14006ea9c
movzx eax, byte [rdi + 0x32]
mov rcx, qword [rdi + 0x28]
mov edx, 0x100
shl eax, 0x10
mov r8d, reloc.WSOCK32.dll_recv
movsxd r9, eax
or r9, 1
call qword [sym.imp.USER32.dll_PostMessageW]
cmp byte [rbx + 2], sil
je 0x14006eac5
movzx eax, byte [rdi + 0x30]
mov rcx, qword [rdi + 0x28]
mov edx, 0x100
shl eax, 0x10
mov r8d, reloc.WSOCK32.dll_recvfrom
movsxd r9, eax
or r9, 1
call qword [sym.imp.USER32.dll_PostMessageW]
mov al, byte [rbx + 3]
test al, al
je 0x14006eb17
cmp byte [rbx + 2], sil
jne 0x14006eaf0
cmp byte [rdi + 0x20], sil
jne 0x14006eaf0
movzx eax, byte [rdi + 0x31]
mov edx, 0x104
shl eax, 0x10
movsxd r9, eax
or r9, 0x20000001
jmp 0x14006eb07
test al, al
je 0x14006eb17
movzx eax, byte [rdi + 0x31]
mov edx, 0x100
shl eax, 0x10
movsxd r9, eax
or r9, 1
mov rcx, qword [rdi + 0x28]
mov r8d, reloc.WSOCK32.dll_select
call qword [sym.imp.USER32.dll_PostMessageW]
cmp byte [rbx + 4], sil
je 0x14006ebb8
movzx eax, byte [rdi + 0x35]
mov rcx, qword [rdi + 0x28]
mov edx, 0x100
shl eax, 0x10
mov r8d, 0x5b
movsxd r9, eax
or r9, 1
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x14006ebb8
cmp byte [rbx], sil
je 0x14006eb5c
mov r8b, byte [rdi + 0x33]
xor r9d, r9d
mov dl, 0xa0
mov rcx, rdi
call fcn.14006efdc
cmp byte [rbx + 1], sil
je 0x14006eb73
mov r8b, byte [rdi + 0x34]
xor r9d, r9d
mov dl, 0xa1
mov rcx, rdi
call fcn.14006efdc
cmp byte [rbx + 2], sil
je 0x14006eb8a
mov r8b, byte [rdi + 0x30]
xor r9d, r9d
mov dl, reloc.WSOCK32.dll_recvfrom
mov rcx, rdi
call fcn.14006efdc
cmp byte [rbx + 3], sil
je 0x14006eba1
mov r8b, byte [rdi + 0x31]
xor r9d, r9d
mov dl, reloc.WSOCK32.dll_select
mov rcx, rdi
call fcn.14006efdc
cmp byte [rbx + 4], sil
je 0x14006ebb8
mov r8b, byte [rdi + 0x35]
xor r9d, r9d
mov dl, 0x5b
mov rcx, rdi
call fcn.14006efdc
mov rcx, rdi
call fcn.14006d6d8
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14006ee10
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
xor eax, eax
cmp qword [rcx + 0x28], rax
lea edx, [rax + 2]
cmovne eax, edx
mov edx, dword [rcx]
cmp edx, eax
jge 0x14006d6d0
mov edx, eax
jmp 0x14006ee10
test edx, edx
js 0x14006ee9f
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x40
movaps xmmword [rsp + 0x30], xmm6
mov ebx, edx
movaps xmmword [rsp + 0x20], xmm7
test edx, edx
jne 0x14006ee36
xor ecx, ecx
jmp 0x14006ee8a
cmp ebx, 0xf
jae 0x14006ee88
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14006ee88
xorps xmm7, xmm7
cvtsi2sd xmm7, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x50]
xorps xmm6, xmm6
sub rax, qword [rsp + 0x60]
cvtsi2sd xmm6, rax
call fcn.140024738
divsd xmm6, xmm0
comisd xmm7, xmm6
ja 0x14006ee52
jmp 0x14006ee90
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_Sleep]
movaps xmm6, xmmword [rsp + 0x30]
movaps xmm7, xmmword [rsp + 0x20]
add rsp, 0x40
pop rbx
ret

Function at 0x14006eea0
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov r15b, r8b
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
jne 0x14006eecf
cmp byte [rcx + 9], dl
je 0x14006efc2
xor r14d, r14d
xor ebp, ebp
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
test r15b, r15b
je 0x14006ef7e
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea r8d, [r14 + 1]
mov ecx, ebx
mov edx, eax
mov dword [0x1400e2fb8], eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov r15d, eax
test rdi, rdi
je 0x14006ef57
lea rdx, [rsp + 0x48]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [0x1400e2fb8]
mov dword [0x1400e2fbc], eax
cmp ecx, eax
je 0x14006ef45
lea r8d, [r14 + 1]
mov edx, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov r14d, eax
mov eax, dword [0x1400e2fbc]
mov r8d, 1
mov edx, eax
mov ecx, ebx
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov ebp, eax
test r15d, r15d
jne 0x14006efc2
test r14d, r14d
jne 0x14006efc2
test ebp, ebp
jne 0x14006efc2
mov eax, dword [0x1400e2fb8]
cmp ebx, eax
jne 0x14006efc2
cmp eax, dword [0x1400e2fbc]
jne 0x14006efc2
and qword [rsi + 0x28], 0
jmp 0x14006efc2
test rdi, rdi
je 0x14006efaf
mov edx, dword [0x1400e2fbc]
xor r8d, r8d
mov ecx, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [0x1400e2fb8]
mov edx, dword [0x1400e2fbc]
cmp eax, edx
je 0x14006efb5
xor r8d, r8d
mov ecx, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [0x1400e2fb8]
xor r8d, r8d
mov edx, eax
mov ecx, ebx
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x14006f044
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor eax, eax
mov rbx, rcx
mov qword [rcx], 0xff
mov word [rcx + 8], dx
mov byte [rcx + 0xa], al
test dx, dx
je 0x14006f0ac
movzx ecx, dx
call qword [sym.imp.USER32.dll_VkKeyScanW]
cmp ax, 0xffff
jne 0x14006f079
xor al, al
jmp 0x14006f0ac
movzx edi, ax
movzx ecx, al
xor edx, edx
sar di, 8
mov byte [rbx], al
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov byte [rbx + 7], al
mov al, 1
test al, dil
je 0x14006f09a
mov byte [rbx + 1], al
test dil, 2
je 0x14006f0a3
mov byte [rbx + 3], al
test dil, 4
je 0x14006f0ac
mov byte [rbx + 4], al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14006f0b8
Capabilities:
Log keystrokes

Disassembly:
push rbx
sub rsp, 0x20
xor eax, eax
mov rbx, rcx
mov dword [rcx + 6], eax
mov dword [rcx + 1], eax
mov byte [rcx + 5], al
mov byte [rcx + 0xa], al
mov byte [rcx], dl
cmp dl, 0xff
je 0x14006f0e6
movzx ecx, dl
xor edx, edx
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov byte [rbx + 7], al
mov al, 1
add rsp, 0x20
pop rbx
ret

Function at 0x140071444
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
call fcn.140071104
mov rcx, qword [rsi]
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8d, ebx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add qword [rsi + 0x18], rax
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x140071624
Capabilities:
Log keystrokes

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
cmp dl, 1
jne 0x140071656
call fcn.1400730e4
test al, al
jne 0x140071673
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r8d, 1
jmp 0x140071669
xor edx, edx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor r8d, r8d
mov edx, ebx
mov ecx, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
add rsp, 0x20
pop rbx
ret
Function at 0x14007167c
Capabilities:
Copy file
Move file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x1ff88]
mov eax, 0x20080
call fcn.140037740
sub rsp, rax
mov dil, r8b
mov rbx, rdx
mov esi, 0x7fff
lea r8, [rbp + 0xff80]
mov edx, esi
call fcn.140072b78
lea r8, [rbp - 0x80]
mov edx, esi
mov rcx, rbx
call fcn.140072b78
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0xff80]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor esi, esi
test eax, eax
jne 0x140071716
test dil, dil
je 0x14007170f
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0xff80]
call fcn.1400263a4
test eax, eax
je 0x140071708
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0xff80]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
mov al, 1
jmp 0x1400717ba
xor al, al
jmp 0x1400717ba
lea rcx, [rbp + 0xff80]
call fcn.140073088
test al, al
je 0x14007170f
lea rcx, [rbp - 0x80]
call fcn.140073088
test al, al
je 0x1400717d3
test dil, dil
je 0x14007170f
lea rdx, str..
lea rcx, [rbp + 0xff80]
call fcn.14002590c
lea rcx, [rbp + 0xff80]
call fcn.140025748
lea rcx, [rbp - 0x80]
mov word [rbp + rax*2 + 0xff82], si
call fcn.140025748
lea rcx, [rsp + 0x20]
xorps xmm0, xmm0
mov word [rbp + rax*2 - 0x7e], si
lea rax, [rbp + 0xff80]
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x80]
mov dword [rsp + 0x44], esi
mov qword [rsp + 0x38], rax
mov eax, 0x614
mov qword [rsp + 0x20], rsi
mov word [rsp + 0x40], ax
mov dword [rsp + 0x28], 2
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete al
lea r11, [rsp + 0x20080]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x58]
call fcn.14001ea0c
lea rcx, [rsp + 0x58]
call fcn.140071b50
lea rcx, [rsp + 0x58]
test al, al
sete bl
call fcn.14001bc24
test bl, bl
jne 0x14007170f
lea rcx, [rbp - 0x80]
call fcn.140073088
test al, al
jmp 0x14007173a
Function at 0x140071b00
Capabilities:
Copy file

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push rdi
sub rsp, 0x30
and dword [rax + 8], 0
mov rcx, qword [rcx]
mov dword [rax - 0x10], 8
mov rdi, rdx
mov rdx, qword [rdx]
lea rax, [rax + 8]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_CopyFileExW]
mov rcx, rdi
cmp eax, 1
sete bl
call fcn.14001bc24
mov al, bl
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x140071b50
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [rcx]
lea rdx, [0x1400a92e4]
mov edi, 1
mov qword [rbp - 0x40], rax
mov rax, qword [rcx + 8]
mov qword [rbp - 0x38], rax
mov rax, qword [rcx + 0x10]
mov qword [rbp - 0x30], rax
mov rax, qword [rcx + 0x18]
lea rcx, [rbp - 0x40]
add dword [rax], edi
mov qword [rbp - 0x28], rax
call fcn.14001e020
mov rsi, qword [rbp - 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140071c46
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
cmp eax, 2
jne 0x140071bd4
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x140071bd9
jmp 0x140071c54
cmp eax, 3
jne 0x140071c4f
mov rax, qword [rbp - 0x38]
mov qword [rbp - 0x20], rsi
lea rdx, [0x1400a92e4]
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x30]
lea rcx, [rbp - 0x20]
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x28]
mov qword [rbp - 8], rax
add dword [rax], edi
call fcn.14001e8b0
or r8, 0xffffffffffffffff
cmp rax, r8
je 0x140071c3b
lea rcx, [rbp - 0x20]
mov rdx, rax
call fcn.14001e914
lea rcx, [rbp - 0x20]
call fcn.140071b50
test al, al
je 0x140071c39
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne al
mov bl, al
lea rcx, [rbp - 0x20]
call fcn.14001bc24
jmp 0x140071c51
test al, 0x10
je 0x140071c4f
mov bl, dil
jmp 0x140071c51
xor ebx, ebx
mov dil, bl
lea rcx, [rbp - 0x40]
call fcn.14001bc24
lea r11, [rsp + 0x60]
mov al, dil
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140071c78
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x1e8]
sub rsp, 0x2e0
mov rbx, rcx
lea rcx, [rsp + 0x30]
xor edi, edi
mov r14b, dil
call fcn.14001dfc0
lea rcx, [rsp + 0x70]
call fcn.14001dfc0
lea rcx, [rsp + 0x50]
call fcn.14001dfc0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14001a038
mov rcx, qword [rsp + 0x30]
call fcn.140073088
test al, al
je 0x140071cec
lea rdx, str..
lea rcx, [rsp + 0x30]
call fcn.14001e870
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rdi
call fcn.140019df4
mov rcx, qword [rsp + 0x30]
lea rdx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov sil, 1
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140071d8f
cmp sil, 1
jne 0x140071d8f
test byte [rbp - 0x70], 0x10
jne 0x140071d6e
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
mov r14b, sil
call fcn.14001ec74
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.14001e5b0
lea rdx, [rbp - 0x44]
lea rcx, [rsp + 0x30]
call fcn.14001e870
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
jne 0x140071d84
lea rdx, [rbp - 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140071d23
mov sil, dil
jmp 0x140071d23
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x140071d9b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov dil, r14b
lea rcx, [rsp + 0x50]
call fcn.14001bc24
lea rcx, [rsp + 0x70]
call fcn.14001bc24
lea rcx, [rsp + 0x30]
call fcn.14001bc24
lea r11, [rsp + 0x2e0]
mov al, dil
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140071e08
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1f8]
sub rsp, 0x2d0
mov r15, rdx
xor edx, edx
mov r12, rcx
lea ecx, [rdx + 2]
mov rbx, r8
mov dword [rbp - 0x70], 0x238
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rbp - 0x70]
mov rcx, rax
mov r14, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
mov rdi, qword [r12]
xor r13d, r13d
mov byte [rbx], r13b
mov esi, r13d
cmp word [rdi], r13w
je 0x140071e87
mov rcx, rdi
movzx ecx, word [rcx]
call fcn.1400264a0
test eax, eax
je 0x140071e97
inc esi
lea rcx, [rdi + rsi*2]
cmp word [rcx], r13w
jne 0x140071e6f
mov rcx, rdi
call fcn.1400263ec
mov rdi, rax
jmp 0x140071f4c
mov edi, r13d
jmp 0x140071f4c
lea rdx, [rbp - 0x70]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
jne 0x140071f55
lea rcx, [rsp + 0x30]
call fcn.14001dfc0
lea rcx, [rsp + 0x50]
call fcn.14001dfc0
lea rdx, [rbp - 0x44]
lea rcx, [rsp + 0x70]
call fcn.14001ea0c
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x30]
lea rcx, [rsp + 0x70]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
call fcn.140019df4
lea rcx, [rsp + 0x70]
call fcn.14001bc24
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.14001e5b0
lea rcx, [rsp + 0x30]
xor r8d, r8d
mov rdx, r12
call fcn.14001e414
test eax, eax
jne 0x140071f27
mov eax, dword [rbp - 0x68]
jmp 0x140071f32
test edi, edi
je 0x140071f38
mov eax, dword [rbp - 0x68]
cmp edi, eax
jne 0x140071f38
mov dword [r15], eax
mov byte [rbx], 1
lea rcx, [rsp + 0x50]
call fcn.14001bc24
lea rcx, [rsp + 0x30]
call fcn.14001bc24
cmp byte [rbx], r13b
je 0x140071e9f
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r11, [rsp + 0x2d0]
mov al, 1
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret

Function at 0x140071f84
Capabilities:
Get storage device properties

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x80
and qword [rax - 0x58], 0
and dword [rdx], 0
mov rdi, rdx
mov edx, 0x80
xor r9d, r9d
lea r8d, [rdx - 0x7d]
mov dword [rax - 0x60], edx
mov dword [rax - 0x68], r8d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140071fc8
xor al, al
jmp 0x140072041
and dword [rsp + 0x40], 0
and dword [rsp + 0x44], 0
xor eax, eax
lea ebx, [rax + 0x28]
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8d, ebx
mov dword [rsp + 0x48], eax
call fcn.140025970
and qword [rsp + 0x38], 0
and dword [rsp + 0x98], 0
lea rax, [rsp + 0x98]
lea r9d, [rbx - 0x1c]
lea r8, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov edx, 0x2d1400
mov rcx, rsi
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x140071fc4
mov eax, dword [rsp + 0x6c]
mov dword [rdi], eax
mov al, 1
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140072058
Capabilities:
Get storage device properties

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x1400e2470]
xor edi, edi
cmp byte [rax + 0x39], dil
jne 0x140072080
mov eax, 0x80004005
jmp 0x14007211a
mov edx, 0x80
mov qword [rsp + 0x30], rdi
xor r9d, r9d
lea r8d, [rdx - 0x7d]
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], r8d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140072076
xor eax, eax
mov qword [rsp + 0x38], rdi
mov r9d, reloc.WSOCK32.dll_ioctlsocket
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], eax
lea rax, [rsp + 0x78]
lea r8, [rsp + 0x40]
mov edx, 0x2d1400
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov dword [rsp + 0x28], r9d
mov rcx, rsi
mov qword [rsp + 0x40], 7
mov dword [rsp + 0x78], edi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x140072076
cmp byte [rsp + 0x58], dil
setne dil
mov eax, edi
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

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

Disassembly:
push rbx
sub rsp, 0x270
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140072955
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
jne 0x140072948
or eax, 0xffffffff
jmp 0x140072955
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [rsp + 0x20]
add rsp, 0x270
pop rbx
ret