joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140101890
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
cmp byte [rcx + 0xf1e], 0
movsxd r10, r9d
je 0x1401019b4
cmp r8d, 0xff
jne 0x1401018f1
lea eax, [r10 - 0xec]
cmp eax, 0x13
ja 0x1401018db
lea r8, [0x140000000]
mov r9, qword [r8 + r10*8 + 0x141580]
mov r8, rdx
lea rdx, str._s_IAC__s_n
add rsp, 0x38
jmp fcn.1400ddef0
mov r8, rdx
mov r9d, r10d
lea rdx, str._s_IAC__d_n
add rsp, 0x38
jmp fcn.1400ddef0
cmp r8d, 0xfb
jne 0x140101903
lea r9, str.WILL
jmp 0x140101941
cmp r8d, 0xfc
jne 0x140101915
lea r9, str.WONT
jmp 0x140101941
cmp r8d, 0xfd
jne 0x140101927
lea r9, [0x140141fa4]
jmp 0x140101941
xor r9d, r9d
lea rax, str.DONT
cmp r8d, 0xfe
cmove r9, rax
test r9, r9
je 0x14010199d
cmp r10d, 0x27
jg 0x140101974
lea r8, [0x140000000]
mov r8, qword [r8 + r10*8 + 0x141ba0]
test r8, r8
jne 0x140101984
mov r8, rdx
mov dword [rsp + 0x20], r10d
lea rdx, str._s__s__d_n
call fcn.1400ddef0
add rsp, 0x38
ret
cmp r10d, 0xff
jne 0x14010195b
lea r8, str.EXOPL
mov qword [rsp + 0x20], r8
mov r8, rdx
lea rdx, str._s__s__s_n
call fcn.1400ddef0
add rsp, 0x38
ret
mov r9d, r8d
mov dword [rsp + 0x20], r10d
mov r8, rdx
lea rdx, str._s__d__d_n
call fcn.1400ddef0
add rsp, 0x38
ret

Function at 0x140101d00
Capabilities:
Send data
Send data on socket

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbp, qword [rcx]
mov edi, r8d
mov esi, edx
mov byte [rax + 0x10], 0xff
xor r9d, r9d
mov byte [rax + 0x11], sil
mov rbx, rcx
mov byte [rax + 0x12], dil
mov rcx, qword [rcx + 0x4c0]
lea rdx, [rax + 0x10]
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x140101d5f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.1400ddd70
mov rcx, qword [rbx]
lea rdx, str.SENT
mov r9d, edi
mov r8d, esi
call fcn.140101890
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140101f10
Capabilities:
Send data
Send data on socket

Disassembly:
cmp edx, 0x1f
jne 0x1401020b8
push rbp
push rdi
push r14
sub rsp, 0x20
mov rbp, qword [rcx]
mov r14, rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r15
mov rdi, qword [rbp + 0x1e0]
lea rsi, [rdi + 0x1cb8]
lea rbx, [rdi + 0x1eb8]
mov qword [rbx], rsi
cmp rsi, rbx
jae 0x140101f75
lea rax, [rsi + 1]
mov byte [rsi], 0xff
mov qword [rbx], rax
cmp rax, rbx
jae 0x140101f75
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x140101f75
mov byte [rax], dl
inc qword [rbx]
movzx ecx, word [rdi + 0x1ca8]
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rdi + 0x1caa]
movzx r15d, ax
mov word [rsp + 0x48], ax
call qword [sym.imp.WS2_32.dll_htons]
mov r9, qword [rbx]
movzx ecx, ax
cmp r9, rbx
jae 0x140101fac
mov byte [r9], r15b
inc qword [rbx]
mov r9, qword [rbx]
mov r15, qword [rsp + 0x58]
cmp r9, rbx
jae 0x140102002
movzx eax, byte [rsp + 0x49]
mov byte [r9], al
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x140102002
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x140102002
shr cx, 8
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x140102002
mov byte [r9], 0xff
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x140102002
mov byte [r9], 0xf0
mov r9, qword [rbx]
inc r9
mov qword [rdi + 0x1ec0], r9
lea r8, [rdi + 0x1cba]
sub r9, rsi
mov qword [rbx], rsi
sub r9, 2
mov edx, 0x3e
mov rcx, rbp
call fcn.1401019c0
mov rcx, qword [r14 + 0x4c0]
xor r9d, r9d
mov rdx, rsi
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
test eax, eax
jns 0x140102064
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.1400ddd70
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, r14
call fcn.140101d90
mov rcx, qword [r14 + 0x4c0]
lea rdx, [rdi + 0x1cbf]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x1401020b0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.1400ddd70
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x140103820
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x14019d088]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x1401038b5
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x140103916
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.1400ddd70
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140117440
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x1401039d1
sub ecx, 1
je 0x140103a44
sub ecx, 1
je 0x140103980
cmp ecx, 1
je 0x140103963
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x14014a2f8]
call fcn.1400ddd70
jmp 0x140103a44
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.140103550
test eax, eax
je 0x140103a44
jmp 0x1401038ea
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x140103a44
sub rax, rsi
cmp rax, rbp
jae 0x140103a44
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.1400ddef0
jmp 0x140103a44
cmp r8d, 4
jle 0x140103a44
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x140103a44
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.1400ddc90
mov esi, eax
test eax, eax
je 0x140103a23
mov edx, 5
mov rcx, rbx
call fcn.140104510
mov eax, esi
jmp 0x1401038ea
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.1400ec770
mov rcx, r14
call fcn.1400eca50
test eax, eax
je 0x1401038e8
mov edx, 5
mov rcx, rbx
call fcn.140104510
mov eax, Ordinal_45
jmp 0x1401038ea
Function at 0x1401167e0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x140116822
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x140116869
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x1401168c2
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x140116880
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x140116903
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x140145152]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x140145153]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1401168d0
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x140117960
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401179aa
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401179aa
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401179aa
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401179aa
cmp dword [rcx + 0x84], 0xe
jbe 0x1401179aa
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1401179ac
xor al, al
add rsp, 0x28
ret
Function at 0x140003724
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000376e
mov ecx, ?snextc@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QEAAHXZ
cmp word [rax], cx
jne 0x14000376e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000376e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000376e
cmp dword [rcx + 0x84], 0xe
jbe 0x14000376e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140003770
xor al, al
add rsp, 0x28
ret

Function at 0x140001b3c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [0x140002078]
test rax, rax
je 0x140001b86
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001b86
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001b86
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001b86
cmp dword [rcx + 0x84], 0xe
jbe 0x140001b86
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001b88
xor al, al
add rsp, 0x28
ret
Function at 0x18000ab50
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 7], 0
je 0x18000ab73
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x35]
xor byte [rax + rcx], dl
inc rax
cmp rax, 6
jb 0x18000ab60
mov byte [rcx + 7], 0
mov rax, rcx
ret

Function at 0x18000aba0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 8], 0
je 0x18000abc3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x35]
xor byte [rax + rcx], dl
inc rax
cmp rax, 7
jb 0x18000abb0
mov byte [rcx + 8], 0
mov rax, rcx
ret

Function at 0x18000abd0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, rdx
call fcn.180036f50
mov rcx, rdi
mov rbx, rax
call fcn.180036f50
xor r9d, r9d
mov r8, rbx
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, 0x3df
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x18000aca0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x1801471e0]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edx, edx
mov rbx, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, Ordinal_301
mov rdi, rax
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x20], 0x130
cmp rdi, 0xffffffffffffffff
je 0x18000ad66
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x18000ad66
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x18000ad5d
cmp qword [rbx + 0x18], 0x10
mov r8, rbx
jb 0x18000ad21
mov r8, qword [rbx]
lea rax, [rsp + 0x4c]
sub r8, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x18000ad43
inc rax
test ecx, ecx
jne 0x18000ad30
mov rcx, rdi
test edx, edx
je 0x18000add6
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x18000ad14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x18000ada0
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x18000ad9b
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18000ae1d
mov rcx, r8
call fcn.180109380
xor al, al
mov byte [rbx], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rbx + 0x10], 0
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.180108c20
mov rbx, qword [rsp + 0x178]
add rsp, 0x160
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x28], 0
je 0x18000ad66
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x18000ae19
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x18000ae14
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18000ae1d
mov rcx, r8
call fcn.180109380
mov al, 1
jmp 0x18000ada2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x18000bfe0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x1e], 0
je 0x18000c003
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x35]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x1d
jb 0x18000bff0
mov byte [rcx + 0x1e], 0
mov rax, rcx
ret

Function at 0x18000c010
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 6], 0
je 0x18000c033
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x35]
xor byte [rax + rcx], dl
inc rax
cmp rax, 5
jb 0x18000c020
mov byte [rcx + 6], 0
mov rax, rcx
ret
Function at 0x18000e170
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 3], 0
je 0x18000e193
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x35]
xor byte [rax + rcx], dl
inc rax
cmp rax, 2
jb 0x18000e180
mov byte [rcx + 3], 0
mov rax, rcx
ret

Function at 0x18000e1a0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 4], 0
je 0x18000e1c3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x35]
xor byte [rax + rcx], dl
inc rax
cmp rax, 3
jb 0x18000e1b0
mov byte [rcx + 4], 0
mov rax, rcx
ret
Function at 0x18000fc40
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
sub rsp, 0xd8
mov rax, qword [0x1801471e0]
xor rax, rsp
mov qword [rsp + 0x90], rax
cmp byte [0x180171800], 0
je 0x18000fdcf
mov edx, dword [0x180171828]
lea rcx, [rsp + 0x50]
mov qword [r11 - 8], rdi
movaps xmmword [r11 - 0x18], xmm6
movaps xmmword [r11 - 0x28], xmm7
movaps xmmword [r11 - 0x38], xmm8
call fcn.18000f3f0
movups xmm7, xmmword [rax]
movsd xmm8, qword [rax + 0x20]
movups xmm6, xmmword [rax + 0x10]
movdqa xmm0, xmm7
movsd qword [rsp + 0x40], xmm8
psrldq xmm0, 8
movq rdi, xmm0
test rdi, rdi
je 0x18000fdae
movss xmm0, dword [0x18017180c]
comiss xmm0, dword [rsp + 0x40]
jb 0x18000fdae
movss xmm1, dword [0x180171820]
movaps xmm0, xmm6
cvtps2pd xmm1, xmm1
unpckhpd xmm0, xmm6
comisd xmm1, xmm0
jb 0x18000fdae
mov ecx, dword [reloc.WS2_32.dll_bind]
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x18000fdae
mov qword [rsp + 0xe0], rbx
lea rdx, [rsp + 0x80]
movd ebx, xmm7
mov rcx, rdi
mov r8d, ebx
call qword [0x1801756a0]
movaps xmm1, xmmword [rsp + 0x80]
cmp ebx, 0x1233
mov rbx, qword [rsp + 0xe0]
movaps xmm0, xmm1
shufps xmm0, xmm1, 0x55
movss dword [rsp + 0x80], xmm1
shufps xmm1, xmm1, 0xaa
movss dword [rsp + 0x88], xmm1
movss dword [rsp + 0x84], xmm0
jne 0x18000fd6b
movsd xmm0, qword [rdi + 0x90]
mov eax, dword [rdi + 0x98]
jmp 0x18000fd7b
mov eax, dword [rsp + 0x88]
movsd xmm0, qword [rsp + 0x80]
lea rdx, [rsp + 0x80]
movsd qword [rsp + 0x80], xmm0
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x88], eax
movaps xmmword [rsp + 0x20], xmm7
movaps xmmword [rsp + 0x30], xmm6
movsd qword [rsp + 0x40], xmm8
call fcn.18000f6a0
movaps xmm7, xmmword [rsp + 0xb0]
movaps xmm6, xmmword [rsp + 0xc0]
mov rdi, qword [rsp + 0xd0]
movaps xmm8, xmmword [rsp + 0xa0]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.180108c20
add rsp, 0xd8
ret
Function at 0x18000fdf0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
sub rsp, 0x90
mov rax, qword [0x1801471e0]
xor rax, rsp
mov qword [rsp + 0x80], rax
cmp byte [0x180171ab0], 0
mov rsi, rdx
mov rbp, rcx
je 0x18000ffc6
mov rax, qword [0x1801756a8]
movss xmm0, dword [rcx + 8]
movss xmm1, dword [rcx]
movss xmm2, dword [rcx + 4]
subss xmm2, dword [rax + 0x94]
subss xmm0, dword [rax + 0x98]
subss xmm1, dword [rax + 0x90]
mulss xmm2, xmm2
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm2, xmm1
addss xmm2, xmm0
xorps xmm0, xmm0
ucomiss xmm0, xmm2
ja 0x18000fe74
xorps xmm0, xmm0
sqrtss xmm0, xmm2
jmp 0x18000fe7c
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movss xmm1, dword [0x18012af98]
comiss xmm1, xmm0
jbe 0x18000ffc6
mov edx, dword [0x180171ac0]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0xb0], rdi
call fcn.18000f3f0
movups xmm2, xmmword [rax]
movups xmm0, xmmword [rax + 0x10]
movsd xmm1, qword [rax + 0x20]
movups xmmword [rsp + 0x20], xmm2
psrldq xmm2, 8
movq rdi, xmm2
movsd qword [rsp + 0x40], xmm1
movups xmmword [rsp + 0x30], xmm0
test rdi, rdi
je 0x18000ffbe
movss xmm0, dword [0x180171ab4]
comiss xmm0, dword [rsp + 0x40]
jb 0x18000ffbe
movss xmm0, dword [0x180171abc]
cvtps2pd xmm0, xmm0
comisd xmm0, xmmword [rsp + 0x38]
jb 0x18000ffbe
mov ecx, dword [reloc.WS2_32.dll_bind]
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x18000ffbe
mov r8d, dword [rsp + 0x20]
lea rdx, [rsp + 0x70]
mov rcx, rdi
call qword [0x1801756a0]
cmp dword [rsp + 0x20], 0x1233
movaps xmm0, xmmword [rsp + 0x70]
movaps xmm3, xmm0
movss dword [rsp + 0x70], xmm0
movaps xmm2, xmm0
shufps xmm3, xmm0, 0x55
shufps xmm2, xmm0, 0xaa
movss dword [rsp + 0x74], xmm3
movss dword [rsp + 0x78], xmm2
jne 0x18000ff87
movsd xmm1, qword [rdi + 0x90]
mov ecx, dword [rdi + 0x98]
movaps xmm0, xmm1
shufps xmm0, xmm0, 0x55
movaps xmm3, xmm0
mov dword [rsp + 0x78], ecx
movss xmm2, dword [rsp + 0x78]
movsd qword [rsp + 0x70], xmm1
movss xmm0, dword [rsp + 0x70]
jmp 0x18000ff91
mov ecx, dword [rsp + 0x78]
movsd xmm1, qword [rsp + 0x70]
cmp byte [0x180171ab8], 0
je 0x18000ffb7
addss xmm2, dword [0x18012aedc]
unpcklps xmm0, xmm3
movsd qword [rbp], xmm0
movss dword [rsp + 0x78], xmm2
mov eax, dword [rsp + 0x78]
mov dword [rbp + 8], eax
movsd qword [rsi], xmm1
mov dword [rsi + 8], ecx
mov rdi, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.180108c20
mov rbp, qword [rsp + 0xb8]
add rsp, 0x90
pop rsi
ret
Function at 0x18000fff0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x78
cmp byte [0x180171830], 0
je 0x180010176
invalid
mov edx, dword [0x180171840]
lea rcx, [rsp + 0x48]
call fcn.18000f3f0
movups xmm2, xmmword [rax]
movups xmm0, xmmword [rax + 0x10]
movsd xmm1, qword [rax + 0x20]
psrldq xmm2, 8
movq rax, xmm2
movsd qword [rsp + 0x40], xmm1
movups xmmword [rsp + 0x30], xmm0
test rax, rax
je 0x180010176
movss xmm0, dword [0x180171838]
cvtps2pd xmm0, xmm0
comisd xmm0, xmmword [rsp + 0x38]
jb 0x180010176
cmp qword [0x180176d80], rax
je 0x18001006c
mov qword [0x180176d80], rax
mov dword [0x180176d9c], 0
mov ecx, dword [0x180175544]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x180176f3c], ecx
jle 0x1800100bd
lea rcx, [0x180176f3c]
call fcn.180108dc8
cmp dword [0x180176f3c], 0xffffffff
jne 0x1800100bd
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
lea rcx, [0x180176f3c]
mov qword [0x180176ef0], rax
call fcn.180108d68
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
sub rax, qword [0x180176ef0]
movsxd rcx, dword [0x180176d9c]
cmp rax, rcx
jb 0x180010176
mov ecx, dword [reloc.WS2_32.dll_bind]
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x180010169
cmp byte [0x180171832], 0
jne 0x180010127
movss xmm0, dword [0x180171834]
comiss xmm0, dword [rsp + 0x40]
and al, 0x40
jb 0x180010169
movss xmm3, dword [0x18012af34]
call fcn.18003d6b0
cmp byte [0x180171832], 0
mov eax, dword [0x18017183c]
mov dword [0x180176d9c], eax
je 0x180010169
movabs rcx, 0x4f8644af03d0e0d6
call fcn.18003c180
mov r8d, dword [rsp + 0x30]
mov edx, eax
movabs rcx, 0x3c06b5c839b38f7b
call fcn.18003c080
test eax, eax
je 0x180010169
movss xmm3, dword [0x18012af34]
call fcn.18003d6b0
mov eax, dword [0x18017183c]
mov dword [0x180176d9c], eax
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov qword [0x180176ef0], rax
add rsp, 0x78
ret
Function at 0x180012de0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rdi, rcx
mov rbx, rdx
mov ecx, 3
call fcn.1800b38d0
call fcn.1800b3600
mov qword [rdi], 0
mov rsi, rax
mov qword [rdi + 0x10], 0
mov r8, rbx
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
cmp qword [rbx + 0x18], 0x10
jb 0x180012e2b
mov r8, qword [rbx]
mov edx, 0x2712
mov rcx, rsi
call fcn.1800b64a0
xor r8d, r8d
mov rcx, rsi
lea edx, [r8 + 0x40]
call fcn.1800b64a0
movdqa xmm0, xmmword [0x18012c590]
xor eax, eax
movdqu xmmword [rsp + 0x20], xmm0
mov word [rsp + 0x30], 0x100
nop
lea ecx, [rax - 0x35]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp rax, 0x10
jb 0x180012e60
lea r8, [rsp + 0x20]
mov byte [rsp + 0x31], 0
mov edx, 0x2722
mov rcx, rsi
call fcn.1800b64a0
lea r8, [0x180012db0]
mov edx, 0x4e2b
mov rcx, rsi
call fcn.1800b64a0
mov r8, rdi
mov edx, 0x2711
mov rcx, rsi
call fcn.1800b64a0
mov rcx, rsi
call fcn.1800b36e0
mov rcx, rsi
call fcn.1800b35e0
call fcn.1800b3870
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x180012ef6
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x180012ef1
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180012f1c
mov rcx, r8
call fcn.180109380
mov rsi, qword [rsp + 0x68]
mov rax, rdi
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3

Function at 0x180012f30
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x11], 0
je 0x180012f53
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x35]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x10
jb 0x180012f40
mov byte [rcx + 0x11], 0
mov rax, rcx
ret