joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180014bf0
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1d0
mov rax, qword [0x180037020]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
xor esi, esi
lea rax, [0x180038f70]
nop word [rax + rax]
xor r15d, r15d
mov r12, rax
mov r13, rax
nop dword [rax]
xor ebx, ebx
nop dword [rax]
nop word [rax + rax]
xor r9d, r9d
mov r8d, ebx
mov edx, r15d
mov ecx, esi
call fcn.180014120
mov r8d, ebx
mov edx, r15d
mov ecx, esi
call fcn.180014540
cmp esi, 0x3e7
ja 0x180014e6d
cmp r15d, 3
ja 0x180014d59
cmp ebx, 1
ja 0x180014d59
movups xmm0, xmmword [str.modules]
mov r9d, esi
lea r8, str.pv._03d
mov edx, 0x20
lea rcx, [rsp + 0x140]
movups xmmword [rsp + 0x130], xmm0
call fcn.18000f120
xor edi, edi
lea r14d, [rdi + 8]
nop dword [rax]
lea r9, [rsp + 0x140]
mov dword [rsp + 0x20], edi
lea r8, str._ls.module_d
mov edx, 0x20
lea rcx, [rsp + 0x180]
call fcn.18000f120
lea r9, [0x180038670]
xor r8d, r8d
lea rdx, [rsp + 0x180]
lea rcx, [rsp + 0x130]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebp, eax
test eax, eax
jle 0x180014d4a
mov r8d, ebx
mov edx, r15d
mov ecx, esi
call fcn.1800140c0
test rax, rax
jne 0x180014d46
mov edx, esi
lea rcx, [rsp + 0x30]
call fcn.180012380
mov rdx, rax
mov rcx, r13
call fcn.180015140
mov r8d, ebx
mov edx, r15d
mov ecx, esi
call fcn.1800140c0
test rax, rax
je 0x180014d4a
mov dword [r14 + rax], ebp
inc edi
add r14, 4
cmp edi, 6
jl 0x180014cc0
cmp esi, 0x3e7
ja 0x180014e6d
cmp r15d, 3
ja 0x180014e6d
cmp ebx, 1
ja 0x180014e6d
movsd xmm0, qword [str.skins]
lea r8, str.pv._03d
mov eax, dword [0x18002b348]
lea rcx, [rsp + 0x180]
mov r9d, esi
movsd qword [rsp + 0x120], xmm0
mov edx, 0x20
mov dword [rsp + 0x128], eax
call fcn.18000f120
lea r9, [rsp + 0x180]
mov edx, 0x20
lea r8, str._ls.skin
lea rcx, [rsp + 0x140]
call fcn.18000f120
lea r9, [0x180038870]
xor r8d, r8d
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x120]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
cmp eax, 0xffffffff
jle 0x180014e6d
mov rcx, qword [r12]
mov rdx, qword [r12 + 8]
cmp rcx, rdx
je 0x180014e1d
cmp dword [rcx], esi
jne 0x180014e11
cmp dword [rcx + 4], ebx
je 0x180014e1f
add rcx, 0xe4
cmp rcx, rdx
jne 0x180014e08
xor ecx, ecx
test rcx, rcx
jne 0x180014e67
mov r8d, ebx
lea rcx, [rsp + 0x30]
mov edx, esi
call fcn.180012380
mov rdx, rax
mov rcx, r13
call fcn.180015140
mov rcx, qword [r12]
mov rax, qword [r12 + 8]
cmp rcx, rax
je 0x180014e6d
nop dword [rax]
cmp dword [rcx], esi
jne 0x180014e59
cmp dword [rcx + 4], ebx
je 0x180014e67
add rcx, 0xe4
cmp rcx, rax
jne 0x180014e50
jmp 0x180014e6d
mov dword [rcx + 0x98], edi
mov r8d, ebx
mov edx, r15d
mov ecx, esi
call fcn.180014820
inc ebx
cmp ebx, 2
jl 0x180014c50
inc r15d
add r13, 0x18
add r12, 0x18
cmp r15d, 4
jl 0x180014c40
inc esi
lea rax, [0x180038f70]
cmp esi, 0x3e8
jl 0x180014c30
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.180021d70
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x18001d8e0
Capabilities:
Log keystrokes via polling

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, 0x60
lea rdx, [rcx + 0x107]
movaps xmmword [rax - 0x18], xmm6
movups xmm0, xmmword [rdx]
lea rsi, [rcx + 8]
mov rbx, rcx
movups xmm1, xmmword [rdx + 0x10]
lea r8, [rsi + 0x80]
add rcx, 0x208
movups xmmword [rsi], xmm0
movups xmm0, xmmword [rdx + 0x20]
lea rdx, [rdx + 0x80]
movups xmmword [rsi + 0x10], xmm1
movups xmm1, xmmword [rdx - 0x50]
movups xmmword [rsi + 0x20], xmm0
movups xmm0, xmmword [rdx - 0x40]
movups xmmword [rsi + 0x30], xmm1
movups xmm1, xmmword [rdx - 0x30]
movups xmmword [rsi + 0x40], xmm0
movups xmm0, xmmword [rdx - 0x20]
movups xmmword [rsi + 0x50], xmm1
movups xmm1, xmmword [rdx]
movups xmmword [rsi + 0x60], xmm0
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
movups xmm0, xmmword [rdx - 0x10]
mov rax, qword [rdx + 0x70]
movups xmmword [r8 - 0x10], xmm0
movups xmm0, xmmword [rdx + 0x10]
movups xmmword [r8], xmm1
movups xmm1, xmmword [rdx + 0x20]
movups xmmword [r8 + 0x10], xmm0
movups xmm0, xmmword [rdx + 0x30]
movups xmmword [r8 + 0x20], xmm1
movups xmm1, xmmword [rdx + 0x40]
movups xmmword [r8 + 0x30], xmm0
movups xmm0, xmmword [rdx + 0x50]
movups xmmword [r8 + 0x40], xmm1
movups xmm1, xmmword [rdx + 0x60]
movups xmmword [r8 + 0x50], xmm0
movups xmmword [r8 + 0x60], xmm1
mov qword [r8 + 0x70], rax
mov eax, dword [rdx + 0x78]
mov dword [r8 + 0x78], eax
movzx eax, word [rdx + 0x7c]
mov word [r8 + 0x7c], ax
movzx eax, byte [rdx + 0x7e]
mov byte [r8 + 0x7e], al
call fcn.180021680
movss xmm9, dword [0x18002c820]
lea rdi, [rbx + 0x2004]
movss xmm6, dword [0x18002c834]
add rbx, 0x320
movss xmm7, dword [0x18002c808]
xor bpl, bpl
xor r14d, r14d
movaps xmm8, xmm0
movzx ecx, bpl
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
sets cl
mov byte [rsi + 0xff], cl
test ax, ax
jns 0x18001da48
cmp byte [rsi], r14b
jne 0x18001da48
mov rcx, rbx
call fcn.180021680
comiss xmm9, xmm0
mov byte [rsi + 0x1efc], 1
setae al
mov byte [rsi + 0x218], al
mov dword [rdi - 0x4fc], 1
jmp 0x18001da8e
mov byte [rsi + 0x218], r14b
mov byte [rsi + 0x1efc], r14b
test cl, cl
je 0x18001da91
cmp dword [rdi - 0x4fc], r14d
je 0x18001da68
movaps xmm1, xmm6
jmp 0x18001da6b
movaps xmm1, xmm7
movaps xmm0, xmm8
addss xmm0, dword [rdi]
comiss xmm0, xmm1
movss dword [rdi], xmm0
seta al
mov byte [rsi + 0x1efc], al
test al, al
je 0x18001da91
mov dword [rdi - 0x4fc], r14d
mov dword [rdi], r14d
inc bpl
add rdi, 4
add rbx, 0x18
inc rsi
cmp bpl, 0xff
jb 0x18001da00
movaps xmm6, xmmword [rsp + 0x50]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov al, 1
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm7, xmmword [rsp + 0x40]
mov rsp, r11
pop r14
ret
Function at 0x140003300
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x140003331
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x14012c9c8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x14012c9d8]
lea rdx, [rdi + rdi]
call fcn.140002ad0
mov rax, qword [0x14012c9c8]
lea r9, [rdi - 1]
mov qword [0x14012c9f0], r9
mov qword [0x14012c9f8], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1400034a4
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x14012c9d8]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1400033f0
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140003465
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14000342d
mov r10, qword [rdx]
cmp r10, rax
je 0x140003427
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x140003465
cmp r9, rdx
je 0x140003441
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x140003479
cmp r9, rdx
jne 0x140003432
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x14000349f
mov r9, qword [0x14012c9f0]
jmp 0x1400033a1
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x140003465
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400050d0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14000512d
lea rbx, [0x1400b4280]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140005114
cmp r10, 2
jb 0x140005114
cmp byte [r9], r8b
jne 0x140005114
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x1400050f0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000516f
lea rbx, [0x1400b4280]
cmp r8b, 0x23
jne 0x140005153
cmp byte [r9], r8b
jne 0x140005153
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140005140
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1400052b0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1400052ca
mov qword [r8], 0
lea rdx, [0x1400b3e84]
call fcn.140005180
mov rbx, rax
test rax, rax
jne 0x1400052ea
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x1400053c1
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400053c1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1400053c1
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400053c1
cmp rdi, 0xffffffffffffffff
je 0x1400053c1
mov rax, qword [0x14012c290]
test rax, rax
je 0x14000535e
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x1400053c1
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x1400053ae
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14012c290]
test rax, rax
je 0x1400053a3
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400053ca
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x1400053bc
mov qword [r14], rdi
mov rax, rsi
jmp 0x1400053cc
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140007990
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xd0]
mov rax, qword [rcx + 0xd8]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x1400b4280]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [0x14012c290]
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rcx + 0x3ed4], ebx
jne 0x140007a26
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.14001ae10
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x140014c30
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400c8080]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14012c290]
mov edi, ecx
cmp byte [rbx + 0x4a15], 0
jne 0x140014c91
cmp byte [rbx + 0x4a16], 0
jne 0x140014c91
movsx r9d, word [rbx + 0x5b0a]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140004f90
test dil, 1
je 0x140014db8
jmp 0x140014d1a
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5b0a]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400b9678]
mulss xmm1, dword [0x1400b9660]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xdfc]
addss xmm1, dword [rbx + 0xe00]
mov qword [rbx + 0x4778], rax
mov dword [rbx + 0x4764], 1
movss dword [rbx + 0x4770], xmm0
movss dword [rbx + 0x4774], xmm1
movss xmm0, dword [rbx + 0x38f4]
mulss xmm0, dword [0x1400b95f0]
or dword [rbx + 0x4760], 0x41
movss dword [rbx + 0x47c0], xmm0
call fcn.140004f90
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140014d70
lea r11, [0x1400b4280]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140014d53
cmp byte [r8], r9b
jne 0x140014d53
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 0x140014d40
not ecx
call fcn.14000d430
test rax, rax
je 0x140014db8
cmp byte [rax + 0x96], 0
je 0x140014db8
mov byte [rax + 0x9d], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb8], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5b0a]
mov edx, reloc.WS2_32.dll_recv
movsx r9d, word [rbx + 0x5b0a]
call fcn.140004f90
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000fc40
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400a0910
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400196c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5bb8], 0
lea rbx, [rcx + 0x5bc0]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140019767
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001971a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14001ba80
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1400057d0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5bb8]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5bc8]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x14012c2a0]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001976f
mov rcx, rbx
call fcn.1400057d0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140019ce0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x14012c290]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140019d43
mov qword [rsp], rbx
lea rbx, [0x1400b4280]
nop dword [rax]
cmp r9b, 0x23
jne 0x140019d23
cmp byte [r8], r9b
jne 0x140019d23
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 0x140019d10
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5b68]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140019d77
mov r10, qword [r10 + 0x5b70]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x140019d7e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140019d64
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x14002d720
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, 0x210
call fcn.140012aa0
cmp byte [rax], 0
je 0x14002d78f
xor edx, edx
mov ecx, 0x210
call fcn.1400137d0
test al, al
je 0x14002d78f
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14002d78f
mov rbx, qword [0x14012c290]
cmp byte [rbx + 0x37a9], 0
je 0x14002d77b
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x210
call fcn.140004ad0
mov dword [rbx + 0x380], 0x210
mov dword [rbx + 0x940], 0xa0
mov ecx, 0x214
call fcn.140012aa0
cmp byte [rax], 0
je 0x14002d7f8
xor edx, edx
mov ecx, 0x214
call fcn.1400137d0
test al, al
je 0x14002d7f8
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14002d7f8
mov rbx, qword [0x14012c290]
cmp byte [rbx + 0x37a9], 0
je 0x14002d7e4
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x214
call fcn.140004ad0
mov dword [rbx + 0x384], 0x214
mov dword [rbx + 0x950], 0xa1
mov ecx, 0x212
call fcn.140012aa0
cmp byte [rax], 0
je 0x14002d861
xor edx, edx
mov ecx, 0x212
call fcn.1400137d0
test al, al
je 0x14002d861
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14002d861
mov rbx, qword [0x14012c290]
cmp byte [rbx + 0x37a9], 0
je 0x14002d84d
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x212
call fcn.140004ad0
mov dword [rbx + 0x26c], 0x212
mov dword [rbx + 0x948], 0x5b
mov ecx, 0x216
call fcn.140012aa0
cmp byte [rax], 0
je 0x14002d8ca
xor edx, edx
mov ecx, 0x216
call fcn.1400137d0
test al, al
je 0x14002d8ca
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14002d8ca
mov rbx, qword [0x14012c290]
cmp byte [rbx + 0x37a9], 0
je 0x14002d8b6
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x216
call fcn.140004ad0
mov dword [rbx + 0x270], 0x216
mov dword [rbx + 0x958], 0x5c
add rsp, 0x20
pop rbx
ret
Function at 0x14003a960
Capabilities:
Set file attributes

Disassembly:
cmp qword [rcx + 0x18], 0xf
jbe 0x14003a96a
mov rcx, qword [rcx]
mov edx, 2
jmp qword [sym.imp.KERNEL32.dll_SetFileAttributesA]

Function at 0x14003a980
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x1400c8080]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r14, rdx
mov rsi, rcx
mov rbp, qword [rcx + 0x10]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, rbp
cmp rax, 1
jb 0x14003ab94
cmp qword [rsi + 0x18], 0xf
jbe 0x14003a9cd
mov rsi, qword [rsi]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
lea r15, [rbp + 1]
mov ebx, reloc.WS2_32.dll_ntohs
lea rdi, [rsp + 0x20]
cmp r15, rbx
jbe 0x14003aa6b
mov rbx, r15
or rbx, 0xf
cmp rbx, rcx
jbe 0x14003aa2d
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400a0a50
test rax, rax
je 0x14003ab10
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14003aa66
mov eax, reloc.WLDAP32.dll_Ordinal_22
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x14003aa55
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14003ab9a
jmp 0x14003aa0e
test rcx, rcx
je 0x14003aa64
call fcn.1400a0a50
mov rdi, rax
jmp 0x14003aa66
xor edi, edi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], rbx
mov r8, rbp
mov rdx, rsi
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + rbp], reloc.WLDAP32.dll_Ordinal_32
mov byte [rdi + r15], 0
mov r8, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 0xf
jbe 0x14003aa9a
mov r14, qword [r14]
mov rdx, r14
lea rcx, [rsp + 0x20]
call fcn.140002a40
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x14003ab1c
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003ab17
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003ab17
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a0cd4
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x14003ab73
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003ab6e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003ab6e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a0cd4
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400a0910
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.140001e70
int3
call fcn.140001dd0
int3
Function at 0x14003de80
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x50
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor edi, edi
cmp byte [r8 + 6], dil
je 0x14003deb4
mov eax, edi
nop dword [rax]
lea ecx, [rax + 0x58]
xor byte [r8 + rax], cl
inc rax
cmp rax, 5
jb 0x14003dea0
mov byte [r8 + 6], dil
lea rax, [r8 + 5]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
cmp r8, rax
jne 0x14003dee4
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x20], dil
jmp 0x14003defd
mov qword [rsp + 0x30], 5
mov eax, dword [r8]
mov dword [rsp + 0x20], eax
movzx eax, byte [r8 + 4]
mov byte [rsp + 0x24], al
mov r9, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14003df0b
mov rdx, qword [rdx]
mov r8, rdx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.14004aeb0
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x14003df85
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003df80
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003df80
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a0cd4
mov rax, rbx
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x14003dfa0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x50
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor edi, edi
cmp byte [r8 + 7], dil
je 0x14003dfd4
mov eax, edi
nop dword [rax]
lea ecx, [rax + 0x58]
xor byte [r8 + rax], cl
inc rax
cmp rax, 6
jb 0x14003dfc0
mov byte [r8 + 7], dil
lea rax, [r8 + 6]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
cmp r8, rax
jne 0x14003e004
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x20], dil
jmp 0x14003e01e
mov qword [rsp + 0x30], 6
mov eax, dword [r8]
mov dword [rsp + 0x20], eax
movzx eax, word [r8 + 4]
mov word [rsp + 0x24], ax
mov r9, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14003e02c
mov rdx, qword [rdx]
mov r8, rdx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.14004aeb0
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x14003e0a6
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003e0a1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003e0a1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a0cd4
mov rax, rbx
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret