joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401cd670
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rax, qword [rcx + 0x20]
xor r15d, r15d
sub rax, 0x34
mov qword [rcx + 0x78], r15
mov qword [rcx + 0x28], rax
mov r14d, edx
mov rax, qword [rcx + 0x30]
mov rbx, rcx
mov word [rcx + 0x6a], r15w
lea ebp, [r15 - 1]
mov dword [rcx + 0x3c], r15d
mov edi, r15d
mov qword [rcx + 0x70], rax
mov qword [rax + 0x10], rax
mov word [rcx + 0x68], r15w
cmp r15w, word [rcx + 0xb8]
jge 0x1401cd7ab
mov esi, r15d
mov rax, qword [rbx + 0xd0]
lea edx, [rbp + 1]
mov dword [rbx + 0x88], r15d
mov r9d, r14d
mov qword [rbx + 0x80], r15
mov rcx, rbx
movsx ebp, word [rsi + rax]
mov r8d, ebp
call fcn.1401cdb40
test al, al
jne 0x1401cd846
mov r8d, dword [rbx + 4]
mov edx, dword [rbx + 0x5c]
lea eax, [r8 - 1]
test edx, eax
jne 0x1401cd73f
cmp edx, dword [rbx + 0x60]
jl 0x1401cd73f
cmp edx, dword [rbx + 0x64]
jg 0x1401cd73f
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x1401cd73f
mov rax, qword [rbx + 0x70]
movzx ecx, byte [rcx + 0x18]
xor cl, byte [rax + 0x18]
test cl, 8
jne 0x1401cd73f
add qword [rbx + 0x30], 0xfffffffffffffffc
mov r9, qword [rbx + 0x70]
mov rax, qword [r9 + 0x10]
cmp qword [rbx + 0x30], rax
je 0x1401cd762
test byte [r9 + 0x18], 8
je 0x1401cd762
neg r8d
and r8d, edx
sub edx, r8d
cmp edx, dword [rbx + 8]
jmp 0x1401cd773
lea eax, [r8 - 1]
neg r8d
add eax, edx
and eax, r8d
sub eax, edx
cmp eax, dword [rbx + 8]
setge dl
mov rcx, rbx
call fcn.1401ce510
test al, al
jne 0x1401cd846
mov rax, qword [rbx + 0x80]
test rax, rax
je 0x1401cd796
mov qword [r9 + 0x28], rax
movsx eax, word [rbx + 0xb8]
inc edi
add rsi, 2
cmp edi, eax
jl 0x1401cd6d3
movzx edi, word [rbx + 0x68]
mov rdx, qword [rbx + 0x78]
cmp di, 1
jbe 0x1401cd84a
test rdx, rdx
je 0x1401cd84a
mov ebp, 0xffff
nop dword [rax + rax]
lea rsi, [rdx + 8]
cmp di, 1
jbe 0x1401cd7e8
movsxd rcx, dword [rdx + 0x1c]
mov rax, qword [rdx + 0x10]
lea r10, [rax + rcx*4]
jmp 0x1401cd7eb
mov r10, r15
mov qword [rsi], r10
test byte [rdx + 0x18], 8
mov r11d, dword [rdx + 0x20]
mov r8d, r11d
mov eax, dword [rdx + 0x1c]
je 0x1401cd806
dec r11d
add r11d, eax
jmp 0x1401cd81d
sub r8d, eax
inc r8d
dec eax
mov dword [rdx + 0x20], r8d
movsxd rcx, eax
shl rcx, 2
add qword [rdx + 0x10], rcx
mov edx, r8d
mov rcx, rbx
call fcn.1401ce820
test al, al
jne 0x1401cd846
lea edx, [r11 + 1]
mov rcx, rbx
call fcn.1401ce820
test al, al
jne 0x1401cd846
mov rdx, qword [rsi]
add di, bp
jne 0x1401cd7d0
jmp 0x1401cd84e
mov al, 1
jmp 0x1401cd859
mov qword [rbx + 0x78], r15
mov rax, qword [rbx + 0x28]
cmp qword [rbx + 0x30], rax
setae al
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x1401d3970
Capabilities:
Get file size
Read file on windows
Read file via mapping

Disassembly:
push rbx
push rbp
sub rsp, 0x48
mov rbp, rdx
mov rbx, rcx
test rcx, rcx
jne 0x1401d398c
lea eax, [rcx + 0x28]
add rsp, 0x48
pop rbp
pop rbx
ret
mov qword [rsp + 0x68], rsi
xor r9d, r9d
mov qword [rsp + 0x40], r14
mov edx, 0x80000000
xor r14d, r14d
mov rcx, rbp
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], Ordinal_133
mov dword [rsp + 0x20], 3
lea r8d, [r14 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1401d39e0
mov r14, qword [rsp + 0x40]
lea eax, [rsi + 2]
mov rsi, qword [rsp + 0x68]
add rsp, 0x48
pop rbp
pop rbx
ret
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x78], rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1401d3b05
mov rax, qword [rsp + 0x70]
cmp rax, 0x7fffffff
jg 0x1401d3b05
test rax, rax
je 0x1401d3b05
xor r9d, r9d
mov qword [rsp + 0x28], r14
xor edx, edx
mov dword [rsp + 0x20], r14d
mov rcx, rsi
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov rdi, rax
test rax, rax
je 0x1401d3b05
mov ecx, dword [rsp + 0x70]
xor r9d, r9d
mov dword [rbx + 8], ecx
xor r8d, r8d
mov rcx, rax
mov dword [rbx + 0xc], r14d
mov qword [rsp + 0x20], r14
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rcx, rdi
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], r14
je 0x1401d3a7a
lea rax, [0x1401d3b60]
jmp 0x1401d3ad3
mov rcx, qword [rbx + 0x30]
xor edx, edx
movsxd r8, dword [rbx + 8]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
test rax, rax
je 0x1401d3b05
mov edi, r14d
nop dword [rax + rax]
mov r8d, dword [rbx + 8]
lea r9, [rsp + 0x60]
mov edx, edi
sub r8d, edi
add rdx, qword [rbx]
mov rcx, rsi
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1401d3af3
add edi, dword [rsp + 0x60]
cmp edi, dword [rbx + 8]
jne 0x1401d3aa0
lea rax, [0x1401d3b30]
mov rcx, rsi
mov qword [rbx + 0x28], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbx]
mov qword [rbx + 0x10], rax
xor eax, eax
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x20], r14
jmp 0x1401d3b1a
mov rcx, qword [rbx + 0x30]
xor edx, edx
mov r8, qword [rbx]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x51
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x68]
mov r14, qword [rsp + 0x40]
add rsp, 0x48
pop rbp
pop rbx
ret
Function at 0x1401d5380
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rdx
test rdx, rdx
jne 0x1401d538b
xor eax, eax
ret
lea r11, [0x14021ac50]
not ecx
cmp r8d, 8
jb 0x1401d5461
mov r10d, r8d
shr r10, 3
nop word [rax + rax]
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
add r8d, 0xfffffff8
movzx edx, byte [r9 + 1]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 2]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 3]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 4]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 5]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 6]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 7]
add r9, 8
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
sub r10, 1
jne 0x1401d53b0
test r8d, r8d
je 0x1401d548d
nop word [rax + rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
add r8d, 0xffffffff
jne 0x1401d5470
not ecx
mov eax, ecx
ret
Function at 0x180002260
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
cmp dword [0x180020a8c], 0xa
jl 0x180002292
mov eax, dword [0x180020a90]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180002292
nop word cs:[rax + rax]
jmp 0x180002290
mov rax, qword gs:[0x60]
mov rbx, qword [rax + 0x18]
mov eax, dword [0x180020a78]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a74], 0xa
setl r8b
mov edx, dword [0x180020a94]
lea edi, [rdx - 1]
imul edi, edx
test dil, 1
sete dl
cmp dword [0x180020a98], 0xa
setl r9b
mov r14, qword [rbx + 0x10]
lea r10, [rbx + 0x10]
cmp r14, r10
je 0x180002388
or r8b, al
or r9b, dl
lea r11, [rcx - 1]
xor eax, eax
mov rsi, r11
test r8b, r8b
je 0x180002370
nop
cmp byte [rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x180002300
test r9b, r9b
je 0x180002380
sub rsi, rcx
je 0x180002382
mov r15, qword [r14 + 0x60]
xor ebx, ebx
nop word [rax + rax]
movzx edx, word [r15 + rbx*2]
movsx r13d, byte [rcx + rbx]
lea r12d, [rdx - 0x41]
lea ebp, [rdx + 0x20]
cmp r12w, 0x1a
cmovae ebp, edx
lea r12d, [r13 - 0x41]
lea edi, [r13 + 0x20]
cmp r12b, 0x1a
cmovae edi, r13d
cmp ebp, edi
jne 0x18000235d
test dx, dx
je 0x180002382
add rbx, 1
cmp rsi, rbx
jne 0x180002320
jmp 0x180002382
mov r14, qword [r14]
cmp r14, r10
jne 0x1800022f7
jmp 0x18000238a
jmp 0x180002370
jmp 0x180002380
mov rax, qword [r14 + 0x30]
jmp 0x18000238a
xor eax, eax
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140016590
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x140055990], rbx
je 0x1400165dc
cmp rax, rbx
jne 0x1400165cf
mov ebx, 1
mov esi, ebx
jmp 0x1400165e1
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x1400165b4
mov ebx, 1
mov eax, dword [0x140055998]
cmp eax, ebx
jne 0x1400165f7
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x14001665c
mov eax, dword [0x140055998]
test eax, eax
jne 0x140016656
mov dword [0x140055998], ebx
lea r15, [0x140018660]
lea rdi, [0x140018648]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x140016648
test eax, eax
jne 0x14001664c
cmp qword [rdi], 0
je 0x14001663d
mov rax, qword [rdi]
mov rcx, qword [0x1400185c0]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x14001661e
test eax, eax
je 0x14001665c
mov eax, 0xff
jmp 0x140016738
mov dword [0x140055344], ebx
mov eax, dword [0x140055998]
cmp eax, ebx
jne 0x140016683
lea rdx, [0x140018640]
lea rcx, [0x1400185c8]
call sub.msvcrt.dll__initterm
mov dword [0x140055998], 2
test esi, esi
jne 0x140016690
xor eax, eax
xchg qword [0x140055990], rax
cmp qword [0x1400559b0], 0
je 0x1400166c4
lea rcx, [0x1400559b0]
call fcn.140016a70
test eax, eax
je 0x1400166c4
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x1400559b0]
mov r9, qword [0x1400185c0]
call r9
mov r8, qword [0x140055358]
mov rdx, qword [0x140055350]
mov ecx, dword [0x140055348]
call fcn.140004aa0
mov dword [0x140055340], eax
cmp dword [0x140055360], 0
jne 0x1400166f4
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140055344], 0
jne 0x140016709
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140055340]
jmp 0x140016738
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.1401ad000
add rsp, 0x28
jmp 0x140016590

Function at 0x14001695c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400169a8
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400169a0
cmp dword [rcx + 0x3c], edx
jl 0x1400169a0
cmp dword [rcx + 0x3c], 0x10000000
jae 0x1400169a0
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x1400169a8
mov rax, rdx
add rsp, 0x18
ret
Function at 0x140609058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1406091df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140609089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14060906f
add dl, dl
jne 0x140609096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406090f6
xor eax, eax
add dl, dl
jne 0x1406090a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406091ad
add dl, dl
jne 0x1406090b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406090c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406090d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406090dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1406090ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14060907e
mov eax, 1
add dl, dl
jne 0x140609106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140609113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406090fb
sub eax, ebx
mov ebx, 1
jne 0x14060914c
mov ecx, 1
add dl, dl
jne 0x14060912e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14060913b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140609123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14060907e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140609168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140609175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14060915d
cmp eax, 0x7d00
jae 0x14060919b
cmp eax, 0x500
jb 0x140609196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14060907e
cmp eax, 0x7f
ja 0x14060919e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14060907e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1406091d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14060907e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140005b20
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1403d3080]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x28], rdx
xor edi, edi
mov rbp, qword [rdx + 0x10]
lea rcx, [rbp + 2]
movabs rax, 0xaaaaaaaaaaaaaaab
mul rcx
shr rdx, 1
shl rdx, 2
xor r8d, r8d
mov rcx, rsi
call fcn.14000d7a0
mov rdx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x140005b81
mov rdx, qword [rsi]
lea r8, [rbp - 2]
lea r9, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
test r8, r8
je 0x140005c4f
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140005ba2
mov rax, qword [rbx]
movzx eax, byte [rax + rdi]
shr rax, 2
movzx eax, byte [rax + r9]
mov byte [rdx], al
cmp qword [rbx + 0x18], 0xf
jbe 0x140005bc1
mov rax, qword [rbx]
lea rcx, [rdi + rax]
jmp 0x140005bc8
lea rcx, [rbx + rdi]
mov rax, rbx
movsx rcx, byte [rcx]
and ecx, 3
shl rcx, 4
movzx eax, byte [rax + rdi + 1]
shr rax, 4
or rcx, rax
movzx eax, byte [rcx + r9]
mov byte [rdx + 1], al
cmp qword [rbx + 0x18], 0xf
jbe 0x140005bf7
mov rax, qword [rbx]
lea rcx, [rax + 1]
jmp 0x140005bfe
lea rcx, [rbx + 1]
mov rax, rbx
add rcx, rdi
movsx rcx, byte [rcx]
and ecx, 0xf
shl rcx, 2
movzx eax, byte [rax + rdi + 2]
shr rax, 6
or rcx, rax
movzx eax, byte [rcx + r9]
mov byte [rdx + 2], al
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140005c2d
mov rax, qword [rbx]
movsx rax, byte [rax + rdi + 2]
and eax, 0x3f
movzx eax, byte [rax + r9]
mov byte [rdx + 3], al
add rdx, 4
add rdi, 3
cmp rdi, r8
jb 0x140005b95
cmp rdi, rbp
jae 0x140005d00
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140005c65
mov rax, qword [rbx]
movzx eax, byte [rax + rdi]
shr rax, 2
movzx eax, byte [rax + r9]
mov byte [rdx], al
lea rax, [rbp - 1]
cmp rdi, rax
jne 0x140005ca5
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140005c8a
mov rax, qword [rbx]
movsx rax, byte [rax + rdi]
and eax, 3
add rax, rax
movzx eax, byte [r9 + rax*8]
mov byte [rdx + 1], al
mov al, 0x3d
add rdx, 2
jmp 0x140005cfa
cmp qword [rbx + 0x18], 0xf
jbe 0x140005cb5
mov rax, qword [rbx]
lea rcx, [rdi + rax]
jmp 0x140005cbc
lea rcx, [rdi + rbx]
mov rax, rbx
movsx rcx, byte [rcx]
and ecx, 3
shl rcx, 4
movzx eax, byte [rax + rdi + 1]
shr rax, 4
or rcx, rax
movzx eax, byte [rcx + r9]
mov byte [rdx + 1], al
add rdx, 2
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140005cec
mov rax, qword [rbx]
movsx rcx, byte [rax + rdi + 1]
and ecx, 0xf
movzx eax, byte [r9 + rcx*4]
mov byte [rdx], al
mov byte [rdx + 1], 0x3d
mov rcx, rbx
call fcn.140003530
mov rax, rsi
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140161860
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001a7c0
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0xe8]
sub rsp, 0x1e0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x1403d3080]
xor rax, rsp
mov qword [rbp + 0xc0], rax
cmp byte [0x1403ec8e0], 0
jne 0x14001a9e4
movabs rsi, 0x7fffffffffffffff
mov r14d, 0xff
mov edi, dword [rsp + 0x48]
movsd xmm6, qword [rsp + 0x40]
nop
mov eax, dword [reloc.WS2_32.dll_accept]
inc eax
movsxd rbx, eax
lea rcx, [rsp + 0x50]
call fcn.140001c50
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
test rbx, rbx
je 0x14001a875
js 0x14001a875
imul r8, rbx, 0xf4240
mov rdx, rsi
sub rdx, r8
cmp rax, rdx
je 0x14001a870
mov ecx, 1
cmovl ecx, r14d
test cl, cl
jns 0x14001a870
lea rcx, [r8 + rax]
mov qword [rsp + 0x30], rcx
jmp 0x14001a875
mov qword [rsp + 0x30], rsi
lea rcx, [rsp + 0x30]
call fcn.140004c30
cmp byte [0x1403ec790], 0
je 0x14001a9d7
cmp qword [0x140424718], 0
je 0x14001a9d7
lea rcx, [rbp + 0x20]
call fcn.14001aa40
mov qword [rbp + 0xb4], 0
movd xmm1, dword [reloc.WS2_32.dll_ioctlsocket]
cvtdq2ps xmm1, xmm1
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
movzx r9d, byte [0x1403ec798]
mov r8d, dword [0x1403ec7a0]
call fcn.14002a060
test al, al
je 0x14001a9c5
mov ecx, dword [0x1403ec794]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14001a9c5
cmp byte [rbp + 0x60], 0
jne 0x14001a9c5
mov ecx, dword [0x1403ec79c]
test ecx, ecx
je 0x14001a949
sub ecx, 1
je 0x14001a92f
cmp ecx, 1
jne 0x14001a9a2
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.14001ab30
mov r9d, 0x60f2
lea rdx, [rbp - 8]
jmp 0x14001a961
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.14001ab30
mov r9d, 0x9995
lea rdx, [rbp + 4]
jmp 0x14001a961
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.14001ab30
mov r9d, 0x796e
lea rdx, [rbp + 0x10]
movsd xmm0, qword [rbp + 0xa8]
movsd qword [rbp - 0x20], xmm0
mov eax, dword [rbp + 0xb0]
movss xmm0, dword [rbp + 0xb4]
movss xmm1, dword [rbp + 0xb8]
mov dword [rbp - 0x18], eax
movss dword [rbp - 0x14], xmm0
movss dword [rbp - 0x10], xmm1
lea r8, [rsp + 0x58]
call fcn.1400296f0
movsd xmm6, qword [rax]
mov edi, dword [rax + 8]
movsd qword [rsp + 0x40], xmm6
mov dword [rsp + 0x48], edi
mov r9d, dword [0x1403ec7ac]
mov r8d, dword [0x1403ec7a8]
lea rdx, [rsp + 0x40]
call fcn.14002a830
nop
lea rcx, [rbp + 0x68]
call fcn.140005190
lea rcx, [rbp + 0x38]
call fcn.140003530
cmp byte [0x1403ec8e0], 0
je 0x14001a820
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.140161860
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret
Function at 0x14001ac30
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r12, r8
mov r14, rdx
mov rsi, rcx
movzx r13d, byte [r8]
movabs rax, 0xcbf29ce484222325
xor r13, rax
movabs rcx, 0x100000001b3
imul r13, rcx
movzx eax, byte [r8 + 1]
xor r13, rax
imul r13, rcx
movzx eax, byte [r8 + 2]
xor r13, rax
imul r13, rcx
movzx eax, byte [r8 + 3]
xor r13, rax
imul r13, rcx
mov rcx, qword [rsi + 0x30]
and rcx, r13
add rcx, rcx
mov rax, qword [rsi + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
lea rdx, [rsi + 8]
mov r15, qword [rdx]
cmp rbx, r15
jne 0x14001acb7
mov rbx, r15
mov rbp, r15
jmp 0x14001acfa
mov rcx, qword [rax + rcx*8]
mov eax, dword [r8]
cmp eax, dword [rbx + 0x10]
je 0x14001acd1
cmp rbx, rcx
je 0x14001acf4
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x14001acc3
mov qword [r14], rbx
mov byte [r14 + 8], 0
mov rax, r14
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r15, rbx
mov rbp, rbx
movabs rax, 0xaaaaaaaaaaaaaaa
cmp qword [rsi + 0x10], rax
jne 0x14001ad18
lea rcx, [0x1401bb370]
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], 0
mov ecx, Ordinal_27
call fcn.140161880
mov rdi, rax
mov qword [rsp + 0x28], rax
mov rax, qword [r12]
mov qword [rdi + 0x10], rax
mov rdx, qword [rsi + 0x10]
add rdx, 1
xorps xmm0, xmm0
js 0x14001ad54
cvtsi2ss xmm0, rdx
jmp 0x14001ad6c
mov rcx, rdx
shr rcx, 1
mov rax, rdx
and eax, 1
or rcx, rax
cvtsi2ss xmm0, rcx
addss xmm0, xmm0
mov rcx, qword [rsi + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x14001ad7f
cvtsi2ss xmm1, rcx
jmp 0x14001ad94
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rsi]
seta al
test al, al
je 0x14001ae09
mov rcx, rsi
call fcn.14001b030
mov rdx, rax
mov rcx, rsi
call fcn.14001ae80
mov rdx, r13
and rdx, qword [rsi + 0x30]
add rdx, rdx
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx + rdx*8 + 8]
mov rbx, qword [rsi + 8]
cmp rax, rbx
jne 0x14001addc
mov qword [rsp + 0x28], 0
jmp 0x14001adfc
mov rdx, qword [rcx + rdx*8]
mov ecx, dword [rdi + 0x10]
cmp ecx, dword [rax + 0x10]
je 0x14001adf9
mov rbx, rax
cmp rax, rdx
je 0x14001ae3d
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x14001ade8
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rbp, rbx
mov r15, qword [rsp + 0x20]
mov rdx, qword [rbx + 8]
inc qword [rsi + 0x10]
mov qword [rdi], r15
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rcx, qword [rsi + 0x18]
mov rax, qword [rsi + 0x30]
and rax, r13
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [rsi + 8]
jne 0x14001ae4d
mov qword [rcx + rax*8], rdi
jmp 0x14001ae5f
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0
jmp 0x14001ae01
cmp r8, rbp
jne 0x14001ae58
mov qword [rcx + rax*8], rdi
jmp 0x14001ae64
cmp qword [rcx + rax*8 + 8], rdx
jne 0x14001ae64
mov qword [rcx + rax*8 + 8], rdi
mov qword [r14], rdi
mov byte [r14 + 8], 1
jmp 0x14001acd9
Function at 0x14001ae80
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 0x14001aeb5
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.140003740
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 0x14001aff6
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 0x14001af70
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x14001afe5
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14001afad
mov r10, qword [rdx]
cmp r10, rax
je 0x14001afa7
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 0x14001afe5
cmp r9, rdx
je 0x14001afc1
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x14001b007
cmp r9, rdx
jne 0x14001afb2
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 0x14001af20
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 0x14001afe5

Function at 0x14001b0d0
Capabilities:
Hash data using fnv

Disassembly:
mov rcx, qword [rcx]
test rcx, rcx
jne fcn.14001b0e0
ret