joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a08f8
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1400a0928
xor eax, eax
jmp 0x1400a09eb
mov rbp, rbx
cmp word [rax], si
je 0x1400a094d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400a0934
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400a0930
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1400a0848
movsxd r14, eax
test eax, eax
jne 0x1400a098b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400a0921
mov rcx, r14
call fcn.1400a17ac
mov rdi, rax
test rax, rax
jne 0x1400a09a4
xor ecx, ecx
call fcn.14009eed8
jmp 0x1400a0980
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1400a0848
test eax, eax
jne 0x1400a09d5
mov rcx, rdi
call fcn.14009eed8
jmp 0x1400a09df
xor ecx, ecx
call fcn.14009eed8
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x1400a411c
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14009f94c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400a41a6
cmp byte [rbp - 0x21], r15b
je 0x1400a41a1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400a41dc
call fcn.1400a1fcc
test eax, eax
jne 0x1400a41c8
cmp byte [rbp - 0x21], r15b
je 0x1400a41c0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400a41dc
cmp byte [rbp - 0x21], r15b
je 0x1400a41d9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14009ef28
test eax, eax
jne 0x1400a427c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14009f94c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400a421b
cmp byte [rbp - 0x21], r15b
je 0x1400a4250
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400a4250
call fcn.1400a1fcc
test eax, eax
jne 0x1400a423c
cmp byte [rbp - 0x21], r15b
je 0x1400a4235
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400a4250
cmp byte [rbp - 0x21], r15b
je 0x1400a424d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14009ef28
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400a427c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400a427f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400a428d
mov rcx, rdi
call fcn.14009eed8
cmp byte [rbp + 0x3f], r15b
je 0x1400a429c
mov rcx, qword [rbp + 0x27]
call fcn.14009eed8
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400a9ac0
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov qword [rbp], 0xfffffffffffffffe
lea rcx, str.api_ms_win_core_synch_l1_2_0.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x1400a9b21
mov rdi, rax
lea rdx, [0x1400b8ace]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400a9b21
mov rsi, rax
lea rdx, [0x1400b8adc]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400a9b21
mov rdi, rax
xor ebx, ebx
jmp 0x1400a9ba7
lea rcx, [0x1400b8a68]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x1400a9c1b
mov rsi, rax
lea rdx, [0x1400b8a72]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400a9c1b
mov rdi, rax
lea rdx, [0x1400b8a85]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400a9c1b
mov rbx, rax
lea rdx, [0x1400b8a99]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400a9c1b
mov rsi, rax
lea rcx, [rbp - 0x18]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rdi
test eax, eax
jne 0x1400a9c1b
mov rdi, qword [rbp - 0x18]
movzx eax, byte [0x1400eeb81]
mov ecx, 0x18
mov edx, 8
call fcn.140037a20
test rax, rax
je 0x1400a9c22
mov rcx, rax
mov qword [rax], rbx
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rdi
xor eax, eax
lock cmpxchg qword [0x1400eebb8], rcx
je 0x1400a9c0f
mov rsi, rax
cmp qword [rcx], 0
mov qword [rbp - 8], rcx
je 0x1400a9bf8
mov rax, qword [rbp - 8]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0x18
mov r8d, 8
mov rcx, qword [rbp - 8]
call fcn.140037a30
mov rcx, rsi
mov rax, rcx
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop rbp
ret
call fcn.1400a9a80
jmp 0x1400a9c39
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], rbx
mov ecx, 8
mov edx, 0x18
call fcn.1400aaef0
ud2
Function at 0x140016770
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1402325c0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140248f80]
mov edi, ecx
cmp byte [rbx + 0x4a55], 0
jne 0x1400167d1
cmp byte [rbx + 0x4a56], 0
jne 0x1400167d1
movsx r9d, word [rbx + 0x5b7a]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140003710
test dil, 1
je 0x1400168ff
jmp 0x14001685a
movss xmm1, dword [rbx + 0x389c]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x140209804]
xor eax, eax
mulss xmm1, dword [0x1402097e8]
addss xmm0, dword [rbx + 0xe08]
lea edx, [rax + 0x10]
addss xmm1, dword [rbx + 0xe0c]
mov qword [rbx + 0x47c0], rax
mov dword [rbx + 0x47ac], 1
movss dword [rbx + 0x47b8], xmm0
movss dword [rbx + 0x47bc], xmm1
movss xmm0, dword [rbx + 0x38f8]
mulss xmm0, dword [0x1402096e0]
or dword [rbx + 0x47a8], 0x41
movss dword [rbx + 0x4808], xmm0
movsx r9d, word [rbx + 0x5b7a]
call fcn.140003710
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1400168b0
lea r11, [0x1401f6730]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140016893
cmp byte [r8], r9b
jne 0x140016893
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140016880
not ecx
call fcn.14000b370
test rax, rax
je 0x1400168ff
cmp byte [rax + 0xb6], 0
je 0x1400168ff
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, reloc.WS2_32.dll_recv
inc word [rbx + 0x5b7a]
movsx r9d, word [rbx + 0x5b7a]
call fcn.140003710
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000dd50
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1401b5590
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140063790
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1402325c0]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rdi, qword [0x140257388]
movzx esi, dx
cmp qword [rdi], 0xffffffffffffffff
je 0x14006383a
movzx ebx, r8w
xor edx, edx
mov ecx, ebx
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
test eax, eax
je 0x14006383a
xor eax, eax
xor edx, edx
mov qword [rsp + 0x40], rax
mov ecx, ebx
mov word [rsp + 0x44], si
mov dword [rsp + 0x48], eax
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor ecx, ecx
mov qword [rsp + 0x58], 1
mov qword [rsp + 0x38], rcx
lea r8, [rsp + 0x58]
mov word [rsp + 0x42], ax
mov edx, 0x222660
lea rax, [rsp + 0x40]
mov qword [rsp + 0x60], rax
lea r9d, [rcx + 0x10]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rcx
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
setne al
jmp 0x14006383c
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1401b5590
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x140065660
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rdx + 0x18], 0xf
mov r14, rdx
mov rsi, rdx
jbe 0x140065685
mov rsi, qword [rdx]
mov rbx, 0xffffffffffffffff
nop dword [rax]
cmp byte [rsi + rbx + 1], 0
lea rbx, [rbx + 1]
jne 0x140065690
lea rdx, [rbx + 1]
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
lea r8, [rbx + 1]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, qword [0x140250dc0]
call qword [sym.imp.USER32.dll_OpenClipboard]
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rdx, rdi
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rcx, r14
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp fcn.1400f0c30

Function at 0x140065e80
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov rdi, rax
mov ebx, 1
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x140065ecc
inc ebx
cmp ebx, 0xbe
jle 0x140065e98
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
sub rax, rdi
cmp rax, 0x2faf080
jl 0x140065e93
xor al, al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov dword [0x140250f40], ebx
mov al, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14007dbd0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, 0x13c8
call fcn.1401b6030
sub rsp, rax
mov rax, qword [0x1402325c0]
xor rax, rsp
mov qword [rsp + 0x13b0], rax
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x13a4], 0xffffffff
mov ecx, 1
mov dword [rsp + 0x24], eax
nop dword [rax]
mov edx, eax
shr edx, 0x1e
xor edx, eax
imul eax, edx, 0x6c078965
add eax, ecx
mov dword [rsp + rcx*4 + 0x24], eax
inc rcx
cmp rcx, 0x270
jb 0x14007dc10
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x270
call fcn.140106a30
mov ecx, eax
mov r8d, 0x80000000
lea rdx, [rcx + rcx]
shr rdx, 0x20
add edx, 0x80000001
cmp edx, r8d
lea ecx, [rdx - 0x80000000]
lea eax, [rdx + r8]
cmovae eax, ecx
mov rcx, qword [rsp + 0x13b0]
xor rcx, rsp
call fcn.1401b5590
add rsp, 0x13c8
ret

Function at 0x14008b7c0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
cmp byte [0x140247fb4], 0
jne 0x14008b827
mov rax, qword [0x140251538]
cmp byte [rax], 0
je 0x14008b82e
movss xmm0, dword [0x140247fac]
xorps xmm2, xmm2
ucomiss xmm0, xmm2
jp 0x14008b7f0
je 0x14008b7ff
movss xmm1, dword [0x140247fb0]
ucomiss xmm1, xmm2
jp 0x14008b810
jne 0x14008b810
mov byte [0x140247fb4], 0
mov byte [rax], 0
xor al, al
add rsp, 0x28
ret
movss dword [0x14024a360], xmm0
movss dword [0x14024a364], xmm1
mov byte [0x140247fb4], 1
mov al, 1
add rsp, 0x28
ret
mov qword [rsp + 0x20], rbx
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov rcx, qword [0x140251528]
mov rbx, rax
cmp byte [rcx], 0
je 0x14008b91e
nop dword [rax]
cmp qword [0x140250ef8], 0
je 0x14008b91e
mov rcx, qword [0x14024a2d8]
call fcn.14006b530
mov rcx, qword [0x140257388]
lea r8, [rsp + 0x40]
mov r9d, 8
lea rdx, [rax + 0xbc]
call fcn.140063630
mov rax, qword [0x140251530]
movsd xmm0, qword [rsp + 0x40]
movsd qword [rsp + 0x30], xmm0
cmp byte [rax], 0
je 0x14008b8d3
mov rcx, qword [0x14024a2d8]
call fcn.14006b530
mov rcx, qword [0x140257388]
lea r8, [rsp + 0x48]
mov r9d, 8
lea rdx, [rax + 0x44]
call fcn.140063630
movsd xmm0, qword [rsp + 0x48]
movsd qword [rsp + 0x38], xmm0
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14008b8f2
mov ecx, Ordinal_41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x14008b92a
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
sub rax, rbx
cmp rax, 0x3938700
jge 0x14008b91e
mov rax, qword [0x140251528]
cmp byte [rax], 0
jne 0x14008b850
mov rbx, qword [rsp + 0x20]
xor al, al
add rsp, 0x28
ret
mov rax, qword [0x140251530]
cmp byte [rax], 0
je 0x14008b960
mov rcx, qword [0x14024a2d8]
call fcn.14006b600
lea rdx, [rax + 0x20]
call fcn.1400f5120
shr eax, 9
test al, 1
jne 0x14008b960
movss xmm0, dword [rsp + 0x38]
movss xmm1, dword [rsp + 0x3c]
jmp 0x14008b96c
movss xmm1, dword [rsp + 0x34]
movss xmm0, dword [rsp + 0x30]
mov rbx, qword [rsp + 0x20]
mov al, 1
movss dword [0x140247fac], xmm0
movss dword [0x140247fb0], xmm1
movss dword [0x14024a360], xmm0
movss dword [0x14024a364], xmm1
mov byte [0x140247fb4], 1
add rsp, 0x28
ret
Function at 0x14008b9a0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm7
mov rax, qword [0x1402325c0]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov edi, edx
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov rcx, qword [0x140251528]
mov rbx, rax
cmp byte [rcx], 0
je 0x14008ba3e
nop word [rax + rax]
cmp qword [0x140250ef8], 0
je 0x14008ba3e
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetCursorPos]
movd xmm6, dword [rsp + 0x20]
mov ecx, Ordinal_41
movd xmm7, dword [rsp + 0x24]
cvtdq2ps xmm6, xmm6
cvtdq2ps xmm7, xmm7
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x14008ba62
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
sub rax, rbx
cmp rax, 0x3938700
jge 0x14008ba3e
mov rax, qword [0x140251528]
cmp byte [rax], 0
jne 0x14008b9e0
xor al, al
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1401b5590
mov rbx, qword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x30]
add rsp, 0x50
pop rdi
ret
movaps xmm0, xmm6
mov edx, edi
unpcklps xmm0, xmm7
movq r8, xmm0
call fcn.14007d100
mov al, 1
jmp 0x14008ba40

Function at 0x140097990
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm7
mov rax, qword [0x1402325c0]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov edi, edx
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov rcx, qword [0x1402514d0]
mov rbx, rax
cmp byte [rcx], 0
je 0x140097a2e
nop word [rax + rax]
cmp qword [0x140250ef8], 0
je 0x140097a2e
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetCursorPos]
movd xmm6, dword [rsp + 0x20]
mov ecx, Ordinal_41
movd xmm7, dword [rsp + 0x24]
cvtdq2ps xmm6, xmm6
cvtdq2ps xmm7, xmm7
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x140097a52
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
sub rax, rbx
cmp rax, 0x3938700
jge 0x140097a2e
mov rax, qword [0x1402514d0]
cmp byte [rax], 0
jne 0x1400979d0
xor al, al
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1401b5590
mov rbx, qword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x30]
add rsp, 0x50
pop rdi
ret
movaps xmm0, xmm6
mov edx, edi
unpcklps xmm0, xmm7
movq r8, xmm0
call fcn.14007d100
mov al, 1
jmp 0x140097a30
Function at 0x14009c1f0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm7
mov rax, qword [0x1402325c0]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov edi, edx
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov rcx, qword [0x1402514a0]
mov rbx, rax
cmp byte [rcx], 0
je 0x14009c28e
nop word [rax + rax]
cmp qword [0x140250ef8], 0
je 0x14009c28e
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetCursorPos]
movd xmm6, dword [rsp + 0x20]
mov ecx, Ordinal_41
movd xmm7, dword [rsp + 0x24]
cvtdq2ps xmm6, xmm6
cvtdq2ps xmm7, xmm7
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x14009c2b2
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
sub rax, rbx
cmp rax, 0x3938700
jge 0x14009c28e
mov rax, qword [0x1402514a0]
cmp byte [rax], 0
jne 0x14009c230
xor al, al
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1401b5590
mov rbx, qword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x30]
add rsp, 0x50
pop rdi
ret
movaps xmm0, xmm6
mov edx, edi
unpcklps xmm0, xmm7
movq r8, xmm0
call fcn.14007d100
mov al, 1
jmp 0x14009c290

Function at 0x14009e2c0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm7
mov rax, qword [0x1402325c0]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov edi, edx
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov rcx, qword [0x1402514b8]
mov rbx, rax
cmp byte [rcx], 0
je 0x14009e35e
nop word [rax + rax]
cmp qword [0x140250ef8], 0
je 0x14009e35e
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetCursorPos]
movd xmm6, dword [rsp + 0x20]
mov ecx, Ordinal_41
movd xmm7, dword [rsp + 0x24]
cvtdq2ps xmm6, xmm6
cvtdq2ps xmm7, xmm7
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x14009e382
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
sub rax, rbx
cmp rax, 0x3938700
jge 0x14009e35e
mov rax, qword [0x1402514b8]
cmp byte [rax], 0
jne 0x14009e300
xor al, al
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1401b5590
mov rbx, qword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x30]
add rsp, 0x50
pop rdi
ret
movaps xmm0, xmm6
mov edx, edi
unpcklps xmm0, xmm7
movq r8, xmm0
call fcn.14007d100
mov al, 1
jmp 0x14009e360
Function at 0x1400a0d00
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm7
mov rax, qword [0x1402325c0]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov edi, edx
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov rcx, qword [0x140251488]
mov rbx, rax
cmp byte [rcx], 0
je 0x1400a0d9e
nop word [rax + rax]
cmp qword [0x140250ef8], 0
je 0x1400a0d9e
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetCursorPos]
movd xmm6, dword [rsp + 0x20]
mov ecx, Ordinal_41
movd xmm7, dword [rsp + 0x24]
cvtdq2ps xmm6, xmm6
cvtdq2ps xmm7, xmm7
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x1400a0dc2
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
sub rax, rbx
cmp rax, 0x3938700
jge 0x1400a0d9e
mov rax, qword [0x140251488]
cmp byte [rax], 0
jne 0x1400a0d40
xor al, al
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1401b5590
mov rbx, qword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x30]
add rsp, 0x50
pop rdi
ret
movaps xmm0, xmm6
mov edx, edi
unpcklps xmm0, xmm7
movq r8, xmm0
call fcn.14007d100
mov al, 1
jmp 0x1400a0da0
Function at 0x1400a1fe0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1402325c0]
xor rax, rsp
mov qword [rbp - 0x10], rax
cmp byte [0x14024a9ab], 0
jne 0x1400a2064
cmp byte [0x14024a9a8], 0
jne 0x1400a206b
mov edx, listen
call fcn.1400a2240
test al, al
je 0x1400a221a
mov byte [0x14024a9a8], 1
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x14024a904], 0
je 0x1400a2213
cmp byte [0x14024a944], 0
je 0x1400a2213
cmp byte [0x14024a984], 0
je 0x1400a2213
mov byte [0x14024a9ab], 1
mov al, 1
jmp 0x1400a221c
cmp byte [0x14024a9a9], 0
jne 0x1400a208f
mov edx, listen
call fcn.1400a2240
test al, al
je 0x1400a221a
mov byte [0x14024a9a9], 1
jmp 0x1400a202b
cmp byte [0x14024a9aa], 0
jne 0x1400a2036
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], 0
mov qword [rbp - 0x38], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x50], 0
mov qword [rbp - 0x2c], 0
mov dword [rbp - 0x30], 0
mov byte [rbp - 0x24], 0
mov qword [rbp - 0x1c], 0
mov dword [rbp - 0x20], 0
mov ecx, Ordinal_41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1400a2208
movss xmm0, dword [0x14024a228]
movss dword [rbp - 0x30], xmm0
movss xmm1, dword [0x14024a22c]
movss dword [rbp - 0x2c], xmm1
movss xmm0, dword [0x14024a230]
movss dword [rbp - 0x28], xmm0
mov rax, qword [rbp - 0x38]
cmp rax, 0x10
jb 0x1400a2149
lea rbx, [rbp - 0x50]
cmp rax, 0xf
cmova rbx, qword [rbp - 0x50]
mov qword [rbp - 0x40], reloc.WS2_32.dll_recv
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str.WayPoint_Drone_3
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x10], 0
jmp 0x1400a215e
lea r9, str.WayPoint_Drone_3
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rbp - 0x50]
call fcn.1400fadc0
mov byte [rbp - 0x24], 1
mov rdi, qword [rbp - 0x40]
lea r9, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova r9, qword [rbp - 0x50]
mov rax, qword [0x14024a970]
cmp rdi, rax
ja 0x1400a21ae
lea rbx, [0x14024a958]
cmp rax, 0xf
cmova rbx, qword [0x14024a958]
mov qword [0x14024a968], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rbx], 0
jmp 0x1400a21bd
mov rdx, rdi
lea rcx, [0x14024a958]
call fcn.1400fadc0
movsd xmm0, qword [rbp - 0x30]
movsd qword [0x14024a978], xmm0
mov eax, dword [rbp - 0x28]
mov dword [0x14024a980], eax
movzx eax, byte [rbp - 0x24]
mov byte [0x14024a984], al
movsd xmm0, qword [rbp - 0x20]
movsd qword [0x14024a988], xmm0
mov eax, dword [rbp - 0x18]
mov dword [0x14024a990], eax
lea rcx, [rbp - 0x50]
call fcn.1400f0c30
mov byte [0x14024a9aa], 1
jmp 0x1400a202b
lea rcx, [rbp - 0x50]
call fcn.1400f0c30
jmp 0x1400a221a
mov byte [0x14024a9ab], 0
xor al, al
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1401b5590
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x1400a5210
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm7
mov rax, qword [0x1402325c0]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov edi, edx
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov rcx, qword [0x1402514f0]
mov rbx, rax
cmp byte [rcx], 0
je 0x1400a52ae
nop word [rax + rax]
cmp qword [0x140250ef8], 0
je 0x1400a52ae
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetCursorPos]
movd xmm6, dword [rsp + 0x20]
mov ecx, Ordinal_41
movd xmm7, dword [rsp + 0x24]
cvtdq2ps xmm6, xmm6
cvtdq2ps xmm7, xmm7
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x1400a52d2
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
sub rax, rbx
cmp rax, 0x3938700
jge 0x1400a52ae
mov rax, qword [0x1402514f0]
cmp byte [rax], 0
jne 0x1400a5250
xor al, al
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1401b5590
mov rbx, qword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x30]
add rsp, 0x50
pop rdi
ret
movaps xmm0, xmm6
mov edx, edi
unpcklps xmm0, xmm7
movq r8, xmm0
call fcn.14007d100
mov al, 1
jmp 0x1400a52b0