joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004b410
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x140081020]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14004b467
cmp word [rdx], r13w
jne 0x14004b467
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14004b46c
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14004b591
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14004b5b2
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14004b4a5
mov rdx, r9
mov word [rbx], cx
jmp 0x14004b4cc
cmp r9, r8
jae 0x14004b4dc
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14004b486
jmp 0x14004b591
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14004b586
cmp dword [rsp + 0x80], esi
je 0x14004b586
lea r8, [0x140081020]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14004b55e
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14004b52e
mov word [rbx], r13w
jmp 0x14004b58e
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14004b53b
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14004b58e
cmp word [rsp + 0x70], r13w
jne 0x14004b56b
cmp rbx, r14
je 0x14004b528
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14004c078
cmp word [rsp + 0x70], r13w
je 0x14004b591
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x140081020]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14004b58b
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14004b591
Function at 0x14004f940
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 0x14004f970
xor eax, eax
jmp 0x14004fa33
mov rbp, rbx
cmp word [rax], si
je 0x14004f995
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14004f97c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14004f978
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.140048314
movsxd r14, eax
test eax, eax
jne 0x14004f9d3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14004f969
mov rcx, r14
call fcn.140047f28
mov rdi, rax
test rax, rax
jne 0x14004f9ec
xor ecx, ecx
call fcn.140047104
jmp 0x14004f9c8
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.140048314
test eax, eax
jne 0x14004fa1d
mov rcx, rdi
call fcn.140047104
jmp 0x14004fa27
xor ecx, ecx
call fcn.140047104
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 0x140052910
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.140046da4
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x1400529b1
cmp ebx, dword [rsp + 0x30]
je 0x1400529aa
test esi, esi
je 0x1400529aa
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140052985
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140052992
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14005296f
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140052996
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1400529b3
mov eax, 1
jmp 0x1400529b3
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400560bc
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.14003bf08
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140056146
cmp byte [rbp - 0x21], r15b
je 0x140056141
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14005617c
call fcn.140048f6c
test eax, eax
jne 0x140056168
cmp byte [rbp - 0x21], r15b
je 0x140056160
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14005617c
cmp byte [rbp - 0x21], r15b
je 0x140056179
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.140042dc0
test eax, eax
jne 0x14005621c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14003bf08
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400561bb
cmp byte [rbp - 0x21], r15b
je 0x1400561f0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400561f0
call fcn.140048f6c
test eax, eax
jne 0x1400561dc
cmp byte [rbp - 0x21], r15b
je 0x1400561d5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400561f0
cmp byte [rbp - 0x21], r15b
je 0x1400561ed
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.140042dc0
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14005621c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14005621f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14005622d
mov rcx, rdi
call fcn.140047104
cmp byte [rbp + 0x3f], r15b
je 0x14005623c
mov rcx, qword [rbp + 0x27]
call fcn.140047104
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 0x140057880
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400578a8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400578a8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14000720c
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.14000719c
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021170]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400205b8]
jmp 0x140007248
cmp qword [rbx + 0x18], rdi
je 0x14000724f
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14000723f
jmp 0x140007269
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x1400205b8]
call fcn.140011c68
lea rcx, [0x140021170]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
invalid
adc bh, bh
jp 0x14003f67a
invalid
jns 0x14003f68a
ud0
invalid
cmp ch, byte [rsi + 0xe]
invalid
invalid
jp 0x14003f6a3
inc dword [rcx + 0x7c]
adc bh, bh
jl 0x14003f6ab
inc dword [rcx + 0x7c]
adc bh, bh
movabs word [0xa366ff21a366ff21], ax
and edi, edi
movabs word [0xa366ff21a366ff21], ax
movabs word [0xa366ff21a366ff21], ax
and edi, edi
movabs word [0xa366ff21a366ff21], ax
and edi, edi
movabs word [0xa366ff21a366ff21], ax
and edi, edi
movabs word [0xa366ff21a366ff21], ax
and edi, edi
movabs word [0xa366ff21a366ff21], ax
and edi, edi
movabs word [0xa366ff21a366ff21], ax
and edi, edi
movabs word [0xff21a366ff21], ax
jmp qword [rsi - 0x5d]
and edi, edi
movabs word [0xa366ff21a366ff21], ax
invalid
invalid
jmp qword [rsi - 0x5d]
and edi, edi
movabs word [0xa366ff21a366ff21], ax
and edi, edi
movabs word [0xa366ff21a366ff21], ax
and edi, edi
movabs word [0xa366ff21a366ff21], ax
and edi, edi
movabs word [0xa366ff21a366ff21], ax
and edi, edi
movabs word [0xa366ff21a366ff21], ax
and edi, edi
movabs word [0xa366ff21a366ff21], ax
and edi, edi
movabs word [0x844b1b000000ff21], ax
invalid
add byte [rbx], bl
test byte [r14], dl
dec dword [rdx - 0x7c]
adc eax, 0x15834aff
dec dword [rdx - 0x7d]
adc eax, 0x158349ff
dec dword [rcx - 0x7d]
adc al, 0xff
invalid
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 [0x18011b080]
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 [0x180103e74]
xor eax, eax
mulss xmm1, dword [0x180103e64]
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 [0x180103da0]
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.1800ded70
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, [0x18011b088]
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 [0x18011b080]
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.1800ded70
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 [0x18011b338]
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 [0x18011b2b0]
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.1800ded70
mov rbx, qword [rsp + 0x280]
add rsp, 0x270
pop rdi
ret
Function at 0x1800517f0
Capabilities:
Encode data using xor

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

Function at 0x180051820
Capabilities:
Encode data using xor

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

Function at 0x180053f90
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.1800ded70
add rsp, 0x168
ret

Function at 0x180054130
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x10], 0
je 0x180054153
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x30]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xf
jb 0x180054140
mov byte [rcx + 0x10], 0
mov rax, rcx
ret
Function at 0x180054190
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.18008ab80
mov r14, rax
test rax, rax
je 0x180054353
lea rdx, [rbp - 0x21]
mov rcx, rsi
call fcn.1800728a0
mov rdx, rax
lea rcx, [rbp - 0x41]
call fcn.1800506b0
nop
lea r9d, [rbx + 5]
lea r8, str.data
mov rcx, rax
call fcn.18007e0e0
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 0x180054283
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005427e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005427e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800df02c
mov r8, r15
mov edx, 0x2712
mov rcx, r14
call fcn.18008d930
mov dword [rbp - 1], 0xb2a6b4bd
mov word [rbp + 3], 0x100
lea eax, [rbx - 0x30]
xor byte [rbp + rbx - 1], al
inc rbx
cmp rbx, 4
jb 0x1800542a0
mov byte [rbp + 4], 0
lea r8, [rbp - 1]
mov edx, 0x2722
mov rcx, r14
call fcn.18008d930
lea r8, [rbp + 7]
cmp qword [rbp + 0x1f], 0x10
cmovae r8, qword [rbp + 7]
mov edx, 0x271f
mov rcx, r14
call fcn.18008d930
lea r8, [0x180054160]
mov edx, 0x4e2b
mov rcx, r14
call fcn.18008d930
mov r8, rdi
mov edx, 0x2711
mov rcx, r14
call fcn.18008d930
mov rcx, r14
call fcn.18008ac40
mov rcx, r14
call fcn.18008ab60
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x180054353
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005434d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005434d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800df02c
nop
mov rcx, rsi
call fcn.1800759b0
lea rcx, [rsi + 8]
movzx edx, byte [rsi]
call fcn.180074fe0
nop
mov rax, rdi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1800ded70
mov rbx, qword [rsp + 0x108]
add rsp, 0xc0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x180054390
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 5], 0
je 0x1800543b3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x30]
xor byte [rax + rcx], dl
inc rax
cmp rax, 4
jb 0x1800543a0
mov byte [rcx + 5], 0
mov rax, rcx
ret
Function at 0x1800543c0
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.18008ab80
mov rsi, rax
test rax, rax
je 0x18005447b
mov r8, rbp
mov edx, 0x2712
mov rcx, rax
call fcn.18008d930
mov dword [rsp + 0x30], 0xb2a6b4bd
mov word [rsp + 0x34], 0x100
nop dword [rax + rax]
lea eax, [rbx - 0x30]
xor byte [rsp + rbx + 0x30], al
inc rbx
cmp rbx, 4
jb 0x180054420
lea r8, [rsp + 0x30]
mov byte [rsp + 0x35], 0
mov edx, 0x2722
mov rcx, rsi
call fcn.18008d930
lea r8, [0x180054160]
mov edx, 0x4e2b
mov rcx, rsi
call fcn.18008d930
mov r8, rdi
mov edx, 0x2711
mov rcx, rsi
call fcn.18008d930
mov rcx, rsi
call fcn.18008ac40
mov rcx, rsi
call fcn.18008ab60
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 0x1800545b0
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 0x180054661
mov dword [rsp + 0x20], 0xbdb9bf85
mov ecx, edx
mov dword [rsp + 0x24], 0xb8a2bb
mov byte [rsp + 0x28], 1
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x30]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 7
jb 0x180054620
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 0x180054651
lea rdx, [rsp + 0x20]
jmp 0x18005468e
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 0x180054680
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.180075c10
mov rax, rbx
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1800ded70
add rsp, 0x140
pop rbx
ret

Function at 0x1800546c0
Capabilities:
Encode data using xor

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

Function at 0x1800547f0
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