joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14010763c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140107688
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140107680
cmp dword [rcx + 0x3c], edx
jl 0x140107680
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140107680
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140107688
mov rax, rdx
add rsp, 0x18
ret

Function at 0x140107810
Capabilities:
Print debug messages

Disassembly:
jmp 0x14010781c
push rbx
sub rsp, 0x540
mov rax, qword [0x14014d030]
xor rax, rsp
mov qword [rsp + 0x530], rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.ntdll.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x140107899
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlVirtualUnwind]
jmp 0x1401078b9
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x548]
mov qword [rsp + 0xf8], rax
lea rcx, str.Invalid_parameter_passed_to_C_runtime_function._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.140106ed0
add rsp, 0x540
pop rbx
ret

Function at 0x14010781c
Capabilities:
Print debug messages

Disassembly:
jmp 0x14010781c
push rbx
sub rsp, 0x540
mov rax, qword [0x14014d030]
xor rax, rsp
mov qword [rsp + 0x530], rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.ntdll.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x140107899
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlVirtualUnwind]
jmp 0x1401078b9
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x548]
mov qword [rsp + 0xf8], rax
lea rcx, str.Invalid_parameter_passed_to_C_runtime_function._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.140106ed0
add rsp, 0x540
pop rbx
ret

Function at 0x140107ff0
Capabilities:
Encode data using xor

Disassembly:
or edx, edx
je 0x140108044
movzx r10, byte [rcx + 0x100]
movzx r11, byte [rcx + 0x101]
add r8, rdx
neg rdx
xor r9d, r9d
nop dword [rax]
inc r10b
mov al, byte [r10 + rcx]
add r11b, al
mov r9b, byte [r11 + rcx]
mov byte [r10 + rcx], r9b
add r9b, al
mov byte [r11 + rcx], al
mov al, byte [r9 + rcx]
xor byte [rdx + r8], al
inc rdx
jne 0x140108010
mov byte [rcx + 0x100], r10b
mov byte [rcx + 0x101], r11b
ret
Function at 0x140074a3c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140074b60
Function at 0x1400022f0
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rdi
sub rsp, 0x20
mov edi, edx
test r8, r8
jne 0x14004279a
mov eax, dword [0x1400e3e98]
cmp eax, 0xffffffff
je 0x1400023ca
movsxd rcx, eax
mov rax, qword [0x1400e3e80]
mov rcx, qword [rax + rcx*8]
mov rbx, qword [rcx]
cmp byte [rbx + 0x6a], 0
mov rbp, qword [rbx]
je 0x140002344
cmp dword [rbx + 0x2b8], 0
mov byte [rbx + 0x6a], 0
jge 0x1400427b4
cmp edi, 8
jg 0x140042810
je 0x140002372
test edi, edi
je 0x1400427fc
cmp edi, 1
je 0x140002372
mov edx, 6
cmp edi, 2
je 0x1400023c1
cmp edi, 3
je 0x1400023b8
jle 0x140002399
cmp edi, 5
jg 0x1400023ae
cmp byte [rbx + 0x68], 0
jne 0x1400023ca
mov edx, edi
mov rcx, rbp
call qword [sym.imp.USER32.dll_ShowWindow]
lea eax, [rdi - 4]
test eax, 0xfffffffb
je 0x140002395
mov rdx, rbp
call fcn.14001a4f8
mov byte [rbx + 0x68], 1
mov eax, 1
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp edi, edx
je 0x1400427e3
jmp 0x140002399
mov byte [rbx + 0x68], 1
jmp 0x140042877
mov byte [rbx + 0x68], 1
jmp 0x1400427e3
xor eax, eax
jmp 0x14000239e
lea rcx, [0x1400e3de0]
mov rdx, r8
call fcn.140004570
mov dword [0x1400e3e98], eax
jmp 0x140002310
cmp byte [rbx + 0x2c4], 0
je 0x140002344
mov r8d, dword [rbx + 0x2c0]
lea rcx, [0x1400e3de0]
mov rdx, rbx
call fcn.1400a5d50
mov byte [rbx + 0x2c4], 0
jmp 0x140002344
cmp byte [rbx + 0x68], 0
je 0x1400023ca
mov rcx, rbp
call qword [sym.imp.USER32.dll_ShowWindow]
nop
jmp 0x140002399
xor edx, edx
mov rcx, rbp
call qword [sym.imp.USER32.dll_ShowWindow]
mov byte [rbx + 0x68], 0
jmp 0x140002399
mov ecx, edi
sub ecx, 9
je 0x140042877
sub ecx, 0x37
je 0x140042863
dec ecx
je 0x14004285f
dec ecx
je 0x14004284c
dec ecx
jne 0x140002399
mov byte [rbx + 0x69], cl
xor ecx, ecx
call qword [sym.imp.USER32.dll_LockWindowUpdate]
mov rcx, qword [rbx]
xor edx, edx
lea r8d, [rdx + 1]
call qword [sym.imp.USER32.dll_InvalidateRect]
nop
jmp 0x140002399
mov rcx, rbp
mov byte [rbx + 0x69], 1
call qword [sym.imp.USER32.dll_LockWindowUpdate]
nop
jmp 0x140002399
xor edx, edx
jmp 0x140042868
mov edx, 1
mov rcx, rbp
call qword [sym.imp.USER32.dll_EnableWindow]
nop
jmp 0x140002399
cmp byte [rbx + 0x68], 0
je 0x1400023ca
mov edx, edi
mov rcx, rbp
call qword [sym.imp.USER32.dll_ShowWindow]
mov rdx, rbp
call fcn.14001a4f8
nop
jmp 0x140002399
Function at 0x1400041b8
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x30
mov rbx, qword [rdx]
mov rsi, rcx
lea rcx, [rbp + 0x20]
mov r14d, r8d
mov rdi, rdx
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [rbp + 0x20]
lea rdx, [rbp + 0x20]
mov rcx, rbx
mov dword [rdi + 0x290], eax
mov eax, dword [rbp + 0x24]
mov dword [rdi + 0x294], eax
call qword [sym.imp.USER32.dll_ScreenToClient]
mov rax, qword [rbp + 0x20]
mov ecx, dword [rbp + 0x24]
cmp eax, dword [rdi + 0x298]
jne 0x140004288
cmp ecx, dword [rdi + 0x29c]
jne 0x140004288
mov ecx, dword [rsi + 0x18]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, dword [rsi + 0x1c]
movzx r15d, ax
shr r15d, 0xf
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx ebx, ax
shr ebx, 0xf
cmp r15d, dword [rdi + 0x2a0]
jne 0x1400447d3
test r14d, r14d
je 0x140004258
mov dword [rdi + 0x2a0], r15d
cmp ebx, dword [rdi + 0x2a4]
jne 0x14004485a
test r14d, r14d
je 0x14000426f
mov dword [rdi + 0x2a4], ebx
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rbp
ret
mov dword [rdi + 0x298], eax
mov dword [rdi + 0x29c], ecx
cmp r14d, 1
jl 0x14000421f
jmp 0x1400447b6
mov dword [rsp + 0x20], ecx
mov r9d, eax
mov r8, rdi
mov rcx, rsi
mov edx, 0xfffffff5
call fcn.14009edfc
nop
jmp 0x14000421f
cmp r14d, 1
jl 0x14000424c
cmp byte [rdi + 0x2e0], 0
je 0x14000424c
mov eax, dword [rbp + 0x24]
mov r9d, dword [rbp + 0x20]
mov r8, rdi
mov rcx, rsi
mov dword [rsp + 0x20], eax
test r15d, r15d
je 0x140044807
mov edx, 0xfffffff9
jmp 0x140044849
mov edx, 0xfffffff8
call fcn.14009edfc
cmp byte [rdi + 0x2a8], 0
je 0x14004484e
mov rcx, qword [rdi]
mov edx, 0xfffffff0
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov r9d, dword [rbp + 0x20]
mov r8, rdi
bt eax, 0x18
mov eax, dword [rbp + 0x24]
mov rcx, rsi
mov dword [rsp + 0x20], eax
mov edx, 0xfffffffa
jb 0x140044849
mov edx, 0xfffffff4
call fcn.14009edfc
mov byte [rdi + 0x2a8], 0
jmp 0x14000424c
cmp r14d, 1
jl 0x140004264
mov eax, dword [rbp + 0x24]
mov r9d, dword [rbp + 0x20]
mov r8, rdi
mov rcx, rsi
mov edx, 0xfffffff7
mov dword [rsp + 0x20], eax
test ebx, ebx
jne 0x140044883
mov edx, 0xfffffff6
call fcn.14009edfc
nop
jmp 0x140004264

Function at 0x140004d84
Capabilities:
Hash data using djb2

Disassembly:
mov eax, dword [rdx + 8]
mov r10, qword [rdx]
xor r8d, r8d
add eax, eax
mov r9d, 0x1505
movsxd rdx, eax
test eax, eax
jle 0x140004db0
movzx ecx, byte [r8 + r10]
imul r9d, r9d, 0x21
inc r8
add r9d, ecx
cmp r8, rdx
jl 0x140004d9c
mov eax, r9d
ret
Function at 0x14001a4f8
Capabilities:
Find taskbar
Log keystrokes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rdi, rdx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rsi, rax
cmp rdi, rax
jne 0x14004f646
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
xor ebx, ebx
test rax, rax
jne 0x14004f65f
lea rcx, str.Shell_TrayWnd
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowW]
mov rsi, rax
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x14004f67a
mov edx, 9
mov rcx, rdi
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x14004f7a4
xor edx, edx
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor edx, edx
mov rcx, rdi
mov r14d, eax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esi, 1
mov ecx, r14d
mov edx, eax
mov r8d, esi
mov r15d, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov r8d, esi
mov edx, ebp
mov ecx, r14d
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov r8d, esi
mov edx, r15d
mov ecx, ebp
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x14004f772
lea esi, [rax + 0x12]
xor edx, edx
mov ecx, esi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
xor r8d, r8d
mov edx, eax
mov cl, sil
call qword [sym.imp.USER32.dll_keybd_event]
xor edx, edx
mov ecx, esi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
lea r8d, [rsi - 0x10]
xor r9d, r9d
mov edx, eax
mov cl, sil
call qword [sym.imp.USER32.dll_keybd_event]
xor edx, edx
mov ecx, esi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
xor r8d, r8d
mov edx, eax
mov cl, sil
call qword [sym.imp.USER32.dll_keybd_event]
xor edx, edx
mov ecx, esi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
lea r8d, [rsi - 0x10]
xor r9d, r9d
mov edx, eax
mov cl, sil
call qword [sym.imp.USER32.dll_keybd_event]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
je 0x14004f777
lea ebx, [rsi - 0xe]
jmp 0x14004f777
mov ebx, 3
xor r8d, r8d
mov edx, r15d
mov ecx, r14d
call qword [sym.imp.USER32.dll_AttachThreadInput]
xor r8d, r8d
mov edx, ebp
mov ecx, r14d
call qword [sym.imp.USER32.dll_AttachThreadInput]
xor r8d, r8d
mov edx, r15d
mov ecx, ebp
call qword [sym.imp.USER32.dll_AttachThreadInput]
jmp 0x14004f7a9
mov ebx, 2
mov eax, ebx
jmp 0x14001a52a
Function at 0x14001aa94
Capabilities:
Hide graphical window

Disassembly:
mov r11, rsp
sub rsp, 0x68
and qword [r11 - 0x10], 0
mov rax, qword [0x1400e34b8]
lea rdx, str.AutoIt_v3
mov qword [r11 - 0x18], rax
and qword [r11 - 0x20], 0
and qword [r11 - 0x28], 0
mov eax, 0x80000000
mov dword [rsp + 0x38], 0x64
mov dword [rsp + 0x30], 0x12c
mov dword [rsp + 0x28], eax
mov r9d, 0xcf0000
mov r8, rdx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExW]
and qword [rsp + 0x58], 0
mov rcx, qword [0x1400e34b8]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], 1
mov qword [rsp + 0x40], rax
and dword [rsp + 0x38], 0
and dword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea rdx, [0x1400ac2f8]
mov r9d, 0x50b008c4
xor r8d, r8d
xor ecx, ecx
mov qword [0x1400e3510], rax
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rcx, qword [0x1400e3510]
xor edx, edx
mov qword [0x1400e3508], rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1400e3510]
xor edx, edx
add rsp, 0x68
jmp qword [sym.imp.USER32.dll_ShowWindow]
Function at 0x14001ac98
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r15
lea rbp, [rsp - 0x1ff70]
mov eax, 0x20070
call fcn.140038f70
sub rsp, rax
lea rcx, [rsp + 0x50]
mov rsi, rdx
call fcn.14001e7d0
lea rdx, [rsp + 0x70]
xor bl, bl
mov ecx, 0x7fff
mov byte [rbp + 0x1ffa0], bl
xor dil, dil
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea r8, [rbp + 0x1ffb0]
mov rdx, rsi
call fcn.14001a7c0
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x14004f9e8
lea r15d, [rax + 1]
lea rcx, [0x1400e5320]
cmp dword [0x1400e3570], r15d
je 0x14004fa0a
lea rax, [rbp + 0x1ffa0]
lea r8, [0x1400e3570]
lea rdx, [0x1400e3598]
mov qword [rsp + 0x20], rax
call fcn.14001cca4
test al, al
je 0x14001ae1e
mov al, byte [0x1400e5320]
mov rcx, qword [0x1400e3598]
mov dil, byte [0x1400e5321]
lea r9, [rbp + 0x1ffb8]
lea r8, [rbp + 0xff70]
mov edx, 0x7fff
mov byte [0x1400e3574], al
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov rdx, qword [rbp + 0x1ffb8]
lea rcx, [0x1400e3550]
call fcn.14001efd8
mov bl, byte [rbp + 0x1ffa0]
mov r8d, dword [0x1400e3570]
lea rdx, [0x1400e3598]
call fcn.14000c0a4
test eax, eax
jne 0x14004fa2e
cmp dil, r15b
je 0x14004fa51
call fcn.14001ab68
call fcn.14001aa94
cmp byte [0x1400e3574], 0
jne 0x14001adcb
lea rcx, [0x1400e3f50]
call fcn.140001770
lea rcx, [0x1400e35c0]
mov edx, r15d
call fcn.14000c180
cmp byte [0x1400e3574], 0
jne 0x14001adef
lea rcx, [0x1400e3f50]
call fcn.1400018c0
lea rcx, [0x1400e5320]
call fcn.14001cd3c
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea rcx, [rsp + 0x50]
call fcn.14001c5f8
add rsp, 0x20070
pop r15
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov dword [0x1400e34c0], r15d
jmp 0x14001adfb
lea r8, str.AutoIt
lea rdx, str.It_is_a_violation_of_the_AutoIt_EULA_to_attempt_to_reverse_engineer_this_program.
mov r9d, reloc.WSOCK32.dll_recv
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
nop
jmp 0x14001ae06
mov r8, qword [0x1400e3578]
or r9d, 0xffffffff
mov edx, r15d
call fcn.14001cbf8
mov al, byte [0x1400e34c8]
mov byte [0x1400e5322], al
jmp 0x14001ad88
lea rcx, [0x1400e5320]
call fcn.14001cd3c
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [0x1400e34c0], r15d
jmp 0x14001ae06
call fcn.140075360
test al, al
jne 0x14001adac
cmp byte [rbp + 0x1ffb0], al
jne 0x14001adac
lea rcx, [rsp + 0x50]
call fcn.140025508
lea rdx, [0x1400cad90]
lea rcx, [rsp + 0x30]
call fcn.14001f29c
lea rcx, [rsp + 0x30]
test bl, bl
je 0x14004fab9
lea rdx, [0x1400ce654]
call fcn.14001f100
lea rdx, [0x1400e3598]
lea rcx, [rsp + 0x30]
call fcn.14001ee40
lea rdx, [0x1400ce654]
lea rcx, [rsp + 0x30]
jmp 0x14004fabc
mov rdx, rsi
call fcn.14001f100
mov rbx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r8, qword [rsp + 0x50]
mov rcx, rax
lea rax, [rsp + 0x70]
lea rdx, [0x1400ce658]
mov r9, rbx
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
lea rcx, [rsp + 0x30]
call fcn.14001c5f8
nop
jmp 0x14001adef
Function at 0x14001b680
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x20
and qword [rsp + 0x30], 0
cmp byte [rcx + 0x20], 0
mov r10, r9
mov r11, r8
mov rbx, rdx
jne 0x14004fca8
mov r9, qword [rsp + 0x50]
mov r8, r10
mov rdx, r11
mov rcx, rbx
call fcn.14002b364
add rsp, 0x20
pop rbx
ret
mov rcx, qword [rcx + 0x18]
imul r10d, r11d
lea r9, [rsp + 0x30]
mov rax, qword [rcx]
mov r8d, r10d
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov rax, qword [rsp + 0x30]
jmp 0x14001b6b2
Function at 0x140025bf8
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
xor ecx, ecx
mov r15, r9
mov r13, rdx
lea ebx, [rcx + 1]
mov edi, ecx
mov ebp, ecx
cmp qword [rdx + 8], rcx
je 0x140063278
mov rax, qword [rsp + 0xc0]
mov r12, qword [rsp + 0xb8]
mov r14, qword [rsp + 0xb0]
mov byte [rax], cl
mov byte [r12], cl
mov byte [r14], cl
mov byte [r9], cl
mov dword [r8], ecx
mov rsi, rax
movsxd rdx, edi
mov rcx, r13
call fcn.14001ed20
movzx ecx, word [rax]
lea eax, [rcx - 0x21]
cmp ax, 0x3d
jbe 0x14006327f
movsxd rdx, edi
add edi, ebx
mov rcx, r13
mov dword [rsp + 0x90], edi
call fcn.14001ed20
mov rsi, qword [rsp + 0xa0]
movzx ecx, word [rax]
cmp cx, 0x7b
jne 0x140063308
lea rcx, [rsp + 0x30]
mov edx, 0x40
call fcn.14001ed90
lea rax, [rsp + 0x90]
lea r9, [rsp + 0x30]
mov edx, 0x7d
mov r8, r13
mov qword [rsp + 0x20], rax
call fcn.140025d50
test al, al
je 0x140025d4a
lea rdi, [0x1400bb160]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rdi]
call fcn.14002747c
test eax, eax
je 0x140025cf9
lea rax, [0x1400bb478]
add rdi, 8
add ebp, ebx
cmp rdi, rax
jl 0x140025cd6
cmp ebp, 0x63
je 0x1400632c4
lea rcx, [0x140000000]
movsxd rax, ebp
cmp byte [rax + rcx + 0xbb0f0], 0
jne 0x140025d4a
movzx eax, byte [rax + rcx + 0xbb080]
mov dword [rsi], eax
lea rcx, [rsp + 0x30]
call fcn.14001c5f8
and dword [rsi], 0xff
mov al, bl
mov rbx, qword [rsp + 0x98]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor bl, bl
jmp 0x140025d20
lea rcx, [rsp + 0x30]
call fcn.14001c5f8
xor al, al
jmp 0x140025d32
movabs rdx, 0x2000000000000405
bt rdx, rax
jae 0x140025c74
cmp cx, 0x2b
jne 0x14006329e
mov byte [r15], bl
jmp 0x1400632bd
cmp cx, 0x5e
jne 0x1400632a9
mov byte [r14], bl
jmp 0x1400632bd
cmp cx, 0x21
jne 0x1400632b5
mov byte [r12], bl
jmp 0x1400632bd
cmp cx, 0x23
jne 0x1400632bd
mov byte [rsi], bl
add edi, ebx
jmp 0x140025c59
lea rcx, [rsp + 0x30]
xor edx, edx
call fcn.14001ed58
movzx ecx, word [rax]
call qword [sym.imp.USER32.dll_VkKeyScanW]
movsx ecx, ax
mov dword [rsi], ecx
cmp ecx, 0xffffffff
je 0x14006326e
bt ecx, 9
jae 0x1400632ec
mov byte [r14], bl
bt ecx, 0xa
jae 0x1400632f6
mov byte [r12], bl
bt ecx, 8
jae 0x140025d20
mov byte [r15], bl
jmp 0x140025d20
call qword [sym.imp.USER32.dll_VkKeyScanW]
movsx ecx, ax
mov dword [rsi], ecx
cmp ecx, 0xffffffff
je 0x140063278
bt ecx, 9
jae 0x140063325
mov byte [r14], bl
bt ecx, 0xa
jae 0x14006332f
mov byte [r12], bl
bt ecx, 8
jae 0x140025d2a
mov byte [r15], bl
jmp 0x140025d2a
Function at 0x140025dd8
Capabilities:
Log keystrokes

Disassembly:
push rbx
sub rsp, 0x20
mov word [rcx + 8], 1
mov eax, 5
mov rbx, rcx
mov dword [rcx], eax
mov dword [rcx + 4], eax
xor eax, eax
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], rax
mov dword [rcx + 0x20], eax
mov dword [rcx + 0xc], 4
lea ecx, [rax + 0x5b]
xor edx, edx
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor edx, edx
lea ecx, [rdx + 0x10]
mov byte [rbx + 0x35], al
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor edx, edx
mov ecx, LHashValOfNameSys
mov byte [rbx + 0x32], al
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor edx, edx
mov ecx, LHashValOfNameSys
mov byte [rbx + 0x33], al
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor edx, edx
lea ecx, [rdx + 0x11]
mov byte [rbx + 0x34], al
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor edx, edx
lea ecx, [rdx + 0x12]
mov byte [rbx + 0x30], al
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov byte [rbx + 0x31], al
add rsp, 0x20
pop rbx
ret

Function at 0x1400261d8
Capabilities:
Get common file path

Disassembly:
push rbx
mov eax, 0x10020
call fcn.140038f70
sub rsp, rax
mov rbx, rcx
lea rdx, [rsp + 0x20]
mov ecx, 0x7fff
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14001efd8
add rsp, 0x10020
pop rbx
ret

Function at 0x140026210
Capabilities:
Print debug messages
Write file on windows

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, 0x40
mov r14b, byte [0x1400e34c7]
mov rsi, rdx
mov rdi, rcx
call fcn.140028f38
mov edx, 0x8000
mov ecx, eax
call fcn.140028d60
cmp dword [rsi + 0x10], 0xb
mov ebp, eax
je 0x140063366
lea rcx, [rsp + 0x20]
call fcn.14001c878
mov rcx, rsi
call fcn.1400067a4
mov rdx, qword [rsi + 8]
lea r8, [rsp + 0x20]
call fcn.14001c75c
mov r8, qword [rsp + 0x20]
lea rdx, [0x1400ac510]
mov rcx, rdi
call fcn.140029180
movsxd rbx, eax
test r14b, r14b
jne 0x140063394
lea rcx, [rsp + 0x20]
call fcn.14001c5f8
mov rcx, rdi
call fcn.14002937c
mov rcx, rdi
call fcn.140028f38
mov edx, 0x4000
mov ecx, eax
cmp ebp, 0xffffffff
je 0x1400262bb
mov edx, ebp
call fcn.140028d60
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop r14
ret
mov rcx, rsi
call fcn.140079e90
mov rcx, rsi
movsxd rbx, eax
call fcn.140079e08
mov r9, rdi
mov r8, rbx
mov edx, 1
mov rcx, rax
call fcn.1400290f0
mov rbx, rax
jmp 0x14002629d
mov rcx, rsi
call fcn.140006d94
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
jmp 0x140026293

Function at 0x1400279d0
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140027838
Function at 0x14006577c
Capabilities:
Connect network resource
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rbx, rcx
xor r15d, r15d
lea rcx, [rsp + 0x58]
mov rsi, r9
mov r14, r8
mov rdi, rdx
mov qword [rsp + 0x30], r15
mov qword [rbp + 0x228], r15
call fcn.14001e7d0
lea rcx, [rsp + 0x38]
call fcn.14001e7d0
lea rcx, [rsp + 0x78]
call fcn.14001e7d0
lea rdx, [0x1400ce5a8]
lea rcx, [rsp + 0x58]
call fcn.14001efd8
lea rcx, [rsp + 0x58]
mov rdx, rbx
call fcn.14001f100
lea rdx, str.CLSID
lea rcx, [rsp + 0x58]
call fcn.14001f100
lea rcx, [rsp + 0x38]
call fcn.14001f224
test rdi, rdi
je 0x140065839
cmp word [rdi], 0x5c
je 0x140065839
cmp word [rdi + 2], 0x5c
je 0x140065839
lea rdx, [0x1400ce5e0]
lea rcx, [rsp + 0x38]
call fcn.14001efd8
lea rcx, [rsp + 0x38]
mov rdx, rdi
call fcn.14001f100
test rsi, rsi
je 0x14006589b
xor edx, edx
lea rcx, [rbp - 0x68]
lea r8d, [rdx + 0x30]
call fcn.1400271a0
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x78]
mov dword [rbp - 0x64], r15d
call fcn.14001f504
lea rdx, str.IPC_
lea rcx, [rsp + 0x78]
call fcn.14001f100
mov rax, qword [rsp + 0x78]
mov rdx, qword [rbp + 0x230]
lea rcx, [rbp - 0x68]
xor r9d, r9d
mov r8, rsi
mov qword [rbp - 0x50], rax
call qword [sym.imp.MPR.dll_WNetAddConnection2W]
mov ebx, eax
test eax, eax
js 0x14006595c
mov rcx, qword [rsp + 0x38]
lea r8, [rsp + 0x30]
mov rdx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegConnectRegistryW]
mov ebx, eax
test eax, eax
jne 0x14006595c
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x30]
lea rax, [rbp + 0x228]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x140065951
mov rcx, qword [rbp + 0x228]
lea rax, [rbp + 0x218]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x30]
xor r8d, r8d
xor edx, edx
mov dword [rbp + 0x218], 0x1fe
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x140065944
mov eax, dword [rbp + 0x218]
lea rcx, [rbp - 0x30]
mov rdx, r14
shr eax, 1
mov dword [rbp + 0x218], eax
mov word [rbp + rax*2 - 0x30], r15w
call qword [sym.imp.ole32.dll_CLSIDFromString]
mov ebx, eax
mov rcx, qword [rbp + 0x228]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x78]
call fcn.14001c5f8
lea rcx, [rsp + 0x38]
call fcn.14001c5f8
lea rcx, [rsp + 0x58]
call fcn.14001c5f8
mov eax, ebx
mov rbx, qword [rsp + 0x310]
add rsp, 0x2e0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret