joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007dfb4
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140064fa4
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14007e03e
cmp byte [rbp - 0x21], r15b
je 0x14007e039
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14007e074
call fcn.140071250
test eax, eax
jne 0x14007e060
cmp byte [rbp - 0x21], r15b
je 0x14007e058
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14007e074
cmp byte [rbp - 0x21], r15b
je 0x14007e071
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140067ae4
test eax, eax
jne 0x14007e114
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140064fa4
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14007e0b3
cmp byte [rbp - 0x21], r15b
je 0x14007e0e8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14007e0e8
call fcn.140071250
test eax, eax
jne 0x14007e0d4
cmp byte [rbp - 0x21], r15b
je 0x14007e0cd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14007e0e8
cmp byte [rbp - 0x21], r15b
je 0x14007e0e5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140067ae4
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14007e114
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14007e117
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14007e125
mov rcx, rdi
call fcn.14006e7dc
cmp byte [rbp + 0x3f], r15b
je 0x14007e134
mov rcx, qword [rbp + 0x27]
call fcn.14006e7dc
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x14007fe80
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14007fea8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14007fea8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140004350
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x58]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
add rsp, 0x28
ret

Function at 0x14000841c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, r8
mov rdi, rdx
mov rsi, rcx
mov qword [rcx + 0xb0], rdx
test rdx, 0xffffffffffff0000
jne 0x14000845b
cmp dword [rcx + 0xa8], 0
jne 0x14000845b
movzx eax, dx
mov dword [rcx + 0xa8], eax
call fcn.140011200
mov r8d, 5
mov rdx, rdi
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r9, rbx
mov r8, rbp
mov rdx, rax
mov rcx, rsi
mov rdi, rax
call fcn.1400083c0
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400095a8
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
mov rcx, qword [rcx + 0x40]
mov rbx, r8
call fcn.140016918
mov rsi, rax
test rax, rax
je 0x140009624
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
test rbx, rbx
je 0x14000961f
cmp dword [rbx], 0x40
jb 0x14000961f
mov rcx, qword [rbp + 0x40]
or dword [rbx + 4], 1
or qword [rbx + 0x30], 0xffffffffffffffff
mov qword [rbx + 8], rcx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x87
mov rcx, rsi
mov qword [rbx + 0x10], rsi
call qword [sym.imp.USER32.dll_SendMessageW]
bt rax, 0xd
jb 0x14000961f
or dword [rbx + 4], 0x80000002
mov rax, rdi
jmp 0x140009628
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14000ff94
Capabilities:
Extract resource via kernel32 functions

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
xor edi, edi
xor ebx, ebx
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
je 0x14000fffc
call fcn.140011200
mov r8d, 0xf0
mov rdx, rsi
mov r12, qword [rax + 0x18]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x14000fffc
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x14001001e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, rbp
call fcn.14000f9a4
mov esi, eax
test rdi, rdi
je 0x14001001c
test rbx, rbx
je 0x14001001c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret
Function at 0x14001e468
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.140024b94
nop
cmp dword [0x1400918d0], 1
je 0x14001e414
mov dword [0x1400918cc], 1
mov byte [0x1400918c8], r12b
test ebx, ebx
jne 0x14001e400
mov rcx, qword [0x140093cd0]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14001e3ed
mov rcx, qword [0x140093cc8]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x14001e38c
call fcn.14001f504
cmp qword [rdi], rax
jne 0x14001e38c
jmp 0x14001e372
cmp rdi, rsi
jb 0x14001e3ed
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.14001f504
mov qword [rdi], rax
call rbx
mov rcx, qword [0x140093cd0]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x140093cc8]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x14001e3cb
cmp r13, rax
je 0x14001e3eb
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x14001e372
lea rdx, [0x140067df8]
lea rcx, [0x140067de0]
call fcn.14001e1bc
lea rdx, [0x140067e08]
lea rcx, [0x140067e00]
call fcn.14001e1bc
nop
test r12d, r12d
je 0x14001e423
mov ecx, 8
call fcn.140024a94
test r12d, r12d
jne 0x14001e44e
mov dword [0x1400918d0], 1
lea ecx, [r12 + 8]
call fcn.140024a94
mov ecx, r15d
call fcn.14001e150
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x14001e2dc

Function at 0x14001e474
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x14001e2dc
Function at 0x14001fa57
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14008c080]
jne 0x14001ba0a
rol rcx, 0x10
test cx, 0xffff
jne 0x14001ba06
repz ret
ror rcx, 0x10
jmp 0x14001f9b0
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140091ec0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x140091fb8]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14001fa35
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140091ec0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14001fa57
mov rax, qword [rsp + 0x88]
mov qword [0x140091fb8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140091f58], rax
mov rax, qword [0x140091fb8]
mov qword [0x140091e30], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140091f40], rax
mov dword [0x140091e20], 0xc0000409
mov dword [0x140091e24], 1
mov rax, qword [0x14008c080]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14008c088]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140091eb8], eax
mov ecx, 1
call fcn.140026094
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14006d4f0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140091eb8], 0
jne 0x14001fade
mov ecx, 1
call fcn.140026094
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x140025d78
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.14001f504
xor ebx, ebx
mov rdi, rax
cmp qword [0x140092750], rbx
jne 0x140025e7e
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x140025f53
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140025f53
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x14006d6d0]
mov rcx, rsi
mov qword [0x140092750], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x14006d6b8]
mov rcx, rsi
mov qword [0x140092758], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x140092760], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x140092770], rax
test rax, rax
je 0x140025e75
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x140092768], rax
jmp 0x140025e85
mov rax, qword [0x140092768]
jmp 0x140025e8c
mov rax, qword [0x140092768]
mov r11, qword [0x140092770]
cmp rax, rdi
je 0x140025ef4
cmp r11, rdi
je 0x140025ef4
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x140092770]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x140025ef4
test rax, rax
je 0x140025ef4
call rsi
test rax, rax
je 0x140025eee
lea rcx, [rsp + 0x88]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140025eee
test byte [rsp + 0x38], 1
jne 0x140025ef4
bts ebp, 0x15
jmp 0x140025f32
mov rcx, qword [0x140092758]
cmp rcx, rdi
je 0x140025f32
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140025f32
call rax
mov rbx, rax
test rax, rax
je 0x140025f32
mov rcx, qword [0x140092760]
cmp rcx, rdi
je 0x140025f32
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140025f32
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140092750]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140025f53
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x140025f55
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x14002cdb0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
cmp qword [rsp + 0x50], 0
je 0x14002cddf
cmp qword [rsp + 0x68], 0
je 0x14002cddf
cmp dword [rsp + 0x70], 0
jne 0x14002cde4
jmp 0x14002ce95
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x34], 0
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14002ce2d
mov dword [rsp + 0x38], 1
jmp 0x14002ce35
mov dword [rsp + 0x38], 0
cmp dword [rsp + 0x38], 0
je 0x14002ce82
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x70]
cmp dword [rsp + 0x34], eax
ja 0x14002ce82
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x34], eax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp qword [rsp + 0x60], 0
je 0x14002ce95
mov rcx, qword [rsp + 0x60]
mov eax, dword [rsp + 0x30]
mov dword [rcx], eax
add rsp, 0x48
ret

Function at 0x14002d000
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x2c], 0
xor edx, edx
mov rcx, qword [rsp + 0x60]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0
jbe 0x14002d0fe
mov ecx, dword [rsp + 0x2c]
call fcn.140006748
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14002d0fe
mov r9, qword [rsp + 0x20]
mov r8d, dword [rsp + 0x2c]
xor edx, edx
mov rcx, qword [rsp + 0x60]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x14002d0ea
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
lea rdx, [0x14006eb6c]
mov rcx, qword [rsp + 0x20]
call sub.VERSION.dll_VerQueryValueW
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x14002d0ea
cmp qword [rsp + 0x68], 0
je 0x14002d0d3
mov rcx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 8]
mov dword [rcx], eax
cmp qword [rsp + 0x70], 0
je 0x14002d0ea
mov rcx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0xc]
mov dword [rcx], eax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.140006750
mov eax, dword [rsp + 0x28]
add rsp, 0x58
ret
Function at 0x14002d110
Capabilities:
Create directory
Create process on windows
Get common file path
Log keystrokes via polling
Write and execute a file
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x480
mov rax, qword [0x14008c080]
xor rax, rsp
mov qword [rsp + 0x478], rax
call fcn.140001ba0
mov rcx, qword [rsp + 0x490]
mov rax, qword [rax + 0xd0]
mov qword [rcx], rax
call fcn.140001ba0
mov qword [rax + 0xd0], 0
mov r8d, 0x104
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.14001c3c0
mov r9d, 1
mov r8d, 0x23
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov dword [rsp + 0x460], eax
cmp dword [rsp + 0x460], 0
je 0x14002d32f
lea rdx, str.Epson
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [rsp + 0x460], eax
lea rdx, [0x14006ebb0]
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [rsp + 0x460], eax
lea rdx, str.FaxDeviceop.log
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov r8d, 1
mov edx, 0x40000000
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x468], rax
cmp qword [rsp + 0x468], 0xffffffffffffffff
je 0x14002d32f
mov dword [rsp + 0x470], 0
lea rcx, [0x14006eacc]
call fcn.14001d200
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x470]
mov r8d, eax
lea rdx, [0x14006eb0c]
mov rcx, qword [rsp + 0x468]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rsp + 0x460], eax
mov rcx, qword [rsp + 0x468]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x50]
call fcn.14001caf4
mov rbx, rax
call fcn.140001ba0
mov qword [rax + 0xd0], rbx
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jge 0x14002d322
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jge 0x14002d322
xor r8d, r8d
mov edx, 0x24
lea rcx, str.Do_you_want_to_open_the_folder_
call fcn.14001288c
cmp eax, 6
jne 0x14002d322
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov dword [rsp + 0x28], 7
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x50]
lea rdx, str.explore
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
lea rcx, [0x1400928b0]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov rcx, qword [rsp + 0x478]
xor rcx, rsp
call fcn.14001b9f0
add rsp, 0x480
pop rbx
ret
Function at 0x14002d3e0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rdi
sub rsp, 0x98
mov qword [rsp + 0x88], 0xfffffffffffffffe
call fcn.140001ba0
cmp qword [rax + 0xd0], 0
je 0x14002d569
lea rcx, [0x1400928b0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call fcn.140001ba0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x40000000
mov rcx, qword [rax + 0xd0]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0xffffffffffffffff
je 0x14002d55c
lea rcx, [rsp + 0x68]
call fcn.140001290
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
mov rcx, qword [rsp + 0xb0]
call fcn.140001310
mov rdi, rax
movzx ebx, word [rsp + 0x7e]
movzx r11d, word [rsp + 0x7c]
movzx r10d, word [rsp + 0x7a]
movzx edx, word [rsp + 0x78]
movzx ecx, word [rsp + 0x76]
movzx r9d, word [rsp + 0x72]
movzx r8d, word [rsp + 0x70]
lea rax, [0x14006f3a0]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rdi
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x38], r11d
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], ecx
lea rdx, str._04d__02d__02d__02d:_02d:_02d._03d_____s_s
lea rcx, [rsp + 0x68]
call fcn.1400023a0
mov dword [rsp + 0x80], 0
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
lea rcx, [rsp + 0x68]
call fcn.140001340
movsxd rbx, eax
shl rbx, 1
lea rcx, [rsp + 0x68]
call fcn.140005fb0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x80]
mov r8d, ebx
mov rdx, rax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x68]
call fcn.1400012c0
lea rcx, [0x1400928b0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add rsp, 0x98
pop rdi
pop rbx
ret
Function at 0x14002e760
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
lea rax, str.WaitForSingleObjectAndPostMessage
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x28]
lea rcx, [0x14006ff78]
call fcn.14002d6b0
mov rdx, qword [rsp + 0x58]
lea rcx, str.hObj
call fcn.14002dc70
mov rdx, qword [rsp + 0x60]
lea rcx, [0x14006ffa8]
call fcn.14002dc70
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x30], 0
cmp qword [rsp + 0x58], 0
je 0x14002e85a
cmp dword [rsp + 0x30], 0
jne 0x14002e84f
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x34], eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rsp + 0x20]
cmp eax, 0x7d0
jbe 0x14002e818
mov edx, dword [rsp + 0x34]
lea rcx, [0x14006ffb8]
call fcn.14002dd70
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x34], 0x102
jne 0x14002e845
mov r9, qword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14002e84d
mov dword [rsp + 0x30], 1
jmp 0x14002e7d5
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
lea rcx, str.CPrintUIFunc
call fcn.14002e080
add rsp, 0x48
ret
Function at 0x14002e880
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
lea rax, str.PrintUIEntry
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x38]
lea rcx, [0x14006fde0]
call fcn.14002d6b0
mov rdx, qword [rsp + 0xb8]
lea rcx, str.Command
call fcn.14002d580
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x10], 0
je 0x14002eaad
mov rdx, qword [rsp + 0xb0]
mov rdx, qword [rdx + 0x10]
lea rcx, str.pfnPrintUIEntryW
call fcn.14002dc70
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 8]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x78], 0
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
lea r8, [rsp + 0x48]
mov edx, 0x7fffffff
mov rcx, qword [rsp + 0xb8]
call fcn.140001e10
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jl 0x14002e9da
mov rax, qword [rsp + 0x48]
add rax, 1
mov qword [rsp + 0x48], rax
mov eax, 2
mul qword [rsp + 0x48]
mov rcx, rax
mov rax, 0xffffffffffffffff
cmovo rcx, rax
call fcn.140006748
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x14002e9da
mov r8, qword [rsp + 0x48]
shl r8, 1
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.14001c3c0
mov r8, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call fcn.140001c10
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x30], 1
cmp dword [rsp + 0x30], 0
je 0x14002eaad
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x58]
lea r8, [0x14002e6c0]
xor edx, edx
xor ecx, ecx
call fcn.14001d0a0
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x80]
lea rcx, str.PrintUIEntryThread
call fcn.14002dc70
cmp qword [rsp + 0x80], 0
je 0x14002ea93
call fcn.140001ba0
mov rcx, qword [rax + 0x40]
call fcn.140002990
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rax
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0xb0]
call fcn.14002e760
mov rdx, qword [rsp + 0x80]
lea rcx, str.WaitingObject
call fcn.14002dc70
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x90]
call fcn.140006750
mov r8d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
lea rcx, [0x14006fe80]
call fcn.14002e080
mov eax, dword [rsp + 0x30]
add rsp, 0xa8
ret

Function at 0x14002f450
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jge 0x14002f473
mov rcx, qword [rsp + 0x30]
call fcn.14000784c
add rsp, 0x28
ret