joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004d860
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x120
xor esi, esi
mov rbx, rdx
mov rdi, rcx
mov dword [rdx], esi
mov word [rdx + 4], si
cmp qword [rcx + 0x28], rsi
je 0x14004d8fa
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x14004d9d0
mov al, 0x80
cmp byte [rsp + 0xc0], al
je 0x14004d8af
cmp byte [rsp + 0x30], al
jne 0x14004d8b8
cmp byte [rdi + 0x1e], sil
jne 0x14004d8b8
mov byte [rbx], 1
cmp byte [rsp + 0xc1], al
jne 0x14004d8cb
cmp byte [rdi + 0x1f], sil
jne 0x14004d8cb
mov byte [rbx + 1], 1
cmp byte [rsp + 0x31], al
jne 0x14004d8db
cmp byte [rdi + 0x20], sil
jne 0x14004d8db
mov byte [rbx + 2], 1
cmp byte [rsp + 0x32], al
jne 0x14004d8eb
cmp byte [rdi + 0x21], sil
jne 0x14004d8eb
mov byte [rbx + 3], 1
cmp byte [rsp + 0x7b], al
jne 0x14004d9d0
jmp 0x14004d9c6
mov ecx, LHashValOfNameSys
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ebp, 0x8000
test bp, ax
jne 0x14004d91f
mov ecx, LHashValOfNameSys
call qword [sym.imp.USER32.dll_GetKeyState]
test bp, ax
je 0x14004d928
cmp byte [rdi + 0x1e], sil
jne 0x14004d928
mov byte [rbx], 1
mov ecx, LHashValOfNameSys
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test bp, ax
jne 0x14004d948
mov ecx, LHashValOfNameSys
call qword [sym.imp.USER32.dll_GetKeyState]
test bp, ax
je 0x14004d952
cmp byte [rdi + 0x1f], sil
jne 0x14004d952
mov byte [rbx + 1], 1
mov ecx, reloc.WSOCK32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test bp, ax
jne 0x14004d972
mov ecx, reloc.WSOCK32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetKeyState]
test bp, ax
je 0x14004d97c
cmp byte [rdi + 0x20], sil
jne 0x14004d97c
mov byte [rbx + 2], 1
mov ecx, reloc.WSOCK32.dll_select
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test bp, ax
jne 0x14004d99c
mov ecx, reloc.WSOCK32.dll_select
call qword [sym.imp.USER32.dll_GetKeyState]
test bp, ax
je 0x14004d9a6
cmp byte [rdi + 0x21], sil
jne 0x14004d9a6
mov byte [rbx + 3], 1
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test bp, ax
jne 0x14004d9c6
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
test bp, ax
je 0x14004d9d0
cmp byte [rdi + 0x22], sil
jne 0x14004d9d0
mov byte [rbx + 4], 1
lea r11, [rsp + 0x120]
mov rax, rbx
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14004db90
Capabilities:
Encode data using xor

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
sub rsp, 0x20
mov r8, qword [rdx]
mov rdi, rcx
mov rsi, rdx
mov r12d, dword [r8 + rcx]
lea rax, [r8 + 4]
mov rcx, 0xffffffffffffffff
mov qword [rdx], rax
lea eax, [r12 + 1]
movsxd r8, eax
mov eax, 2
mul r8
cmovo rax, rcx
mov rcx, rax
call fcn.140014ee8
lea ecx, [r12 + r12]
movsxd rbx, ecx
mov rcx, qword [rsi]
mov rbp, rax
lea rdx, [rdi + rcx]
mov r8, rbx
mov rcx, rax
call fcn.140014740
add qword [rsi], rbx
xor eax, eax
movsxd r11, r12d
mov word [rbp + r11*2], ax
test r12d, r12d
jle 0x14004dc22
mov rax, rbp
mov ecx, r12d
xor word [rax], r12w
add rax, 2
dec rcx
jne 0x14004dc15
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov rax, rbp
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop r12
ret

Function at 0x14004f280
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx]
mov ebx, edx
mov dl, 1
call fcn.14004c740
xor edx, edx
test ebx, ebx
lea ebx, [rdx + 0x25]
mov ecx, ebx
jns 0x14004f2dc
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov rcx, qword [rdi]
mov r8d, ebx
shl eax, 0x10
mov edx, pe_nt_image_headers64
mov r9d, eax
or r9, 1
call qword [sym.imp.USER32.dll_PostMessageW]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov r8d, ebx
jmp 0x14004f318
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov rcx, qword [rdi]
mov edx, pe_nt_image_headers64
shl eax, 0x10
mov r8d, reloc.OLEAUT32.dll_SafeArrayRedim
mov r9d, eax
or r9, 1
call qword [sym.imp.USER32.dll_PostMessageW]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov r8d, reloc.OLEAUT32.dll_SafeArrayRedim
mov rcx, qword [rdi]
shl eax, 0x10
mov edx, 0x101
mov r9d, eax
mov eax, 0xc0000001
or r9, rax
call qword [sym.imp.USER32.dll_PostMessageW]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rdi]
xor edx, edx
call fcn.14004c740
mov rbx, qword [rsp + 0x30]
mov al, 1
add rsp, 0x20
pop rdi
ret
Function at 0x140051210
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
sub rsp, 0x30
mov rbp, rdx
mov rsi, rcx
mov rdx, rcx
lea rcx, [0x1400c0e50]
mov r12d, r9d
mov r13d, r8d
call fcn.140037fc0
movsxd r10, eax
mov rax, qword [0x1400c0ef0]
mov r10, qword [rax + r10*8]
mov rbx, qword [r10]
cmp rbp, rsi
jne 0x14005129b
cmp qword [rbx + 0x2d0], 0
je 0x14005130d
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_GetCursorPos]
and qword [rsp + 0x28], 0
mov rcx, qword [rbx + 0x2d0]
mov qword [rsp + 0x20], rsi
mov r8d, dword [rsp + 0x50]
mov r9d, dword [rsp + 0x54]
xor edx, edx
call qword [sym.imp.USER32.dll_TrackPopupMenuEx]
jmp 0x14005132d
lea rcx, [0x1400c0e50]
mov rdx, rbp
call fcn.14004a3d0
cmp eax, 0xffffffff
je 0x14005130d
movsxd rdi, eax
mov rax, qword [0x1400c0f18]
mov rcx, qword [rax + rdi*8]
mov rdx, qword [rcx]
mov al, byte [rdx + 0xf4]
cmp al, 0xe
je 0x14005130d
cmp al, 0xf
je 0x14005130d
cmp al, 0x13
je 0x14005130d
cmp al, 0x10
je 0x14005130d
cmp qword [rdx + 0x10], 0
je 0x14005130d
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov r11, qword [0x1400c0f18]
and qword [rsp + 0x28], 0
mov rax, qword [r11 + rdi*8]
mov rcx, qword [rax]
mov rax, qword [rbx]
mov rcx, qword [rcx + 0x10]
mov qword [rsp + 0x20], rax
jmp 0x140051284
movzx r9d, r12w
movzx eax, r13w
mov r8, rbp
shl r9d, 0x10
mov edx, 0x7b
mov rcx, rsi
or r9, rax
call qword [sym.imp.USER32.dll_DefDlgProcW]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r13
pop r12
pop rdi
ret
Function at 0x1400549d0
Capabilities:
Connect to http server

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov sil, r9b
mov rdi, rdx
mov rbx, rcx
test r8b, r8b
je 0x1400549ff
mov r8b, r9b
call fcn.1400548a0
jmp 0x140054af3
mov ebp, dword [rcx + 0x90]
mov rcx, qword [rdx + 0x60]
mov eax, dword [rdx + 0xe0]
and qword [rsp + 0x38], 0
and dword [rsp + 0x30], 0
mov r9, qword [rdx + 0x40]
movzx r8d, word [rdx + 0xe8]
mov rdx, qword [rdx + 0x20]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov rcx, qword [rbx + 8]
call qword [sym.imp.WININET.dll_InternetConnectW]
mov qword [rbx], rax
test rax, rax
jne 0x140054a5e
lea edx, [rax + 0x15]
xor r9d, r9d
mov r8d, 0xdeadbeef
mov rcx, rbx
call fcn.14004ad20
jmp 0x140054af3
mov rdx, qword [rdi + 0xc0]
and qword [rsp + 0x20], 0
mov r9d, ebp
mov r8d, 0x80000000
mov rcx, rax
call qword [sym.imp.WININET.dll_FtpOpenFileW]
mov rcx, qword [sym.imp.WININET.dll_InternetCloseHandle]
mov qword [rsp + 0x48], rcx
mov rdi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x140054aa4
xor r9d, r9d
lea edx, [rax + 0x16]
mov r8d, 0xdeadbeef
jmp 0x140054add
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.WININET.dll_FtpGetFileSize]
mov ecx, dword [rsp + 0x70]
shl rcx, 0x20
mov eax, eax
or rcx, rax
mov qword [rbx + 0x18], rcx
test sil, sil
je 0x140054ad5
mov rdx, rdi
mov rcx, rbx
call fcn.14004af50
jmp 0x140054ae5
xor r8d, r8d
mov r9b, 1
xor edx, edx
mov rcx, rbx
call fcn.14004ad20
lea rcx, [rsp + 0x40]
mov bl, al
call fcn.140038d20
mov al, bl
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x140054b10
Capabilities:
Connect to http server
Send data
Send http request

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r13
push r14
mov rbp, rsp
sub rsp, 0x70
cmp dword [rdx + 0xe4], 4
mov esi, dword [rcx + 0x90]
mov r14b, r9b
mov r13b, r8b
mov r12, rdx
mov rbx, rcx
jne 0x140054b48
bts esi, 0x17
mov eax, dword [rdx + 0xe0]
mov r10, qword [rdx + 0x60]
and qword [rsp + 0x38], 0
mov r9, qword [rdx + 0x40]
movzx r8d, word [rdx + 0xe8]
and dword [rsp + 0x30], 0
mov rdx, qword [rdx + 0x20]
mov rcx, qword [rcx + 8]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r10
call qword [sym.imp.WININET.dll_InternetConnectW]
mov qword [rbx], rax
test rax, rax
jne 0x140054ba1
lea edx, [rax + 0xb]
xor r9d, r9d
mov r8d, 0xdeadbeef
mov rcx, rbx
call fcn.14004ad20
jmp 0x140054cdd
and qword [rsp + 0x38], 0
mov r8, qword [r12 + 0xc0]
mov dword [rsp + 0x30], esi
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
xor r9d, r9d
xor edx, edx
mov rcx, rax
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov rcx, qword [sym.imp.WININET.dll_InternetCloseHandle]
mov qword [rbp - 0x28], rcx
mov rdi, rax
mov qword [rbp - 0x30], rax
test rax, rax
jne 0x140054bec
lea edx, [rax + 0xc]
jmp 0x140054cbf
test r13b, r13b
je 0x140054bff
mov r8, r12
mov rdx, rax
mov rcx, rbx
call fcn.14004af60
bt esi, 0xc
jae 0x140054c3e
mov r12d, 4
lea r9, [rbp + 0x38]
lea r8, [rbp + 0x30]
lea esi, [r12 + 0x1b]
mov rcx, rdi
mov dword [rbp + 0x38], r12d
mov edx, esi
call qword [sym.imp.WININET.dll_InternetQueryOptionW]
bts dword [rbp + 0x30], 8
lea r8, [rbp + 0x30]
mov r9d, r12d
mov edx, esi
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetSetOptionW]
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x140054cba
mov rcx, rdi
call fcn.140038dd0
cmp eax, 0xc8
jne 0x140054cba
and dword [rbp + 0x30], 0
lea rax, [rbp + 0x30]
lea r9, [rbp + 0x38]
lea r8, [rbp - 0x20]
mov edx, 5
mov rcx, rdi
mov qword [rsp + 0x20], rax
mov dword [rbp + 0x38], reloc.OLEAUT32.dll_RegisterActiveObject
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
lea rcx, [rbp - 0x20]
call fcn.1400157b8
mov rcx, rbx
mov qword [rbx + 0x18], rax
test r14b, r14b
je 0x140054cb0
mov rdx, rdi
call fcn.14004af50
jmp 0x140054cd0
xor r8d, r8d
mov r9b, 1
xor edx, edx
jmp 0x140054ccb
mov edx, reloc.WSOCK32.dll_listen
mov rcx, rbx
mov r8d, 0xdeadbeef
xor r9d, r9d
call fcn.14004ad20
lea rcx, [rbp - 0x30]
mov bl, al
call fcn.140038d20
mov al, bl
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret
Function at 0x140055230
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x100
mov rdi, rcx
lea rcx, [rsp + 0x20]
mov ebx, r8d
mov esi, edx
call fcn.14004b860
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.14004b790
test esi, esi
je 0x14005527a
mov ebx, esi
lea rcx, [rsp + 0x20]
call fcn.14004b820
xor byte [rdi], al
inc rdi
dec rbx
jne 0x140055266
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x140055570
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 0x28
dec dword [reloc.WSOCK32.dll_accept]
jne 0x140055581
call fcn.14004ba30
mov rax, qword [0x1400bf970]
pxor xmm0, xmm0
mov ecx, dword [rax]
add rax, 4
mov qword [0x1400bf970], rax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
cvtsi2sd xmm0, rax
mulsd xmm0, qword [0x14009d830]
add rsp, 0x28
ret

Function at 0x1400555e0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 0x28
dec dword [reloc.WSOCK32.dll_accept]
jne 0x1400555f1
call fcn.14004ba30
mov rax, qword [0x1400bf970]
mov ecx, dword [rax]
add rax, 4
mov qword [0x1400bf970], rax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
shr eax, 1
add rsp, 0x28
ret

Function at 0x140055930
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x58], 0
mov rdi, rcx
je 0x140055998
mov eax, dword [rcx + 0x60]
mov ebp, 0x1f6
xchg dword [rcx + 0x60], eax
cmp eax, ebp
je 0x140055998
add rcx, 0x28
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rdi + 0x58]
mov edx, ebp
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rdi + 0x58]
mov edx, 0x3e8
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rcx, [rdi + 0x58]
call fcn.140039c00
xchg dword [rdi + 0x60], ebp
lea rcx, [rdi + 0x28]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400559b0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [rcx + 0x58], 0
mov rbx, rcx
jne 0x1400559e7
lea rax, [rsp + 0x40]
mov r9, rcx
lea r8, [0x1400558d0]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x58], rax
add rsp, 0x30
pop rbx
ret
Function at 0x140055ee0
Capabilities:
Delete directory
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov bl, dl
lea rdx, [rsp + 0x60]
call fcn.140013350
lea rcx, [rsp + 0x60]
call fcn.14003b2f0
xor edi, edi
test al, al
je 0x140055f7a
lea rcx, [rsp + 0x60]
test bl, bl
jne 0x140055f2c
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne al
jmp 0x140055f7a
call fcn.140014a74
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x38], rdi
mov word [rsp + rax*2 + 0x62], di
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x30], rax
mov eax, 0x614
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov word [rsp + 0x40], ax
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete al
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret

Function at 0x140055f90
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.140013350
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140013350
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor ebx, ebx
test eax, eax
jne 0x14005601b
test dil, dil
je 0x140056014
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x170]
call fcn.140015770
test eax, eax
je 0x14005600d
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
mov al, 1
jmp 0x1400560c3
xor al, al
jmp 0x1400560c3
lea rcx, [rbp + 0x170]
call fcn.14003b2f0
test al, al
je 0x140056014
lea rcx, [rsp + 0x60]
call fcn.14003b2f0
test al, al
je 0x1400560d8
test dil, dil
je 0x140056014
lea rdx, str..
lea rcx, [rbp + 0x170]
call fcn.140014e30
lea rcx, [rbp + 0x170]
call fcn.140014a74
lea rcx, [rsp + 0x60]
mov word [rbp + rax*2 + 0x172], bx
call fcn.140014a74
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.14003ae70
test al, al
je 0x140056014
lea rcx, [rsp + 0x60]
call fcn.14003b2f0
test al, al
jmp 0x140056040
Function at 0x140056100
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.1400244c0
sub rsp, rax
mov rbx, rdx
lea rdx, [rbp + 0x360]
xor edi, edi
mov r13b, r9b
mov r14b, r8b
mov sil, dil
call fcn.140013350
lea rdx, [rbp + 0x570]
mov rcx, rbx
call fcn.140013350
lea rdx, [rbp + 0x570]
lea rcx, [rbp + 0x360]
call fcn.14003b240
lea rcx, [rbp + 0x360]
mov r15b, al
call fcn.14003b2f0
test al, al
je 0x14005618e
lea rdx, str..
lea rcx, [rbp + 0x360]
call fcn.140014e30
lea rcx, [rbp + 0x570]
call fcn.14003b2f0
test al, al
je 0x1400561b1
lea rdx, str..
lea rcx, [rbp + 0x570]
call fcn.140014e30
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.1400161cc
lea rdx, [rbp + 0x780]
lea rcx, [rbp + 0x360]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r12b, 1
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14005633f
cmp r12b, 1
jne 0x14005633f
test byte [rbp + 0x780], 0x10
jne 0x140056312
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.14003b080
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140014e5c
lea rdx, [rbp + 0xbe0]
lea rcx, [rsp + 0x40]
call fcn.140014e30
lea rdx, [rbp + 0x7ac]
lea rcx, [rsp + 0x40]
call fcn.140014e30
lea rcx, [rbp + 0x150]
call fcn.14003b360
test al, al
je 0x1400562b1
test r14b, r14b
je 0x140056332
lea rdx, [rbp + 0x150]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1400562d0
lea rcx, [rbp + 0x150]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rbp + 0x150]
lea rcx, [rsp + 0x40]
cmp r13b, 1
jne 0x140056302
test r15b, r15b
jne 0x1400562e8
call qword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x14005630b
lea rdx, [rbp + 0x150]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x140056342
jmp 0x14005630f
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x140056332
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x14005630b
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x140056332
mov sil, 1
lea rdx, [rbp + 0x780]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140056200
mov r12b, dil
jmp 0x140056200
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
xor al, al
jmp 0x14005634e
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 0x140056370
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
lea rbp, [rsp - 0x9c0]
sub rsp, 0xac0
lea rdx, [rsp + 0x30]
xor ebx, ebx
mov r12b, bl
call fcn.140013350
lea rcx, [rsp + 0x30]
call fcn.14003b2f0
test al, al
je 0x1400563bb
lea rdx, str..
lea rcx, [rsp + 0x30]
call fcn.140014e30
lea rax, [rbp + 0x7b0]
lea r9, [rbp + 0x5a0]
lea r8, [rbp + 0x390]
lea rdx, [rbp + 0x9e8]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call fcn.1400161cc
lea rdx, [rbp + 0x140]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dil, 1
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140056472
cmp dil, 1
jne 0x140056472
test byte [rbp + 0x140], 0x10
jne 0x140056459
lea rdx, [rbp + 0x9e8]
lea rcx, [rsp + 0x30]
mov r12b, dil
call fcn.140014e5c
lea rdx, [rbp + 0x390]
lea rcx, [rsp + 0x30]
call fcn.140014e30
lea rdx, [rbp + 0x16c]
lea rcx, [rsp + 0x30]
call fcn.140014e30
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
jne 0x140056475
lea rdx, [rbp + 0x140]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140056404
mov dil, bl
jmp 0x140056404
mov bl, r12b
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
lea r11, [rsp + 0xac0]
mov al, bl
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret
Function at 0x1400566b0
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 r12
push r13
sub rsp, 0x150
mov dil, byte [rdx]
mov sil, byte [rdx + 7]
movzx r12d, word [rdx + 8]
xor r13d, r13d
mov rbp, rdx
mov rbx, rcx
cmp qword [rcx + 0x28], r13
je 0x1400567a0
cmp dil, 0x14
je 0x1400567a0
cmp dil, 0x90
je 0x1400567a0
cmp dil, 0x91
je 0x1400567a0
mov rcx, rdx
call fcn.14003c4e0
test al, al
je 0x14005680b
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x14005673b
movzx eax, dil
lea rcx, [rsp + 0x50]
xor byte [rsp + rax + 0x50], 0x80
call qword [sym.imp.USER32.dll_SetKeyboardState]
movzx eax, sil
mov rcx, rbp
shl eax, 0x10
movsxd rsi, eax
mov eax, 0xc0000001
or rsi, rax
call fcn.14004d9f0
cmp al, 1
jne 0x14005675e
bts rsi, 0x18
cmp byte [rbx + 0x1b], r13b
jne 0x140056770
cmp byte [rbx + 0x21], r13b
jne 0x140056770
cmp dil, 0x12
jne 0x140056788
cmp byte [rbx + 0x1a], r13b
jne 0x140056788
cmp byte [rbx + 0x20], r13b
jne 0x140056788
bts rsi, 0x1d
mov edx, 0x105
jmp 0x14005678d
mov edx, 0x101
mov rcx, qword [rbx + 0x28]
mov r9, rsi
movzx r8d, dil
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x14005680b
mov rcx, rdx
call fcn.14003c4e0
test al, al
je 0x1400567d4
mov rcx, rbp
call fcn.14004d9f0
mov r8b, sil
mov dl, dil
mov rcx, rbx
mov r9d, 3
cmp al, 1
je 0x1400567cd
mov r9d, 2
call fcn.14003c350
jmp 0x14005680b
mov r8d, SafeArrayCreateEx
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 1
lea ecx, [r8 - 0x27]
mov word [rsp + 0x28], r13w
mov word [rsp + 0x2a], r12w
mov qword [rsp + 0x2c], 6
mov qword [rsp + 0x38], r13
call qword [sym.imp.USER32.dll_SendInput]
mov rcx, rbx
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rdi
jmp fcn.14003c3e0