joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18005e370
Capabilities:
Authenticate hmac
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x50
mov r14d, 0xc
mov dword [rbp - 0x2c], 0x54545075
mov eax, r14d
xor edi, edi
mov dword [rbp - 0x30], eax
mov r8b, 0x36
mov dword [rbp - 0x28], 0x4c6b3d4c
mov r9b, 0xf9
mov dword [rbp - 0x24], 0x4c4e5839
mov edx, edi
mov dword [rbp - 0x20], 0xf9362f
nop dword [rax]
mov ecx, edx
inc edx
movzx eax, byte [rbp + rcx - 0x2c]
sub al, r9b
xor al, r8b
mov byte [rbp + rcx - 0x2c], al
mov eax, dword [rbp - 0x30]
cmp edx, eax
jae 0x18005e3e6
movzx r9d, byte [rbp - 0x1e]
movzx r8d, byte [rbp - 0x1f]
jmp 0x18005e3c0
mov byte [rbp + rax - 0x2c], dil
mov ebx, edi
nop dword [rax]
mov edx, ebx
call fcn.1800c0ca0
mov rcx, rax
lea rdx, [rbp - 0x2c]
call fcn.1800866f0
test al, al
jne 0x18005e466
inc ebx
cmp ebx, 0xd
jl 0x18005e3f0
movdqa xmm0, xmmword [str._XQVL__R_LTs9S]
mov r8b, 0x36
mov eax, 0x10
mov r9b, 0xf9
mov qword [rsp + 0x60], rsi
mov edx, edi
mov dword [rbp - 0x30], eax
mov dword [rbp - 0x1c], 0xf9362f
movdqu xmmword [rbp - 0x2c], xmm0
test eax, eax
je 0x18005e48d
nop dword [rax + rax]
mov ecx, edx
inc edx
movzx eax, byte [rbp + rcx - 0x2c]
sub al, r9b
xor al, r8b
mov byte [rbp + rcx - 0x2c], al
mov eax, dword [rbp - 0x30]
cmp edx, eax
jae 0x18005e48d
movzx r9d, byte [rbp - 0x1a]
movzx r8d, byte [rbp - 0x1b]
jmp 0x18005e440
cmp ebx, 6
je 0x18005e486
mov eax, ebx
cmp ebx, 7
je 0x18005e486
cmp eax, 8
je 0x18005e486
cmp ebx, 9
je 0x18005e486
cmp eax, 0xa
je 0x18005e486
cmp eax, 0xb
jne 0x18005e40e
mov eax, ebx
jmp 0x18005e552
mov rsi, qword [0x18013d928]
mov byte [rbp + rax - 0x2c], dil
lea rcx, [rsi + 0x3d20]
call fcn.180086790
lea rcx, [rax + 0x140]
call fcn.180086790
mov rbx, rax
lea rcx, [rax + 0x30]
call fcn.1800867a0
test eax, eax
je 0x18005e4d4
lea rcx, [rbx + 0x28]
call fcn.180086790
mov rcx, rax
call fcn.1800867d0
jmp 0x18005e4db
lea rax, str.null
lea rdx, [rbp - 0x2c]
mov rcx, rax
call fcn.1800866a0
test al, al
je 0x18005e54b
lea rcx, [rsi + 0x3d20]
call fcn.180086790
lea rcx, [rax + 0x5c]
call fcn.1800867a0
test eax, eax
jle 0x18005e54b
xor ecx, ecx
movaps xmmword [rsp + 0x40], xmm6
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rcx, [rax + 0x19639e8]
call fcn.1800867b0
mov edx, r14d
movaps xmm6, xmm0
call fcn.1800c0dc0
subss xmm0, xmm6
xorps xmm1, xmm1
movaps xmm6, xmmword [rsp + 0x40]
maxss xmm0, xmm1
movss xmm1, dword [0x180127fdc]
comiss xmm1, xmm0
cmova edi, r14d
mov eax, edi
jmp 0x18005e54d
xor eax, eax
mov rsi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r14, qword [rsp + 0x78]
add rsp, 0x50
pop rbp
ret
Function at 0x1800611c0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rcx]
lea r10, [rcx + 4]
xor r9d, r9d
test eax, eax
je 0x1800611ea
nop dword [rax]
movzx edx, byte [r9 + rcx + 4]
sub dl, byte [rcx + 0x1f]
xor dl, byte [rcx + 0x1e]
mov byte [r9 + r10], dl
inc r9d
mov eax, dword [rcx]
cmp r9d, eax
jb 0x1800611d0
mov ecx, eax
mov rax, r10
mov byte [rcx + r10], 0
ret
Function at 0x180064de0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbx
sub rsp, 0x40
mov dword [rsp + 0x20], 0xd
mov r8b, 0x3c
mov dword [rsp + 0x24], 0x42423f64
mov r9b, 0xea
mov dword [rsp + 0x28], 0x3259433a
xor edx, edx
mov dword [rsp + 0x2c], 0x3941493f
mov dword [rsp + 0x30], 0xea3c2655
nop word [rax + rax]
mov eax, edx
lea rcx, [rsp + 0x24]
add rcx, rax
inc edx
movzx eax, byte [rcx]
sub al, r9b
xor al, r8b
mov byte [rcx], al
mov eax, dword [rsp + 0x20]
cmp edx, eax
jae 0x180064e4d
movzx r9d, byte [rsp + 0x33]
movzx r8d, byte [rsp + 0x32]
jmp 0x180064e20
mov rcx, qword [0x18013d928]
add rcx, 0x31f8
mov byte [rsp + rax + 0x24], 0
call fcn.180086790
lea rcx, [rax + 8]
call fcn.180086790
mov rbx, rax
lea rcx, [rax + 0x30]
call fcn.1800867a0
test eax, eax
je 0x180064e91
lea rcx, [rbx + 0x28]
call fcn.180086790
mov rcx, rax
call fcn.1800867d0
jmp 0x180064e98
lea rax, str.null
lea rdx, [rsp + 0x24]
mov rcx, rax
call fcn.1800866a0
test al, al
sete al
add rsp, 0x40
pop rbx
ret
Function at 0x18006aee0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rcx]
lea r10, [rcx + 4]
xor r9d, r9d
test eax, eax
je 0x18006af0a
nop dword [rax]
movzx edx, byte [r9 + rcx + 4]
sub dl, byte [rcx + 8]
xor dl, byte [rcx + 7]
mov byte [r9 + r10], dl
inc r9d
mov eax, dword [rcx]
cmp r9d, eax
jb 0x18006aef0
mov ecx, eax
mov rax, r10
mov byte [rcx + r10], 0
ret
Function at 0x180083a00
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rcx]
lea r10, [rcx + 4]
xor r9d, r9d
test eax, eax
je 0x180083a2a
nop dword [rax]
movzx edx, byte [r9 + rcx + 4]
sub dl, byte [rcx + 0x1d]
xor dl, byte [rcx + 0x1c]
mov byte [r9 + r10], dl
inc r9d
mov eax, dword [rcx]
cmp r9d, eax
jb 0x180083a10
mov ecx, eax
mov rax, r10
mov byte [rcx + r10], 0
ret
Function at 0x180089be0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x180089c3d
lea rbx, [0x180122160]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180089c24
cmp r10, 2
jb 0x180089c24
cmp byte [r9], r8b
jne 0x180089c24
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x180089c00
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x180089c7f
lea rbx, [0x180122160]
cmp r8b, 0x23
jne 0x180089c63
cmp byte [r9], r8b
jne 0x180089c63
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x180089c50
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180089dc0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x180089dda
mov qword [r8], 0
lea rdx, [0x180127458]
call fcn.180089c90
mov rbx, rax
test rax, rax
jne 0x180089dfa
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x180089ed1
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180089ed1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180089ed1
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180089ed1
cmp rdi, 0xffffffffffffffff
je 0x180089ed1
mov rax, qword [0x18013d9c8]
test rax, rax
je 0x180089e6e
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x180089ed1
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x180089ebe
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x18013d9c8]
test rax, rax
je 0x180089eb3
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x180089eda
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x180089ecc
mov qword [r14], rdi
mov rax, rsi
jmp 0x180089edc
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x18008c4a0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xd0]
mov rax, qword [rcx + 0xd8]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x180122160]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [0x18013d9c8]
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rcx + 0x3ed4], ebx
jne 0x18008c536
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.18009e620
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x180091ab0
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x180091b00
lea r11, [0x180122160]
nop dword [rax]
cmp r9b, 0x23
jne 0x180091ae3
cmp byte [r8], r9b
jne 0x180091ae3
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x180091ad0
mov rcx, qword [0x18013d9c8]
not eax
movsxd rdx, dword [rcx + 0x3e80]
mov r9, qword [rcx + 0x3e88]
mov r10, rdx
shl r10, 4
add r10, r9
test rdx, rdx
je 0x180091b61
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x180091b59
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x180091b5c
mov rdx, r8
test rdx, rdx
jne 0x180091b30
cmp r9, r10
je 0x180091b70
cmp dword [r9], eax
jne 0x180091b70
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret

Function at 0x18009d220
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x53f0], 0
lea rbx, [rcx + 0x53f8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x18009d2c7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x18009d27a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.18009f160
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.18008a380
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x53f0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5400]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x18013d912]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x18009d2cf
mov rcx, rbx
call fcn.18008a380
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x18009d840
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x18013d9c8]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x18009d8a3
mov qword [rsp], rbx
lea rbx, [0x180122160]
nop dword [rax]
cmp r9b, 0x23
jne 0x18009d883
cmp byte [r8], r9b
jne 0x18009d883
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x18009d870
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x53a0]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x18009d8d7
mov r10, qword [r10 + 0x53a8]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x18009d8de
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x18009d8c4
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x1800bd910
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x58]
mov rdi, rcx
mov edx, dword [0x18013d374]
mov ecx, 4
mov rbx, qword [rax + rdx*8]
add rbx, rcx
mov eax, dword [rbx]
cmp dword [0x18013e068], eax
jle 0x1800bd975
lea rcx, [0x18013e068]
call fcn.18011889c
cmp dword [0x18013e068], 0xffffffff
jne 0x1800bd975
mov edx, SerializeElements<ATL::CStringT<wchar_t,StrTraitMFC_DLL<wchar_t,ATL::ChTraitsCRT<wchar_t>
lea rcx, [0x18013e070]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea rcx, [0x18013e068]
call fcn.180118830
mov eax, dword [rbx]
cmp dword [0x18013e06c], eax
jle 0x1800bd9b9
lea rcx, [0x18013e06c]
call fcn.18011889c
cmp dword [0x18013e06c], 0xffffffff
jne 0x1800bd9b9
lea r8, [0x180127e98]
mov edx, SerializeElements<ATL::CStringT<wchar_t,StrTraitMFC_DLL<wchar_t,ATL::ChTraitsCRT<wchar_t>
lea rcx, [0x18013e070]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea rcx, [0x18013e06c]
call fcn.180118830
mov eax, dword [rbx]
cmp dword [0x18013e174], eax
jle 0x1800bd9f8
lea rcx, [0x18013e174]
call fcn.18011889c
cmp dword [0x18013e174], 0xffffffff
jne 0x1800bd9f8
lea rcx, [0x18013e070]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rcx, [0x18013e174]
mov qword [0x18013e060], rax
call fcn.180118830
mov rcx, qword [0x18013e060]
mov rdx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_GetProcAddress]
Function at 0x1800c4240
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rcx]
lea r10, [rcx + 4]
xor r9d, r9d
test eax, eax
je 0x1800c426a
nop dword [rax]
movzx edx, byte [r9 + rcx + 4]
sub dl, byte [rcx + 0x21]
xor dl, byte [rcx + 0x20]
mov byte [r9 + r10], dl
inc r9d
mov eax, dword [rcx]
cmp r9d, eax
jb 0x1800c4250
mov ecx, eax
mov rax, r10
mov byte [rcx + r10], 0
ret

Function at 0x1800c4280
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rcx]
lea r10, [rcx + 4]
xor r9d, r9d
test eax, eax
je 0x1800c42aa
nop dword [rax]
movzx edx, byte [r9 + rcx + 4]
sub dl, byte [rcx + 0x20]
xor dl, byte [rcx + 0x1f]
mov byte [r9 + r10], dl
inc r9d
mov eax, dword [rcx]
cmp r9d, eax
jb 0x1800c4290
mov ecx, eax
mov rax, r10
mov byte [rcx + r10], 0
ret
Function at 0x1800c6a80
Capabilities:
Read .ini file

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x460
mov rax, qword [0x18013c030]
xor rax, rsp
mov qword [rsp + CDialog::~CDialog], rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
xor edx, edx
mov r8d, 0x400
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memset
mov edx, 4
mov dword [rsp + 0x44], 0x2c2c452a
xor r14d, r14d
mov dword [rsp + 0x40], edx
mov eax, r14d
mov dword [rsp + 0x48], 0xea0ef8
mov r8b, 0xe
mov r9b, 0xea
mov ecx, eax
lea rdx, [rsp + 0x44]
add rdx, rcx
inc eax
movzx ecx, byte [rdx]
sub cl, r9b
xor cl, r8b
mov byte [rdx], cl
mov edx, dword [rsp + 0x40]
cmp eax, edx
jae 0x1800c6b0d
movzx r9d, byte [rsp + 0x4a]
movzx r8d, byte [rsp + 0x49]
jmp 0x1800c6ae0
mov byte [rsp + rdx + 0x44], r14b
lea r9, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rbx
lea r8, [rsp + 0x44]
mov dword [rsp + 0x20], SerializeElements<ATL::CStringT<wchar_t,StrTraitMFC_DLL<wchar_t,ATL::ChTraitsCRT<wchar_t>
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov rbp, 0xffffffffffffffff
mov dword [rsp + 0x28], r14d
mov r9d, ebp
mov qword [rsp + 0x20], r14
lea r8, [rsp + 0x50]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rbx, eax
mov eax, 2
mul rbx
cmovo rax, rbp
mov rcx, rax
call fcn.1801190e0
mov r9d, ebp
mov dword [rsp + 0x28], ebx
lea r8, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov qword [rsp + 0x38], r14
mov r9d, ebp
mov qword [rsp + 0x30], r14
mov r8, rsi
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rbx, eax
mov rcx, rbx
call fcn.1801190e0
mov qword [rsp + 0x38], r14
mov r9d, ebp
mov qword [rsp + 0x30], r14
mov r8, rsi
mov dword [rsp + 0x28], ebx
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rax, rdi
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.180118810
add rsp, 0x460
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x1800c6c10
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rcx, [rax + 0x19c4b40]
call fcn.180086790
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rcx, [rax + 0x19764fc]
call fcn.1800867c0
test ebx, ebx
jne 0x1800c6c69
test al, al
jne 0x1800c6c69
cmp byte [0x18013daa6], al
jne 0x1800c6c69
mov ecx, dword [0x18013d984]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne al
add rsp, 0x20
pop rbx
ret
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1800c6c80
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov edi, ecx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rcx, [rax + 0x19c4b40]
call fcn.180086790
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rcx, [rax + 0x19764fc]
call fcn.1800867c0
test ebx, ebx
jne 0x1800c6cd8
test al, al
jne 0x1800c6cd8
mov ecx, edi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor al, al
add rsp, 0x20
pop rdi
ret
Function at 0x1800f6940
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.1800f6b90
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x1800f6a5a
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x1800f69a4
mov rax, qword [0x18013c008]
cmp qword [rsp + 0x20], rax
ja 0x1800f69a4
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1800f6966
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
jne 0x1800f69d5
jmp 0x1800f6a5a
cmp dword [rsp + 0x50], 0x10000
jne 0x1800f6a3d
cmp qword [rsp + 0x48], 0x10000
jb 0x1800f6a3d
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualAlloc
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800f6a1b
mov rax, qword [rsp + 0x28]
jmp 0x1800f6a5c
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x1800f6a2b
xor eax, eax
jmp 0x1800f6a5c
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1800f6a55
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.1800f6b90
mov qword [rsp + 0x20], rax
jmp 0x1800f6966
xor eax, eax
add rsp, 0x68
ret

Function at 0x1800f6a70
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.1800f6bd0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x1800f6b86
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x1800f6acb
mov rax, qword [0x18013c008]
cmp qword [rsp + 0x20], rax
ja 0x1800f6acb
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1800f6a8d
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
jne 0x1800f6afc
jmp 0x1800f6b86
cmp dword [rsp + 0x50], 0x10000
jne 0x1800f6b64
cmp qword [rsp + 0x48], 0x10000
jb 0x1800f6b64
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualAlloc
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800f6b42
mov rax, qword [rsp + 0x28]
jmp 0x1800f6b88
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x1800f6b52
xor eax, eax
jmp 0x1800f6b88
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1800f6b81
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.1800f6bd0
mov qword [rsp + 0x20], rax
jmp 0x1800f6a8d
xor eax, eax
add rsp, 0x68
ret
Function at 0x1800f6c20
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.1800f71b0
mov qword [rsp + 0x28], 0
cmp qword [0x18013c5a8], 0
jne 0x1800f6c68
cmp qword [0x18013c5a0], 0
je 0x1800f6c68
mov rax, qword [0x18013c5a0]
mov qword [0x18013c5a8], rax
cmp qword [0x18013c5a8], 0
je 0x1800f6d0e
mov rax, qword [0x18013c5a8]
cmp qword [rax + 0x10], 0
je 0x1800f6d0e
mov rax, qword [0x18013c5a8]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x1800f6d0e
mov rax, qword [0x18013c5a8]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x1800f6d0e
mov rax, qword [0x18013c5a8]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x1800f6cd4
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x1800f6cdb
xor eax, eax
jmp 0x1800f6e89
mov rax, qword [0x18013c5a8]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x28]
jmp 0x1800f6e89
mov rax, qword [0x18013c5a0]
mov qword [0x18013c5a8], rax
jmp 0x1800f6d30
mov rax, qword [0x18013c5a8]
mov rax, qword [rax + 8]
mov qword [0x18013c5a8], rax
cmp qword [0x18013c5a8], 0
je 0x1800f6d7d
cmp qword [0x18013c5a8], 0
je 0x1800f6d7b
mov rax, qword [0x18013c5a8]
cmp qword [rax + 0x10], 0
je 0x1800f6d7b
mov rax, qword [0x18013c5a8]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x1800f6d7b
mov rax, qword [0x18013c5a8]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x1800f6d7b
jmp 0x1800f6cac
jmp 0x1800f6d1e
mov rcx, qword [rsp + 0x60]
call fcn.1800f9090
and eax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.1800f6e90
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1800f6e87
mov rax, qword [rsp + 0x48]
mov qword [0x18013c5a8], rax
mov rax, qword [0x18013c5a8]
mov dword [rax], 0x52727464
mov rax, qword [0x18013c5a8]
mov qword [rax + 0x10], 0
mov rax, qword [0x18013c5a8]
mov rcx, qword [0x18013c5a0]
mov qword [rax + 8], rcx
mov rax, qword [0x18013c5a8]
mov qword [0x18013c5a0], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x18013c5a8]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x1800f6e38
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x1800f6e72
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x1800f6e2e
mov rax, qword [0x18013c5a8]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x1800f6cac
xor eax, eax
add rsp, 0x58
ret