joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400529d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov r9, qword [rcx - 0x10]
lea rdx, [rsp + 0x30]
mov rdi, rcx
add rcx, 0xfffffffffffffff0
mov r8, qword [r9]
call fcn.140007f40
mov rcx, qword [rdi - 0x10]
mov edx, 0x48
call fcn.14017b7ac
mov rdx, qword [rdi - 0x20]
cmp rdx, 8
jb 0x140052a40
mov rcx, qword [rdi - 0x38]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140052a3b
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140052b5e
mov rcx, r8
call fcn.14017b7ac
xor ebx, ebx
mov qword [rdi - 0x20], 7
mov qword [rdi - 0x28], rbx
mov word [rdi - 0x38], bx
mov rdx, qword [rdi - 0x40]
cmp rdx, 8
jb 0x140052a92
mov rcx, qword [rdi - 0x58]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140052a8d
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140052b5e
mov rcx, r8
call fcn.14017b7ac
mov qword [rdi - 0x48], rbx
mov qword [rdi - 0x40], 7
mov word [rdi - 0x58], bx
mov rdx, qword [rdi - 0x80]
cmp rdx, 8
jb 0x140052ae5
mov rcx, qword [rdi - 0x98]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140052ae0
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140052b5e
mov rcx, r8
call fcn.14017b7ac
mov qword [rdi - 0x88], rbx
mov qword [rdi - 0x80], 7
mov word [rdi - 0x98], bx
add rdi, 0xffffffffffffff48
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x140052b3d
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140052b38
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140052b5e
mov rcx, r8
call fcn.14017b7ac
mov qword [rdi + 0x10], rbx
mov rcx, rdi
mov qword [rdi + 0x18], 7
mov word [rdi], bx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.14002f0f0
call fcn.1401b08a0
int3

Function at 0x1400562a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 8]
lea r8, vtable.ui::RichEdit.0
mov rax, qword [rcx]
mov rdx, qword [rax + 0x170]
cmp rax, r8
jne 0x1400562e4
cmp byte [rcx + 0xc7], 0
jne 0x1400562df
mov rax, qword [rcx + 0x30]
test rax, rax
je 0x1400562df
mov rdx, rcx
mov rcx, rax
add rsp, 0x28
jmp fcn.14002a5f0
add rsp, 0x28
ret
call rdx
jmp 0x1400562df
Function at 0x14005ce80
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x78], rsi
mov rax, qword [0x1402295b8]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rcx
xor ebp, ebp
mov qword [rcx + 0x10], rbp
mov rax, rcx
cmp qword [rcx + 0x18], 8
jb 0x14005cec3
mov rax, qword [rcx]
mov word [rax], bp
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x14005d088
mov ecx, InitCommonControls
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x14005cfc2
mov ecx, InitCommonControls
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14005d082
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rsi, rax
test rax, rax
je 0x14005d082
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalSize]
shr rax, 1
movdqa xmm0, xmmword [0x1401f8bd0]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], bp
mov r8, rax
mov rdx, rsi
lea rcx, [rsp + 0x28]
call fcn.140003280
nop
lea rax, [rsp + 0x28]
cmp rbx, rax
je 0x14005cf6e
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rdx, qword [rsp + 0x28]
mov r8, qword [rsp + 0x38]
mov rcx, rbx
call fcn.140003280
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x14005d082
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005d07d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005d0b0
jmp 0x14005d07d
mov ecx, 1
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x14005d082
mov ecx, 1
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14005d082
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rsi, rax
test rax, rax
je 0x14005d082
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalSize]
movdqa xmm0, xmmword [0x1401f8be0]
movdqu xmmword [rsp + 0x38], xmm0
mov byte [rsp + 0x28], bpl
mov r8, rax
mov rdx, rsi
lea rcx, [rsp + 0x28]
call fcn.140002bb0
nop
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.140001810
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x14005d082
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005d07d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005d0aa
call fcn.14017b7ac
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401c4d70
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
call fcn.1401b08a0
int3
call fcn.1401b08a0
int3
Function at 0x1400684b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov r9, qword [rcx - 0x10]
lea rdx, [rsp + 0x30]
mov rdi, rcx
add rcx, 0xfffffffffffffff0
mov r8, qword [r9]
call fcn.140007f40
mov rcx, qword [rdi - 0x10]
mov edx, 0x48
call fcn.14017b7ac
mov r9, qword [rdi - 0x28]
lea rdx, [rsp + 0x30]
lea rcx, [rdi - 0x28]
mov r8, qword [r9]
call fcn.140007f40
mov rcx, qword [rdi - 0x28]
mov edx, 0x48
call fcn.14017b7ac
mov rdx, qword [rdi - 0x38]
cmp rdx, 8
jb 0x14006853f
mov rcx, qword [rdi - 0x50]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14006853a
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140068564
mov rcx, r8
call fcn.14017b7ac
xor eax, eax
mov qword [rdi - 0x38], 7
mov qword [rdi - 0x40], rax
lea rcx, [rdi - 0x58]
mov word [rdi - 0x50], ax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.1400529d0
call fcn.1401b08a0
int3
Function at 0x14006a960
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 8
mov r10d, r8d
mov r9, rdx
test rdx, rdx
jne 0x14006a976
xor eax, eax
add rsp, 8
ret
mov qword [rsp], rbx
lea rbx, [0x1401edaa0]
not ecx
cmp r10d, 8
jb 0x14006aa68
mov r11, r10
shr r11, 3
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
add r10d, 0xfffffff8
mov edx, dword [rbx + rax*4]
xor edx, ecx
movzx ecx, byte [r9 + 1]
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 2]
mov r8d, dword [rbx + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 3]
mov edx, dword [rbx + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 4]
mov r8d, dword [rbx + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 5]
mov edx, dword [rbx + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 6]
mov r8d, dword [rbx + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 7]
add r9, 8
mov edx, dword [rbx + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
mov ecx, dword [rbx + rax*4]
xor ecx, edx
sub r11, 1
jne 0x14006a9a0
test r10d, r10d
je 0x14006aa90
nop dword [rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov eax, ecx
xor rdx, rax
shr eax, 8
movzx r8d, dl
mov ecx, dword [rbx + r8*4]
xor ecx, eax
add r10d, 0xffffffff
jne 0x14006aa70
mov rbx, qword [rsp]
not ecx
mov eax, ecx
add rsp, 8
ret

Function at 0x14006b3c0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov r10, r8
mov rdi, r9
imul r10d, edx
mov rsi, rdx
cmp byte [r9], 0
mov r11, rcx
je 0x14006b41a
mov rdx, rcx
mov qword [rsp + 0x20], 0
mov rcx, qword [rdi + 8]
lea r9, [rsp + 0x48]
mov r8d, r10d
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14006b406
mov byte [rdi + 0x10], 1
mov eax, dword [rsp + 0x48]
xor edx, edx
div rsi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov edx, dword [r9 + 0x2c]
mov ecx, dword [r9 + 0x28]
sub ecx, edx
mov qword [rsp + 0x40], rbx
lea eax, [rdx + r10]
cmp eax, dword [r9 + 0x28]
cmovbe ecx, r10d
add rdx, qword [r9 + 0x20]
mov ebx, ecx
mov r8d, ecx
mov rcx, r11
call sub.msvcrt.dll_memcpy
add dword [rdi + 0x2c], ebx
mov eax, ebx
mov rbx, qword [rsp + 0x40]
xor edx, edx
div rsi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14006b460
Capabilities:
Read file on windows

Disassembly:
push rbx
push r14
sub rsp, 0x38
cmp byte [rcx], 0
mov r14, rdx
mov qword [rsp + 0x58], rbp
mov rbx, rcx
mov qword [rsp + 0x30], rdi
mov edi, 1
je 0x14006b4b0
mov rcx, qword [rcx + 8]
lea r9, [rsp + 0x60]
mov r8d, edi
mov qword [rsp + 0x20], 0
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14006b4aa
mov byte [rbx + 0x10], dil
mov ebp, dword [rsp + 0x60]
jmp 0x14006b4e7
mov qword [rsp + 0x68], rsi
mov esi, dword [rcx + 0x2c]
mov ecx, dword [rcx + 0x28]
lea eax, [rsi + 1]
cmp eax, ecx
jbe 0x14006b4c6
mov edi, ecx
sub edi, esi
mov rdx, rsi
mov r8d, edi
add rdx, qword [rbx + 0x20]
lea rcx, [rsp + 0x50]
mov ebp, edi
call sub.msvcrt.dll_memcpy
lea eax, [rsi + rdi]
mov rsi, qword [rsp + 0x68]
mov dword [rbx + 0x2c], eax
mov rdi, qword [rsp + 0x30]
cmp ebp, 1
mov rbp, qword [rsp + 0x58]
jne 0x14006b508
movzx eax, byte [rsp + 0x50]
mov dword [r14], eax
xor eax, eax
add rsp, 0x38
pop r14
pop rbx
ret
cmp byte [rbx], 0
je 0x14006b4fe
cmp byte [rbx + 0x10], 0
je 0x14006b4fe
mov eax, 0xffffffff
add rsp, 0x38
pop r14
pop rbx
ret
Function at 0x14006c2a0
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
test rcx, rcx
je 0x14006c4ba
cmp dword [rcx + 0x1c], 0
je 0x14006c4ba
cmp qword [rcx + 0x80], 0
je 0x14006c2cf
call fcn.14006c860
lea r9, [rsp + 0x50]
mov rcx, rdi
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x58]
call fcn.14006bfe0
test eax, eax
je 0x14006c2f6
mov eax, 0xffffff99
add rsp, 0x28
pop rdi
pop rsi
ret
mov ecx, 0xb0
mov qword [rsp + 0x48], rbx
call qword [sym.imp.msvcrt.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x14006c31d
lea eax, [rbx - 0x68]
mov rbx, qword [rsp + 0x48]
add rsp, 0x28
pop rdi
pop rsi
ret
mov ecx, 0x4000
mov qword [rsp + 0x20], rbp
call qword [sym.imp.msvcrt.dll_malloc]
mov ecx, dword [rsp + 0x40]
xor ebp, ebp
mov dword [rbx + 0x68], ecx
mov ecx, dword [rsp + 0x50]
mov dword [rbx + 0x6c], ecx
mov qword [rbx], rax
mov dword [rbx + 0x70], ebp
test rax, rax
jne 0x14006c365
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_free]
mov rbx, qword [rsp + 0x48]
lea eax, [rbp - 0x68]
mov rbp, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
mov dword [rbx + 0x64], ebp
mov eax, dword [rdi + 0x40]
mov ecx, dword [rdi + 0x38]
mov dword [rbx + 0x78], eax
mov dword [rbx + 0x74], ebp
mov eax, dword [rdi + 0x38]
mov dword [rbx + 0x90], eax
mov rax, qword [rdi]
mov qword [rbx + 0x88], rax
mov eax, dword [rdi + 0x10]
mov dword [rbx + 0x94], eax
mov dword [rbx + 0x24], ebp
test ecx, ecx
je 0x14006c3b7
lea rcx, [rbx + 8]
mov qword [rbx + 0x38], rbp
mov qword [rbx + 0x40], rbp
mov qword [rbx + 0x48], rbp
call fcn.14006ad20
test eax, eax
jne 0x14006c3b7
mov dword [rbx + 0x64], 1
mov eax, dword [rdi + 0x44]
mov dword [rbx + 0x7c], eax
mov eax, dword [rdi + 0x48]
mov dword [rbx + 0x80], eax
movzx eax, byte [rdi + 0x34]
and al, 1
mov byte [rbx + 0x98], al
mov eax, dword [rdi + 0x34]
shr eax, 3
test al, 1
je 0x14006c3e2
movzx eax, byte [rdi + 0x3d]
jmp 0x14006c3e6
movzx eax, byte [rdi + 0x43]
mov byte [rbx + 0xac], al
movzx eax, byte [rbx + 0x98]
neg al
sbb ecx, ecx
and ecx, 0xc
mov dword [rbx + 0xa8], ecx
mov dword [rbx + 0x9c], 0x12345678
mov dword [rbx + 0xa0], 0x23456789
mov dword [rbx + 0xa4], 0x34567890
test rsi, rsi
je 0x14006c48e
lea r8, [0x1401edaa0]
nop word [rax + rax]
movzx eax, byte [rsi]
test al, al
je 0x14006c48e
mov edx, dword [rbx + 0x9c]
xor rax, rdx
movzx ecx, al
shr edx, 8
mov eax, dword [r8 + rcx*4]
mov ecx, dword [rbx + 0xa4]
xor eax, edx
mov dword [rbx + 0x9c], eax
movzx eax, al
add eax, dword [rbx + 0xa0]
imul edx, eax, 0x8088405
movzx eax, cl
shr ecx, 8
inc edx
mov dword [rbx + 0xa0], edx
shr rdx, 0x18
xor rax, rdx
mov eax, dword [r8 + rax*4]
xor eax, ecx
mov dword [rbx + 0xa4], eax
add rsi, 1
jne 0x14006c430
mov ecx, dword [rdi + 0x7c]
mov eax, dword [rsp + 0x58]
mov dword [rbx + 0x10], ebp
add eax, 0x1e
mov rbp, qword [rsp + 0x20]
add ecx, eax
mov dword [rbx + 0x60], ecx
xor eax, eax
mov qword [rdi + 0x80], rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x28
pop rdi
pop rsi
ret
mov eax, 0xffffff9a
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x14006d1b0
Capabilities:
Get common file path

Disassembly:
push rdi
push r14
push r15
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rsi
mov rbx, r9
mov r14d, edx
mov r15, rcx
mov ecx, 0x458
call fcn.14017b770
mov rsi, rax
mov qword [rsp + 0x28], rax
xor ebp, ebp
mov qword [rax], rbp
mov rdi, 0xffffffffffffffff
mov dword [rax + 8], edi
mov dword [rax + 0x23c], edi
mov qword [rax + 0x240], rbp
mov qword [rax + 0x248], rbp
test rbx, rbx
je 0x14006d24e
mov rcx, rdi
nop dword [rax + rax]
inc rcx
cmp byte [rbx + rcx], bpl
jne 0x14006d220
inc rcx
call fcn.1401c4d94
mov qword [rsi + 0x240], rax
sub rax, rbx
nop dword [rax + rax]
movzx ecx, byte [rbx]
mov byte [rax + rbx], cl
lea rbx, [rbx + 1]
test cl, cl
jne 0x14006d240
cmp qword [rsi], 0
jne 0x14006d2fc
cmp dword [rsi + 8], 0xffffffff
jne 0x14006d2fc
lea rbx, [rsi + 0x250]
mov rdx, rbx
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
nop word [rax + rax]
lea rdi, [rdi + 1]
cmp word [rbx + rdi*2], 0
jne 0x14006d280
movzx eax, word [rsi + rdi*2 + 0x24e]
cmp ax, 0x5c
je 0x14006d2b5
cmp ax, 0x2f
je 0x14006d2b5
sub rbx, 2
lea rbx, [rbx + 2]
cmp word [rbx], 0
jne 0x14006d2a3
mov eax, dword [0x1401ed8f4]
mov dword [rbx], eax
mov ecx, 0x30
call fcn.14017b770
mov word [rax], 0x100
mov byte [rax + 0x18], 0
mov qword [rax + 0x20], r15
mov dword [rax + 0x28], r14d
mov dword [rax + 0x2c], ebp
mov dword [rax + 0x14], ebp
mov rcx, rax
call fcn.14006b790
mov qword [rsi], rax
test rax, rax
jne 0x14006d301
mov dword [0x140230870], 0x200
mov rcx, rsi
call fcn.14006d350
xor eax, eax
jmp 0x14006d32b
mov ebp, 0x1000000
mov dword [0x140230870], ebp
test ebp, ebp
je 0x14006d317
mov rcx, rsi
call fcn.14006d350
xor eax, eax
jmp 0x14006d32b
mov ecx, InitCommonControls
call fcn.14017b770
mov dword [rax], 1
mov qword [rax + 8], rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x140079790
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
lea rax, [rsp + 0x40]
xor ebx, ebx
mov qword [rsp + 0x28], rax
lea r8, [0x140079be0]
xor r9d, r9d
mov dword [rsp + 0x20], ebx
xor edx, edx
mov dword [0x14022eb10], ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
je 0x1400797fb
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x14022eb10]
test eax, eax
sete bl
mov eax, ebx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov eax, 5
test eax, eax
mov dword [0x14022eb10], eax
sete bl
mov eax, ebx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14007d0b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
mov rbp, r8
mov r14, rcx
mov rcx, qword [0x14022f048]
lea r8, [0x1401ccba0]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
je 0x14007d21c
mov rcx, qword [0x14022f048]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14007d21c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test rax, rax
je 0x14007d21c
mov rcx, qword [0x14022f048]
mov rdx, rbx
mov qword [rsp + 0x50], rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
xorps xmm0, xmm0
mov qword [rsp + 0x30], 0
mov ebx, eax
lea r8, [rsp + 0x20]
movdqu xmmword [rsp + 0x20], xmm0
lea ecx, [rbx + 1]
mov esi, ecx
mov edx, ecx
lea rcx, [rsp + 0x20]
call fcn.14007a6d0
test rbx, rbx
je 0x14007d1a0
mov rcx, qword [rsp + 0x20]
test rcx, rcx
jne 0x14007d174
call sub.msvcrt.dll__errno
mov dword [rax], ILCombine
jmp 0x14007d19b
cmp rsi, rbx
jb 0x14007d186
mov r8, rbx
mov rdx, rdi
call sub.msvcrt.dll_memcpy
jmp 0x14007d1a0
mov r8, rsi
xor edx, edx
call sub.msvcrt.dll_memset
call sub.msvcrt.dll__errno
mov dword [rax], 0x22
call fcn.1401b0840
mov rax, qword [rsp + 0x20]
mov byte [rbx + rax], 0
mov rcx, qword [rsp + 0x20]
call fcn.14001e260
mov rsi, qword [rsp + 0x50]
mov rbx, rax
test rax, rax
je 0x14007d1db
mov r8, rbp
mov rdx, rax
mov rcx, r14
call fcn.14007d2c0
mov rcx, rbx
movzx edi, al
call fcn.14001e330
jmp 0x14007d1de
xor dil, dil
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x14007d216
mov rdx, qword [rsp + 0x30]
mov rax, rcx
sub rdx, rcx
cmp rdx, 0x1000
jb 0x14007d211
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007d234
call fcn.14017b7ac
movzx eax, dil
jmp 0x14007d21e
xor al, al
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
call fcn.1401b08a0
int3
Function at 0x14007f2f0
Capabilities:
Get common file path
Get file system object information

Disassembly:
push rbx
sub rsp, 0x2f0
mov edx, ecx
lea r8, [rsp + 0x308]
xor ecx, ecx
xor ebx, ebx
call sub.SHELL32.dll_SHGetSpecialFolderLocation
cmp qword [rsp + 0x308], rbx
je 0x14007f362
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x2b8
call sub.msvcrt.dll_memset
mov rcx, qword [rsp + 0x308]
lea r8, [rsp + 0x30]
mov r9d, 0x2b8
mov dword [rsp + 0x20], 0x4008
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, dword [rsp + 0x38]
test ecx, ecx
cmovg ebx, ecx
mov rcx, qword [rsp + 0x308]
call qword [sym.imp.SHELL32.dll_ILFree]
mov eax, ebx
add rsp, 0x2f0
pop rbx
ret
Function at 0x140083430
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r12
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rdi
mov r14, r9
movzx r15d, r8b
mov r12, rdx
mov rdi, rcx
mov rsi, qword [rcx]
mov rbx, qword [rsi + 8]
mov r8b, 1
nop dword [rax]
mov rcx, rdi
cmp byte [rbx + 0x19], 0
jne 0x1400834b7
mov rsi, rbx
test r15b, r15b
je 0x140083497
lea rdx, [rbx + 0x20]
mov r8, r14
call fcn.14000df60
movzx r8d, al
xor r8b, 1
jmp 0x1400834a7
lea r8, [rbx + 0x20]
mov rdx, r14
call fcn.14000df60
movzx r8d, al
test r8b, r8b
je 0x1400834b1
mov rbx, qword [rbx]
jmp 0x1400834b5
mov rbx, qword [rbx + 0x10]
jmp 0x140083470
movzx eax, byte [rsp + 0x80]
mov byte [rsp + 0x28], al
mov qword [rsp + 0x20], r14
mov r9, rsi
lea rdx, [rsp + 0x60]
call fcn.140082c50
mov rcx, qword [rax]
mov qword [r12], rcx
mov byte [r12 + 8], 1
mov rax, r12
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
ret
Function at 0x14008d590
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push rsi
sub rsp, 0x40
mov rsi, rcx
mov qword [rsp + 0x58], 0
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x50], 0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [rsi + 0x38]
test eax, eax
jle 0x14008d6e8
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r14
xor r14d, r14d
mov qword [rsp + 0x20], r15
mov r15d, eax
nop dword [rax + rax]
mov rcx, qword [rsi + 0x18]
xor eax, eax
mov r8, qword [rsi + 0x30]
test rcx, rcx
je 0x14008d60a
mov rdx, qword [rcx]
test rdx, rdx
je 0x14008d60a
mov rax, qword [rdx]
lea rdx, [r14 + r8]
test rax, rax
je 0x14008d628
mov rcx, qword [rax]
test rcx, rcx
je 0x14008d628
mov rax, qword [rcx]
test rax, rax
je 0x14008d628
mov rax, qword [rax]
jmp 0x14008d62a
xor eax, eax
mov rcx, qword [rax + 0x10]
xor ebx, ebx
mov rax, qword [rax + 8]
dec rcx
and rcx, rdx
mov rdi, qword [rax + rcx*8]
mov rax, qword [rdi]
mov rbp, qword [rax + 0xa8]
test rbp, rbp
je 0x14008d6c2
nop dword [rax]
mov rax, qword [rdi]
mov rcx, qword [rax + 0x88]
mov rdx, qword [rax + 0xa0]
xor eax, eax
test rcx, rcx
je 0x14008d673
mov rcx, qword [rcx]
test rcx, rcx
je 0x14008d673
mov rax, qword [rcx]
lea r8, [rdx + rbx]
test rax, rax
je 0x14008d691
mov rcx, qword [rax]
test rcx, rcx
je 0x14008d691
mov rax, qword [rcx]
test rax, rax
je 0x14008d691
mov rax, qword [rax]
jmp 0x14008d693
xor eax, eax
mov rcx, qword [rax + 0x10]
mov rax, qword [rax + 8]
dec rcx
and rcx, r8
xor r8d, r8d
mov rcx, qword [rax + rcx*8]
mov rdx, qword [rcx]
mov rcx, rsi
add rdx, 0xb0
call fcn.140088f50
inc rbx
cmp rbx, rbp
jb 0x14008d650
inc r14
sub r15, 1
jne 0x14008d5f0
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x68]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rdx, qword [rsp + 0x50]
lea rcx, str._lld_n
sub rdx, qword [rsp + 0x58]
call fcn.140082150
mov al, 1
add rsp, 0x40
pop rsi
ret
Function at 0x140095550
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
movdqa xmm0, xmmword [0x1401f8bd0]
xor eax, eax
mov word [rsp + 0x20], ax
mov ebx, r8d
mov esi, edx
mov rdi, rcx
movdqu xmmword [rsp + 0x30], xmm0
test dl, 2
je 0x140095596
lea r8d, [rax + 7]
lea rdx, str.Ctrl_
lea rcx, [rsp + 0x20]
call fcn.140002740
test sil, 4
je 0x1400955b3
mov r8d, 8
lea rdx, str.Shift_
lea rcx, [rsp + 0x20]
call fcn.140002740
test sil, 1
je 0x1400955d0
mov r8d, 6
lea rdx, str.Alt_
lea rcx, [rsp + 0x20]
call fcn.140002740
test sil, 8
je 0x1400955ed
mov r8d, 6
lea rdx, str.Win_
lea rcx, [rsp + 0x20]
call fcn.140002740
test ebx, ebx
je 0x1400956a8
lea rsi, [0x14022f070]
xor edx, edx
mov rcx, rsi
mov r8d, 0x80
call sub.msvcrt.dll_memset
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
xor edx, edx
mov ecx, ebx
mov r8, rax
call qword [sym.imp.USER32.dll_MapVirtualKeyExW]
mov ecx, eax
shl ecx, 0x10
or ecx, 1
cmp ebx, 0x20
jne 0x140095640
lea rdx, str.Space
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_StrCpyW]
jmp 0x140095689
cmp ebx, 5
jne 0x140095657
lea rdx, [0x1401d088c]
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_StrCpyW]
jmp 0x140095689
cmp ebx, 6
jne 0x14009566e
lea rdx, [0x1401d0894]
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_StrCpyW]
jmp 0x140095689
lea eax, [rbx - 0x21]
mov r8d, 0x40
mov rdx, rsi
cmp eax, 0xe
ja 0x140095683
bts ecx, 0x18
call qword [sym.imp.USER32.dll_GetKeyNameTextW]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rsi + r8*2], 0
jne 0x140095690
mov rdx, rsi
lea rcx, [rsp + 0x20]
call fcn.140002740
movups xmm0, xmmword [rsp + 0x20]
mov rbx, qword [rsp + 0x50]
mov rax, rdi
movups xmm1, xmmword [rsp + 0x30]
mov rsi, qword [rsp + 0x58]
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm1
add rsp, 0x40
pop rdi
ret