joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004bae8
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rax, r8
mov r14, rdx
mov r8b, 1
mov rdx, rax
mov rbx, rcx
mov qword [rcx + 0x28], rax
call fcn.14004cb44
xor r15d, r15d
cmp byte [rbx + 8], 1
mov bpl, r15b
mov dword [rsp + 0x50], r15d
mov word [rsp + 0x54], r15w
jne 0x14004bb51
xor r8d, r8d
mov dl, reloc.WSOCK32.dll_sendto
mov rcx, rbx
call fcn.14004c288
lea rdx, [rsp + 0x60]
mov rcx, rbx
mov bpl, al
call fcn.14004b344
lea rcx, [rsp + 0x50]
mov rdx, rax
call fcn.14004b2e0
mov edi, r15d
movsxd rdx, edi
mov rcx, r14
call fcn.140019200
movzx esi, word [rax]
test si, si
je 0x14004bb8d
mov rcx, rbx
inc edi
call fcn.14004b5ec
mov r8d, 1
movzx edx, si
mov rcx, rbx
call fcn.14004ba5c
mov dword [rbx + 0x18], r15d
mov word [rbx + 0x1c], r15w
jmp 0x14004bb54
cmp byte [rbx + 8], 1
jne 0x14004bbad
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.14004c658
mov r8b, bpl
mov dl, reloc.WSOCK32.dll_sendto
mov rcx, rbx
call fcn.14004c288
mov rdx, qword [rbx + 0x28]
xor r8d, r8d
mov rcx, rbx
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
jmp fcn.14004cb44

Function at 0x14004c204
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rbx, rcx
lea rcx, [rsp + 0x20]
mov edi, r8d
call fcn.14004b2c0
lea rcx, [rsp + 0x20]
call fcn.14004cd64
lea rdx, [rsp + 0x40]
mov rcx, rbx
mov dword [rsp + 0x40], 0
mov word [rsp + 0x44], 0
call fcn.14004b658
lea rdx, [rbx + 0x18]
mov rcx, rbx
call fcn.14004c658
test edi, edi
je 0x14004c26a
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14004c62c
dec edi
jne 0x14004c259
lea rdx, [rbx + 0x18]
mov rcx, rbx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
jmp fcn.14004c880

Function at 0x14004c288
Capabilities:
Log keystrokes
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, 0x30
movzx esi, dl
mov r14, rcx
mov bl, r8b
mov ecx, esi
mov ebp, esi
call qword [sym.imp.USER32.dll_GetKeyState]
movzx edi, ax
and dil, 1
cmp bl, dil
je 0x14004c309
xor edx, edx
mov ecx, esi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
mov dl, sil
mov r8d, eax
mov rcx, r14
call fcn.14004cc80
mov rcx, r14
call fcn.14004b328
xor edx, edx
mov ecx, esi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov r9d, 2
mov dl, sil
mov r8d, eax
mov rcx, r14
call fcn.14004cc80
mov rcx, r14
call fcn.14004b30c
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov al, dil
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x14004c328
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 r12
push r14
push r15
sub rsp, 0x160
mov dil, byte [rdx]
mov sil, byte [rdx + 7]
movzx ebp, word [rdx + 8]
xor r15d, r15d
mov r14, rdx
mov rbx, rcx
mov r12d, 1
cmp qword [rcx + 0x28], r15
je 0x14004c42b
cmp dil, 0x14
je 0x14004c42b
lea eax, [rdi + 0x70]
cmp al, r12b
jbe 0x14004c42b
mov rcx, rdx
call fcn.14004b5e4
test al, al
je 0x14004c413
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x14004c3b5
movzx eax, dil
lea rcx, [rsp + 0x60]
or byte [rsp + rax + 0x60], 0x80
call qword [sym.imp.USER32.dll_SetKeyboardState]
movzx eax, sil
mov rcx, r14
shl eax, 0x10
movsxd rsi, eax
or rsi, r12
call fcn.14004b590
cmp al, r12b
jne 0x14004c3d4
bts rsi, 0x18
cmp byte [rbx + 0x1b], r15b
jne 0x14004c3e6
cmp byte [rbx + 0x21], r15b
jne 0x14004c3e6
cmp dil, 0x12
jne 0x14004c405
cmp byte [rbx + 0x1a], r15b
jne 0x14004c405
cmp byte [rbx + 0x20], r15b
jne 0x14004c405
bts rsi, 0x1d
movzx r8d, dil
mov edx, 0x104
mov r9, rsi
jmp 0x14004c41f
movzx r8d, dil
mov r9, rsi
mov edx, 0x100
jmp 0x14004c41f
movzx r8d, bp
mov r9, r12
mov edx, 0x102
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x14004c48e
mov rcx, rdx
call fcn.14004b5e4
test al, al
je 0x14004c45c
mov rcx, r14
call fcn.14004b590
mov r8b, sil
mov dl, dil
mov rcx, rbx
cmp al, r12b
jne 0x14004c452
mov r9d, r12d
jmp 0x14004c455
xor r9d, r9d
call fcn.14004cc80
jmp 0x14004c48e
lea rdx, [rsp + 0x30]
mov r8d, SafeArrayCreateEx
mov ecx, r12d
mov dword [rsp + 0x30], r12d
mov word [rsp + 0x38], r15w
mov word [rsp + 0x3a], bp
mov qword [rsp + 0x3c], 4
mov qword [rsp + 0x48], r15
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 rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
jmp fcn.14004b328
Function at 0x14004c4b8
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 sil, byte [rdx + 7]
movzx ebp, word [rdx + 8]
xor r15d, r15d
mov r14, rdx
mov rbx, rcx
cmp qword [rcx + 0x28], r15
je 0x14004c59e
cmp dil, 0x14
je 0x14004c59e
lea eax, [rdi + 0x70]
cmp al, 1
jbe 0x14004c59e
mov rcx, rdx
call fcn.14004b5e4
test al, al
je 0x14004c608
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x14004c539
movzx eax, dil
lea rcx, [rsp + 0x60]
xor byte [rsp + rax + 0x60], 0x80
call qword [sym.imp.USER32.dll_SetKeyboardState]
movzx eax, sil
mov rcx, r14
shl eax, 0x10
movsxd rsi, eax
mov eax, 0xc0000001
or rsi, rax
call fcn.14004b590
cmp al, 1
jne 0x14004c55c
bts rsi, 0x18
cmp byte [rbx + 0x1b], r15b
jne 0x14004c56e
cmp byte [rbx + 0x21], r15b
jne 0x14004c56e
cmp dil, 0x12
jne 0x14004c586
cmp byte [rbx + 0x1a], r15b
jne 0x14004c586
cmp byte [rbx + 0x20], r15b
jne 0x14004c586
bts rsi, 0x1d
mov edx, 0x105
jmp 0x14004c58b
mov edx, 0x101
mov rcx, qword [rbx + 0x28]
mov r9, rsi
movzx r8d, dil
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x14004c608
mov rcx, rdx
call fcn.14004b5e4
test al, al
je 0x14004c5d2
mov rcx, r14
call fcn.14004b590
mov r8b, sil
mov dl, dil
mov rcx, rbx
mov r9d, 3
cmp al, 1
je 0x14004c5cb
mov r9d, 2
call fcn.14004cc80
jmp 0x14004c608
mov r8d, SafeArrayCreateEx
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 1
lea ecx, [r8 - 0x27]
mov word [rsp + 0x38], r15w
mov word [rsp + 0x3a], bp
mov qword [rsp + 0x3c], 6
mov qword [rsp + 0x48], r15
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.14004b30c

Function at 0x14004c62c
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.14004c328
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14004c4b8
Function at 0x14004c658
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 0x14004c69c
cmp byte [rdx + 1], sil
jne 0x14004c69c
cmp byte [rdx + 2], sil
jne 0x14004c69c
cmp byte [rdx + 3], sil
jne 0x14004c69c
cmp byte [rdx + 4], sil
je 0x14004c864
mov rcx, qword [rcx + 0x28]
test rcx, rcx
je 0x14004c7ea
call qword [sym.imp.USER32.dll_GetParent]
test rax, rax
je 0x14004c7ea
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x14004c712
mov al, byte [rsp + 0x40]
mov cl, 0x80
cmp byte [rbx], sil
je 0x14004c6db
or al, cl
or byte [rbp - 0x30], cl
mov byte [rsp + 0x40], al
cmp byte [rbx + 1], sil
je 0x14004c6ea
or al, cl
or byte [rbp - 0x2f], cl
mov byte [rsp + 0x40], al
cmp byte [rbx + 2], sil
je 0x14004c6f4
or byte [rsp + 0x41], cl
cmp byte [rbx + 3], sil
je 0x14004c6fe
or byte [rsp + 0x42], cl
cmp byte [rbx + 4], sil
je 0x14004c707
or byte [rbp - 0x75], cl
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_SetKeyboardState]
cmp byte [rbx], sil
jne 0x14004c71d
cmp byte [rbx + 1], sil
je 0x14004c740
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 0x14004c769
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 0x14004c7bb
cmp byte [rbx + 2], sil
jne 0x14004c794
cmp byte [rdi + 0x20], sil
jne 0x14004c794
movzx eax, byte [rdi + 0x31]
mov edx, 0x104
shl eax, 0x10
movsxd r9, eax
or r9, 0x20000001
jmp 0x14004c7ab
test al, al
je 0x14004c7bb
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 0x14004c85c
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 0x14004c85c
cmp byte [rbx], sil
je 0x14004c800
mov r8b, byte [rdi + 0x33]
xor r9d, r9d
mov dl, 0xa0
mov rcx, rdi
call fcn.14004cc80
cmp byte [rbx + 1], sil
je 0x14004c817
mov r8b, byte [rdi + 0x34]
xor r9d, r9d
mov dl, 0xa1
mov rcx, rdi
call fcn.14004cc80
cmp byte [rbx + 2], sil
je 0x14004c82e
mov r8b, byte [rdi + 0x30]
xor r9d, r9d
mov dl, reloc.WSOCK32.dll_recvfrom
mov rcx, rdi
call fcn.14004cc80
cmp byte [rbx + 3], sil
je 0x14004c845
mov r8b, byte [rdi + 0x31]
xor r9d, r9d
mov dl, reloc.WSOCK32.dll_select
mov rcx, rdi
call fcn.14004cc80
cmp byte [rbx + 4], sil
je 0x14004c85c
mov r8b, byte [rdi + 0x35]
xor r9d, r9d
mov dl, 0x5b
mov rcx, rdi
call fcn.14004cc80
mov rcx, rdi
call fcn.14004b328
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 0x14004cab4
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
test edx, edx
js 0x14004cb43
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 0x14004cada
xor ecx, ecx
jmp 0x14004cb2e
cmp ebx, 0xf
jae 0x14004cb2c
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14004cb2c
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.140023b10
divsd xmm6, xmm0
comisd xmm7, xmm6
ja 0x14004caf6
jmp 0x14004cb34
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 0x14004cb44
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 0x14004cb73
cmp byte [rcx + 9], dl
je 0x14004cc66
xor r14d, r14d
xor ebp, ebp
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
test r15b, r15b
je 0x14004cc22
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 [0x1400dec64], eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov r15d, eax
test rdi, rdi
je 0x14004cbfb
lea rdx, [rsp + 0x48]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [0x1400dec64]
mov dword [0x1400dec68], eax
cmp ecx, eax
je 0x14004cbe9
lea r8d, [r14 + 1]
mov edx, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov r14d, eax
mov eax, dword [0x1400dec68]
mov r8d, 1
mov edx, eax
mov ecx, ebx
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov ebp, eax
test r15d, r15d
jne 0x14004cc66
test r14d, r14d
jne 0x14004cc66
test ebp, ebp
jne 0x14004cc66
mov eax, dword [0x1400dec64]
cmp ebx, eax
jne 0x14004cc66
cmp eax, dword [0x1400dec68]
jne 0x14004cc66
and qword [rsi + 0x28], 0
jmp 0x14004cc66
test rdi, rdi
je 0x14004cc53
mov edx, dword [0x1400dec68]
xor r8d, r8d
mov ecx, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [0x1400dec64]
mov edx, dword [0x1400dec68]
cmp eax, edx
je 0x14004cc59
xor r8d, r8d
mov ecx, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [0x1400dec64]
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 0x14004cce8
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movzx edi, dx
mov rbx, rcx
mov qword [rcx], 0xff
mov byte [rcx + 0xa], 0
mov word [rcx + 8], dx
call fcn.14004b584
test al, al
jne 0x14004cd14
xor al, al
jmp 0x14004cd56
movzx ecx, di
call qword [sym.imp.USER32.dll_VkKeyScanW]
cmp ax, 0xffff
je 0x14004cd10
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 0x14004cd44
mov byte [rbx + 1], al
test dil, 2
je 0x14004cd4d
mov byte [rbx + 3], al
test dil, 4
je 0x14004cd56
mov byte [rbx + 4], al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14004cd64
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov dil, dl
mov rbx, rcx
mov dword [rcx + 6], esi
mov dword [rcx + 1], esi
mov byte [rcx + 5], sil
mov byte [rcx + 0xa], sil
mov byte [rcx], dl
call fcn.14004b5e4
test al, al
je 0x14004cda5
movzx ecx, dil
xor edx, edx
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov byte [rbx + 7], al
mov al, 1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14004f15c
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.14004ee38
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 0x14004f374
Capabilities:
Log keystrokes

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
cmp dl, 1
jne 0x14004f3a6
call fcn.140050b38
test al, al
jne 0x14004f3c3
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 0x14004f3b9
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 0x14004f3cc
Capabilities:
Copy file
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x380]
sub rsp, 0x480
mov rbx, rdx
lea rdx, [rbp + 0x170]
mov dil, r8b
call fcn.140002784
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140002784
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor ebx, ebx
test eax, eax
jne 0x14004f457
test dil, dil
je 0x14004f450
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x170]
call fcn.140026718
test eax, eax
je 0x14004f449
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
mov al, 1
jmp 0x14004f4ff
xor al, al
jmp 0x14004f4ff
lea rcx, [rbp + 0x170]
call fcn.140050b18
test al, al
je 0x14004f450
lea rcx, [rsp + 0x60]
call fcn.140050b18
test al, al
je 0x14004f514
test dil, dil
je 0x14004f450
lea rdx, str..
lea rcx, [rbp + 0x170]
call fcn.140025c54
lea rcx, [rbp + 0x170]
call fcn.140025c38
lea rcx, [rsp + 0x60]
mov word [rbp + rax*2 + 0x172], bx
call fcn.140025c38
lea rcx, [rsp + 0x20]
mov word [rsp + rax*2 + 0x62], bx
lea rax, [rbp + 0x170]
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x38], rax
mov eax, 0x614
mov dword [rsp + 0x44], ebx
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x28], 2
mov word [rsp + 0x40], ax
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete al
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
lea rcx, [rsp + 0x60]
call fcn.14004f7a8
test al, al
je 0x14004f450
lea rcx, [rsp + 0x60]
call fcn.140050b18
test al, al
jmp 0x14004f47c
Function at 0x14004f538
Capabilities:
Copy file
Delete file
Enumerate files on windows
Move file

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 - 0x1028]
mov eax, 0x1100
call fcn.1400367b0
sub rsp, rax
mov rbx, rdx
lea rdx, [rbp + 0x360]
xor edi, edi
mov r15b, r9b
mov r12b, r8b
mov sil, dil
call fcn.140002784
lea rdx, [rbp + 0x570]
mov rcx, rbx
call fcn.140002784
lea rdx, [rbp + 0x570]
lea rcx, [rbp + 0x360]
call fcn.140050a80
lea rcx, [rbp + 0x360]
mov r13b, al
call fcn.140050b18
test al, al
je 0x14004f5c6
lea rdx, str..
lea rcx, [rbp + 0x360]
call fcn.140025c54
lea rcx, [rbp + 0x570]
call fcn.140050b18
test al, al
je 0x14004f5e9
lea rdx, str..
lea rcx, [rbp + 0x570]
call fcn.140025c54
lea rax, [rbp + 0xdf0]
lea r9, [rbp + 0x9d0]
lea r8, [rbp + 0xbe0]
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x360]
mov qword [rsp + 0x20], rax
call fcn.140026e58
lea rdx, [rbp + 0x780]
lea rcx, [rbp + 0x360]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r14b, 1
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14004f777
cmp r14b, 1
jne 0x14004f777
test byte [rbp + 0x780], 0x10
jne 0x14004f74a
lea rax, [rbp + 0x150]
lea r9, [rbp + 0x570]
lea r8, [rbp + 0xdf0]
lea rdx, [rbp + 0x9d0]
lea rcx, [rbp + 0x7ac]
mov qword [rsp + 0x20], rax
call fcn.14004ff3c
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140025c80
lea rdx, [rbp + 0xbe0]
lea rcx, [rsp + 0x40]
call fcn.140025c54
lea rdx, [rbp + 0x7ac]
lea rcx, [rsp + 0x40]
call fcn.140025c54
lea rcx, [rbp + 0x150]
call fcn.14001933c
test al, al
je 0x14004f6e9
test r12b, r12b
je 0x14004f76a
lea rdx, [rbp + 0x150]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x14004f708
lea rcx, [rbp + 0x150]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rbp + 0x150]
lea rcx, [rsp + 0x40]
cmp r15b, 1
jne 0x14004f73a
test r13b, r13b
jne 0x14004f720
call qword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x14004f743
lea rdx, [rbp + 0x150]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x14004f77a
jmp 0x14004f747
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x14004f76a
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x14004f743
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x14004f76a
mov sil, 1
lea rdx, [rbp + 0x780]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14004f638
mov r14b, dil
jmp 0x14004f638
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
xor al, al
jmp 0x14004f786
mov dil, sil
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov al, dil
lea r11, [rsp + 0x1100]
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 0x14004f7a8
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x230
mov rdx, rcx
lea rcx, [rsp + 0x20]
mov r8d, 0x104
call fcn.140002bd8
lea rcx, [rsp + 0x20]
call fcn.140025c38
xor esi, esi
mov edi, 0x5c
test rax, rax
je 0x14004f7ef
cmp word [rsp + rax*2 + 0x1e], di
jne 0x14004f7ef
mov word [rsp + rax*2 + 0x1e], si
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14004f87a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x14004f81f
lea rcx, [rsp + 0x20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x14004f824
mov al, 1
jmp 0x14004f880
cmp eax, 3
jne 0x14004f87e
lea rcx, [rsp + 0x20]
call fcn.1400040a0
mov edx, edi
mov rcx, rax
mov rbx, rax
call fcn.1400277c4
mov rcx, rbx
test rax, rax
jne 0x14004f84a
call fcn.140025b50
jmp 0x14004f87e
mov word [rax], si
call fcn.14004f7a8
mov rcx, rbx
mov dil, al
call fcn.140025b50
test dil, dil
je 0x14004f875
lea rcx, [rsp + 0x20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne dil
mov al, dil
jmp 0x14004f880
test al, 0x10
jne 0x14004f81b
xor al, al
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x14004f898
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x5a0]
sub rsp, 0x6a0
lea rdx, [rsp + 0x30]
xor ebx, ebx
mov r14b, bl
call fcn.140002784
lea rcx, [rsp + 0x30]
call fcn.140050b18
test al, al
je 0x14004f8e3
lea rdx, str..
lea rcx, [rsp + 0x30]
call fcn.140025c54
lea r8, [rbp + 0x390]
lea rdx, [rbp + 0x5c8]
lea rcx, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rbx
call fcn.140026e58
lea rdx, [rbp + 0x140]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov sil, 1
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14004f98f
cmp sil, 1
jne 0x14004f98f
test byte [rbp + 0x140], 0x10
jne 0x14004f976
lea rdx, [rbp + 0x5c8]
lea rcx, [rsp + 0x30]
mov r14b, sil
call fcn.140025c80
lea rdx, [rbp + 0x390]
lea rcx, [rsp + 0x30]
call fcn.140025c54
lea rdx, [rbp + 0x16c]
lea rcx, [rsp + 0x30]
call fcn.140025c54
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
jne 0x14004f992
lea rdx, [rbp + 0x140]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14004f921
mov sil, bl
jmp 0x14004f921
mov bl, r14b
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
lea r11, [rsp + 0x6a0]
mov al, bl
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret