joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18001b470
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x18001b4a5
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 + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.18001b620
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x18001b5e6
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x18001b560
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x18001b5d5
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x18001b59d
mov r10, qword [rdx]
cmp r10, rax
je 0x18001b597
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 0x18001b5d5
cmp r9, rdx
je 0x18001b5b1
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x18001b5f7
cmp r9, rdx
jne 0x18001b5a2
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
jne 0x18001b510
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
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 0x18001b5d5
Function at 0x18001bc50
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1801ac118]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rax, qword [0x1801c92d8]
cmp byte [rax + 0x50], 0
je 0x18001bc95
movzx eax, byte [0x18023ad61]
test al, al
je 0x18001bc95
mov rbx, qword [0x18023a340]
mov byte [rbx + 0xc8], 1
and dword [rbx + 3], 0xffffffef
jmp 0x18001bca7
mov rbx, qword [0x18023a340]
or dword [rbx + 3], 0x10
mov byte [rbx + 0xc8], 0
cmp qword [0x18023a520], 0
jne 0x18001bcbd
call fcn.180043ee0
mov rbx, qword [0x18023a340]
mov rcx, qword [0x18023a548]
lea rdx, [rsp + 0x28]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x30]
lea rcx, [rsp + 0x40]
sub eax, dword [rsp + 0x28]
movd xmm1, eax
mov eax, dword [rsp + 0x34]
sub eax, dword [rsp + 0x2c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xb], xmm1
movss dword [rbx + 0xf], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rsp + 0x40]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [0x18023a550]
cvtsi2ss xmm0, qword [0x18023a558]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rbx + 0x13], xmm1
mov qword [0x18023a550], rcx
mov ecx, reloc.WS2_32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, reloc.WS2_32.dll_recv
and al, 1
mov byte [rbx + 0x121], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, reloc.WS2_32.dll_select
and al, 1
mov byte [rbx + 0x122], al
call qword [sym.imp.USER32.dll_GetKeyState]
mov rcx, qword [0x18023a340]
shr eax, 0xf
and al, 1
mov byte [rbx + 0x124], 0
mov byte [rbx + 0x123], al
cmp byte [rcx + 0x39e], 0
lea rdi, [rcx + 0x10c]
je 0x18001bdc9
cvttss2si eax, dword [rdi]
lea rdx, [rsp + 0x38]
mov dword [rsp + 0x38], eax
cvttss2si eax, dword [rcx + 0x110]
mov rcx, qword [0x18023a548]
mov dword [rsp + 0x3c], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x38]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov dword [rdi], 0xff7fffff
mov dword [rdi + 4], 0xff7fffff
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp rax, qword [0x18023a548]
jne 0x18001be25
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x18001be25
mov rcx, qword [0x18023a548]
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x18001be25
movd xmm0, dword [rsp + 0x20]
movd xmm1, dword [rsp + 0x24]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rdi], xmm0
movss dword [rdi + 4], xmm1
cmp byte [rbx + 0xc8], 0
je 0x18001be35
mov eax, 0xffffffff
jmp 0x18001be42
mov rax, qword [0x18023a340]
mov eax, dword [rax + 0x1caf]
cmp dword [reloc.WS2_32.dll_htonl], eax
je 0x18001be55
mov dword [reloc.WS2_32.dll_htonl], eax
call fcn.180044470
call fcn.180026970
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.18012d340
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x180022c60
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rdi
cmp dword [0x18023a5b4], 0
lea rdi, [0x18023a5b0]
mov r11d, r8d
mov r9d, edx
mov r10, rcx
jne 0x180022d38
mov qword [rsp + 0x10], rbx
xor edx, edx
mov rbx, rdi
nop dword [rax]
mov r8d, edx
lea rbx, [rbx + 4]
and r8d, 1
mov eax, edx
shr eax, 1
neg r8d
and r8d, 0xedb88320
inc edx
xor r8d, eax
mov eax, r8d
shr r8d, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, r8d
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [rbx - 4], eax
cmp edx, 0x100
jb 0x180022c90
mov rbx, qword [rsp + 0x10]
not r11d
mov eax, r11d
test r9d, r9d
jle 0x180022d6e
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r10]
lea r10, [r10 + 1]
movzx edx, al
xor rdx, rcx
shr eax, 8
xor eax, dword [rdi + rdx*4]
sub r9d, 1
jne 0x180022d50
not eax
pop rdi
ret
movzx r9d, byte [r10]
lea r8, [r10 + 1]
test r9b, r9b
je 0x180022daf
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x180022d93
cmp byte [r8], r9b
jne 0x180022d93
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 [rdi + rdx*4]
test r9b, r9b
jne 0x180022d80
not eax
pop rdi
ret
Function at 0x180022fb0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
test r8, r8
je 0x180022fc9
mov qword [r8], 0
lea rdx, [0x1801581d0]
call fcn.180022dc0
mov rbx, rax
test rax, rax
jne 0x180022fe8
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
xor edx, edx
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rsi
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1800230a8
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x1800230a8
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1800230a8
mov rax, qword [0x18023a340]
mov rbp, rsi
test rax, rax
je 0x180023045
inc dword [rax + 0x3b6]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x1800230a8
mov r9, rbx
mov r8, rbp
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, rbp
je 0x180023095
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x18023a340]
test rax, rax
je 0x18002308a
dec dword [rax + 0x3b6]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1800230b1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x1800230a3
mov qword [rdi], rbp
mov rax, rsi
jmp 0x1800230b3
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1800333b0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push r15
sub rsp, 0x20
mov rdi, qword [0x18023a340]
xor esi, esi
mov r15, rcx
mov dword [rdi + 0x2c77], esi
test rcx, rcx
je 0x1800334ca
mov qword [rsp + 0x40], rbx
lea rbx, [rdi + 0x2c7b]
mov dword [rdi + 0x2c77], esi
mov ecx, dword [rbx + 4]
mov qword [rsp + 0x48], rbp
test ecx, ecx
jns 0x18003340a
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.1800343b0
mov dword [rbx], esi
cmp dword [rbx + 4], esi
jne 0x18003341e
mov edx, 8
mov rcx, rbx
call fcn.1800343b0
movsxd rcx, dword [rbx]
mov ebp, esi
mov rax, qword [rbx + 8]
mov byte [rcx + rax], sil
inc dword [rbx]
cmp dword [rdi + 0x2c8b], esi
jle 0x18003346a
mov qword [rsp + 0x50], r14
mov r14, rsi
nop dword [rax]
mov r9, qword [rdi + 0x2c93]
mov r8, rbx
add r9, r14
mov rcx, rdi
mov rdx, r9
call qword [r9 + Ordinal_30]
inc ebp
add r14, 0x2c
cmp ebp, dword [rdi + 0x2c8b]
jl 0x180033440
mov r14, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
cmp qword [rbx + 8], rsi
je 0x180033479
mov esi, dword [rbx]
dec esi
mov rax, qword [rdi + 0x2c83]
lea rdx, [0x1801581d4]
test rax, rax
movsxd rsi, esi
lea rdi, [0x18023a329]
mov rcx, r15
cmovne rdi, rax
call fcn.180022dc0
mov rbx, rax
test rax, rax
je 0x1800334c5
mov r9, rax
mov r8, rsi
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r15
pop rdi
pop rsi
ret
Function at 0x18003aec0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
push r13
push r14
sub rsp, 0xb8
mov r13, rcx
movsxd rax, r9d
xor ecx, ecx
mov qword [rsp + 0x60], rax
mov dword [rsp + 0xe8], ecx
mov r14, rdx
test r9d, r9d
jle 0x18003b122
mov qword [r11 + 8], rbx
lea rbx, [r8 + 0x1c]
mov qword [r11 + 0x10], rbp
movzx ebp, byte [r13 + 0x24]
mov qword [r11 + 0x18], rsi
mov qword [r11 - 0x18], rdi
mov edi, 0x100
mov qword [r11 - 0x20], r12
xor r12d, r12d
mov qword [r11 - 0x28], r15
movaps xmmword [r11 - 0x38], xmm6
movaps xmmword [r11 - 0x48], xmm7
xorps xmm7, xmm7
movaps xmmword [r11 - 0x58], xmm8
movzx r11d, byte [r13 + 0x20]
movss xmm8, dword [0x180177910]
nop word [rax + rax]
movss xmm6, dword [rbx - 0x1c]
comiss xmm6, xmm7
jbe 0x18003af8a
movsxd r10, dword [r14 + 0x24]
mov r9, qword [r14 + 8]
movsx ecx, di
movzx eax, byte [r10 + r9 + 7]
movzx edx, byte [r10 + r9 + 6]
imul edx, ecx
movsx ecx, di
add dx, ax
movzx eax, byte [r10 + r9 + 5]
movsx r8d, dx
movzx edx, byte [r10 + r9 + 4]
imul edx, ecx
add ax, dx
cwde
sub eax, r8d
movd xmm0, eax
jmp 0x18003afa9
movsxd rdx, dword [r14 + 0x1c]
xorps xmm6, xmm8
mov rax, qword [r14 + 8]
movzx ecx, byte [rdx + rax + 0x12]
movzx eax, byte [rdx + rax + 0x13]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
xor edi, edi
mov byte [rbx], r11b
mov byte [rbx + 1], bpl
divss xmm6, xmm0
cmp dword [rbx - 0xc], edi
jle 0x18003b0c0
mov r15, qword [rsp + 0xf0]
mov rax, r12
shl rax, 4
add r15, 6
xor esi, esi
add r15, rax
nop word [rax + rax]
mov rax, qword [rbx - 0x14]
test rax, rax
jne 0x18003aff0
mov edx, dword [rbx - 0x18]
add edx, edi
jmp 0x18003aff3
mov edx, dword [rax + rsi]
mov eax, dword [r13 + 0x24]
xorps xmm3, xmm3
xorps xmm2, xmm2
mov rcx, r14
cvtsi2ss xmm3, rax
mov eax, dword [r13 + 0x20]
cvtsi2ss xmm2, rax
mulss xmm3, xmm6
mulss xmm2, xmm6
call fcn.1800360f0
mov edx, eax
mov rcx, r14
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
movss dword [rsp + 0x28], xmm7
movss dword [rsp + 0x20], xmm7
call fcn.180038980
movzx ecx, word [r13 + 0x1c]
inc r12
movzx r11d, word [r13 + 0x20]
movzx eax, cx
sub ax, word [rsp + 0x50]
dec cx
movzx ebp, word [r13 + 0x24]
dec ax
add ax, r11w
inc edi
add ax, word [rsp + 0x54]
add rsi, 4
mov word [r15 - 2], ax
movzx eax, bp
sub ax, word [rsp + 0x58]
add ax, cx
mov ecx, dword [rsp + 0xe8]
add ax, word [rsp + 0x5c]
inc ecx
mov word [r15], ax
add r15, 0x10
mov dword [rsp + 0xe8], ecx
cmp edi, dword [rbx - 0xc]
jl 0x18003afe0
jmp 0x18003b0c7
mov ecx, dword [rsp + 0xe8]
add rbx, 0x1e
mov edi, 0x100
sub qword [rsp + 0x60], 1
jne 0x18003af40
movaps xmm8, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x90]
mov r15, qword [rsp + 0xa0]
mov r12, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0xb0]
mov rsi, qword [rsp + 0xe0]
mov rbp, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0xd0]
mov eax, ecx
add rsp, 0xb8
pop r14
pop r13
ret
Function at 0x180058460
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x18005848f
xor eax, eax
mov qword [0x18023a9b8], rcx
mov qword [rsp + 0x28], rax
lea r8, [0x180058c10]
xor r9d, r9d
mov dword [rsp + 0x20], eax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x38
ret
Function at 0x18005ba90
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x18005bac5
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 + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.18001b620
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x18005bc04
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rbp
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, qword [rsi + 0x30]
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x18005bb7d
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x18005bbf3
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x18005bbba
mov r10, qword [rdx]
cmp r10, rax
je 0x18005bbb4
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 0x18005bbf3
cmp r9, rdx
je 0x18005bbcf
nop
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x18005bc15
cmp r9, rdx
jne 0x18005bbc0
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
jne 0x18005bb30
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
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 0x18005bbf3
Function at 0x18005cbb0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, qword [0x1801c9318]
movzx edi, cx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0x18]
jne 0x18005cbe9
mov ecx, edi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr ax, 0xf
and al, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor al, al
add rsp, 0x20
pop rdi
ret

Function at 0x18005dd80
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1801ac118]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rsi, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
lea rcx, [rsp + 0x20]
call fcn.18000f8e0
nop
movabs r9, 0xcbf29ce484222325
lea rax, [rsp + 0x20]
cmp qword [rsp + 0x38], 0x10
cmovae rax, qword [rsp + 0x20]
lea rdx, [rsp + 0x20]
cmovae rdx, qword [rsp + 0x20]
mov r8, qword [rsp + 0x30]
add r8, rdx
cmp rax, r8
je 0x18005de13
movabs rdx, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
imul r9, rdx
movsx rcx, byte [rax]
xor r9, rcx
inc rax
cmp rax, r8
jne 0x18005de00
mov qword [rsi + 0x40], r9
mov byte [rsi + 0x68], 0
lea r8, [rsi + 0x20]
mov rdx, rsi
lea rcx, [rsp + 0x20]
call fcn.18005db60
mov rax, qword [rsi + 0x30]
mov qword [rsi + 0x48], rax
mov rbx, qword [0x18023a478]
mov rax, qword [rbx + 8]
mov rcx, rax
mov rdi, rbx
cmp byte [rax + 0x19], 0
jne 0x18005de78
mov r8, qword [rsi + 0x40]
nop
mov rdx, qword [rcx + 0x20]
cmp rdx, r8
jae 0x18005de5f
mov rcx, qword [rcx + 0x10]
jmp 0x18005de72
cmp byte [rdi + 0x19], 0
je 0x18005de6c
cmp r8, rdx
cmovb rdi, rcx
mov rbx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x18005de50
cmp byte [rdi + 0x19], 0
jne 0x18005de81
mov rax, qword [rdi]
cmp byte [rax + 0x19], 0
jne 0x18005dea8
mov rcx, qword [rsi + 0x40]
nop dword [rax + rax]
cmp rcx, qword [rax + 0x20]
jae 0x18005de9e
mov rdi, rax
mov rax, qword [rax]
jmp 0x18005dea2
mov rax, qword [rax + 0x10]
cmp byte [rax + 0x19], 0
je 0x18005de90
cmp rbx, rdi
je 0x18005df29
nop dword [rax]
mov rdx, qword [rbx + 0x28]
mov rcx, rsi
call fcn.18005e2a0
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x18005dee8
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x18005dee3
cmp rbx, qword [rax + 0x10]
jne 0x18005dee3
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x18005ded0
mov rbx, rax
jmp 0x18005df0f
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x18005df0f
nop dword [rax]
nop dword [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x18005df00
cmp rbx, rdi
jne 0x18005deb0
mov rax, qword [rsi + 0x58]
sub rax, qword [rsi + 0x50]
sar rax, 5
test rax, rax
je 0x18005df29
mov byte [rsi + 0x68], 1
lea rcx, [rsp + 0x20]
call fcn.18000fd90
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.18012d340
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x1800642c0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1801ac118]
xor rax, rsp
mov qword [rsp + 0x40], rax
lea esi, [rcx - 0x3c09]
mov edi, ecx
cmp esi, 0xbf
ja 0x18006445d
mov qword [rsp + 0x60], rbx
lea r10, str.mpply_last_mp_char
xor r9d, r9d
mov al, 0x6d
nop
movzx r8d, al
lea r10, [r10 + 1]
sub al, 0x41
cmp al, 0x19
lea ecx, [r8 + 0x20]
movzx edx, cl
cmova edx, r8d
movsx eax, dl
add eax, r9d
imul r9d, eax, 0x401
mov eax, r9d
shr eax, 6
xor r9d, eax
movzx eax, byte [r10]
test al, al
jne 0x180064300
mov rcx, qword [0x1801c9230]
lea ebx, [r9 + r9*8]
call fcn.1800141b0
mov rdx, qword [0x1801c9230]
mov eax, ebx
shr eax, 0xb
xor eax, ebx
mov qword [rsp + 0x30], 0
imul eax, eax, 0x8001
mov ecx, dword [rdx + 8]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x30]
mov qword [rdx + rcx*8 + 0x130], rax
inc dword [rdx + 8]
lea rdx, [rsp + 0x38]
mov rcx, qword [0x1801c9230]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x30], 0xffffffff
mov eax, dword [rcx + 8]
mov qword [rcx + rax*8 + 0x130], rdx
inc dword [rcx + 8]
mov rdx, qword [0x1801c9230]
mov rax, qword [rsp + 0x30]
mov ecx, dword [rdx + 8]
mov qword [rdx + rcx*8 + 0x130], rax
inc dword [rdx + 8]
movabs rdx, 0x767fbc2ac802ef3d
mov rcx, qword [0x1801c9230]
call fcn.180014230
mov r9d, dword [rsp + 0x38]
lea rax, str._DLCGUNPSTAT_BOOL
mov ecx, esi
mov qword [rsp + 0x20], rax
call fcn.1800693f0
mov rcx, qword [0x1801c9230]
mov ebx, eax
call fcn.1800141b0
mov r8, qword [0x1801c9230]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x30], esi
mov rcx, qword [rsp + 0x30]
mov edx, dword [r8 + 8]
mov qword [r8 + rdx*8 + 0x130], rcx
movabs rdx, 0xf4d8e7ac2a27758c
inc dword [r8 + 8]
mov rcx, qword [0x1801c9230]
call fcn.180014230
mov rax, qword [0x1801c9230]
mov rcx, qword [rax]
mov eax, dword [rcx]
mov ecx, ebx
shl eax, 6
sub edi, eax
lea r8d, [rdi - 0x3c09]
call fcn.180069310
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.18012d340
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x180064480
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1801ac118]
xor rax, rsp
mov qword [rsp + 0x40], rax
lea esi, [rcx - 0x6dc2]
mov edi, ecx
cmp esi, 0xff
ja 0x18006461d
mov qword [rsp + 0x60], rbx
lea r10, str.mpply_last_mp_char
xor r9d, r9d
mov al, 0x6d
nop
movzx r8d, al
lea r10, [r10 + 1]
sub al, 0x41
cmp al, 0x19
lea ecx, [r8 + 0x20]
movzx edx, cl
cmova edx, r8d
movsx eax, dl
add eax, r9d
imul r9d, eax, 0x401
mov eax, r9d
shr eax, 6
xor r9d, eax
movzx eax, byte [r10]
test al, al
jne 0x1800644c0
mov rcx, qword [0x1801c9230]
lea ebx, [r9 + r9*8]
call fcn.1800141b0
mov rdx, qword [0x1801c9230]
mov eax, ebx
shr eax, 0xb
xor eax, ebx
mov qword [rsp + 0x30], 0
imul eax, eax, 0x8001
mov ecx, dword [rdx + 8]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x30]
mov qword [rdx + rcx*8 + 0x130], rax
inc dword [rdx + 8]
lea rdx, [rsp + 0x38]
mov rcx, qword [0x1801c9230]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x30], 0xffffffff
mov eax, dword [rcx + 8]
mov qword [rcx + rax*8 + 0x130], rdx
inc dword [rcx + 8]
mov rdx, qword [0x1801c9230]
mov rax, qword [rsp + 0x30]
mov ecx, dword [rdx + 8]
mov qword [rdx + rcx*8 + 0x130], rax
inc dword [rdx + 8]
movabs rdx, 0x767fbc2ac802ef3d
mov rcx, qword [0x1801c9230]
call fcn.180014230
mov r9d, dword [rsp + 0x38]
lea rax, str._CASINOHSTPSTAT_BOOL
mov ecx, esi
mov qword [rsp + 0x20], rax
call fcn.1800693f0
mov rcx, qword [0x1801c9230]
mov ebx, eax
call fcn.1800141b0
mov r8, qword [0x1801c9230]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x30], esi
mov rcx, qword [rsp + 0x30]
mov edx, dword [r8 + 8]
mov qword [r8 + rdx*8 + 0x130], rcx
movabs rdx, 0xf4d8e7ac2a27758c
inc dword [r8 + 8]
mov rcx, qword [0x1801c9230]
call fcn.180014230
mov rax, qword [0x1801c9230]
mov rcx, qword [rax]
mov eax, dword [rcx]
mov ecx, ebx
shl eax, 6
sub edi, eax
lea r8d, [rdi - 0x6dc2]
call fcn.180069310
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.18012d340
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret