joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401290d0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x1403452b0]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x90], 0
jg 0x140129104
xor eax, eax
jmp 0x140129300
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x68], 0
je 0x140129136
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
jmp 0x140129300
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const___ptr64]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jbe 0x1401291e7
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call fcn.140010760
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
mov r8, qword [rsp + 0x20]
mov rdx, rax
mov rcx, qword [rsp + 0x88]
call fcn.14000ec60
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], 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 + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x80], 0
je 0x1401292f0
mov rcx, qword [rsp + 0x80]
call fcn.14012c590
mov qword [rsp + 0x48], 0xfff
cmp qword [rsp + 0x50], 0xfff
jbe 0x14012929d
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x28], 0xfff
je 0x140129298
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
jmp 0x140129300
jmp 0x140129213
cmp qword [rsp + 0x50], 0
jbe 0x1401292f0
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140246bf0
add rsp, 0x78
ret
Function at 0x14012c650
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x1403452b0]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x68], 0
je 0x14012c68d
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14012c694
mov al, 1
jmp 0x14012c7ee
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x50], rax
call fcn.14012ec80
mov dword [rsp + 0x38], eax
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xb0]
call qword [rsp + 0x50]
mov dword [rsp + 0x3c], eax
call fcn.14012ec80
mov dword [rsp + 0x40], eax
lea rdx, [rsp + 0x3c]
lea rcx, [rsp + 0x40]
call fcn.14012ece0
movzx eax, al
test eax, eax
je 0x14012c6eb
xor al, al
jmp 0x14012c7ee
mov qword [rsp + 0x60], reloc.WLDAP32.dll_Ordinal_32
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x90]
mov rcx, qword [rsp + 0xb0]
add rcx, 0x74
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x70]
mov rdx, rcx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14012c75b
cmp dword [rsp + 0x30], 1
je 0x14012c767
cmp dword [rsp + 0x30], 3
je 0x14012c7dc
jmp 0x14012c7ec
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jbe 0x14012c7b3
mov rax, qword [rsp + 0xb0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x48]
mov edx, 1
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp qword [rsp + 0x48], rax
je 0x14012c7b3
xor al, al
jmp 0x14012c7ee
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14012c7cd
mov dword [rsp + 0x34], 1
jmp 0x14012c7d5
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
jmp 0x14012c7ee
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14012c7ee
xor al, al
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140246bf0
add rsp, 0xa8
ret
Function at 0x140137730
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x1403452b0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov edx, 8
lea rcx, [rsp + 0x40]
call fcn.140009e50
mov rcx, qword [rsp + 0x68]
call fcn.1400059c0
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14013a8c0
nop
lea rax, [0x14013a940]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
add rax, 8
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x40]
call fcn.14000c220
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x38]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rsp + 0x60]
mov qword [rcx], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0
je 0x1401377db
lea rcx, [rsp + 0x40]
call fcn.14005e0b0
jmp 0x1401377f3
mov rax, qword [rsp + 0x60]
mov dword [rax + 8], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
lea rcx, [rsp + 0x40]
call fcn.14005e0e0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140246bf0
add rsp, 0x58
ret

Function at 0x14013f1d0
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x288
mov rax, qword [0x1403452b0]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov qword [rsp + 0x28], 0
mov edx, dword [rsp + 0x290]
mov ecx, Ordinal_26
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0xffffffffffffffff
je 0x14013f26c
mov dword [rsp + 0x30], 0x238
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x14013f26c
mov rdx, qword [rsp + 0x298]
lea rcx, [rsp + 0x60]
call fcn.14013f080
test eax, eax
jne 0x14013f258
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
jmp 0x14013f26c
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
jne 0x14013f236
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140246bf0
add rsp, 0x288
ret
Function at 0x14013f660
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rsi
push rdi
sub rsp, 0xf8
mov rax, qword [0x1403452b0]
xor rax, rsp
mov qword [rsp + 0xe0], rax
lea rdx, str.user32.dll
mov ecx, dword [rsp + 0x110]
call fcn.14013f1d0
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14013f6b0
xor al, al
jmp 0x14013f84f
lea r8, str.SetWindowDisplayAffinity
mov rdx, qword [rsp + 0x58]
mov rcx, qword [0x140356208]
call fcn.14013f2a0
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x14013f6dc
xor al, al
jmp 0x14013f84f
lea rax, [rsp + 0x80]
lea rcx, str.QRUVSWAPAQARASATAUAVAWH
mov rdi, rax
mov rsi, rcx
mov ecx, 0x56
rep movsb byte [rdi], byte [rsi]
movzx eax, byte [rsp + 0x120]
test eax, eax
je 0x14013f70e
mov dword [rsp + 0x40], reloc.WS2_32.dll_recvfrom
jmp 0x14013f716
mov dword [rsp + 0x40], 0
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x9c], rax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0xa7], eax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xad], rax
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, 0x56
xor edx, edx
mov rcx, qword [0x140356208]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x14013f77d
xor al, al
jmp 0x14013f84f
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x56
lea r8, [rsp + 0x80]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [0x140356208]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14013f7b2
xor al, al
jmp 0x14013f84f
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x48]
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x140356208]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x14013f7f8
cmp qword [rsp + 0x68], 0xffffffffffffffff
jne 0x14013f7fc
xor al, al
jmp 0x14013f84f
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rsp + 0x80]
mov rdi, rax
xor eax, eax
mov ecx, 0x56
rep stosb byte [rdi], al
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x56
lea r8, [rsp + 0x80]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [0x140356208]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14013f84d
xor al, al
jmp 0x14013f84f
mov al, 1
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140246bf0
add rsp, 0xf8
pop rdi
pop rsi
ret
Function at 0x14017fda0
Capabilities:
Enumerate processes

Disassembly:
sub rsp, 0x1a8
mov rax, qword [0x1403452b0]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x20], 0
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x60], pe_nt_image_headers64
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Process32First]
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x14017fe80
lea rdx, str.aow_exe.exe
lea rcx, [rsp + 0x30]
call fcn.14002c320
mov rcx, rax
call fcn.14002c350
mov rdx, rax
lea rcx, [rsp + 0x8c]
call fcn.14013f080
test eax, eax
je 0x14017fe61
lea rdx, str.AndroidProcess.exe
lea rcx, [rsp + 0x40]
call fcn.14002c3c0
mov rcx, rax
call fcn.14002c3f0
mov rdx, rax
lea rcx, [rsp + 0x8c]
call fcn.14013f080
test eax, eax
jne 0x14017fe7b
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x7c], eax
jle 0x14017fe7b
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x24], eax
jmp 0x14017fdf3
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140246bf0
add rsp, 0x1a8
ret

Function at 0x14017fea0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x188
mov rax, qword [0x1403452b0]
xor rax, rsp
mov qword [rsp + 0x170], rax
xor edx, edx
mov ecx, reloc.WS2_32.dll_ntohs
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x40], pe_nt_image_headers64
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_Process32First]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14017ff59
mov rdx, qword [rsp + 0x190]
lea rcx, [rsp + 0x6c]
call fcn.14013f080
test eax, eax
jne 0x14017ff43
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x14017ff43
mov edx, 9
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_Process32Next]
mov dword [rsp + 0x20], eax
jmp 0x14017feec
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140246bf0
add rsp, 0x188
ret
Function at 0x14017ff80
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x178
mov rax, qword [0x1403452b0]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov dword [rsp + 0x30], pe_nt_image_headers64
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0xffffffffffffffff
jne 0x14017ffc7
xor eax, eax
jmp 0x140180048
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32First]
lea rdx, [rsp + 0x5c]
mov rcx, qword [rsp + 0x180]
call fcn.140180060
test eax, eax
jne 0x14017fffe
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x38]
jmp 0x140180048
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x14018003b
lea rdx, [rsp + 0x5c]
mov rcx, qword [rsp + 0x180]
call fcn.140180060
test eax, eax
jne 0x140180039
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x38]
jmp 0x140180048
jmp 0x14017fffe
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140246bf0
add rsp, 0x178
ret

Function at 0x140186ea0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
movzx eax, byte [0x14038da94]
test eax, eax
jne 0x140186ee9
mov rax, qword [rsp + 0x50]
movsxd rax, dword [rax]
lea rcx, str._bq1_
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rcx + rax*8]
call fcn.1400f4900
movzx eax, al
test eax, eax
je 0x140186ee4
mov byte [0x14038da94], 1
jmp 0x140186f7f
movzx eax, byte [0x14038da94]
cmp eax, 1
jne 0x140186f7f
mov rdx, qword [rsp + 0x58]
lea rcx, [0x14030e34c]
call fcn.1400f4900
lea rax, [0x140317650]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x28]
add rax, 0x298
mov qword [rsp + 0x38], rax
jmp 0x140186f40
mov rax, qword [rsp + 0x20]
add rax, 4
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x20], rax
je 0x140186f7f
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x140186f7d
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx]
mov dword [rax], ecx
mov byte [0x14038da94], 0
jmp 0x140186f32
add rsp, 0x48
ret
Function at 0x1401870f0
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x1e8
mov rax, qword [0x1403452b0]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov dword [rsp + 0x20], 0
mov edx, Ordinal_26
lea rcx, [rsp + 0x50]
call fcn.140009e50
lea rcx, [rsp + 0x50]
call fcn.14000c3d0
nop
lea r8, [0x140318074]
mov rdx, qword [rsp + 0x1f8]
lea rcx, [rsp + 0x68]
call fcn.140188bf0
nop
lea rcx, [rsp + 0x68]
call fcn.140054d60
lea rdx, [rsp + 0x90]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
je 0x1401871d4
mov eax, dword [rsp + 0x90]
and eax, 0x10
test eax, eax
jne 0x1401871b2
lea rdx, [rsp + 0xbc]
lea rcx, [rsp + 0x30]
call fcn.14000d5c0
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.140188890
nop
lea rcx, [rsp + 0x30]
call fcn.14000d4b0
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x140187177
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x1f0]
call fcn.14000f040
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x68]
call fcn.14000d4b0
nop
lea rcx, [rsp + 0x50]
call fcn.14000cee0
nop
mov rcx, qword [rsp + 0x1f8]
call fcn.14000d4b0
mov rax, qword [rsp + 0x1f0]
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.140246bf0
add rsp, 0x1e8
ret

Function at 0x140187e10
Capabilities:
Log keystrokes via polling

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x140187e36
mov dword [rsp + 0x20], 1
jmp 0x140187e3e
mov dword [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x1401b5940
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x2d0
mov rax, qword [0x1403452b0]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
xor edx, edx
mov r8d, 0x20a
lea rcx, [rsp + 0xb0]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0xb0]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x104
ja 0x1401b59ee
lea rcx, [rsp + 0xb0]
mov rax, 0xffffffffffffffff
nop
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x1401b59b0
cmp word [rsp + rax*2 + 0xae], 0x5c
jne 0x1401b59e4
lea rax, [rax*2 - 2]
cmp rax, 0x20a
jae 0x1401b5b33
xor ecx, ecx
mov word [rsp + rax + 0xb0], cx
lea rdx, [rsp + 0xb0]
jmp 0x1401b5a18
lea rdx, str.____Failed_to_get_temp_path
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1401b6ba0
mov rcx, rax
lea rdx, [0x1401b6db0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
lea rdx, [0x140322328]
lea rcx, [rsp + 0x88]
call fcn.14000d2f0
nop
lea rcx, [rsp + 0x88]
call fcn.140059340
test rax, rax
jne 0x1401b5a4c
lea rdx, [0x140322328]
mov rcx, rbx
call fcn.14000d2f0
jmp 0x1401b5af5
lea rcx, [rsp + 0x68]
call fcn.1401b5800
mov rbp, rax
lea rcx, [rsp + 0x88]
call fcn.140059340
mov rdi, rax
lea r14, [0x140323c20]
mov rcx, r14
call fcn.14000ecb0
mov rcx, rax
call fcn.1400059c0
mov rsi, rax
lea rcx, [rsp + 0x88]
call fcn.14000d0a0
sub rax, rdi
cmp rax, rsi
jb 0x1401b5b2d
lea rcx, [rsp + 0x88]
call fcn.140070d80
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rdi
mov r9, rax
lea r8, [rsp + 0x88]
lea rcx, [rsp + 0x48]
call fcn.1401b8110
nop
mov r9, rbp
lea r8, [rsp + 0x48]
mov rcx, rbx
call fcn.1401b7f00
nop
lea rcx, [rsp + 0x48]
call fcn.14000d1e0
nop
lea rcx, [rsp + 0x68]
call fcn.14000d1e0
nop
lea rcx, [rsp + 0x88]
call fcn.14000d1e0
mov rax, rbx
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.140246bf0
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call fcn.140005a10
nop
call fcn.1402473c4
int3
Function at 0x1401b6720
Capabilities:
Parse pe header

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0x1f0
mov rax, qword [0x1403452b0]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov qword [rsp + 0x20], r8
mov rbp, rdx
mov rbx, rcx
test rdx, rdx
je 0x1401b69d9
xorps xmm0, xmm0
lea rcx, [rsp + 0xb0]
xor edx, edx
mov r8d, 0x108
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
call sub.VCRUNTIME140.dll_memset
mov r9d, 0x40
lea rdx, [rsp + 0x70]
mov r8, rbp
mov rcx, rbx
call fcn.1401b6170
test al, al
je 0x1401b69d9
mov eax, 0x5a4d
cmp word [rsp + 0x70], ax
jne 0x1401b69d9
movsxd r8, dword [rsp + 0xac]
lea rdx, [rsp + 0xb0]
add r8, rbp
mov r9d, 0x108
mov rcx, rbx
call fcn.1401b6170
test al, al
je 0x1401b69d9
cmp dword [rsp + 0xb0], 0x4550
jne 0x1401b69d9
mov esi, dword [rsp + 0x138]
test esi, esi
je 0x1401b69d9
mov eax, dword [rsp + 0x13c]
test eax, eax
je 0x1401b69d9
mov qword [rsp + 0x228], rdi
mov r9d, 4
mov qword [rsp + 0x1d8], r14
mov r8d, 0x3000
mov edx, eax
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov r14d, eax
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r9d, r14d
mov qword [rsp + 0x38], rsi
mov rdi, rax
mov rcx, rbx
lea rax, [rsi + rbp]
mov rdx, rdi
mov r8, rax
mov qword [rsp + 0x30], rax
call fcn.1401b6170
test al, al
jne 0x1401b6878
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x1401b6934
mov eax, dword [rdi + 0x1c]
mov r14, rdi
sub r14, rsi
mov qword [rsp + 0x1e8], r12
mov r12d, dword [rdi + 0x20]
add rax, r14
mov qword [rsp + 0x1e0], r13
add r12, r14
mov r13d, dword [rdi + 0x24]
xor esi, esi
add r13, r14
mov qword [rsp + 0x1d0], r15
mov qword [rsp + 0x28], rax
cmp dword [rdi + 0x18], esi
jbe 0x1401b6909
nop word [rax + rax]
mov edx, dword [r12 + rsi*4]
lea rcx, [rsp + 0x48]
add rdx, r14
call fcn.14000d5c0
mov rcx, qword [rsp + 0x20]
call fcn.140054d60
lea rcx, [rsp + 0x48]
mov rbx, rax
call fcn.140054d60
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x1401b695f
lea rcx, [rsp + 0x48]
call fcn.14000d4b0
inc esi
cmp esi, dword [rdi + 0x18]
jb 0x1401b68c0
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov r12, qword [rsp + 0x1e8]
mov r13, qword [rsp + 0x1e0]
mov r15, qword [rsp + 0x1d0]
mov rdi, qword [rsp + 0x228]
mov r14, qword [rsp + 0x1d8]
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.140246bf0
add rsp, 0x1f0
pop rsi
pop rbp
pop rbx
ret
movzx eax, word [r13 + rsi*2]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + rax*4]
cmp ecx, 0x1000
jbe 0x1401b69a3
lea rbx, [rcx + rbp]
cmp rbx, qword [rsp + 0x30]
jb 0x1401b69b6
mov rax, qword [rsp + 0x38]
add rax, qword [rsp + 0x40]
add rax, rbp
cmp rbx, rax
ja 0x1401b69b6
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor ebx, ebx
lea rcx, [rsp + 0x48]
call fcn.14000d4b0
mov eax, ebx
jmp 0x1401b691c
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
lea rcx, [rsp + 0x48]
call fcn.14000d4b0
mov rax, rbx
jmp 0x1401b691c
xor eax, eax
jmp 0x1401b6944