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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1802c40c0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, r8
mov rsi, rdx
mov r15, rcx
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x38], r8
xor r12d, r12d
mov rcx, r8
call fcn.180091670
cmp qword [rdi + 0x18], 0xf
jbe 0x180095e52
mov r14, qword [rdi]
mov rbp, r14
add rbp, qword [rdi + 0x10]
mov rbx, r14
jmp 0x180095e5f
mov r14, rdi
mov rbp, qword [rdi + 0x10]
add rbp, rdi
mov rbx, rdi
cmp rbx, rbp
je 0x180095e7b
sub r14, rbx
movsx ecx, byte [rbx]
call fcn.18012c27c
mov byte [r14 + rbx], al
inc rbx
cmp rbx, rbp
jne 0x180095e67
mov r8, qword [rdi + 0x10]
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x180095e8c
mov rdx, qword [rdi]
movabs r9, 0xcbf29ce484222325
mov rcx, r12
test r8, r8
je 0x180095ec3
movabs r10, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x180095eb0
mov r8, rdi
lea rdx, [rsp + 0x28]
mov rcx, r15
call fcn.180099d80
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x180095ef9
cmp rcx, qword [r15 + 8]
je 0x180095ef9
imul rdx, qword [rcx + 0x30], 0x78
add rdx, 0x20
add rdx, qword [r15 + 0x40]
mov rcx, rsi
call fcn.1800978c0
jmp 0x180095f0d
mov rcx, rsi
call fcn.180098090
mov qword [rsi + 0x40], r12
mov qword [rsi + 0x48], r12
mov qword [rsi + 0x50], r12
mov rcx, rdi
call fcn.18007a5d0
mov rax, rsi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180124c20
add rsp, 0x50
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rax, qword [0x1802c40c0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, rdx
mov r14, rcx
mov qword [rsp + 0x30], rdx
mov rcx, rdx
call fcn.180091670
cmp qword [rdi + 0x18], 0xf
jbe 0x180095f8a
mov rsi, qword [rdi]
mov rbp, rsi
add rbp, qword [rdi + 0x10]
mov rbx, rsi
jmp 0x180095f97
mov rsi, rdi
mov rbp, qword [rdi + 0x10]
add rbp, rdi
mov rbx, rdi
cmp rbx, rbp
je 0x180095fb3
sub rsi, rbx
nop
movsx ecx, byte [rbx]
call fcn.18012c27c
mov byte [rsi + rbx], al
inc rbx
cmp rbx, rbp
jne 0x180095fa0
mov r8, qword [rdi + 0x10]
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x180095fc4
mov rdx, qword [rdi]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r8, r8
je 0x180095ff3
movabs r10, 0x100000001b3
nop
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x180095fe0
mov r8, rdi
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.180099d80
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x180096018
cmp rcx, qword [r14 + 8]
je 0x180096018
mov rax, qword [rcx + 0x30]
jmp 0x180096023
mov rdx, rdi
mov rcx, r14
call fcn.180097b40
imul rbx, rax, 0x78
add rbx, qword [r14 + 0x40]
mov rcx, rdi
call fcn.18007a5d0
lea rax, [rbx + 0x20]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.180124c20
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x1800965b0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x1800965e1
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rdi
je 0x18009665b
mov rdi, r14
mov rcx, rbx
call fcn.18007a510
test rax, rax
jle 0x180096633
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov rax, qword [rbx + 0x38]
mov r8, rbp
mov rdx, qword [rax]
call fcn.180154ec0
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x18009664b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x180096653
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x1800965f5
sub r14, rdi
jmp 0x18009673f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x180096672
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x180096674
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1800966a6
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.180154ec0
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x18009673c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1800966e1
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x18009671d
nop word [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.180136dfc
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x18009673c
cmp rbp, rax
ja 0x1800966f0
test rbp, rbp
je 0x18009673c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.180136dfc
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x30]
mov rax, r14
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x180098ee0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
cmp qword [r8 + 0x28], 0xf
lea r9, [r8 + 0x10]
mov r10, qword [r8 + 0x20]
mov rbx, r8
mov r14, rdx
mov rsi, rcx
jbe 0x180098f11
mov r9, qword [r8 + 0x10]
xor edx, edx
movabs r8, 0xcbf29ce484222325
test r10, r10
je 0x180098f44
movabs rcx, 0x100000001b3
nop dword [rax]
movzx eax, byte [r9 + rdx]
inc rdx
xor r8, rax
imul r8, rcx
cmp rdx, r10
jb 0x180098f30
mov rdx, qword [rsi + 0x30]
and rdx, r8
shl rdx, 4
add rdx, qword [rsi + 0x18]
mov rax, qword [rdx]
cmp qword [rdx + 8], rbx
jne 0x180098f78
cmp rax, rbx
jne 0x180098f6e
mov rax, qword [rsi + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x180098f83
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
jmp 0x180098f83
cmp rax, rbx
jne 0x180098f83
mov rax, qword [rbx]
mov qword [rdx], rax
mov rdi, qword [rbx]
lea rcx, [rbx + 0x10]
dec qword [rsi + 0x10]
mov rax, qword [rbx + 8]
mov qword [rax], rdi
mov rax, qword [rbx + 8]
mov qword [rdi + 8], rax
call fcn.18007a5d0
mov edx, 0x38
mov rcx, rbx
call fcn.180124c40
mov rbx, qword [rsp + 0x30]
mov rax, r14
mov rsi, qword [rsp + 0x38]
mov qword [r14], rdi
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x18009c7c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rdi
push r12
sub rsp, 0x178
mov rax, qword [0x1802c40c0]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor r12d, r12d
mov rdi, rcx
cmp qword [rcx + 0x18], 0xf
jbe 0x18009c7ed
mov rcx, qword [rcx]
mov qword [rsp + 0x198], rbx
mov qword [rsp + 0x1a0], rbp
mov qword [rsp + 0x170], rsi
mov qword [rsp + 0x168], r14
mov qword [rsp + 0x160], r15
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x18009c995
mov rsi, qword [rdi + 0x10]
test rsi, rsi
je 0x18009ca13
mov rbp, r12
lea r15, [0x1801f0430]
nop dword [rax + rax]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r15 + rbx], r12b
jne 0x18009c847
cmp qword [rdi + 0x18], 0xf
mov r14, rdi
jbe 0x18009c85d
mov r14, qword [rdi]
test rbx, rbx
je 0x18009c8cd
cmp rbp, rsi
jae 0x18009c8cd
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x100
call fcn.1801556e0
lea rdx, [rbx + r15]
mov rcx, r15
cmp r15, rdx
je 0x18009c8a0
nop word [rax + rax]
movzx eax, byte [rcx]
inc rcx
mov byte [rsp + rax + 0x50], 1
cmp rcx, rdx
jne 0x18009c890
lea rcx, [rsi + r14]
lea rbx, [r14 + rbp]
cmp rbx, rcx
jae 0x18009c8cd
nop dword [rax]
movzx eax, byte [rbx]
cmp byte [rsp + rax + 0x50], r12b
jne 0x18009c8c4
inc rbx
cmp rbx, rcx
jb 0x18009c8b0
jmp 0x18009c8cd
sub rbx, r14
cmp rbx, 0xffffffffffffffff
jne 0x18009c8d1
mov rbx, qword [rdi + 0x10]
cmp qword [rdi + 0x10], rbx
mov r8, rbx
xorps xmm0, xmm0
mov qword [rsp + 0x38], r12
cmovb r8, qword [rdi + 0x10]
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x40], r12
jbe 0x18009c8fc
mov rdx, qword [rdi]
lea rcx, [rsp + 0x28]
call fcn.18007af70
cmp qword [rsp + 0x38], r12
je 0x18009c947
cmp qword [rsp + 0x40], 0xf
lea rcx, [rsp + 0x28]
cmova rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x18009c947
cmp qword [rsp + 0x40], 0xf
lea rcx, [rsp + 0x28]
cmova rcx, qword [rsp + 0x28]
call fcn.180137bb4
test eax, eax
jne 0x18009c9da
mov rdx, qword [rsp + 0x40]
lea rbp, [rbx + 1]
cmp rdx, 0xf
jbe 0x18009c988
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009c983
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009ca17
call fcn.180124c40
mov rsi, qword [rdi + 0x10]
cmp rbp, rsi
jb 0x18009c840
mov al, 1
mov r15, qword [rsp + 0x160]
mov r14, qword [rsp + 0x168]
mov rsi, qword [rsp + 0x170]
mov rbp, qword [rsp + 0x1a0]
mov rbx, qword [rsp + 0x198]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.180124c20
add rsp, 0x178
pop r12
pop rdi
ret
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x18009ca13
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009ca0e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009ca17
call fcn.180124c40
xor al, al
jmp 0x18009c997
call fcn.18012da14
int3
Function at 0x18009e990
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
mov eax, 0x1e58
call fcn.180125bc0
sub rsp, rax
mov rax, qword [0x1802c40c0]
xor rax, rsp
mov qword [rsp + 0x1e40], rax
xor ecx, ecx
call fcn.18012d5e8
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x40]
call fcn.18012bf70
mov eax, dword [rsp + 0x40]
lea rdx, str.__02d:_02d:_02d____s_n
mov r9d, dword [rsp + 0x44]
lea rcx, [rsp + 0x68]
mov r8d, dword [rsp + 0x48]
mov dword [rsp + 0x20], eax
call fcn.1800a2450
mov r9, qword [rsp + 0x1e60]
lea rax, [rsp + 0x1e68]
mov edx, 0xdac
mov qword [rsp + 0x28], rax
mov r8d, edx
lea rcx, [rsp + 0x1090]
call fcn.18007bff0
lea r8, [rsp + 0x1090]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x90]
call fcn.1800a24b0
lea r8, [0x1801f2548]
lea rdx, [0x1802e3b20]
lea rcx, [rsp + 0x30]
call fcn.180137b5c
test eax, eax
jne 0x18009ea84
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x90]
lea rdx, [0x1801f2870]
call fcn.18009be90
mov rcx, qword [rsp + 0x30]
call fcn.18013594c
lea rdx, [rsp + 0x90]
lea rcx, [0x1802e2510]
call fcn.180098c30
lea r8, [rsp + 0x1090]
lea rdx, [0x1801f2874]
lea rcx, [rsp + 0x90]
call fcn.1800a24b0
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x1e40]
xor rcx, rsp
call fcn.180124c20
add rsp, 0x1e58
ret
Function at 0x1800a2510
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x180
mov rax, qword [0x1802c40c0]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rsi, rdx
mov rdi, rcx
mov rax, qword [rcx + 0x10]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x1800a26f4
mov rbx, qword [rcx + 0x18]
mov qword [rsp + 0x30], rbx
mov rcx, rbx
call fcn.18012393c
test eax, eax
jne 0x1800a2721
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
je 0x1800a272c
xor r14d, r14d
mov qword [rsi + 0x28], r14
mov qword [rsi + 0x30], r14
mov qword [rsp + 0x60], r14
lea r15, vtable.fmt::v9::basic_memory_buffer_char__250__class_std::allocator_char__.0
mov qword [rsp + 0x50], r15
lea rax, [rsp + 0x70]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x68], 0xfa
mov rcx, qword [rdi + 0x28]
mov rax, qword [rcx]
lea r8, [rsp + 0x50]
mov rdx, rsi
call qword [rax + 8]
cmp byte [rdi + 0x20], r14b
je 0x1800a2688
mov r8, qword [rsi + 0x28]
cmp qword [rsi + 0x30], r8
jbe 0x1800a2688
test r8, r8
je 0x1800a25e8
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
movsxd rax, dword [rsi + 0x10]
movzx ebp, word [rdi + rax*2 + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
jne 0x1800a2609
lea ebp, [rax + 7]
jmp 0x1800a2624
mov edx, dword [rsp + 0x40]
and edx, 0xfff0
or edx, ebp
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
movzx ebp, word [rsp + 0x40]
mov r8, qword [rsi + 0x30]
mov rcx, qword [rsi + 0x28]
cmp r8, rcx
jbe 0x1800a264e
sub r8d, ecx
mov rdx, qword [rsp + 0x58]
add rdx, rcx
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
movzx edx, bp
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rcx, qword [rsi + 0x30]
mov r8, qword [rsp + 0x60]
cmp r8, rcx
jbe 0x1800a26ac
sub r8d, ecx
mov rdx, qword [rsp + 0x58]
add rdx, rcx
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
jmp 0x1800a26ac
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x30]
mov r8d, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov qword [rsp + 0x50], r15
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
cmp rcx, rax
je 0x1800a26ec
mov rdx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800a26e6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800a271b
call fcn.180124c40
nop
mov rcx, rbx
call fcn.180123944
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.180124c20
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x180
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.18012da14
nop
mov ecx, 5
call fcn.1801238e0
int3
dec eax
mov dword [rbx + 0x4c], eax
mov ecx, 6
call fcn.1801238e0
int3
Function at 0x1800a7760
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x1800a78ef
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.180098a70
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 0x1800a78b4
mov qword [rsp + 0x38], rbp
movabs rdi, 0xcbf29ce484222325
movabs rbp, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx r9d, byte [rax + 0x10]
mov rcx, qword [rcx]
mov r11d, r9d
xor r11, rdi
imul r11, rbp
and r11, qword [rsi + 0x30]
shl r11, 4
add r11, qword [rsi + 0x18]
mov r8, qword [r11]
cmp r8, rbx
jne 0x1800a782f
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1800a78a3
mov rdx, qword [r11 + 8]
cmp r9b, byte [rdx + 0x10]
jne 0x1800a7868
mov r10, qword [rdx]
cmp r10, rax
je 0x1800a7862
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 0x1800a78a3
cmp r8, rdx
je 0x1800a787f
nop dword [rax]
mov rdx, qword [rdx + 8]
cmp r9b, byte [rdx + 0x10]
je 0x1800a78c9
cmp r8, rdx
jne 0x1800a7870
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 0x1800a7800
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
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 0x1800a78a3
lea rcx, str.invalid_hash_bucket_count
call fcn.1801222c4
int3
Function at 0x1800bc600
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
sub rsp, 0x50
mov rax, qword [0x1802c40c0]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor esi, esi
movabs rax, 0x4f8644af03d0e0d6
mov dword [0x1802de858], esi
mov dword [0x1802de868], esi
mov qword [0x1802e74f0], rax
call fcn.180113cd0
mov qword [rsp + 0x20], rsi
mov ecx, dword [rax]
movabs rax, 0x2975c866e6713290
mov qword [0x1802e74f0], rax
mov dword [rsp + 0x20], ecx
mov rax, qword [rsp + 0x20]
mov qword [0x1802de930], rax
lea rax, [rsp + 0x28]
mov qword [0x1802de938], rax
mov dword [0x1802de868], esi
mov dword [0x1802de858], 2
call fcn.180113cd0
cmp dword [rax], esi
je 0x1800bc7b9
lea ecx, [rsi + 1]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1800bc7b9
movabs rax, 0x12534c348c6cb68b
mov qword [rsp + 0x20], rsi
mov qword [0x1802e74f0], rax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x20]
mov qword [0x1802de930], rax
mov dword [0x1802de868], esi
mov dword [0x1802de858], 1
call fcn.180113cd0
cmp dword [rax], esi
je 0x1800bc7b9
mov qword [rsp + 0x60], rbx
lea ebx, [rsi + 1]
mov qword [rsp + 0x68], rbp
movabs rbp, 0x50fac3a3e030a6e1
mov qword [rsp + 0x70], rdi
mov edi, esi
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x20], edi
mov rax, qword [rsp + 0x20]
mov qword [0x1802de930], rax
mov dword [0x1802de868], esi
mov qword [0x1802e74f0], rbp
mov dword [0x1802de858], 1
call fcn.180113cd0
mov ecx, dword [rax]
cmp ecx, dword [rsp + 0x28]
jne 0x1800bc79d
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x20], edi
mov rax, qword [rsp + 0x20]
mov qword [0x1802de930], rax
mov qword [rsp + 0x30], 0xfffffffff8cebeff
mov dword [0x1802de868], esi
mov qword [0x1802e74f0], rbp
mov dword [0x1802de858], 1
call fcn.180113cd0
mov r8d, 3
lea rdx, [rsp + 0x30]
mov r9d, ebx
movsxd rcx, dword [rax]
mov qword [rsp + 0x38], rcx
lea ecx, [r8 - 2]
mov qword [rsp + 0x40], 0x30
call qword [0x1802e6df0]
inc edi
rol ebx, 1
cmp edi, 0x21
jl 0x1800bc701
mov rdi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180124c20
add rsp, 0x50
pop rsi
ret
Function at 0x1800cab10
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x1800cab44
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x1800cab30
ret
Function at 0x1800cea70
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x1800ceb3c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x1800ceb3c
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x1800ceb55
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x1800ceb2c
cmp byte [rax], 0x5c
jne 0x1800ceb26
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x1800ceb26
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x1800ceb12
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x1800ceb23
test r8b, 0x10
jne 0x1800ceb26
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x1800ceb26
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.1800cb150
test edi, edi
jne 0x1800cea90
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.1800cb140
int3
Function at 0x1800d3bc0
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0xf0
movaps xmmword [rax - 0x18], xmm6
xor ebx, ebx
movaps xmmword [rax - 0x28], xmm7
xor esi, esi
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
movaps xmmword [rax - 0x58], xmm10
movaps xmmword [rax - 0x68], xmm11
movss xmm11, dword [0x18027b5cc]
movaps xmmword [rax - 0x78], xmm12
movss xmm12, dword [0x18027b5b0]
movaps xmmword [rsp + 0x70], xmm13
movss xmm13, dword [0x18027b5a0]
movdqa xmm10, xmmword [0x18027c840]
xorps xmm0, xmm0
mov ecx, 0x30
mov qword [rsp + 0x68], rsi
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rsi
movaps xmm9, xmm13
movaps xmm8, xmm12
movaps xmm7, xmm11
movaps xmm6, xmm11
call fcn.180124c48
movups xmm0, xmmword [str.Press_any_key__press_Backspace_to_cancel]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x60], 0x28
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x68], 0x2f
movups xmmword [rax], xmm0
mov byte [rsp + 0x28], sil
movups xmm1, xmmword [0x1802717a8]
mov dword [rsp + 0x40], ebx
unpcklps xmm6, xmm7
movups xmmword [rax + 0x10], xmm1
mov byte [rsp + 0x20], 1
movsd xmm0, qword [0x1802717b8]
movq r9, xmm6
unpcklps xmm8, xmm9
movsd qword [rax + 0x20], xmm0
movq r8, xmm8
mov byte [rax + 0x28], sil
movaps xmmword [rsp + 0x30], xmm10
call fcn.1800d5600
mov edi, 1
nop dword [rax]
nop dword [rax + rax]
xor edx, edx
lea rcx, str.grcWindow
call qword [sym.imp.USER32.dll_FindWindowA]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rbx, rax
jne 0x1800d3d12
cmp byte [0x1802e3d34], sil
jne 0x1800d3d12
mov ecx, edi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1800d3d12
cmp edi, 0xd
je 0x1800d3d12
cmp edi, 0x65
je 0x1800d3d12
cmp edi, 0x1b
jne 0x1800d3d30
inc edi
cmp edi, 0x100
jl 0x1800d3cd0
mov rcx, qword [0x1802e3b10]
call qword [sym.imp.KERNEL32.dll_SwitchToFiber]
xor ebx, ebx
jmp 0x1800d3c19
cmp edi, 8
jne 0x1800d3d47
xor edx, edx
lea rcx, str.Canceled_Key_Selection
call fcn.1800b2a60
xor eax, eax
jmp 0x1800d3d49
mov eax, edi
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
mov rsp, r11
pop rdi
ret