joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18000e4c0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push rbx
push rdi
sub rsp, 0x458
mov rax, qword [0x180038010]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rdi, rdx
mov rbx, rcx
test rcx, rcx
je 0x18000e4fd
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x18000e4fd
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
movzx eax, word [rdi]
test ax, ax
je 0x18000e60e
mov qword [rsp + 0x480], rbp
mov rdx, rdi
mov rcx, rdi
cmp ax, 0x2f
je 0x18000e523
cmp ax, 0x5c
jne 0x18000e526
mov rdx, rcx
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x18000e517
xor ebp, ebp
mov qword [rsp + 0x450], rsi
cmp rdx, rdi
je 0x18000e584
sub rdx, rdi
lea rcx, [rsp + 0x230]
sar rdx, 1
lea rsi, [rdx + rdx]
mov rdx, rdi
mov r8, rsi
call fcn.180011170
cmp rsi, 0x208
jae 0x18000e628
lea rdx, [rsp + 0x230]
mov word [rsp + rsi + 0x230], bp
mov rcx, rbx
call fcn.18000e4c0
mov word [rsp + 0x20], bp
test rbx, rbx
je 0x18000e5b0
lea rcx, [rsp + 0x20]
sub rcx, rbx
nop word [rax + rax]
movzx eax, word [rbx]
mov word [rcx + rbx], ax
lea rbx, [rbx + 2]
test ax, ax
jne 0x18000e5a0
lea rcx, [rsp + 0x20]
sub rcx, 2
nop dword [rax]
cmp word [rcx + 2], bp
lea rcx, [rcx + 2]
jne 0x18000e5c0
xor edx, edx
nop dword [rax]
movzx eax, word [rdi + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x18000e5d0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x18000e5fe
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rsi, qword [rsp + 0x450]
mov rbp, qword [rsp + 0x480]
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.18000ed70
add rsp, 0x458
pop rdi
pop rbx
ret
call fcn.18000f608
int3
Function at 0x18000e9c0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rdi
push r14
push r15
sub rsp, 0x50
mov qword [rax - 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rbp, rcx
mov ecx, 0x458
call fcn.18000f4c4
mov rsi, rax
mov qword [rsp + 0x88], rax
xor edx, edx
mov r8d, 0x458
mov rcx, rax
call fcn.1800115d0
xor r15d, r15d
mov qword [rsi], r15
mov rdi, 0xffffffffffffffff
mov dword [rsi + 8], edi
mov dword [rsi + 0x23c], edi
mov qword [rsi + 0x240], r15
mov qword [rsi + 0x248], r15
lea rbx, [rsi + 0x250]
mov rdx, rbx
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea rdi, [rdi + 1]
cmp word [rbx + rdi*2], 0
jne 0x18000ea41
movzx eax, word [rsi + rdi*2 + 0x24e]
cmp ax, 0x5c
je 0x18000ea76
cmp ax, 0x2f
je 0x18000ea76
sub rbx, 2
lea rbx, [rbx + 2]
cmp word [rbx], 0
jne 0x18000ea64
mov eax, dword [0x18003258c]
mov dword [rbx], eax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 3]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x18000eb36
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, eax
cmp eax, 0xffffffff
setne bl
mov ecx, 0x30
call fcn.18000f4c4
mov r14, rax
mov byte [rax], 1
mov byte [rax + 0x18], 1
mov byte [rax + 1], bl
mov qword [rax + 8], rbp
mov byte [rax + 0x10], 0
mov dword [rax + 0x14], r15d
cmp edi, 0xffffffff
je 0x18000eb09
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [r14 + 0x14], eax
mov rcx, r14
call fcn.18000cca0
mov qword [rsi], rax
test rax, rax
je 0x18000eb36
mov dword [0x180039fa0], r15d
mov ecx, 0x10
call fcn.18000f4c4
mov dword [rax], 1
mov qword [rax + 8], rsi
jmp 0x18000eb7f
mov dword [0x180039fa0], 0x200
mov rcx, qword [rsi + 0x240]
test rcx, rcx
je 0x18000eb51
call fcn.18000f490
mov qword [rsi + 0x240], r15
mov rcx, qword [rsi + 0x248]
test rcx, rcx
je 0x18000eb69
call fcn.18000f490
mov qword [rsi + 0x248], r15
mov edx, 0x458
mov rcx, rsi
call fcn.18000f490
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop r14
pop rdi
ret
Function at 0x1418c80b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1418c8237
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1418c80e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1418c80c7
add dl, dl
jne 0x1418c80ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1418c814e
xor eax, eax
add dl, dl
jne 0x1418c80fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1418c8205
add dl, dl
jne 0x1418c810e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1418c811b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1418c8128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1418c8135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1418c8142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1418c80d6
mov eax, 1
add dl, dl
jne 0x1418c815e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1418c816b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1418c8153
sub eax, ebx
mov ebx, 1
jne 0x1418c81a4
mov ecx, 1
add dl, dl
jne 0x1418c8186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1418c8193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1418c817b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1418c80d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1418c81c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1418c81cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1418c81b5
cmp eax, 0x7d00
jae 0x1418c81f3
cmp eax, 0x500
jb 0x1418c81ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1418c80d6
cmp eax, 0x7f
ja 0x1418c81f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1418c80d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1418c822a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1418c80d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140002550
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1400e6010]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [rsp + 0x20]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rcx, rax
xor edx, edx
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400d5ca0
add rsp, 0x30
pop rbx
ret

Function at 0x140005100
Capabilities:
Execute command

Disassembly:
push rbx
sub rsp, 0x60
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 6
jb 0x140005202
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140005131
mov rax, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 6
lea r9, str.start
lea rcx, [rsp + 0x40]
call fcn.1400d5160
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x1400051ac
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400051a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400051a7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d5cc0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1400051e2
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1400051dd
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400051fb
mov rcx, r8
call fcn.1400d5cc0
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
add rsp, 0x60
pop rbx
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400016f0
int3

Function at 0x140005e20
Capabilities:
Create process on windows
Terminate process

Disassembly:
sub rsp, 0x308
mov rax, qword [0x1400e6010]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
mov r8d, 0x104
lea rdx, [rsp + 0xe0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xorps xmm0, xmm0
mov dword [rsp + 0x70], 0x68
xor eax, eax
lea rcx, [rsp + 0xe0]
mov dword [rsp + 0xd4], eax
xor r9d, r9d
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x48], rax
xor edx, edx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], eax
movups xmmword [rsp + 0x74], xmm0
movups xmmword [rsp + 0x84], xmm0
movups xmmword [rsp + 0x94], xmm0
movups xmmword [rsp + 0xa4], xmm0
movups xmmword [rsp + 0xb4], xmm0
movups xmmword [rsp + 0xc4], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x140005f00
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
mov ecx, 0x7b
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x140005f31
xor r9d, r9d
xor edx, edx
mov cl, 0x7b
lea r8d, [r9 + 2]
call qword [sym.imp.USER32.dll_keybd_event]
mov eax, 1
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret

Function at 0x1400070c0
Capabilities:
Download url
Receive data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rbx, rdx
mov rdx, rcx
cmp qword [rcx + 0x18], 0x10
jb 0x1400070ed
mov r8, qword [rcx]
add r8, qword [rcx + 0x10]
mov rdx, qword [rcx]
jmp 0x1400070f4
mov r8, qword [rcx + 0x10]
add r8, rcx
lea rcx, [rsp + 0x50]
call fcn.14004a4e0
mov rdi, rax
cmp qword [rax + 0x18], 8
jb 0x14000710b
mov rdi, qword [rax]
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x14000711e
add r8, qword [rbx]
mov rdx, qword [rbx]
jmp 0x140007124
add r8, rbx
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14004a4e0
cmp qword [rax + 0x18], 8
jb 0x140007138
mov rax, qword [rax]
xor ebp, ebp
mov qword [rsp + 0x20], rbp
xor r9d, r9d
mov r8, rdi
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
mov esi, eax
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x140007190
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000718b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400071dc
call fcn.1400d5cc0
movdqa xmm0, xmmword [0x1400dedc0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], bp
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x1400071e8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400071e3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400071e3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d5cc0
mov edi, ebp
test esi, esi
sete dil
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140007226
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140007221
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000724d
mov rcx, r8
call fcn.1400d5cc0
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], 0xf
mov byte [rbx], bpl
mov eax, edi
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140007490
Capabilities:
Execute command
Self delete

Disassembly:
push rbx
sub rsp, 0x60
mov rbx, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 4
lea rdx, str.del
lea rcx, [rsp + 0x40]
call fcn.1400d4b30
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.1400495a0
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x30], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0x10
cmovae rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140007553
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000754e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000759a
call fcn.1400d5cc0
movdqa xmm0, xmmword [0x1400dedd0]
movdqu xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x20], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x1400075a7
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400075a1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400075a1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d5cc0
nop
add rsp, 0x60
pop rbx
ret

Function at 0x1400083e0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov ecx, edx
mov ebx, r8d
mov esi, edx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx edi, ax
and edi, 0x8000
test ebx, ebx
je 0x1400084b1
test edi, edi
je 0x1400084b1
xor edx, edx
cmp esi, 1
jne 0x140008442
xor r9d, r9d
mov qword [rsp + 0x20], rdx
xor r8d, r8d
lea ecx, [rdx + 4]
call qword [sym.imp.USER32.dll_mouse_event]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp esi, 2
jne 0x140008471
xor r9d, r9d
mov qword [rsp + 0x20], 0
xor r8d, r8d
lea ecx, [rsi + 0xe]
call qword [sym.imp.USER32.dll_mouse_event]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp esi, 4
jne 0x1400084a0
xor r9d, r9d
mov qword [rsp + 0x20], 0
xor r8d, r8d
lea ecx, [rsi + 0x3c]
call qword [sym.imp.USER32.dll_mouse_event]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
xor r9d, r9d
movzx ecx, sil
lea r8d, [r9 + 2]
call qword [sym.imp.USER32.dll_keybd_event]
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1400088e0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xc0
mov rax, qword [0x1400e6010]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov ebx, dword [0x1400e6ec8]
cmp dword [0x1400e7138], 0
jne 0x140008964
cmp dword [0x1400e713c], 0
jne 0x140008964
movups xmm0, xmmword [0x1400e7104]
movaps xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movups xmmword [rsp + 0x60], xmm1
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov r8d, 0x26
lea rdx, str.You_are_a_unique_star_in_the_universe.
lea rcx, [rsp + 0x60]
call fcn.1400d4b30
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
xor r8d, r8d
xor edx, edx
call fcn.140007fe0
xor edi, edi
test ebx, ebx
je 0x1400089a2
mov rcx, qword [0x1400e7130]
mov dword [rsp + 0x40], 0x5a0049
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], rcx
mov eax, dword [0x1400e712c]
mov dword [rsp + 0x20], eax
mov r9d, dword [0x1400e7128]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.GDI32.dll_BitBlt]
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edi
mov rax, qword [0x1400e7130]
mov qword [rsp + 0x28], rax
mov eax, dword [0x1400e712c]
mov dword [rsp + 0x20], eax
mov r9d, dword [0x1400e7128]
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x1400e7120]
call qword [sym.imp.GDI32.dll_BitBlt]
mov ecx, 0x26
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x140008a04
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
mov cl, 0x26
call qword [sym.imp.USER32.dll_keybd_event]
mov ecx, 0x28
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x140008a27
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
mov cl, 0x28
call qword [sym.imp.USER32.dll_keybd_event]
xorps xmm0, xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x140008a78
lea rcx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_DispatchMessageW]
lea rcx, [0x1400e7138]
call qword [sym.imp.USER32.dll_GetCursorPos]
lea rdx, [0x1400e7140]
mov rcx, qword [0x1400e7118]
call qword [sym.imp.USER32.dll_GetWindowRect]
inc dword [0x1400e6dcc]
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov rbx, rax
mov eax, 4
mov rcx, qword gs:[0x58]
mov rdx, qword [rcx]
mov ecx, dword [rax + rdx]
cmp dword [0x1400e745c], ecx
jle 0x140008aeb
lea rcx, [0x1400e745c]
call fcn.1400d5e20
cmp dword [0x1400e745c], 0xffffffff
jne 0x140008aeb
mov dword [0x1400e806c], ebx
lea rcx, [0x1400e745c]
call fcn.1400d5dc0
mov eax, dword [0x1400e806c]
add eax, 0x3e8
cmp ebx, eax
jl 0x140008b12
mov dword [0x1400e806c], ebx
mov eax, dword [0x1400e6dcc]
mov dword [0x1400e7150], eax
mov dword [0x1400e6dcc], edi
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400d5ca0
mov rbx, qword [rsp + 0xd0]
add rsp, 0xc0
pop rdi
ret
Function at 0x140008cb0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x78
mov rax, qword [0x1400e6010]
xor rax, rsp
mov qword [rsp + 0x68], rax
xorps xmm0, xmm0
lea rcx, [rsp + 0x38]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm0
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x140008d02
lea rcx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_DispatchMessageW]
lea rcx, [0x1400e7138]
mov qword [rsp + 0x70], rbx
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rcx, qword [0x1400e7118]
lea rdx, [0x1400e7140]
call qword [sym.imp.USER32.dll_GetWindowRect]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x1400e7118]
jne 0x140008ee8
cmp dword [0x1400e7154], 0
jne 0x140008da3
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x140008da3
cmp dword [0x1400e8118], 0
jne 0x140008db0
cmp dword [0x1400e74bc], 0
je 0x140008d94
mov eax, dword [0x1400e713c]
sub eax, dword [0x1400e7144]
mov ecx, dword [0x1400e7138]
sub ecx, dword [0x1400e7140]
mov dword [0x1400e6dec], eax
xor eax, eax
mov dword [0x1400e74bc], eax
mov dword [0x1400e6de8], ecx
mov dword [0x1400e8118], 1
jmp 0x140008ef3
cmp dword [0x1400e8118], 0
je 0x140008e8f
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x140008e8f
mov eax, dword [0x1400e714c]
mov r9d, dword [0x1400e7148]
mov r8d, dword [0x1400e713c]
mov edx, dword [0x1400e7138]
sub eax, dword [0x1400e7144]
sub r9d, dword [0x1400e7140]
sub r8d, dword [0x1400e6dec]
sub edx, dword [0x1400e6de8]
mov rcx, qword [0x1400e7118]
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], eax
mov dword [0x1400e7154], 1
mov dword [0x1400e715c], 1
call qword [sym.imp.USER32.dll_MoveWindow]
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov rcx, qword gs:[0x58]
mov rbx, rax
mov eax, 4
mov rdx, qword [rcx]
mov ecx, dword [rax + rdx]
cmp dword [0x1400e74e0], ecx
jle 0x140008e73
lea rcx, [0x1400e74e0]
call fcn.1400d5e20
cmp dword [0x1400e74e0], 0xffffffff
jne 0x140008e73
lea rcx, [0x1400e74e0]
mov dword [0x1400e73e8], ebx
call fcn.1400d5dc0
mov eax, ebx
sub eax, dword [0x1400e73e8]
cmp eax, 0x64
jl 0x140008e88
mov dword [0x1400e73e8], ebx
jmp 0x140008ef3
mov eax, 1
jmp 0x140008ef5
xor eax, eax
mov dword [0x1400e74bc], 1
cmp dword [0x1400e7158], eax
mov dword [0x1400e8118], eax
mov dword [0x1400e7154], eax
mov dword [0x1400e715c], eax
jne 0x140008ed3
lea ecx, [rax + 1]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x140008ecc
mov ecx, 1
jmp 0x140008eed
mov ecx, 3
jmp 0x140008eed
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], 0x50
call fcn.14004a990
jmp 0x140008ef3
mov ecx, 0x14
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400d5ca0
add rsp, 0x78
ret
Function at 0x14001da70
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rbx, rcx
mov rcx, qword [0x1400e7000]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 1
jb 0x14001dca8
lea r9, [0x1400e6ff0]
cmp qword [0x1400e7008], 0x10
cmovae r9, qword [0x1400e6ff0]
mov qword [rsp + 0x30], 1
lea rax, [0x1400d910c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x37]
call fcn.1400d5160
mov rdx, rbx
lea rcx, [rbp + 0x37]
call fcn.1400495a0
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x27], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x17], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x27], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 4
lea rdx, str..cfg
lea rcx, [rbp + 0x17]
call fcn.14004a060
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 7], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 9], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 7], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rbp - 9]
cmp qword [rbp + 0xf], 0x10
cmovae rcx, qword [rbp - 9]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov rdx, qword [rbp + 0xf]
cmp rdx, 0x10
jb 0x14001dbb0
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001dbab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001dc3b
call fcn.1400d5cc0
movdqa xmm0, xmmword [0x1400dedd0]
movdqu xmmword [rbp + 7], xmm0
mov byte [rbp - 9], 0
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0x10
jb 0x14001dbf8
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001dbf3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001dc3b
call fcn.1400d5cc0
movdqa xmm0, xmmword [0x1400dedd0]
movdqu xmmword [rbp + 0x27], xmm0
mov byte [rbp + 0x17], 0
mov rdx, qword [rbp + 0x4f]
cmp rdx, 0x10
jb 0x14001dc47
inc rdx
mov rcx, qword [rbp + 0x37]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001dc42
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001dc42
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d5cc0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14001dc7d
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14001dc78
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001dca1
mov rcx, r8
call fcn.1400d5cc0
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rbx, qword [rsp + 0xb8]
add rsp, 0xa0
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400016f0
int3