joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004eb5c
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 0x14004ebf6
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x14004eccc
mov al, 0x80
cmp byte [rsp + 0xc0], al
je 0x14004ebab
cmp byte [rsp + 0x30], al
jne 0x14004ebb4
cmp byte [rdi + 0x1e], sil
jne 0x14004ebb4
mov byte [rbx], 1
cmp byte [rsp + 0xc1], al
jne 0x14004ebc7
cmp byte [rdi + 0x1f], sil
jne 0x14004ebc7
mov byte [rbx + 1], 1
cmp byte [rsp + 0x31], al
jne 0x14004ebd7
cmp byte [rdi + 0x20], sil
jne 0x14004ebd7
mov byte [rbx + 2], 1
cmp byte [rsp + 0x32], al
jne 0x14004ebe7
cmp byte [rdi + 0x21], sil
jne 0x14004ebe7
mov byte [rbx + 3], 1
cmp byte [rsp + 0x7b], al
jne 0x14004eccc
jmp 0x14004ecc2
mov ecx, QueryPathOfRegTypeLib
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ebp, 0x8000
test bp, ax
jne 0x14004ec1b
mov ecx, QueryPathOfRegTypeLib
call qword [sym.imp.USER32.dll_GetKeyState]
test bp, ax
je 0x14004ec24
cmp byte [rdi + 0x1e], sil
jne 0x14004ec24
mov byte [rbx], 1
mov ecx, QueryPathOfRegTypeLib
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test bp, ax
jne 0x14004ec44
mov ecx, QueryPathOfRegTypeLib
call qword [sym.imp.USER32.dll_GetKeyState]
test bp, ax
je 0x14004ec4e
cmp byte [rdi + 0x1f], sil
jne 0x14004ec4e
mov byte [rbx + 1], 1
mov ecx, reloc.WSOCK32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test bp, ax
jne 0x14004ec6e
mov ecx, reloc.WSOCK32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetKeyState]
test bp, ax
je 0x14004ec78
cmp byte [rdi + 0x20], sil
jne 0x14004ec78
mov byte [rbx + 2], 1
mov ecx, reloc.WSOCK32.dll_select
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test bp, ax
jne 0x14004ec98
mov ecx, reloc.WSOCK32.dll_select
call qword [sym.imp.USER32.dll_GetKeyState]
test bp, ax
je 0x14004eca2
cmp byte [rdi + 0x21], sil
jne 0x14004eca2
mov byte [rbx + 3], 1
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test bp, ax
jne 0x14004ecc2
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
test bp, ax
je 0x14004eccc
cmp byte [rdi + 0x22], sil
jne 0x14004eccc
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 0x14004f304
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.140050334
xor r15d, r15d
cmp byte [rbx + 8], 1
mov bpl, r15b
mov dword [rsp + 0x50], r15d
mov word [rsp + 0x54], r15w
jne 0x14004f36d
xor r8d, r8d
mov dl, reloc.WSOCK32.dll_sendto
mov rcx, rbx
call fcn.14004fa78
lea rdx, [rsp + 0x60]
mov rcx, rbx
mov bpl, al
call fcn.14004eb5c
lea rcx, [rsp + 0x50]
mov rdx, rax
call fcn.14004eaf8
mov edi, r15d
movsxd rdx, edi
mov rcx, r14
call fcn.14000807c
movzx esi, word [rax]
test si, si
je 0x14004f3a9
mov rcx, rbx
inc edi
call fcn.14004ee04
mov r8d, 1
movzx edx, si
mov rcx, rbx
call fcn.14004f274
mov dword [rbx + 0x18], r15d
mov word [rbx + 0x1c], r15w
jmp 0x14004f370
cmp byte [rbx + 8], 1
jne 0x14004f3c9
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.14004fe48
mov r8b, bpl
mov dl, reloc.WSOCK32.dll_sendto
mov rcx, rbx
call fcn.14004fa78
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.140050334

Function at 0x14004fa78
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 0x14004faf9
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.140050470
mov rcx, r14
call fcn.14004eb40
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.140050470
mov rcx, r14
call fcn.14004eb24
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 0x14004fb18
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 0x14004fc1b
cmp dil, 0x14
je 0x14004fc1b
lea eax, [rdi + 0x70]
cmp al, r12b
jbe 0x14004fc1b
mov rcx, rdx
call fcn.14004edfc
test al, al
je 0x14004fc03
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x14004fba5
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.14004eda8
cmp al, r12b
jne 0x14004fbc4
bts rsi, 0x18
cmp byte [rbx + 0x1b], r15b
jne 0x14004fbd6
cmp byte [rbx + 0x21], r15b
jne 0x14004fbd6
cmp dil, 0x12
jne 0x14004fbf5
cmp byte [rbx + 0x1a], r15b
jne 0x14004fbf5
cmp byte [rbx + 0x20], r15b
jne 0x14004fbf5
bts rsi, 0x1d
movzx r8d, dil
mov edx, 0x104
mov r9, rsi
jmp 0x14004fc0f
movzx r8d, dil
mov r9, rsi
mov edx, 0x100
jmp 0x14004fc0f
movzx r8d, bp
mov r9, r12
mov edx, 0x102
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x14004fc7e
mov rcx, rdx
call fcn.14004edfc
test al, al
je 0x14004fc4c
mov rcx, r14
call fcn.14004eda8
mov r8b, sil
mov dl, dil
mov rcx, rbx
cmp al, r12b
jne 0x14004fc42
mov r9d, r12d
jmp 0x14004fc45
xor r9d, r9d
call fcn.140050470
jmp 0x14004fc7e
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.14004eb40
Function at 0x14004fca8
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 0x14004fd8e
cmp dil, 0x14
je 0x14004fd8e
lea eax, [rdi + 0x70]
cmp al, 1
jbe 0x14004fd8e
mov rcx, rdx
call fcn.14004edfc
test al, al
je 0x14004fdf8
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x14004fd29
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.14004eda8
cmp al, 1
jne 0x14004fd4c
bts rsi, 0x18
cmp byte [rbx + 0x1b], r15b
jne 0x14004fd5e
cmp byte [rbx + 0x21], r15b
jne 0x14004fd5e
cmp dil, 0x12
jne 0x14004fd76
cmp byte [rbx + 0x1a], r15b
jne 0x14004fd76
cmp byte [rbx + 0x20], r15b
jne 0x14004fd76
bts rsi, 0x1d
mov edx, 0x105
jmp 0x14004fd7b
mov edx, 0x101
mov rcx, qword [rbx + 0x28]
mov r9, rsi
movzx r8d, dil
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x14004fdf8
mov rcx, rdx
call fcn.14004edfc
test al, al
je 0x14004fdc2
mov rcx, r14
call fcn.14004eda8
mov r8b, sil
mov dl, dil
mov rcx, rbx
mov r9d, 3
cmp al, 1
je 0x14004fdbb
mov r9d, 2
call fcn.140050470
jmp 0x14004fdf8
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.14004eb24

Function at 0x14004fe1c
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.14004fb18
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14004fca8
Function at 0x14004fe48
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 0x14004fe8c
cmp byte [rdx + 1], sil
jne 0x14004fe8c
cmp byte [rdx + 2], sil
jne 0x14004fe8c
cmp byte [rdx + 3], sil
jne 0x14004fe8c
cmp byte [rdx + 4], sil
je 0x140050054
mov rcx, qword [rcx + 0x28]
test rcx, rcx
je 0x14004ffda
call qword [sym.imp.USER32.dll_GetParent]
test rax, rax
je 0x14004ffda
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x14004ff02
mov al, byte [rsp + 0x40]
mov cl, 0x80
cmp byte [rbx], sil
je 0x14004fecb
or al, cl
or byte [rbp - 0x30], cl
mov byte [rsp + 0x40], al
cmp byte [rbx + 1], sil
je 0x14004feda
or al, cl
or byte [rbp - 0x2f], cl
mov byte [rsp + 0x40], al
cmp byte [rbx + 2], sil
je 0x14004fee4
or byte [rsp + 0x41], cl
cmp byte [rbx + 3], sil
je 0x14004feee
or byte [rsp + 0x42], cl
cmp byte [rbx + 4], sil
je 0x14004fef7
or byte [rbp - 0x75], cl
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_SetKeyboardState]
cmp byte [rbx], sil
jne 0x14004ff0d
cmp byte [rbx + 1], sil
je 0x14004ff30
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 0x14004ff59
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 0x14004ffab
cmp byte [rbx + 2], sil
jne 0x14004ff84
cmp byte [rdi + 0x20], sil
jne 0x14004ff84
movzx eax, byte [rdi + 0x31]
mov edx, 0x104
shl eax, 0x10
movsxd r9, eax
or r9, 0x20000001
jmp 0x14004ff9b
test al, al
je 0x14004ffab
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 0x14005004c
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 0x14005004c
cmp byte [rbx], sil
je 0x14004fff0
mov r8b, byte [rdi + 0x33]
xor r9d, r9d
mov dl, 0xa0
mov rcx, rdi
call fcn.140050470
cmp byte [rbx + 1], sil
je 0x140050007
mov r8b, byte [rdi + 0x34]
xor r9d, r9d
mov dl, 0xa1
mov rcx, rdi
call fcn.140050470
cmp byte [rbx + 2], sil
je 0x14005001e
mov r8b, byte [rdi + 0x30]
xor r9d, r9d
mov dl, reloc.WSOCK32.dll_recvfrom
mov rcx, rdi
call fcn.140050470
cmp byte [rbx + 3], sil
je 0x140050035
mov r8b, byte [rdi + 0x31]
xor r9d, r9d
mov dl, reloc.WSOCK32.dll_select
mov rcx, rdi
call fcn.140050470
cmp byte [rbx + 4], sil
je 0x14005004c
mov r8b, byte [rdi + 0x35]
xor r9d, r9d
mov dl, 0x5b
mov rcx, rdi
call fcn.140050470
mov rcx, rdi
call fcn.14004eb40
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 0x1400502a4
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
test edx, edx
js 0x140050333
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 0x1400502ca
xor ecx, ecx
jmp 0x14005031e
cmp ebx, 0xf
jae 0x14005031c
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14005031c
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.140027264
divsd xmm6, xmm0
comisd xmm7, xmm6
ja 0x1400502e6
jmp 0x140050324
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 0x140050334
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 0x140050363
cmp byte [rcx + 9], dl
je 0x140050456
xor r14d, r14d
xor ebp, ebp
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
test r15b, r15b
je 0x140050412
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 [0x1400e0aa4], eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov r15d, eax
test rdi, rdi
je 0x1400503eb
lea rdx, [rsp + 0x48]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [0x1400e0aa4]
mov dword [0x1400e0aa8], eax
cmp ecx, eax
je 0x1400503d9
lea r8d, [r14 + 1]
mov edx, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov r14d, eax
mov eax, dword [0x1400e0aa8]
mov r8d, 1
mov edx, eax
mov ecx, ebx
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov ebp, eax
test r15d, r15d
jne 0x140050456
test r14d, r14d
jne 0x140050456
test ebp, ebp
jne 0x140050456
mov eax, dword [0x1400e0aa4]
cmp ebx, eax
jne 0x140050456
cmp eax, dword [0x1400e0aa8]
jne 0x140050456
and qword [rsi + 0x28], 0
jmp 0x140050456
test rdi, rdi
je 0x140050443
mov edx, dword [0x1400e0aa8]
xor r8d, r8d
mov ecx, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [0x1400e0aa4]
mov edx, dword [0x1400e0aa8]
cmp eax, edx
je 0x140050449
xor r8d, r8d
mov ecx, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [0x1400e0aa4]
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 0x1400504d8
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.14004ed9c
test al, al
jne 0x140050504
xor al, al
jmp 0x140050546
movzx ecx, di
call qword [sym.imp.USER32.dll_VkKeyScanW]
cmp ax, 0xffff
je 0x140050500
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 0x140050534
mov byte [rbx + 1], al
test dil, 2
je 0x14005053d
mov byte [rbx + 3], al
test dil, 4
je 0x140050546
mov byte [rbx + 4], al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140050554
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.14004edfc
test al, al
je 0x140050595
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 0x140052924
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.140052600
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 0x140052b44
Capabilities:
Log keystrokes

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
cmp dl, 1
jne 0x140052b76
call fcn.1400543a8
test al, al
jne 0x140052b93
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 0x140052b89
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 0x140052b9c
Capabilities:
Copy file
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x1ff60]
mov eax, 0x20060
call fcn.140039ca0
sub rsp, rax
mov dil, r8b
mov rbx, rdx
lea r8, [rbp + 0xff60]
mov edx, 0x7fff
call fcn.140053e14
lea r8, [rsp + 0x60]
mov edx, 0x7fff
mov rcx, rbx
call fcn.140053e14
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0xff60]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor ebx, ebx
test eax, eax
jne 0x140052c37
test dil, dil
je 0x140052c30
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0xff60]
call fcn.140029dd8
test eax, eax
je 0x140052c29
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0xff60]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
mov al, 1
jmp 0x140052cdf
xor al, al
jmp 0x140052cdf
lea rcx, [rbp + 0xff60]
call fcn.140054388
test al, al
je 0x140052c30
lea rcx, [rsp + 0x60]
call fcn.140054388
test al, al
je 0x140052cf4
test dil, dil
je 0x140052c30
lea rdx, [0x1400c7fe8]
lea rcx, [rbp + 0xff60]
call fcn.140029314
lea rcx, [rbp + 0xff60]
call fcn.1400292f8
lea rcx, [rsp + 0x60]
mov word [rbp + rax*2 + 0xff62], bx
call fcn.1400292f8
lea rcx, [rsp + 0x20]
mov word [rsp + rax*2 + 0x62], bx
lea rax, [rbp + 0xff60]
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 + 0x20060]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
lea rcx, [rsp + 0x60]
call fcn.140052f98
test al, al
je 0x140052c30
lea rcx, [rsp + 0x60]
call fcn.140054388
test al, al
jmp 0x140052c5c
Function at 0x140052d18
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 - 0x407b8]
mov eax, 0x40890
call fcn.140039ca0
sub rsp, rax
mov r12b, r8b
mov rbx, rdx
mov r14d, 0x7fff
lea r8, [rbp + 0x10790]
xor edi, edi
mov edx, r14d
mov r15b, r9b
mov sil, dil
call fcn.140053e14
lea r8, [rbp + 0x30790]
mov edx, r14d
mov rcx, rbx
call fcn.140053e14
lea rdx, [rbp + 0x30790]
lea rcx, [rbp + 0x10790]
call fcn.1400542f0
lea rcx, [rbp + 0x10790]
mov r13b, al
call fcn.140054388
test al, al
je 0x140052db2
lea rdx, [0x1400c7fe8]
lea rcx, [rbp + 0x10790]
call fcn.140029314
lea rcx, [rbp + 0x30790]
call fcn.140054388
test al, al
je 0x140052dd5
lea rdx, [0x1400c7fe8]
lea rcx, [rbp + 0x30790]
call fcn.140029314
lea rax, [rbp + 0x590]
lea r9, [rbp + 0x390]
lea r8, [rbp + 0x190]
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x10790]
mov qword [rsp + 0x20], rax
call fcn.14002a5bc
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x10790]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r14b, 1
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140052f67
cmp r14b, 1
jne 0x140052f67
test byte [rsp + 0x40], 0x10
jne 0x140052f3c
lea rax, [rbp + 0x20790]
lea r9, [rbp + 0x30790]
lea r8, [rbp + 0x590]
lea rdx, [rbp + 0x390]
lea rcx, [rsp + 0x6c]
mov qword [rsp + 0x20], rax
call fcn.14005372c
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x790]
call fcn.140029340
lea rdx, [rbp + 0x190]
lea rcx, [rbp + 0x790]
call fcn.140029314
lea rdx, [rsp + 0x6c]
lea rcx, [rbp + 0x790]
call fcn.140029314
lea rcx, [rbp + 0x20790]
call fcn.140022fb4
test al, al
je 0x140052ed5
test r12b, r12b
je 0x140052f5a
lea rdx, [rbp + 0x20790]
lea rcx, [rbp + 0x790]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140052ef6
lea rcx, [rbp + 0x20790]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rbp + 0x20790]
lea rcx, [rbp + 0x790]
cmp r15b, 1
jne 0x140052f2c
test r13b, r13b
jne 0x140052f10
call qword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x140052f35
lea rdx, [rbp + 0x20790]
lea rcx, [rbp + 0x790]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x140052f6a
jmp 0x140052f39
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x140052f5a
lea rcx, [rbp + 0x790]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x140052f35
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x140052f5a
mov sil, 1
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140052e22
mov r14b, dil
jmp 0x140052e22
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
xor al, al
jmp 0x140052f76
mov dil, sil
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov al, dil
lea r11, [rsp + 0x40890]
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