joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140070704
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 0x1400707f2
cmp dil, 0x14
je 0x1400707f2
lea eax, [rdi + 0x70]
cmp al, r15b
jbe 0x1400707f2
cmp dil, 0xff
je 0x1400707da
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x140070782
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.14006f988
cmp al, r15b
jne 0x1400707a1
bts r9, 0x18
cmp byte [rbx + 0x1b], r14b
jne 0x1400707b3
cmp byte [rbx + 0x21], r14b
jne 0x1400707b3
cmp dil, 0x12
jne 0x1400707cf
cmp byte [rbx + 0x1a], r14b
jne 0x1400707cf
cmp byte [rbx + 0x20], r14b
jne 0x1400707cf
bts r9, 0x1d
movzx r8d, dil
mov edx, 0x104
jmp 0x1400707e6
movzx r8d, dil
mov edx, 0x100
jmp 0x1400707e6
movzx r8d, cx
mov r9, r15
mov edx, 0x102
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x14007084f
cmp dil, 0xff
je 0x14007081d
mov rcx, rdx
call fcn.14006f988
mov r8b, bpl
mov dl, dil
mov rcx, rbx
cmp al, r15b
jne 0x140070813
mov r9d, r15d
jmp 0x140070816
xor r9d, r9d
call fcn.140071030
jmp 0x14007084f
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.14006f72c
Function at 0x140070874
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 0x140070952
cmp dil, 0x14
je 0x140070952
lea eax, [rdi + 0x70]
cmp al, 1
jbe 0x140070952
cmp dil, 0xff
je 0x1400709b6
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x1400708f0
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.14006f988
cmp al, 1
jne 0x140070913
bts r9, 0x18
cmp byte [rbx + 0x1b], r14b
jne 0x140070925
cmp byte [rbx + 0x21], r14b
jne 0x140070925
cmp dil, 0x12
jne 0x14007093d
cmp byte [rbx + 0x1a], r14b
jne 0x14007093d
cmp byte [rbx + 0x20], r14b
jne 0x14007093d
bts r9, 0x1d
mov edx, 0x105
jmp 0x140070942
mov edx, 0x101
mov rcx, qword [rbx + 0x28]
movzx r8d, dil
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x1400709b6
cmp dil, 0xff
je 0x140070980
mov rcx, rdx
call fcn.14006f988
mov r8b, bpl
mov dl, dil
mov rcx, rbx
mov r9d, 3
cmp al, 1
je 0x140070979
mov r9d, 2
call fcn.140071030
jmp 0x1400709b6
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.14006f710

Function at 0x1400709dc
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.140070704
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140070874
Function at 0x140070a08
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 0x140070a4c
cmp byte [rdx + 1], sil
jne 0x140070a4c
cmp byte [rdx + 2], sil
jne 0x140070a4c
cmp byte [rdx + 3], sil
jne 0x140070a4c
cmp byte [rdx + 4], sil
je 0x140070c14
mov rcx, qword [rcx + 0x28]
test rcx, rcx
je 0x140070b9a
call qword [sym.imp.USER32.dll_GetParent]
test rax, rax
je 0x140070b9a
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x140070ac2
mov al, byte [rsp + 0x40]
mov cl, 0x80
cmp byte [rbx], sil
je 0x140070a8b
or al, cl
or byte [rbp - 0x30], cl
mov byte [rsp + 0x40], al
cmp byte [rbx + 1], sil
je 0x140070a9a
or al, cl
or byte [rbp - 0x2f], cl
mov byte [rsp + 0x40], al
cmp byte [rbx + 2], sil
je 0x140070aa4
or byte [rsp + 0x41], cl
cmp byte [rbx + 3], sil
je 0x140070aae
or byte [rsp + 0x42], cl
cmp byte [rbx + 4], sil
je 0x140070ab7
or byte [rbp - 0x75], cl
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_SetKeyboardState]
cmp byte [rbx], sil
jne 0x140070acd
cmp byte [rbx + 1], sil
je 0x140070af0
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 0x140070b19
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 0x140070b6b
cmp byte [rbx + 2], sil
jne 0x140070b44
cmp byte [rdi + 0x20], sil
jne 0x140070b44
movzx eax, byte [rdi + 0x31]
mov edx, 0x104
shl eax, 0x10
movsxd r9, eax
or r9, 0x20000001
jmp 0x140070b5b
test al, al
je 0x140070b6b
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 0x140070c0c
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 0x140070c0c
cmp byte [rbx], sil
je 0x140070bb0
mov r8b, byte [rdi + 0x33]
xor r9d, r9d
mov dl, 0xa0
mov rcx, rdi
call fcn.140071030
cmp byte [rbx + 1], sil
je 0x140070bc7
mov r8b, byte [rdi + 0x34]
xor r9d, r9d
mov dl, 0xa1
mov rcx, rdi
call fcn.140071030
cmp byte [rbx + 2], sil
je 0x140070bde
mov r8b, byte [rdi + 0x30]
xor r9d, r9d
mov dl, reloc.WSOCK32.dll_recvfrom
mov rcx, rdi
call fcn.140071030
cmp byte [rbx + 3], sil
je 0x140070bf5
mov r8b, byte [rdi + 0x31]
xor r9d, r9d
mov dl, reloc.WSOCK32.dll_select
mov rcx, rdi
call fcn.140071030
cmp byte [rbx + 4], sil
je 0x140070c0c
mov r8b, byte [rdi + 0x35]
xor r9d, r9d
mov dl, 0x5b
mov rcx, rdi
call fcn.140071030
mov rcx, rdi
call fcn.14006f72c
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 0x140070e64
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 0x14006f724
mov edx, eax
jmp 0x140070e64
test edx, edx
js 0x140070ef3
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 0x140070e8a
xor ecx, ecx
jmp 0x140070ede
cmp ebx, 0xf
jae 0x140070edc
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140070edc
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.1400266e0
divsd xmm6, xmm0
comisd xmm7, xmm6
ja 0x140070ea6
jmp 0x140070ee4
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 0x140070ef4
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 0x140070f23
cmp byte [rcx + 9], dl
je 0x140071016
xor r14d, r14d
xor ebp, ebp
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
test r15b, r15b
je 0x140070fd2
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 [0x1400e71a8], eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov r15d, eax
test rdi, rdi
je 0x140070fab
lea rdx, [rsp + 0x48]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [0x1400e71a8]
mov dword [0x1400e71ac], eax
cmp ecx, eax
je 0x140070f99
lea r8d, [r14 + 1]
mov edx, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov r14d, eax
mov eax, dword [0x1400e71ac]
mov r8d, 1
mov edx, eax
mov ecx, ebx
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov ebp, eax
test r15d, r15d
jne 0x140071016
test r14d, r14d
jne 0x140071016
test ebp, ebp
jne 0x140071016
mov eax, dword [0x1400e71a8]
cmp ebx, eax
jne 0x140071016
cmp eax, dword [0x1400e71ac]
jne 0x140071016
and qword [rsi + 0x28], 0
jmp 0x140071016
test rdi, rdi
je 0x140071003
mov edx, dword [0x1400e71ac]
xor r8d, r8d
mov ecx, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [0x1400e71a8]
mov edx, dword [0x1400e71ac]
cmp eax, edx
je 0x140071009
xor r8d, r8d
mov ecx, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [0x1400e71a8]
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 0x140071098
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 0x140071100
movzx ecx, dx
call qword [sym.imp.USER32.dll_VkKeyScanW]
cmp ax, 0xffff
jne 0x1400710cd
xor al, al
jmp 0x140071100
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 0x1400710ee
mov byte [rbx + 1], al
test dil, 2
je 0x1400710f7
mov byte [rbx + 3], al
test dil, 4
je 0x140071100
mov byte [rbx + 4], al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14007110c
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 0x14007113a
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 0x14007328c
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.140073104
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 0x140073514
Capabilities:
Log keystrokes

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
cmp dl, 1
jne 0x140073546
call fcn.140074f6c
test al, al
jne 0x140073563
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 0x140073559
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 0x14007356c
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.1400396b0
sub rsp, rax
mov dil, r8b
mov rbx, rdx
mov esi, 0x7fff
lea r8, [rbp + 0xff80]
mov edx, esi
call fcn.140074a00
lea r8, [rbp - 0x80]
mov edx, esi
mov rcx, rbx
call fcn.140074a00
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0xff80]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor esi, esi
test eax, eax
jne 0x140073606
test dil, dil
je 0x1400735ff
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0xff80]
call fcn.140028304
test eax, eax
je 0x1400735f8
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0xff80]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
mov al, 1
jmp 0x1400736aa
xor al, al
jmp 0x1400736aa
lea rcx, [rbp + 0xff80]
call fcn.140074f10
test al, al
je 0x1400735ff
lea rcx, [rbp - 0x80]
call fcn.140074f10
test al, al
je 0x1400736c3
test dil, dil
je 0x1400735ff
lea rdx, [0x1400d0558]
lea rcx, [rbp + 0xff80]
call fcn.14002786c
lea rcx, [rbp + 0xff80]
call fcn.1400276a8
lea rcx, [rbp - 0x80]
mov word [rbp + rax*2 + 0xff82], si
call fcn.1400276a8
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.14001f2ac
lea rcx, [rsp + 0x58]
call fcn.1400739d8
lea rcx, [rsp + 0x58]
test al, al
sete bl
call fcn.14001c48c
test bl, bl
jne 0x1400735ff
lea rcx, [rbp - 0x80]
call fcn.140074f10
test al, al
jmp 0x14007362a
Function at 0x14007399c
Capabilities:
Copy file

Disassembly:
push rbx
sub rsp, 0x30
mov rdx, qword [rdx]
mov rcx, qword [rcx]
lea rax, [rsp + 0x40]
xor ebx, ebx
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x28], 8
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x40], ebx
call qword [sym.imp.KERNEL32.dll_CopyFileExW]
cmp eax, 1
sete al
add rsp, 0x30
pop rbx
ret

Function at 0x1400739d8
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, [0x1400ab2ec]
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.14001f55c
mov rsi, qword [rbp - 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140073ace
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
cmp eax, 2
jne 0x140073a5c
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x140073a61
jmp 0x140073adc
cmp eax, 3
jne 0x140073ad7
mov rax, qword [rbp - 0x38]
mov qword [rbp - 0x20], rsi
lea rdx, [0x1400ab2ec]
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.14001f150
or r8, 0xffffffffffffffff
cmp rax, r8
je 0x140073ac3
lea rcx, [rbp - 0x20]
mov rdx, rax
call fcn.14001f1b4
lea rcx, [rbp - 0x20]
call fcn.1400739d8
test al, al
je 0x140073ac1
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.14001c48c
jmp 0x140073ad9
test al, 0x10
je 0x140073ad7
mov bl, dil
jmp 0x140073ad9
xor ebx, ebx
mov dil, bl
lea rcx, [rbp - 0x40]
call fcn.14001c48c
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 0x140073b00
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.14001e830
lea rcx, [rsp + 0x70]
call fcn.14001e830
lea rcx, [rsp + 0x50]
call fcn.14001e830
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14001a62c
mov rcx, qword [rsp + 0x30]
call fcn.140074f10
test al, al
je 0x140073b74
lea rdx, [0x1400d0558]
lea rcx, [rsp + 0x30]
call fcn.14001f110
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rdi
call fcn.14001a3dc
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 0x140073c17
cmp sil, 1
jne 0x140073c17
test byte [rbp - 0x70], 0x10
jne 0x140073bf6
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
mov r14b, sil
call fcn.14001f540
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.14001ee50
lea rdx, [rbp - 0x44]
lea rcx, [rsp + 0x30]
call fcn.14001f110
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
jne 0x140073c0c
lea rdx, [rbp - 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140073bab
mov sil, dil
jmp 0x140073bab
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x140073c23
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov dil, r14b
lea rcx, [rsp + 0x50]
call fcn.14001c48c
lea rcx, [rsp + 0x70]
call fcn.14001c48c
lea rcx, [rsp + 0x30]
call fcn.14001c48c
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 0x140073c90
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 0x140073d0f
mov rcx, rdi
movzx ecx, word [rcx]
call fcn.140028400
test eax, eax
je 0x140073d1f
inc esi
lea rcx, [rdi + rsi*2]
cmp word [rcx], r13w
jne 0x140073cf7
mov rcx, rdi
call fcn.14002834c
mov rdi, rax
jmp 0x140073dd4
mov edi, r13d
jmp 0x140073dd4
lea rdx, [rbp - 0x70]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
jne 0x140073ddd
lea rcx, [rsp + 0x30]
call fcn.14001e830
lea rcx, [rsp + 0x50]
call fcn.14001e830
lea rdx, [rbp - 0x44]
lea rcx, [rsp + 0x70]
call fcn.14001f2ac
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.14001a3dc
lea rcx, [rsp + 0x70]
call fcn.14001c48c
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.14001ee50
lea rcx, [rsp + 0x30]
xor r8d, r8d
mov rdx, r12
call fcn.14001ecb0
test eax, eax
jne 0x140073daf
mov eax, dword [rbp - 0x68]
jmp 0x140073dba
test edi, edi
je 0x140073dc0
mov eax, dword [rbp - 0x68]
cmp edi, eax
jne 0x140073dc0
mov dword [r15], eax
mov byte [rbx], 1
lea rcx, [rsp + 0x50]
call fcn.14001c48c
lea rcx, [rsp + 0x30]
call fcn.14001c48c
cmp byte [rbx], r13b
je 0x140073d27
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 0x140073e0c
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 0x140073e50
xor al, al
jmp 0x140073ec9
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.1400278d0
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 0x140073e4c
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 0x140073ee0
Capabilities:
Get storage device properties

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x1400e6630]
xor edi, edi
cmp byte [rax + 0x39], dil
jne 0x140073f08
mov eax, 0x80004005
jmp 0x140073fa2
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 0x140073efe
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 0x140073efe
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 0x1400747a0
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 0x1400747dd
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
jne 0x1400747d0
or eax, 0xffffffff
jmp 0x1400747dd
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [rsp + 0x20]
add rsp, 0x270
pop rbx
ret