joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14011cff0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, dx
jmp 0x14011d040
mov rax, rsp
mov dword [rax + 0x20], r9d
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov r15d, r9d
mov rbx, r8
xor r9d, r9d
mov r8, rdx
lea rdx, [0x1401a5cb0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
test rax, rax
je 0x14011d220
xor esi, esi
mov dword [rbp - 0x10], esi
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rbp - 8], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.1.6.28
call fcn.1401458a0
mov qword [rbp - 0x30], rax
mov rcx, rax
call fcn.140147e20
mov qword [rbp - 0x28], rax
lea r8, [0x14011d000]
lea rdx, [rbp - 0x10]
mov rcx, qword [rbp - 0x30]
call fcn.14014e140
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
call fcn.140145c80
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
call fcn.14014e1a0
movzx ecx, al
sub ecx, 2
je 0x14011d121
dec ecx
jne 0x14011d135
mov rcx, qword [rbp - 0x30]
call fcn.14014d9f0
lea r8d, [rsi + 0x10]
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
call fcn.14014e1f0
test eax, eax
jne 0x14011d135
mov r8d, 1
mov edx, 0xff
mov rcx, qword [rbp - 0x30]
call fcn.14014e000
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
call fcn.140146370
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
call fcn.14014e1e0
mov r13d, eax
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
call fcn.14014e1c0
mov r12d, eax
mov edi, eax
mov eax, 8
mul r12
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.14011e9a4
mov r14, rax
test r12d, r12d
je 0x14011d1ad
lea r15d, [r13*4]
mov rbx, rax
mov esi, r12d
mov rcx, r15
call fcn.14011e9a4
mov qword [rbx], rax
lea rbx, [rbx + 8]
dec rsi
jne 0x14011d195
mov r15d, dword [rbp + 0x48]
mov rdx, r14
mov rcx, qword [rbp - 0x30]
call fcn.140145bb0
mov ecx, SafeArrayAllocDescriptor
call fcn.14011f8a0
mov qword [rbp - 0x18], rax
test rax, rax
je 0x14011d1ec
mov ecx, dword [rbp + 0x50]
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], r15d
mov r9d, r12d
mov r8d, r13d
mov rdx, r14
mov rcx, rax
call fcn.14011da00
mov rsi, rax
test r12d, r12d
je 0x14011d205
mov rbx, r14
mov rcx, qword [rbx]
call fcn.140120c5c
lea rbx, [rbx + 8]
dec rdi
jne 0x14011d1f4
mov rcx, r14
call fcn.140120c5c
xor r8d, r8d
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140145930
mov rax, rsi
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x14011d040
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, dx
jmp 0x14011d040
mov rax, rsp
mov dword [rax + 0x20], r9d
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov r15d, r9d
mov rbx, r8
xor r9d, r9d
mov r8, rdx
lea rdx, [0x1401a5cb0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
test rax, rax
je 0x14011d220
xor esi, esi
mov dword [rbp - 0x10], esi
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rbp - 8], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.1.6.28
call fcn.1401458a0
mov qword [rbp - 0x30], rax
mov rcx, rax
call fcn.140147e20
mov qword [rbp - 0x28], rax
lea r8, [0x14011d000]
lea rdx, [rbp - 0x10]
mov rcx, qword [rbp - 0x30]
call fcn.14014e140
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
call fcn.140145c80
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
call fcn.14014e1a0
movzx ecx, al
sub ecx, 2
je 0x14011d121
dec ecx
jne 0x14011d135
mov rcx, qword [rbp - 0x30]
call fcn.14014d9f0
lea r8d, [rsi + 0x10]
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
call fcn.14014e1f0
test eax, eax
jne 0x14011d135
mov r8d, 1
mov edx, 0xff
mov rcx, qword [rbp - 0x30]
call fcn.14014e000
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
call fcn.140146370
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
call fcn.14014e1e0
mov r13d, eax
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
call fcn.14014e1c0
mov r12d, eax
mov edi, eax
mov eax, 8
mul r12
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.14011e9a4
mov r14, rax
test r12d, r12d
je 0x14011d1ad
lea r15d, [r13*4]
mov rbx, rax
mov esi, r12d
mov rcx, r15
call fcn.14011e9a4
mov qword [rbx], rax
lea rbx, [rbx + 8]
dec rsi
jne 0x14011d195
mov r15d, dword [rbp + 0x48]
mov rdx, r14
mov rcx, qword [rbp - 0x30]
call fcn.140145bb0
mov ecx, SafeArrayAllocDescriptor
call fcn.14011f8a0
mov qword [rbp - 0x18], rax
test rax, rax
je 0x14011d1ec
mov ecx, dword [rbp + 0x50]
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], r15d
mov r9d, r12d
mov r8d, r13d
mov rdx, r14
mov rcx, rax
call fcn.14011da00
mov rsi, rax
test r12d, r12d
je 0x14011d205
mov rbx, r14
mov rcx, qword [rbx]
call fcn.140120c5c
lea rbx, [rbx + 8]
dec rdi
jne 0x14011d1f4
mov rcx, r14
call fcn.140120c5c
xor r8d, r8d
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140145930
mov rax, rsi
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret

Function at 0x1401292fc
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140129312
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140129314
xor eax, eax
test eax, eax
je 0x140129324
mov ecx, eax
call fcn.140128fac
or eax, 0xffffffff
jmp 0x140129326
xor eax, eax
add rsp, 0x28
ret
Function at 0x140001000
Capabilities:
Capture screenshot

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0xf9b0]
mov eax, 0xfab0
call fcn.140001ea0
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0xf9a0], rax
xor edi, edi
mov dword [rbp - 0x78], 0x10001
mov dword [rsp + 0x28], edi
lea r8, [rbp - 0x78]
xor r9d, r9d
mov qword [rsp + 0x20], rdi
mov edx, 0xffffffff
mov qword [rsp + 0x50], rdi
lea rcx, [rsp + 0x50]
mov dword [rbp - 0x74], 0x1f40
mov dword [rbp - 0x70], 0x1f40
mov dword [rbp - 0x6c], 0x80001
mov word [rbp - 0x68], di
call qword [sym.imp.WINMM.dll_waveOutOpen]
mov r8d, edi
lea r9, [rbp - 0x60]
nop
mov edx, r8d
lea r9, [r9 + 1]
mov eax, r8d
shr edx, 6
shr eax, 2
or dl, 2
movsx ecx, al
inc r8d
movsx eax, dl
imul eax, ecx
mov byte [r9 - 1], al
cmp r8d, 0xfa00
jb 0x140001080
mov rcx, qword [rsp + 0x50]
lea rax, [rbp - 0x60]
mov r8d, 0x30
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x60], 0xfa00
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x80], rdi
call qword [sym.imp.WINMM.dll_waveOutPrepareHeader]
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x58]
mov r8d, 0x30
call qword [sym.imp.WINMM.dll_waveOutWrite]
mov ebx, 0x64
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov dword [rsp + 0x40], 0xee0086
mov edx, 2
mov dword [rsp + 0x38], edi
mov r8d, edx
mov dword [rsp + 0x30], edi
mov r9d, 0x780
mov qword [rsp + 0x28], rax
mov rcx, rax
mov dword [rsp + 0x20], 0x438
call qword [sym.imp.GDI32.dll_BitBlt]
mov ecx, 0x14
call qword [sym.imp.KERNEL32.dll_Sleep]
sub rbx, 1
jne 0x140001102
mov rcx, qword [rsp + 0x50]
lea r8d, [rbx + 0x30]
lea rdx, [rsp + 0x58]
call qword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WINMM.dll_waveOutClose]
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
mov rcx, qword [rbp + 0xf9a0]
xor rcx, rsp
call fcn.1400011b0
lea r11, [rsp + 0xfab0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret

Function at 0x140001a78
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001ac2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001ac2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001ac2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001ac2
cmp dword [rcx + 0x84], 0xe
jbe 0x140001ac2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001ac4
xor al, al
add rsp, 0x28
ret
Function at 0x140001154
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x10], 0
mov dword [rbp - 0x1c], 0x30
mov eax, dword [rbp - 0x1c]
mov rax, qword gs:[rax]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
mov rax, qword [rax + 8]
mov qword [rbp - 0x18], rax
mov dword [rbp - 4], 0
jmp 0x1400011ac
mov rax, qword [rbp - 0x10]
cmp rax, qword [rbp - 0x18]
jne 0x14000119e
mov dword [rbp - 4], 1
jmp 0x1400011e3
mov ecx, 0x3e8
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [0x14000cf70]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], 0
mov rcx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x30]
lock cmpxchg qword [rdx], rcx
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x14000118b
mov rax, qword [0x14000cf80]
mov eax, dword [rax]
cmp eax, 1
jne 0x1400011fd
mov ecx, 0x1f
call fcn.14000a7d0
jmp 0x14000123c
mov rax, qword [0x14000cf80]
mov eax, dword [rax]
test eax, eax
jne 0x140001232
mov rax, qword [0x14000cf80]
mov dword [rax], 1
mov rax, qword [0x14000cfd0]
mov rdx, rax
mov rax, qword [0x14000cfc0]
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
jmp 0x14000123c
mov dword [0x140011024], 1
mov rax, qword [0x14000cf80]
mov eax, dword [rax]
cmp eax, 1
jne 0x140001270
mov rax, qword [0x14000cfb0]
mov rdx, rax
mov rax, qword [0x14000cfa0]
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov rax, qword [0x14000cf80]
mov dword [rax], 2
cmp dword [rbp - 4], 0
jne 0x140001294
mov rax, qword [0x14000cf70]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], 0
mov rdx, qword [rbp - 0x50]
mov rax, qword [rbp - 0x48]
xchg qword [rax], rdx
mov rax, qword [0x14000cec0]
mov rax, qword [rax]
test rax, rax
je 0x1400012bf
mov rax, qword [0x14000cec0]
mov rax, qword [rax]
mov r8d, 0
mov edx, 2
mov ecx, 0
call rax
call fcn.140004078
mov rax, qword [0x14000d010]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call rax
mov rdx, qword [0x14000cf60]
mov qword [rdx], rax
lea rax, section..text
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__set_invalid_parameter_handler
call fcn.140003870
mov eax, dword [0x140011004]
lea rdx, [0x140011008]
mov ecx, eax
call fcn.14000147c
call fcn.140003607
mov rax, qword [0x14000cef0]
mov rax, qword [rax]
mov rdx, qword [0x140011010]
mov qword [rax], rdx
mov rcx, qword [0x140011010]
mov rdx, qword [0x140011008]
mov eax, dword [0x140011004]
mov r8, rcx
mov ecx, eax
call fcn.14000aba0
mov dword [0x14001101c], eax
mov eax, dword [0x140011020]
test eax, eax
jne 0x14000135d
mov eax, dword [0x14001101c]
mov ecx, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
mov eax, dword [0x140011024]
test eax, eax
jne 0x14000136c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
mov eax, dword [0x14001101c]
add rsp, 0x70
pop rbp
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x14000cf20]
mov dword [rax], 1
mov rax, qword [0x14000cf30]
mov dword [rax], 1
mov rax, qword [0x14000cf40]
mov dword [rax], 1
mov rax, qword [0x14000cee0]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x1400019de
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140001a0c
test al, 2
jne 0x140001a0c
mov rcx, qword [rbx]
mov edx, 2
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
add rsp, 0x20
pop rbx
ret

Function at 0x140001b09
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
lea rax, [0x1400110a0]
xor r9d, r9d
xor edx, edx
lea r8, [0x14000173b]
xor ecx, ecx
mov qword [rsp + 0x28], rax
xor eax, eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
jne 0x140001b4d
lea rcx, str.Cannot_create_a_new_hook_thread_n
add rsp, 0x30
pop rbx
jmp fcn.1400016f4
lea rdx, [0x140001824]
mov ecx, 2
call sub.api_ms_win_crt_runtime_l1_1_0.dll_signal
or edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor edx, edx
mov ecx, 2
call sub.api_ms_win_crt_runtime_l1_1_0.dll_signal
mov rcx, rbx
add rsp, 0x30
pop rbx
jmp qword [sym.imp.KERNEL32.dll_CloseHandle]
Function at 0x140003880
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.14000a5c0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x140004552
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x1400111e8]
test eax, eax
je 0x1400045ea
lea rax, [0x1400111c0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x1400111f0]
mov qword [rbp - 8], rax
jmp 0x1400045ce
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x1400045c2
cmp qword [rbp - 0x10], 0
je 0x1400045c2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x140004588
lea rax, [0x1400111c0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x1400045eb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x1400046f0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x140004718
mov eax, 0
jmp 0x140004766
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x140004741
mov eax, 0
jmp 0x140004766
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x140004761
mov eax, 0
jmp 0x140004766
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x14000476c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x1400047ea
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x1400047e1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x1400047e1
mov rax, qword [rbp - 8]
jmp 0x1400047ff
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x1400047b4
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x14000aba0
Capabilities:
Set console window title

Disassembly:
sub rsp, 0x28
call fcn.140003607
lea rcx, str.Keylogger
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea rcx, str.Keylogger_v2.3_by_Ivan_Sincek._n
call fcn.1400016f4
lea rcx, str.GitHub_repository_at_github.com_ivan_sincek_keylogger._n
call fcn.1400016f4
call fcn.14000190d
test al, al
je 0x14000abe1
call fcn.1400033b5
call fcn.140001b09
xor eax, eax
add rsp, 0x28
ret
Function at 0x14000e230
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [0x140169340]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [0x1401e46e8]
test eax, eax
jne 0x14000e26b
mov rcx, qword [rsp + 0xa0]
call fcn.14000e460
jmp 0x14000e444
mov eax, 8
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x1401e4bf0], eax
jle 0x14000e2b7
lea rcx, [0x1401e4bf0]
call fcn.14011f558
cmp dword [0x1401e4bf0], 0xffffffff
jne 0x14000e2b7
lea rcx, [0x1401e4708]
call fcn.140009580
nop
lea rcx, [0x1401e4bf0]
call fcn.14011f4ec
mov rax, qword [rsp + 0xa0]
mov ecx, dword [0x1401ab378]
cmp dword [rax + 0xc0], ecx
jbe 0x14000e41d
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x70]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0xa0]
add rax, 0xc4
mov qword [rsp + 0x38], rax
movss xmm2, dword [0x140157e20]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
call fcn.14000d9e0
mov r8, qword [rax]
lea rdx, [rsp + 0x50]
lea rcx, [0x1401e4708]
call fcn.14000d990
mov r8, qword [rax]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x70]
call fcn.14000d940
mov r8, qword [rax]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x70]
call fcn.14000d990
mov rax, qword [rsp + 0xa0]
movss xmm0, dword [rax + 0x110]
mulss xmm0, dword [0x140157c6c]
movss xmm1, dword [rsp + 0x7c]
divss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x1401e4e80]
cvttss2si eax, xmm0
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0xa0]
movss xmm0, dword [rax + 0x110]
mulss xmm0, dword [0x140157c6c]
movss xmm1, dword [rsp + 0x78]
divss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x1401e4e84]
cvttss2si eax, xmm0
mov dword [rsp + 0x30], eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14000e3e7
mov eax, dword [rsp + 0x30]
neg eax
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, eax
mov edx, dword [rsp + 0x34]
mov ecx, 1
call qword [sym.imp.USER32.dll_mouse_event]
mov rax, qword [rsp + 0xa0]
add rax, 0xc4
mov qword [rsp + 0x40], rax
movss xmm2, dword [0x140157e20]
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
call fcn.14000d9e0
mov rax, qword [rax]
mov qword [0x1401e4708], rax
jmp 0x14000e437
xorps xmm2, xmm2
xorps xmm1, xmm1
lea rcx, [rsp + 0x68]
call fcn.14000d660
mov rax, qword [rax]
mov qword [0x1401e4708], rax
mov rcx, qword [rsp + 0xa0]
call fcn.14000e460
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14011f490
add rsp, 0x98
ret
Function at 0x140013930
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
add rsp, 0x28
ret
Function at 0x140026cd0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x68], 0
je 0x140026d09
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x140026df7
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x50], 0
jle 0x140026d9f
cmp qword [rsp + 0x20], 0
jle 0x140026d9f
mov rax, qword [rsp + 0x20]
cmp qword [rsp + 0x50], rax
jge 0x140026d49
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call fcn.14000a830
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rsp + 0x50], 0
jle 0x140026de7
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x80], 0
je 0x140026de7
mov rax, qword [rsp + 0x40]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
add rsp, 0x38
ret