joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47e8c0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x47e98a
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.004030e0
xorps xmm15, xmm15
mov r14, qword [0x0061e4f8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x47e96f
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x004d6a40]
xor ebx, ebx
mov rcx, rdx
call fcn.00447ce0
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call fcn.0047f420
inc rbx
cmp rcx, rbx
jae 0x47e95e
mov edi, 1
lea rsi, [0x004d6a40]
call fcn.00447dc0
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x00523200]
lea rsi, [0x005229b0]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045f660
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.0047e8c0
Function at 0x4acc20
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
movd xmm0, dword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
movdqu xmm1, xmmword [rsi]
movdqu xmm2, xmmword [rsi + 0x10]
movdqu xmm3, xmmword [rsi + 0x20]
movdqu xmm4, xmmword [rsi + 0x30]
pxor xmm1, xmm0
add rsi, 0x40
sub rcx, 0x40
cmp rcx, 0x40
jb 0x4accf5
movdqa xmm0, xmmword [0x00522b30]
movdqa xmm5, xmm1
movdqa xmm6, xmm2
movdqa xmm7, xmm3
movdqa xmm8, xmm4
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm2, xmm0, 0
pclmulqdq xmm3, xmm0, 0
pclmulqdq xmm4, xmm0, 0
movdqu xmm11, xmmword [rsi]
movdqu xmm12, xmmword [rsi + 0x10]
movdqu xmm13, xmmword [rsi + 0x20]
movdqu xmm14, xmmword [rsi + 0x30]
pclmulqdq xmm5, xmm0, 0x11
pclmulqdq xmm6, xmm0, 0x11
pclmulqdq xmm7, xmm0, 0x11
pclmulqdq xmm8, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm2, xmm6
pxor xmm3, xmm7
pxor xmm4, xmm8
pxor xmm1, xmm11
pxor xmm2, xmm12
pxor xmm3, xmm13
pxor xmm4, xmm14
add rdi, 0x40
add rsi, 0x40
sub rcx, 0x40
cmp rcx, 0x40
jge 0x4acc61
movdqa xmm0, xmmword [0x00522b40]
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm2
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm3
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm4
cmp rcx, 0x10
jb 0x4acd77
movdqu xmm10, xmmword [rsi]
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm10
sub rcx, 0x10
add rsi, 0x10
cmp rcx, 0x10
jge 0x4acd4b
pcmpeqb xmm3, xmm3
pclmulqdq xmm0, xmm1, 1
psrldq xmm1, 8
pxor xmm1, xmm0
movdqa xmm2, xmm1
movq xmm0, qword [0x005229a8]
psrlq xmm3, 0x20
psrldq xmm2, 4
pand xmm1, xmm3
pclmulqdq xmm1, xmm0, 0
pxor xmm1, xmm2
movdqa xmm0, xmmword [0x00522b50]
movdqa xmm2, xmm1
pand xmm1, xmm3
pclmulqdq xmm1, xmm0, 0x10
pand xmm1, xmm3
pclmulqdq xmm1, xmm0, 0
pxor xmm1, xmm2
pextrd eax, xmm1, 1
mov dword [rsp + 0x28], eax
ret
Function at 0x4c9280
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x20]
cmp r12, qword [r14 + 0x10]
jbe 0x4c9519
push rbp
mov rbp, rsp
sub rsp, 0x98
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0xa8], rax
nop
lea rax, [0x004ea260]
call fcn.0040c880
mov qword [rsp + 0x70], rax
mov qword [rax + 8], 9
lea rcx, [0x004f7945]
mov qword [rax], rcx
mov byte [rax + 0x10], 1
nop
lea rax, [0x004ea260]
call fcn.0040c880
mov qword [rsp + 0x68], rax
mov qword [rax + 8], 8
lea rcx, [0x004f76c5]
mov qword [rax], rcx
mov byte [rax + 0x10], 1
nop
lea rax, [0x004ea1a0]
call fcn.0040c880
cmp dword [0x0061e570], 0
jne 0x4c9317
mov rcx, qword [rsp + 0x70]
jmp 0x4c9324
call fcn.00461560
mov rcx, qword [rsp + 0x70]
mov qword [r11], rcx
mov qword [rsp + 0x60], rax
mov qword [rax + 0x18], rcx
mov qword [rax + 8], 0xd
lea rcx, [0x004f87a5]
mov qword [rax], rcx
nop
lea rax, [0x004ea1a0]
call fcn.0040c880
cmp dword [0x0061e570], 0
jne 0x4c9360
mov rcx, qword [rsp + 0x68]
jmp 0x4c936d
call fcn.00461560
mov rcx, qword [rsp + 0x68]
mov qword [r11], rcx
mov qword [rsp + 0x58], rax
mov qword [rax + 0x18], rcx
mov qword [rax + 8], 0xc
lea rcx, [0x004f830d]
mov qword [rax], rcx
mov qword [rsp + 0x48], 0
mov rcx, qword [rsp + 0xb0]
mov qword [rsp + 0x40], rcx
lea rax, [0x004d7880]
call fcn.0040c880
mov rcx, qword [rsp + 0xb0]
mov qword [rax + 8], rcx
mov qword [rax + 0x10], 0x3000
mov qword [rax + 0x18], 0x40
mov rbx, rax
mov edi, 4
mov rax, qword [rsp + 0x58]
mov rcx, rdi
call fcn.004c2360
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
jbe 0x4c950e
mov rcx, qword [rsp + 0xa8]
mov qword [rsp + 0x90], rcx
lea rax, [0x004d7820]
call fcn.0040c880
mov rcx, qword [rsp + 0x50]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x90]
mov qword [rax + 8], rcx
mov rcx, qword [rsp + 0xb0]
mov qword [rax + 0x10], rcx
mov rbx, rax
mov ecx, 3
mov rdi, rcx
mov rax, qword [rsp + 0x60]
nop dword [rax]
call fcn.004c2360
movzx ecx, word [0x0061e2c4]
mov word [rsp + 0x3e], cx
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x88], rdx
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x80], rdx
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x78], rdx
lea rax, [0x004d78e0]
nop dword [rax]
call fcn.0040c880
mov qword [rax], 0xffffffffffffffff
mov rcx, qword [rsp + 0x88]
mov qword [rax + 8], rcx
mov rcx, qword [rsp + 0x80]
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], 0x20
mov rcx, qword [rsp + 0x78]
mov qword [rax + 0x20], rcx
movzx ecx, word [rsp + 0x3e]
mov word [rsp], cx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], 5
mov qword [rsp + 0x18], 5
call fcn.004bcd00
xorps xmm15, xmm15
mov r14, qword [0x0061e4f8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x50]
xor ebx, ebx
mov rcx, rbx
mov rdi, rcx
mov rsi, rcx
nop dword [rax]
call fcn.0045dfa0
add rsp, 0x98
pop rbp
ret
xor eax, eax
mov rcx, rax
call fcn.004618e0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.0045f660
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
nop dword [rax]
jmp fcn.004c9280
Function at 0x1406d2b20
Capabilities:
Encode data using xor

Disassembly:
movzx eax, byte [rcx]
xor edx, edx
test al, al
je 0x1406d2b4a
nop dword [rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
xor eax, 0x561e12b0
shr eax, 1
imul edx, eax, 0x21
movzx eax, byte [rcx]
test al, al
jne 0x1406d2b30
mov eax, edx
ret
Function at 0x180005120
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x180005148
xor eax, eax
lea r8, [0x180005110]
mov r9, rcx
mov qword [rsp + 0x28], rax
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x38
ret

Function at 0x180007ee0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm7
mov rax, qword [0x180021040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rcx
movaps xmm6, xmm3
movabs rcx, 0x1899f328b0e12848
movaps xmm7, xmm2
mov ebp, edx
call fcn.1800078c0
mov ecx, dword [0x180021c4c]
mov rsi, rax
mov rax, qword gs:[0x58]
mov r15d, 4
mov rdi, qword [rax + rcx*8]
mov eax, dword [rdi + r15]
cmp dword [0x180029a90], eax
jle 0x180007f80
lea rcx, [0x180029a90]
call fcn.180018d30
cmp dword [0x180029a90], 0xffffffff
jne 0x180007f80
call fcn.1800051e0
lea rcx, [0x180029a90]
mov qword [0x180029c88], rax
call fcn.180018cc4
mov eax, dword [rdi + r15]
xor r14d, r14d
cmp dword [0x18002632c], eax
jle 0x180007ff4
lea rcx, [0x18002632c]
call fcn.180018d30
cmp dword [0x18002632c], 0xffffffff
jne 0x180007ff4
xor edx, edx
lea rcx, [0x180028740]
mov r8d, 0x180
call sub.VCRUNTIME140.dll_memset
lea rcx, [0x180028800]
mov qword [0x180028728], r14
xor edx, edx
mov qword [0x180028720], rcx
mov r8d, 0xc0
mov qword [0x180028730], rcx
mov qword [0x180028738], r14
call sub.VCRUNTIME140.dll_memset
lea rcx, [0x18002632c]
call fcn.180018cc4
test rsi, rsi
jne 0x180008004
mov qword [rbx], r14
xorps xmm0, xmm0
jmp 0x1800080a3
mov rax, qword [0x180029c88]
lea rcx, [0x180028720]
movss xmm0, dword [rsp + 0xb0]
xor r9d, r9d
mov qword [rsp + 0x30], rax
xor r8d, r8d
xor eax, eax
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x40], rax
xor edx, edx
lea rax, [rsp + 0x30]
movss dword [0x180028808], xmm7
mov qword [rsp + 0x20], rax
movss dword [0x180028810], xmm6
movss dword [0x180028818], xmm0
mov qword [0x180028738], r14
mov dword [0x180028800], ebp
mov qword [0x180028728], 4
mov qword [rsp + 0x38], rsi
call fcn.180018760
mov qword [rbx + 4], r14
mov dword [rbx], r14d
mov rax, qword [0x180028720]
mov ecx, dword [rax]
mov dword [rbx], ecx
mov rax, qword [0x180028720]
mov ecx, dword [rax + 8]
mov dword [rbx + 4], ecx
mov rax, qword [0x180028720]
movss xmm0, dword [rax + 0x10]
movss dword [rbx + 8], xmm0
mov rax, rbx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1800187b0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
movaps xmm6, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x50]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x180012c50
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edi, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
mov r8d, dword [0x180021c4c]
mov ebx, eax
mov rdx, qword gs:[0x58]
mov eax, 4
mov rdx, qword [rdx + r8*8]
mov r8d, dword [rax + rdx]
cmp dword [0x18002ad88], r8d
jle 0x180012cca
lea rcx, [0x18002ad88]
call fcn.180018d30
cmp dword [0x18002ad88], 0xffffffff
jne 0x180012cca
xor edx, edx
mov dword [0x180021eb0], ebx
mov r8d, 0x3fc
lea rcx, [0x180021eb4]
call sub.VCRUNTIME140.dll_memset
lea rcx, [0x18002ad88]
call fcn.180018cc4
mov ecx, edi
xor sil, sil
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
lea r9, [0x180000000]
mov r10, rdi
movzx edx, byte [rdi + r9 + 0x21db0]
movzx r8d, ax
shr r8d, 0xf
and r8b, 1
je 0x180012d3a
lea r11, [rdi*4]
test dl, 1
je 0x180012d21
mov ecx, ebx
mov eax, 0x200
sub ecx, dword [r11 + r9 + 0x21eb0]
mov edi, 0x50
test dl, 2
cmovne eax, edi
cmp ecx, eax
jle 0x180012d3d
movzx eax, dl
and al, 3
cmp al, 1
jne 0x180012d2d
or dl, 2
mov sil, 1
mov dword [r11 + r9 + 0x21eb0], ebx
jmp 0x180012d3d
and dl, 0xfd
mov rbx, qword [rsp + 0x30]
neg r8b
xor r8b, dl
movzx eax, sil
mov rsi, qword [rsp + 0x38]
and r8b, 1
xor r8b, dl
mov byte [r10 + r9 + 0x21db0], r8b
add rsp, 0x20
pop rdi
ret
Function at 0x180013060
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push r14
push r15
sub rsp, 0x98
mov rax, qword [0x180021040]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rcx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
cmp rdi, 0x40000000
jbe 0x1800130af
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x18002ba00]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x1800130ed
cmp rsi, r14
jb 0x1800130e5
cmp rsi, r15
jae 0x1800130e5
cmp qword [rsi + 8], 0
jne 0x1800132b7
mov rsi, qword [rsi]
test rsi, rsi
jne 0x1800130d0
mov qword [rsp + 0xc8], rbx
mov rbx, rdi
mov qword [rsp + 0xd0], rbp
mov qword [rsp + 0x90], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x180013182
nop dword [rax]
nop word [rax + rax]
mov ebp, dword [rsp + 0x78]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x180013179
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180013179
cmp dword [rsp + 0x40], 0x10000
je 0x1800131fb
mov rbx, qword [rsp + 0x28]
cmp rbx, rbp
jb 0x180013179
sub rbx, rbp
cmp rbx, r14
jae 0x180013140
test rsi, rsi
jne 0x180013260
cmp rdi, r15
ja 0x18001329f
nop dword [rax + rax]
mov ebp, dword [rsp + 0x78]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x18001329f
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18001329f
cmp dword [rsp + 0x40], 0x10000
je 0x180013231
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x38]
add rdi, qword [rsp + 0x20]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x1800131b2
jmp 0x18001329f
test rbx, rbx
je 0x180013179
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x180013260
cmp rbx, r14
jae 0x180013120
jmp 0x180013182
test rdi, rdi
je 0x18001329f
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x180013260
cmp rdi, r15
jbe 0x180013190
jmp 0x18001329f
xor edx, edx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0x10], edx
nop dword [rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rsi + 8], rcx
add r12, 0x40
add rcx, 0x40
mov rdx, rax
cmp r12, 0xfc0
jbe 0x180013270
mov rax, qword [0x18002ba00]
mov qword [rsi], rax
mov qword [0x18002ba00], rsi
mov r12, qword [rsp + 0x90]
mov rbp, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0xc8]
mov rax, rsi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1800187b0
add rsp, 0x98
pop r15
pop r14
pop rdi
pop rsi
ret
Function at 0x180013cb0
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x180021040]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor esi, esi
mov r14d, edx
mov rbx, rcx
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
xor edx, edx
mov ebp, r8d
lea ecx, [rsi + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x180013ddb
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x180013dd2
nop dword [rax]
cmp dword [rsp + 0x20], 0x10
jb 0x180013db4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x180013db4
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x180013db4
mov rdx, qword [rbx]
test rdx, rdx
jne 0x180013d72
mov rcx, qword [0x1800222b8]
mov r8d, 0x200
mov dword [rbx + 8], 0x80
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x180013dd2
jmp 0x180013da7
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x180013da7
mov rcx, qword [0x1800222b8]
lea r9d, [rax + rax]
mov r8, rdx
shl r9, 2
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x180013dd2
mov eax, dword [rbx + 8]
add eax, eax
mov qword [rbx], rdx
mov dword [rbx + 8], eax
mov ecx, dword [rbx + 0xc]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rbx + 0xc]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x180013d20
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], rsi
je 0x180013e33
cmp dword [rbx + 0xc], esi
jbe 0x180013e33
nop word [rax + rax]
mov r8, qword [rbx]
xor edx, edx
mov eax, esi
lea ecx, [rdx + 0x5a]
mov r8d, dword [r8 + rax*4]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x180013e2c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rdi
call fcn.180013b00
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [rbx + 0xc]
jb 0x180013df0
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1800187b0
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x180013e60
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x180021040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, ecx
lea r9, [rsp + 0x20]
imul rbx, rax, 0x38
mov r8d, 0x40
add rbx, qword [0x18002b9f0]
mov rdx, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [rdx - 5]
cmove rdi, rdx
lea rsi, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180013ec9
mov eax, 0xa
jmp 0x180013f16
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x180013ee5
mov rax, qword [rbx]
mov word [rax], 0xf9eb
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rsi
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
or byte [rbx + 0x20], 6
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1800187b0
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x180013f40
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
mov eax, dword [0x18002b9fc]
xor edi, edi
mov ebx, edi
test eax, eax
je 0x180014050
mov rcx, qword [0x18002b9f0]
add rcx, 0x20
test byte [rcx], 2
je 0x180013f83
inc ebx
add rcx, 0x38
cmp ebx, eax
jb 0x180013f67
mov eax, edi
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xffffffff
je 0x180014050
mov edx, 0xffffffff
lea rcx, [rsp + 0x20]
mov r8d, 1
call fcn.180013cb0
mov edx, dword [0x18002b9fc]
cmp ebx, edx
jae 0x180013fdd
nop dword [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x18002b9f0]
test byte [rcx + rax + 0x20], 2
jne 0x180013fd7
mov ecx, ebx
call fcn.180013e60
mov edi, eax
test eax, eax
jne 0x180013fdd
mov edx, dword [0x18002b9fc]
inc ebx
cmp ebx, edx
jb 0x180013fb0
cmp qword [rsp + 0x20], 0
je 0x180014050
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x18001403c
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
mov qword [rsp + 0x48], rsi
nop
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x180014028
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x180014000
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1800222b8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x50]
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x1800094a0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0xa8
cmp byte [0x1801a23ec], 0
je 0x1800096ef
mov ecx, 0x20
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1800096ef
mov qword [rsp + 0xb0], rbx
movabs rbx, 0xd80958fc74e988a6
mov qword [rsp + 0xa0], rdi
xor edi, edi
mov dword [0x180140698], edi
mov dword [0x1801406a8], edi
mov qword [0x1801a4b50], rbx
call fcn.180036910
mov qword [rsp + 0xb8], rdi
mov ecx, dword [rax]
movabs rax, 0x997abd671d25ca0b
mov dword [rsp + 0xb8], ecx
mov qword [0x1801a4b50], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xb8], rdi
mov qword [0x180140770], rax
mov dword [rsp + 0xb8], 1
mov rax, qword [rsp + 0xb8]
mov qword [0x180140778], rax
mov dword [0x1801406a8], edi
mov dword [0x180140698], 2
call fcn.180036910
cmp dword [rax], edi
je 0x1800096df
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0x80], xmm7
mov dword [0x180140698], edi
mov dword [0x1801406a8], edi
mov qword [0x1801a4b50], rbx
call fcn.180036910
mov qword [rsp + 0xb8], rdi
mov ecx, dword [rax]
movabs rax, 0x9a9112a0fe9a4713
mov dword [rsp + 0xb8], ecx
mov qword [0x1801a4b50], rax
mov rax, qword [rsp + 0xb8]
mov qword [0x180140770], rax
mov dword [0x1801406a8], edi
mov qword [0x180140778], rdi
mov dword [0x180140698], 2
call fcn.180036910
mov qword [rsp + 0xb8], rdi
mov ebx, dword [rax]
movabs rax, 0x866a4a5fae349510
mov qword [0x1801a4b50], rax
mov dword [rsp + 0xb8], ebx
mov rax, qword [rsp + 0xb8]
mov qword [0x180140770], rax
mov dword [0x1801406a8], edi
mov dword [0x180140698], 1
call fcn.180036910
mov qword [rsp + 0xb8], rdi
xorps xmm6, xmm6
mov dword [rsp + 0xb8], ebx
movss xmm7, dword [rax]
movabs rax, 0x8bb4ef4214e0e6d5
mov qword [0x1801a4b50], rax
addss xmm7, xmm6
mov rax, qword [rsp + 0xb8]
mov qword [0x180140770], rax
mov dword [0x1801406a8], edi
mov dword [0x180140698], 1
call fcn.180036910
movss xmm0, dword [0x1800f7210]
mov edx, ebx
mov dword [rsp + 0x70], 1
mov dword [rsp + 0x68], 1
movss xmm3, dword [rax]
mov dword [rsp + 0x58], 1
addss xmm3, xmm6
mov dword [rsp + 0x50], edi
mov dword [rsp + 0x48], 1
movss dword [rsp + 0x40], xmm6
movss dword [rsp + 0x38], xmm6
movss dword [rsp + 0x30], xmm6
movss dword [rsp + 0x28], xmm0
movss dword [rsp + 0x20], xmm7
call fcn.180028a50
movaps xmm7, xmmword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x90]
mov rbx, qword [rsp + 0xb0]
mov rdi, qword [rsp + 0xa0]
add rsp, 0xa8
ret
Function at 0x18000a1c0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
cmp byte [0x1801a23e3], 0
je 0x18000a327
mov ecx, 0xa0
mov qword [rsp + 0x20], rbx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
xor ebx, ebx
movabs rcx, 0xd80958fc74e988a6
mov qword [0x1801a4b50], rcx
mov dword [0x180140698], ebx
mov dword [0x1801406a8], ebx
test ax, ax
je 0x18000a295
call fcn.180036910
mov qword [rsp + 0x38], rbx
mov ecx, dword [rax]
movabs rax, 0x9a9112a0fe9a4713
mov dword [rsp + 0x38], ecx
mov qword [0x1801a4b50], rax
mov rax, qword [rsp + 0x38]
mov qword [0x180140770], rax
mov dword [0x1801406a8], ebx
mov qword [0x180140778], rbx
mov dword [0x180140698], 2
call fcn.180036910
mov qword [rsp + 0x38], rbx
mov ecx, dword [rax]
movabs rax, 0x222ff6a823d122e2
mov dword [rsp + 0x38], ecx
mov qword [0x1801a4b50], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x38], 1
mov qword [0x180140770], rax
mov rax, qword [rsp + 0x38]
mov qword [0x180140778], rax
jmp 0x18000a30d
call fcn.180036910
mov qword [rsp + 0x38], rbx
mov ecx, dword [rax]
movabs rax, 0x9a9112a0fe9a4713
mov dword [rsp + 0x38], ecx
mov qword [0x1801a4b50], rax
mov rax, qword [rsp + 0x38]
mov qword [0x180140770], rax
mov dword [0x1801406a8], ebx
mov qword [0x180140778], rbx
mov dword [0x180140698], 2
call fcn.180036910
mov qword [rsp + 0x38], rbx
mov ecx, dword [rax]
movabs rax, 0x222ff6a823d122e2
mov dword [rsp + 0x38], ecx
mov qword [0x1801a4b50], rax
mov rax, qword [rsp + 0x38]
mov qword [0x180140770], rax
mov qword [0x180140778], rbx
mov dword [0x1801406a8], ebx
mov dword [0x180140698], 2
call fcn.180036910
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret