joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180003410
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x180003438
xor eax, eax
lea r8, [0x1800032d0]
mov qword [rsp + 0x28], rax
xor r9d, r9d
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 0x1800047b0
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.1800049d0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x1800048b7
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x180004814
mov rax, qword [0x18000f008]
cmp qword [rsp + 0x20], rax
ja 0x180004814
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1800047d6
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 qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x180004843
jmp 0x1800048b7
cmp dword [rsp + 0x50], 0x10000
jne 0x18000489a
cmp qword [rsp + 0x48], 0x10000
jb 0x18000489a
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180004888
mov rax, qword [rsp + 0x28]
jmp 0x1800048b9
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1800048b2
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.1800049d0
mov qword [rsp + 0x20], rax
jmp 0x1800047d6
xor eax, eax
add rsp, 0x68
ret

Function at 0x1800048c0
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.180004a10
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x1800049c3
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x18000491b
mov rax, qword [0x18000f008]
cmp qword [rsp + 0x20], rax
ja 0x18000491b
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1800048dd
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 qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x18000494a
jmp 0x1800049c3
cmp dword [rsp + 0x50], 0x10000
jne 0x1800049a1
cmp qword [rsp + 0x48], 0x10000
jb 0x1800049a1
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18000498f
mov rax, qword [rsp + 0x28]
jmp 0x1800049c5
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1800049be
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.180004a10
mov qword [rsp + 0x20], rax
jmp 0x1800048dd
xor eax, eax
add rsp, 0x68
ret
Function at 0x180007d70
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, ecx
mov ecx, dword [0x18000fbac]
mov ebx, edi
test ecx, ecx
je 0x180007eab
mov rax, qword [0x18000fba0]
add rax, 0x20
nop
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x180007dc8
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180007da0
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xffffffff
je 0x180007eab
mov r8d, edi
lea rcx, [rsp + 0x20]
test esi, esi
mov edx, 0xffffffff
setne r8b
call fcn.1800080f0
mov r8d, dword [0x18000fbac]
cmp ebx, r8d
jae 0x180007e38
nop word [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x18000fba0]
movzx edx, byte [rcx + rax + 0x20]
shr edx, 1
and edx, 1
cmp edx, esi
je 0x180007e31
mov edx, esi
mov ecx, ebx
call fcn.180007fe0
mov edi, eax
test eax, eax
jne 0x180007e38
mov r8d, dword [0x18000fbac]
inc ebx
cmp ebx, r8d
jb 0x180007e00
cmp qword [rsp + 0x20], 0
je 0x180007eab
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180007e97
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
nop dword [rax]
nop dword [rax + rax]
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 0x180007e88
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 0x180007e60
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x18000f580]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x48]
mov eax, edi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x180007fe0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov eax, ecx
lea r9, [rsp + 0x30]
imul rbx, rax, 0x38
mov esi, edx
add rbx, qword [0x18000fba0]
mov r8, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [r8 - 5]
cmove rdi, r8
mov r8d, 0x40
lea rbp, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180008044
mov eax, 0xa
jmp 0x1800080d3
test esi, esi
je 0x180008066
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 0x180008089
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x180008089
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x180008082
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x180008089
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
and byte [rbx + 0x20], 0xfd
and sil, 1
movzx eax, sil
shl sil, 2
add al, al
or al, byte [rbx + 0x20]
and al, 0xfb
or al, sil
mov byte [rbx + 0x20], al
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1800080f0
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 [0x18000f240]
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 sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18000821a
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x180008211
nop word [rax + rax]
cmp dword [rsp + 0x20], 0x10
jb 0x1800081f4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x1800081f4
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x1800081f4
mov rdx, qword [rbx]
test rdx, rdx
jne 0x1800081b2
mov dword [rbx + 8], 0x80
mov r8d, 0x200
mov rcx, qword [0x18000f580]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x180008211
jmp 0x1800081e7
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x1800081e7
mov rcx, qword [0x18000f580]
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 0x180008211
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 sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x180008160
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], rsi
je 0x180008273
cmp dword [rbx + 0xc], esi
jbe 0x180008273
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rbx]
xor edx, edx
mov ecx, esi
mov r8d, dword [rax + rcx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x18000826c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rdi
call fcn.1800085e0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [rbx + 0xc]
jb 0x180008230
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180009800
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 0x180008790
Capabilities:
Resume thread

Disassembly:
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rdi, rcx
je 0x1800087ff
mov qword [rsp + 0x30], rbx
xor ebx, ebx
cmp dword [rcx + 0xc], ebx
jbe 0x1800087e8
mov qword [rsp + 0x38], rsi
mov rax, qword [rdi]
xor edx, edx
mov r8d, dword [rax + rbx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1800087dc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [rdi + 0xc]
jb 0x1800087b0
mov rsi, qword [rsp + 0x38]
mov r8, qword [rdi]
xor edx, edx
mov rcx, qword [0x18000f580]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1800088c0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
cmp rdi, 0x40000000
jbe 0x180008900
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x18000fb98]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x18000893e
cmp rsi, r14
jb 0x180008936
cmp rsi, r15
jae 0x180008936
cmp qword [rsi + 8], 0
jne 0x180008b07
mov rsi, qword [rsi]
test rsi, rsi
jne 0x180008921
mov qword [rsp + 0xa0], rbx
mov rbx, rdi
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0xb0], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x1800089d2
nop dword [rax]
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x1800089c9
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800089c9
cmp dword [rsp + 0x70], 0x10000
je 0x180008a4b
mov rbx, qword [rsp + 0x58]
cmp rbx, rbp
jb 0x1800089c9
sub rbx, rbp
cmp rbx, r14
jae 0x180008990
test rsi, rsi
jne 0x180008ab0
cmp rdi, r15
ja 0x180008aef
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
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 0x180008aef
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180008aef
cmp dword [rsp + 0x70], 0x10000
je 0x180008a81
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x68]
add rdi, qword [rsp + 0x50]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x180008a02
jmp 0x180008aef
test rbx, rbx
je 0x1800089c9
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 0x180008ab0
cmp rbx, r14
jae 0x180008970
jmp 0x1800089d2
test rdi, rdi
je 0x180008aef
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 0x180008ab0
cmp rdi, r15
jbe 0x1800089e0
jmp 0x180008aef
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 0x180008ac0
mov rax, qword [0x18000fb98]
mov qword [rsi], rax
mov qword [0x18000fb98], rsi
mov r12, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
mov rax, rsi
mov rsi, qword [rsp + 0xb8]
add rsp, 0x80
pop r15
pop r14
pop rdi
ret
Function at 0x14002b590
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [rsp + 0x90]
cmp qword [rax], 0
jne 0x14002b5af
jmp 0x14002b809
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax]
call fcn.14002a6d0
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rax, qword [0x140222fe0]
movzx edx, byte [rax + 8]
mov rcx, qword [rsp + 0x20]
call fcn.14002adc0
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov rax, qword [0x140222fe0]
movzx edx, byte [rax + 0xd]
mov rcx, qword [rsp + 0x28]
call fcn.14002ae60
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
mov rax, qword [0x140222fe0]
movzx edx, byte [rax + 0x11]
mov rcx, qword [rsp + 0x30]
call fcn.14002aea0
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov rax, qword [0x140222fe0]
movzx edx, byte [rax + 0xc]
mov rcx, qword [rsp + 0x38]
call fcn.14002aee0
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov rax, qword [0x140222fe0]
movzx edx, byte [rax + 0xb]
mov rcx, qword [rsp + 0x40]
call fcn.14002aec0
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov dl, 1
mov rcx, qword [rsp + 0x48]
call fcn.14002ae80
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [0x140222fe0]
movss xmm1, dword [rax + 0x24]
mov rcx, qword [rsp + 0x50]
call fcn.14002af00
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
mov rax, qword [0x140222fe0]
mov edx, dword [rax + 0x18]
mov rcx, qword [rsp + 0x58]
call fcn.14002ade0
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov rax, qword [0x140222fe0]
mov edx, dword [rax + 0x20]
mov rcx, qword [rsp + 0x60]
call fcn.14002ae00
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140222fe0]
movss xmm1, dword [rax + 0x28]
mov rcx, qword [rsp + 0x68]
call fcn.14002af20
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
mov edx, 6
mov rcx, qword [rsp + 0x70]
call fcn.14002ae20
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov qword [rsp + 0x78], rax
mov edx, reloc.WS2_32.dll_inet_ntoa
mov rcx, qword [rsp + 0x78]
call fcn.14002ae40
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax]
call fcn.14002a7c0
mov rax, qword [0x140222fe0]
mov ecx, dword [rax + 0x1c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jne 0x14002b798
mov rax, qword [0x140222fe0]
cmp dword [rax + 0x1c], 0
jne 0x14002b809
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax]
call fcn.14002af80
movzx eax, al
test eax, eax
je 0x14002b809
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax]
call fcn.14002afd0
movzx eax, al
test eax, eax
je 0x14002b7ea
call fcn.14003a750
movzx eax, al
test eax, eax
je 0x14002b7ea
call fcn.14003a810
movzx eax, al
test eax, eax
je 0x14002b7ea
call fcn.14003a770
movzx eax, al
test eax, eax
jne 0x14002b7fc
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax]
call fcn.14002a770
jmp 0x14002b809
mov rcx, qword [rsp + 0x90]
call fcn.14002b470
add rsp, 0x88
ret
Function at 0x14002c250
Capabilities:
Log keystrokes via polling

Disassembly:
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x68
mov rcx, qword [0x140222fb8]
call fcn.14003ac80
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14002c27d
jmp 0x14002c38a
mov rcx, qword [rsp + 0x20]
call fcn.140039330
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14002c299
jmp 0x14002c38a
movsx eax, byte [rsp + 0x88]
mov ecx, eax
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x14002c31f
mov rax, qword [0x14022d988]
movzx eax, byte [rax + 0x13]
test eax, eax
je 0x14002c31d
call fcn.14003a810
movzx eax, al
test eax, eax
je 0x14002c31d
mov byte [0x14022d984], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
xorps xmm3, xmm3
xorps xmm2, xmm2
xorps xmm1, xmm1
mov rcx, qword [rsp + 0x30]
call fcn.140028c40
lea rcx, [rsp + 0x40]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_inet_ntoa
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
call fcn.140042460
mov dl, 2
mov rcx, qword [rsp + 0x80]
call fcn.14002c150
jmp 0x14002c38a
mov rax, qword [0x14022d988]
movzx eax, byte [rax + 0x13]
test eax, eax
je 0x14002c38a
call fcn.14003a810
movzx eax, al
test eax, eax
je 0x14002c38a
call fcn.14003a770
movzx eax, al
test eax, eax
je 0x14002c369
movzx eax, byte [0x14022d984]
test eax, eax
je 0x14002c367
mov byte [0x14022d984], 0
mov dl, 1
mov rcx, qword [rsp + 0x80]
call fcn.14002c150
jmp 0x14002c38a
movzx eax, byte [0x14022d984]
test eax, eax
je 0x14002c38a
mov byte [0x14022d984], 0
mov dl, 3
mov rcx, qword [rsp + 0x80]
call fcn.14002c150
add rsp, 0x68
pop rdi
pop rsi
ret

Function at 0x14002d0b0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
cmp qword [0x140222fb8], 0
jne 0x14002d0c8
jmp 0x14002d181
movss xmm0, dword [0x14022d9a8]
ucomiss xmm0, dword [0x1401d7dec]
jp 0x14002d0fd
jne 0x14002d0fd
mov r9b, 1
xorps xmm2, xmm2
mov edx, 8
mov rcx, qword [rsp + 0x30]
call fcn.14002d870
movss dword [0x14022d9a8], xmm0
jmp 0x14002d181
call fcn.14004a200
movzx eax, al
test eax, eax
jne 0x14002d181
mov rax, qword [0x14022d9a0]
movzx eax, byte [rax + 0x10]
test eax, eax
je 0x14002d16a
call fcn.14003a750
movzx eax, al
test eax, eax
je 0x14002d16a
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x14002d151
mov rax, qword [0x14022d9a0]
movss xmm2, dword [rax + 0x18]
mov edx, 8
mov rcx, qword [rsp + 0x30]
call fcn.14002d910
jmp 0x14002d168
movss xmm2, dword [0x14022d9a8]
mov edx, 8
mov rcx, qword [rsp + 0x30]
call fcn.14002d910
jmp 0x14002d181
movss xmm2, dword [0x14022d9a8]
mov edx, 8
mov rcx, qword [rsp + 0x30]
call fcn.14002d910
add rsp, 0x28
ret
Function at 0x140041ad0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xb8
mov rax, qword [0x1401ed028]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x30]
movzx eax, byte [rax + 0xe]
test eax, eax
je 0x140041b73
mov rax, qword [rsp + 0xd0]
movzx eax, byte [rax + 0x27]
test eax, eax
jne 0x140041b73
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x20], rax
xorps xmm3, xmm3
xorps xmm2, xmm2
xorps xmm1, xmm1
lea rcx, [rsp + 0x80]
call fcn.140028c40
lea rcx, [rsp + 0x40]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_inet_ntoa
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x50]
lea rcx, [rsp + 0x40]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_inet_ntoa
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x20]
call fcn.140042460
mov ecx, 0x20
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x140041c67
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x30]
movzx eax, byte [rax + 0xe]
test eax, eax
je 0x140041c65
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 8]
mov qword [rsp + 0x28], rax
xor edx, edx
mov rcx, qword [rsp + 0x28]
call fcn.140039570
movzx eax, byte [0x14022da22]
test eax, eax
je 0x140041c65
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x98]
mov rcx, qword [rsp + 0x30]
call fcn.14003d860
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x38], rax
movss xmm3, dword [rsp + 0xa0]
movss xmm2, dword [0x1401d7fa4]
movss xmm1, dword [rsp + 0x98]
lea rcx, [rsp + 0x8c]
call fcn.140028c40
lea rcx, [rsp + 0x60]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_inet_ntoa
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x70]
lea rcx, [rsp + 0x60]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_inet_ntoa
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x38]
call fcn.140042460
mov byte [0x14022da22], 0
jmp 0x140041c6e
mov byte [0x14022da22], 1
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1400d63a0
add rsp, 0xb8
pop rdi
pop rsi
ret
Function at 0x140041c90
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [0x1401ed028]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov ecx, 0x56
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x140041da2
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x30]
movzx eax, byte [rax + 0xb]
test eax, eax
je 0x140041da2
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0x27]
test eax, eax
je 0x140041da2
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0x23]
test eax, eax
je 0x140041da2
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0x26]
test eax, eax
je 0x140041da2
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x140041d48
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 8]
mov qword [rsp + 0x20], rax
mov rax, qword [0x14022bee8]
mov eax, dword [rax + 0x4b8]
add eax, 4
movss xmm2, dword [0x1401d7f9c]
mov edx, eax
mov rcx, qword [rsp + 0x20]
call fcn.14002d910
jmp 0x140041da2
movss xmm0, dword [0x1401d7fd8]
movss dword [rsp + 0x28], xmm0
movss xmm0, dword [0x1401d7f7c]
movss dword [rsp + 0x2c], xmm0
movss xmm0, dword [0x1401d7fd8]
movss dword [rsp + 0x30], xmm0
mov rax, qword [0x14022bee8]
mov eax, dword [rax + 0x4b8]
mov rcx, qword [rsp + 0x50]
add rax, qword [rcx + 8]
mov r9d, reloc.WS2_32.dll_inet_ntoa
lea r8, [rsp + 0x28]
mov rdx, rax
mov rcx, qword [0x140222f48]
call fcn.14002bca0
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400d63a0
add rsp, 0x48
ret

Function at 0x140041ed0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov ecx, 0x54
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x140041f50
mov rax, qword [rsp + 0x40]
cmp qword [rax + 8], 0
je 0x140041f50
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 0x27]
test eax, eax
je 0x140041f50
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 0x39]
test eax, eax
je 0x140041f50
movzx eax, byte [0x14022da21]
cmp eax, 1
jne 0x140041f4e
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 0x38]
test eax, eax
jne 0x140041f32
mov dword [rsp + 0x20], 1
jmp 0x140041f3a
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0x40]
movzx ecx, byte [rsp + 0x20]
mov byte [rax + 0x38], cl
mov byte [0x14022da21], 0
jmp 0x140041f57
mov byte [0x14022da21], 1
add rsp, 0x38
ret