joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c22b0
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 0x1400c22f2
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 0x1400c2339
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 0x1400c2392
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 0x1400c2350
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1400c23d3
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1400d7332]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1400d7333]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1400c23a0
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 0x1400c245c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1400c2496
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400c249b
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400c24e4
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x1400c24e4
dec r8
sub rdx, 1
jne 0x1400c24ca
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1400c3e18
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400c3e62
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400c3e62
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400c3e62
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400c3e62
cmp dword [rcx + 0x84], 0xe
jbe 0x1400c3e62
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400c3e64
xor al, al
add rsp, 0x28
ret
Function at 0x180016a60
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x180119070]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x180129070]
mov edi, ecx
cmp byte [rbx + 0x4d01], 0
jne 0x180016ac1
cmp byte [rbx + 0x4d02], 0
jne 0x180016ac1
movsx r9d, word [rbx + 0x5e58]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.180003400
test dil, 2
je 0x180016bef
jmp 0x180016b4a
movss xmm1, dword [rbx + 0x39c4]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x180103bf4]
xor eax, eax
mulss xmm1, dword [0x180103be4]
addss xmm0, dword [rbx + 0xe48]
lea edx, [rax + 0x10]
addss xmm1, dword [rbx + 0xe4c]
mov qword [rbx + 0x49e0], rax
mov dword [rbx + 0x49cc], 1
movss dword [rbx + 0x49d8], xmm0
movss dword [rbx + 0x49dc], xmm1
movss xmm0, dword [rbx + 0x3a20]
mulss xmm0, dword [0x180103b20]
or dword [rbx + 0x49c8], 0x41
movss dword [rbx + 0x4a28], xmm0
movsx r9d, word [rbx + 0x5e58]
call fcn.180003400
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x180016ba0
lea r11, [0x1800f84f0]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x180016b83
cmp byte [r8], r9b
jne 0x180016b83
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 0x180016b70
not ecx
call fcn.18000aff0
test rax, rax
je 0x180016bef
cmp byte [rax + 0xbe], 0
je 0x180016bef
mov byte [rax + 0xc3], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xc5], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xe4], 1
mov edx, reloc.WS2_32.dll_recv
inc word [rbx + 0x5e58]
movsx r9d, word [rbx + 0x5e58]
call fcn.180003400
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.18000e0c0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800dec50
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x18001d300
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5fb0], 0
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
je 0x18001d383
xor edx, edx
add rcx, 0x5fb8
call fcn.18001f310
mov r8, rsi
lea rcx, [rbx + 0x5fb8]
mov rdx, rbp
call fcn.1800040a0
mov eax, dword [rbx + 0x5fb8]
xor edx, edx
mov r9, qword [rbx + 0x5fb0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rbx + 0x5fc0]
cmove ecx, edx
test rax, rax
movsxd r8, ecx
mov edx, 1
lea rcx, [0x180129078]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x18001d38f
add rcx, 0x5fb8
call fcn.1800040a0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x18001d820
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x180129070]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x18001d883
mov qword [rsp], rbx
lea rbx, [0x1800f84f0]
nop dword [rax]
cmp r9b, 0x23
jne 0x18001d863
cmp byte [r8], r9b
jne 0x18001d863
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x18001d850
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5f20]
not eax
mov r8, qword [r10 + 0x5f28]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x18001d8af
cmp dword [r8 + 8], eax
je 0x18001d8b6
add r8, 0x48
cmp r8, rcx
jne 0x18001d8a0
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x180050c50
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x180119070]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rdi, rcx
xor esi, esi
xor edx, edx
lea ecx, [rsi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, Ordinal_301
mov rbx, rax
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x180050cff
nop dword [rax]
nop word [rax + rax]
lea rax, [rsp + 0x4c]
mov r8, rdi
sub r8, rax
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180050ce3
inc rax
test ecx, ecx
jne 0x180050cd0
test edx, edx
je 0x180050cfb
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x180050cc0
jmp 0x180050cff
mov esi, dword [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1800dec50
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x180050d30
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x180119070]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov edx, dword [0x180129328]
xor edi, edi
lea ecx, [rdi + 0x18]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180050dd0
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x180050dd0
nop dword [rax]
nop word [rax + rax]
mov r8, qword [0x1801292a0]
lea rax, [rsp + 0x50]
sub r8, rax
nop
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180050db3
inc rax
test ecx, ecx
jne 0x180050da0
test edx, edx
je 0x180050dcb
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
jne 0x180050d90
jmp 0x180050dd0
mov rdi, qword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rdi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1800dec50
mov rbx, qword [rsp + 0x280]
add rsp, 0x270
pop rdi
ret
Function at 0x180051590
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xd], 0
je 0x1800515b3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x64]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xc
jb 0x1800515a0
mov byte [rcx + 0xd], 0
mov rax, rcx
ret

Function at 0x1800515c0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x1d], 0
je 0x1800515e3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x64]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x1c
jb 0x1800515d0
mov byte [rcx + 0x1d], 0
mov rax, rcx
ret

Function at 0x180053d30
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x168
mov rax, qword [0x180119070]
xor rax, rsp
mov qword [rsp + 0x150], rax
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], 0x2000
mov qword [rsp + 0x30], rax
mov rcx, 0xffffffff80000002
lea rax, [rsp + 0x50]
mov r9d, 1
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
lea rax, [rsp + 0x50]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1800dec50
add rsp, 0x168
ret

Function at 0x180053ed0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x10], 0
je 0x180053ef3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x64]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xf
jb 0x180053ee0
mov byte [rcx + 0x10], 0
mov rax, rcx
ret
Function at 0x180053f30
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rax, qword [0x180119070]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rsi, r8
mov r15, rdx
mov rdi, rcx
mov qword [rbp - 0x51], rcx
mov qword [rbp - 1], r8
xor ebx, ebx
mov dword [rbp - 0x59], ebx
mov qword [rcx], rbx
mov qword [rcx + 0x10], rbx
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rcx], bl
mov dword [rbp - 0x59], 1
call fcn.18008aa60
mov r14, rax
test rax, rax
je 0x1800540f3
lea rdx, [rbp - 0x21]
mov rcx, rsi
call fcn.180072450
mov rdx, rax
lea rcx, [rbp - 0x41]
call fcn.1800506b0
nop
lea r9d, [rbx + 5]
lea r8, str.data
mov rcx, rax
call fcn.18007dfc0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 7], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x17], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], bl
mov dword [rbp - 0x59], 5
mov rdx, qword [rbp - 0x29]
cmp rdx, 0x10
jb 0x180054023
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005401e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005401e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800def0c
mov r8, r15
mov edx, 0x2712
mov rcx, r14
call fcn.18008d810
mov dword [rbp - 1], 0xfeeaf8f1
mov word [rbp + 3], 0x100
lea eax, [rbx - 0x64]
xor byte [rbp + rbx - 1], al
inc rbx
cmp rbx, 4
jb 0x180054040
mov byte [rbp + 4], 0
lea r8, [rbp - 1]
mov edx, 0x2722
mov rcx, r14
call fcn.18008d810
lea r8, [rbp + 7]
cmp qword [rbp + 0x1f], 0x10
cmovae r8, qword [rbp + 7]
mov edx, 0x271f
mov rcx, r14
call fcn.18008d810
lea r8, [0x180053f00]
mov edx, 0x4e2b
mov rcx, r14
call fcn.18008d810
mov r8, rdi
mov edx, 0x2711
mov rcx, r14
call fcn.18008d810
mov rcx, r14
call fcn.18008ab20
mov rcx, r14
call fcn.18008aa40
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x1800540f3
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800540ed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800540ed
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800def0c
nop
mov rcx, rsi
call fcn.1800755f0
lea rcx, [rsi + 8]
movzx edx, byte [rsi]
call fcn.180074c20
nop
mov rax, rdi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1800dec50
mov rbx, qword [rsp + 0x108]
add rsp, 0xc0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x180054130
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 5], 0
je 0x180054153
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x64]
xor byte [rax + rcx], dl
inc rax
cmp rax, 4
jb 0x180054140
mov byte [rcx + 5], 0
mov rax, rcx
ret
Function at 0x180054160
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rcx], rbx
mov rbp, rdx
mov qword [rcx + 0x10], rbx
mov rdi, rcx
call fcn.18008aa60
mov rsi, rax
test rax, rax
je 0x18005421b
mov r8, rbp
mov edx, 0x2712
mov rcx, rax
call fcn.18008d810
mov dword [rsp + 0x30], 0xfeeaf8f1
mov word [rsp + 0x34], 0x100
nop dword [rax + rax]
lea eax, [rbx - 0x64]
xor byte [rsp + rbx + 0x30], al
inc rbx
cmp rbx, 4
jb 0x1800541c0
lea r8, [rsp + 0x30]
mov byte [rsp + 0x35], 0
mov edx, 0x2722
mov rcx, rsi
call fcn.18008d810
lea r8, [0x180053f00]
mov edx, 0x4e2b
mov rcx, rsi
call fcn.18008d810
mov r8, rdi
mov edx, 0x2711
mov rcx, rsi
call fcn.18008d810
mov rcx, rsi
call fcn.18008ab20
mov rcx, rsi
call fcn.18008aa40
mov rbx, qword [rsp + 0x38]
mov rax, rdi
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x180054350
Capabilities:
Encode data using xor
Log keystrokes
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x140
mov rax, qword [0x180119070]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov eax, edx
mov qword [rsp + 0x20], rcx
mov rbx, rcx
xor edx, edx
mov ecx, eax
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
shl eax, 0x10
mov r8d, 0x100
mov ecx, eax
lea rdx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetKeyNameTextA]
xor edx, edx
test eax, eax
jne 0x180054401
mov dword [rsp + 0x20], 0xf1f5f3c9
mov ecx, edx
mov dword [rsp + 0x24], 0xccd6cf
mov byte [rsp + 0x28], 1
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x64]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 7
jb 0x1800543c0
mov qword [rbx], rdx
lea rax, [rsp + 0x20]
mov qword [rbx + 0x10], rdx
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], dl
mov byte [rsp + 0x28], dl
inc r8
cmp byte [rax + r8], dl
jne 0x1800543f1
lea rdx, [rsp + 0x20]
jmp 0x18005442e
mov qword [rbx], rdx
lea rax, [rsp + 0x30]
mov qword [rbx + 0x10], rdx
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], dl
nop
inc r8
cmp byte [rax + r8], dl
jne 0x180054420
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.180075850
mov rax, rbx
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1800dec50
add rsp, 0x140
pop rbx
ret

Function at 0x180054460
Capabilities:
Encode data using xor

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

Function at 0x180054590
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne al
add rsp, 0x28
ret
Function at 0x1800545b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x60
xor ebx, ebx
mov dword [rbp - 0x30], 0xedfbeee9
mov ecx, ebx
mov dword [rbp - 0x2c], 0xc78c9393
mov dword [rbp - 0x28], 0x100c9c8
nop word [rax + rax]
lea eax, [rcx - 0x64]
xor byte [rbp + rcx - 0x30], al
inc rcx
cmp rcx, 0xa
jb 0x1800545e0
lea rcx, [rbp - 0x30]
mov byte [rbp - 0x25], bl
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rbx
mov dword [rbp - 0x30], 0xacf0f4eb
mov dword [rbp - 0x2c], 0xc78cd492
mov dword [rbp - 0x28], 0x100c9c8
nop word [rax + rax]
lea eax, [rcx - 0x64]
xor byte [rbp + rcx - 0x30], al
inc rcx
cmp rcx, 0xa
jb 0x180054620
lea rcx, [rbp - 0x30]
mov byte [rbp - 0x25], bl
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rbx
mov dword [rbp - 0x30], 0xf3fae9f2
mov dword [rbp - 0x2c], 0xcfc68fcc
mov word [rbp - 0x28], reloc.WLDAP32.dll_Ordinal_200
mov byte [rbp - 0x26], 1
nop dword [rax + rax]
lea eax, [rcx - 0x64]
xor byte [rbp + rcx - 0x30], al
inc rcx
cmp rcx, 9
jb 0x180054660
lea rcx, [rbp - 0x30]
mov byte [rbp - 0x26], bl
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
movdqa xmm0, xmmword [0x1801046f0]
mov rcx, rbx
movdqu xmmword [rbp - 0x20], xmm0
mov dword [rbp - 0x10], 0xecf2d9ca
mov dword [rbp - 0xc], 0xd1c2d8dc
mov dword [rbp - 8], 0xd3c4d4db
mov word [rbp - 4], 0x100
nop dword [rax + rax]
lea eax, [rcx - 0x64]
xor byte [rbp + rcx - 0x20], al
inc rcx
cmp rcx, 0x1c
jb 0x1800546b0
lea rax, [0x1801292b8]
mov byte [rbp - 3], bl
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rbp - 0x20]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [0x1801292b8]
dec rcx
cmp rcx, 0xfffffffffffffffd
setbe bl
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rbp
ret

Function at 0x180054710
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xb], 0
je 0x180054733
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x64]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xa
jb 0x180054720
mov byte [rcx + 0xb], 0
mov rax, rcx
ret

Function at 0x180054740
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xa], 0
je 0x180054763
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x64]
xor byte [rax + rcx], dl
inc rax
cmp rax, 9
jb 0x180054750
mov byte [rcx + 0xa], 0
mov rax, rcx
ret

Function at 0x180054770
Capabilities:
Encode data using xor
Set registry value

Disassembly:
sub rsp, 0x68
mov rax, qword [0x180119070]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x40], rcx
xor eax, eax
mov dword [rsp + 0x30], 0xfeeaf8d1
mov dword [rsp + 0x34], 0xc2c1c8cc
mov word [rsp + 0x38], 0x100
nop dword [rax]
nop word [rax + rax]
lea ecx, [rax - 0x64]
xor byte [rsp + rax + 0x30], cl
inc rax
cmp rax, 8
jb 0x1800547b0
mov rcx, qword [0x1801292b8]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 8
lea rdx, [rsp + 0x30]
mov r9d, ntohs
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov byte [rsp + 0x39], 0
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1800dec50
add rsp, 0x68
ret
Function at 0x180054810
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
sub rsp, 0xb8
mov rax, qword [0x180119070]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov dword [rsp + 0x50], 4
lea rax, [r11 - 0x68]
mov qword [r11 - 0x78], rax
xor eax, eax
mov qword [r11 - 0x48], rcx
mov qword [r11 - 0x40], rdx
mov qword [r11 - 0x38], 4
mov dword [rsp + 0x30], 0xfeeaf8d1
mov dword [rsp + 0x34], 0xc2c1c8cc
mov word [rsp + 0x38], 0x100
nop word [rax + rax]
lea ecx, [rax - 0x64]
xor byte [rsp + rax + 0x30], cl
inc rax
cmp rax, 8
jb 0x180054870
mov rcx, qword [0x1801292b8]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 8
lea rdx, [rsp + 0x30]
mov r9d, ntohs
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov byte [rsp + 0x39], 0
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov al, 1
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1800dec50
add rsp, 0xb8
ret
Function at 0x180054ba0
Capabilities:
Encode data using xor
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0xb0
mov rax, qword [0x180119070]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov eax, dword [0x180129284]
xor r8d, r8d
mov esi, dword [reloc.WS2_32.dll_getpeername]
mov r11d, edx
cdq
movd xmm0, ecx
sub eax, edx
xorps xmm2, xmm2
sar eax, 1
lea ebp, [r8 + 1]
mov edi, eax
lea r14d, [r8 - 1]
mov eax, dword [0x180129280]
mov r10d, r8d
cdq
mov r9d, r8d
sub eax, edx
sar eax, 1
cvtdq2ps xmm0, xmm0
mov ebx, eax
ucomiss xmm0, xmm2
jp 0x180054c0c
je 0x180054c65
cmp ecx, edi
jle 0x180054c40
sub ecx, edi
movd xmm1, edi
mov eax, ecx
cdq
idiv esi
cvtdq2ps xmm1, xmm1
cmp eax, ebp
mov r10d, eax
cmovl r10d, ebp
addss xmm1, xmm1
lea ecx, [r10 + rdi]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x180054c65
mov r10d, r8d
jmp 0x180054c65
jge 0x180054c65
sub ecx, edi
mov eax, ecx
cdq
idiv esi
cmp eax, r14d
mov r10d, eax
cmovg r10d, r14d
lea eax, [r10 + rdi]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm2, xmm0
cmova r10d, r8d
movd xmm0, r11d
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm2
jp 0x180054c74
je 0x180054cd2
cmp r11d, ebx
jle 0x180054cab
sub r11d, ebx
movd xmm1, ebx
mov eax, r11d
cdq
idiv esi
cvtdq2ps xmm1, xmm1
cmp eax, ebp
mov r9d, eax
cmovl r9d, ebp
addss xmm1, xmm1
lea ecx, [r9 + rbx]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x180054cd2
mov r9d, r8d
jmp 0x180054cd2
jge 0x180054cd2
sub r11d, ebx
mov eax, r11d
cdq
idiv esi
cmp eax, r14d
mov r9d, eax
cmovg r9d, r14d
lea eax, [r9 + rbx]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm2, xmm0
cmova r9d, r8d
lea rax, [rsp + 0x50]
mov dword [rsp + 0x50], 5
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x88], r10d
mov dword [rsp + 0x8c], r9d
mov dword [rsp + 0x90], r8d
mov dword [rsp + 0x30], 0xfeeaf8d1
mov dword [rsp + 0x34], 0xc2c1c8cc
mov word [rsp + 0x38], 0x100
nop dword [rax]
nop word [rax + rax]
lea eax, [r8 - 0x64]
xor byte [rsp + r8 + 0x30], al
inc r8
cmp r8, 8
jb 0x180054d20
mov rcx, qword [0x1801292b8]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 8
lea rdx, [rsp + 0x30]
mov r9d, ntohs
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov byte [rsp + 0x39], 0
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1800dec50
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret