joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002efa0
Capabilities:
Convert ip address from string

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r15
sub rsp, 0x58
mov rax, qword [0x1400f7028]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebx, ebx
mov qword [rsp + 0x28], rcx
cmp qword [rcx + 0x20], 0x10
lea rsi, [rcx + 8]
mov rbp, rdx
mov byte [rsp + 0x20], 0
mov edi, 2
mov r15d, ebx
mov rdx, rsi
jb 0x14002efe4
mov rdx, qword [rsi]
lea r8, [rsp + 0x38]
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
je 0x14002f000
mov r15d, reloc.WS2_32.dll_recv
jmp 0x14002f024
cmp qword [rsi + 0x18], 0x10
jb 0x14002f00a
mov rsi, qword [rsi]
lea r8, [rsp + 0x30]
mov rdx, rsi
mov ecx, edi
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
je 0x14002f029
mov r15d, 4
mov edi, 7
xor r9d, r9d
xor r8d, r8d
mov rcx, rbp
lea edx, [r9 + 0x55]
call qword [sym.imp.libcrypto_1_1_x64.dll_X509_get_ext_d2i]
mov r12, rax
test rax, rax
je 0x14002f115
mov qword [rsp + 0xa0], r13
mov rcx, rax
mov qword [rsp + 0x50], r14
xor r13b, r13b
xor r14b, r14b
call qword [sym.imp.libcrypto_1_1_x64.dll_OPENSSL_sk_num]
mov dword [rsp + 0x24], eax
test eax, eax
jle 0x14002f108
test r14b, r14b
jne 0x14002f103
mov edx, ebx
mov rcx, r12
call qword [sym.imp.libcrypto_1_1_x64.dll_OPENSSL_sk_value]
mov rsi, rax
cmp dword [rax], edi
jne 0x14002f0ed
mov rcx, qword [rax + 8]
call qword [sym.imp.libcrypto_1_1_x64.dll_ASN1_STRING_get0_data]
mov rcx, qword [rsi + 8]
mov rbp, rax
call qword [sym.imp.libcrypto_1_1_x64.dll_ASN1_STRING_length]
movsxd r8, eax
cmp edi, 2
je 0x14002f0dc
cmp edi, 7
jne 0x14002f0ed
mov r8, r15
lea rcx, [rsp + 0x38]
mov rdx, rbp
call sub.ntdll.dll_memcmp
test eax, eax
je 0x14002f0d7
mov r8, r15
lea rcx, [rsp + 0x30]
mov rdx, rbp
call sub.ntdll.dll_memcmp
test eax, eax
jne 0x14002f0ed
mov r13b, 1
jmp 0x14002f0ed
mov rcx, qword [rsp + 0x28]
mov rdx, rbp
call fcn.14002f140
movzx r14d, al
inc ebx
cmp ebx, dword [rsp + 0x24]
jl 0x14002f070
test r14b, r14b
jne 0x14002f103
test r13b, r13b
je 0x14002f108
mov byte [rsp + 0x20], 1
mov r13, qword [rsp + 0xa0]
mov r14, qword [rsp + 0x50]
mov rcx, r12
call qword [sym.imp.libcrypto_1_1_x64.dll_GENERAL_NAMES_free]
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400c94e0
add rsp, 0x58
pop r15
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400318a0
Capabilities:
Encrypt data using dpapi

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x1400f7028]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rbx, rdx
mov rdi, rcx
mov qword [r11 - 0x40], rcx
mov qword [r11 - 0x18], rdx
mov dword [rsp + 0x40], 1
mov rcx, qword [rdx]
mov qword [r11 - 0x30], rcx
mov rax, qword [rdx + 8]
sub rax, rcx
mov dword [rsp + 0x50], eax
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
xor esi, esi
mov qword [rdi], rsi
mov qword [rdi + 8], rsi
mov qword [rdi + 0x10], rsi
mov dword [rsp + 0x40], 1
lea rax, [r11 - 0x28]
mov qword [r11 - 0x58], rax
mov dword [rsp + 0x28], esi
mov qword [r11 - 0x68], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [r11 - 0x38]
call qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x14003193e
mov r8d, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
mov rcx, rdi
call fcn.14003b1b0
nop
mov rcx, qword [rbx]
test rcx, rcx
je 0x14003197e
mov rdx, qword [rbx + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x14003196e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400319a3
mov rcx, r8
call fcn.1400c9500
mov qword [rbx], rsi
mov qword [rbx + 8], rsi
mov qword [rbx + 0x10], rsi
mov rax, rdi
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400c94e0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3

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

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x140033c54
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140033c40
ret
Function at 0x140035490
Capabilities:
Resolve dns
Set socket configuration

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0xa0
mov rax, qword [0x1400f7028]
xor rax, rsp
mov qword [rbp - 1], rax
mov rsi, qword [rbp + 0x77]
mov qword [rbp - 0x69], rsi
mov r15, qword [rbp + 0x7f]
xor r12d, r12d
mov ebx, r12d
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x21], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x11], xmm1
mov qword [rbp - 0x29], 1
cmp qword [rdx + 0x10], r12
je 0x1400354fc
mov rbx, rdx
cmp qword [rdx + 0x18], 0x10
jb 0x1400354f2
mov rbx, qword [rdx]
mov qword [rbp - 0x31], 4
jmp 0x140035517
cmp qword [rcx + 0x10], rbx
je 0x14003550f
mov rbx, rcx
cmp qword [rcx + 0x18], 0x10
jb 0x14003550f
mov rbx, qword [rcx]
mov dword [rbp - 0x2d], r9d
mov dword [rbp - 0x31], r12d
mov edx, r8d
lea rcx, [rbp - 0x51]
call fcn.140021be0
nop
lea rdx, [rbp - 0x51]
cmp qword [rbp - 0x39], 0x10
cmovae rdx, qword [rbp - 0x51]
lea r9, [rbp - 0x61]
lea r8, [rbp - 0x31]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x140035645
mov rbx, qword [rbp - 0x61]
test rbx, rbx
je 0x14003563b
movzx r14d, byte [rbp + 0x6f]
nop dword [rax]
mov dword [rsp + 0x28], 0x81
mov dword [rsp + 0x20], r12d
xor r9d, r9d
mov r8d, dword [rbx + 0xc]
mov edx, dword [rbx + 8]
mov ecx, dword [rbx + 4]
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400355a6
mov r8d, dword [rbx + 0xc]
mov edx, dword [rbx + 8]
mov ecx, dword [rbx + 4]
call qword [sym.imp.WS2_32.dll_socket]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14003562a
test r14b, r14b
je 0x1400355d0
mov dword [rbp - 0x59], 1
mov dword [rsp + 0x20], 4
lea r9, [rbp - 0x59]
mov edx, 6
lea r8d, [rdx - 5]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x1400355e7
mov qword [rbp - 0x59], rdi
mov rax, qword [rcx]
lea rdx, [rbp - 0x59]
call qword [rax + reloc.WS2_32.dll_recv]
cmp dword [rbx + 4], 0x17
jne 0x14003560f
mov dword [rbp - 0x59], r12d
mov dword [rsp + 0x20], 4
lea r9, [rbp - 0x59]
mov edx, 0x29
lea r8d, [rdx - 0xe]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_setsockopt]
mov r8, rbx
mov rdx, rdi
mov rcx, r15
call fcn.140023790
test al, al
jne 0x14003568d
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x140035560
mov rbx, qword [rbp - 0x61]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
nop
lea rcx, [rbp - 0x51]
call fcn.14000a3f0
nop
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x140035668
cmp rcx, rsi
mov rax, qword [rcx]
setne dl
call qword [rax + 0x20]
mov qword [rsi + 0x38], r12
mov rax, 0xffffffffffffffff
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.1400c94e0
add rsp, 0xa0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rcx, qword [rbp - 0x61]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
nop
lea rcx, [rbp - 0x51]
call fcn.14000a3f0
nop
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x1400356bb
mov rax, qword [rcx]
cmp rcx, rsi
setne dl
call qword [rax + 0x20]
mov qword [rsi + 0x38], r12
mov rax, rdi
jmp 0x14003566f
Function at 0x140037b40
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rax, qword [0x1400f7028]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rbp, rcx
mov r15, r9
mov rcx, r8
mov rsi, r8
mov rdi, rdx
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x140037cd9
mov eax, dword [rsi + 0x4c]
cmp eax, 0x7fffffff
je 0x140037c97
mov rcx, rdi
call qword [sym.imp.libssl_1_1_x64.dll_SSL_new]
mov rcx, rsi
mov rdi, rax
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
test rdi, rdi
je 0x140037c56
lea r8, [rsp + 0x20]
mov dword [rsp + 0x20], 1
mov edx, 0x8004667e
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_ioctlsocket]
xor edx, edx
mov ecx, ebp
call qword [sym.imp.libcrypto_1_1_x64.dll_BIO_new_socket]
xor r9d, r9d
mov rcx, rax
mov r14, rax
lea edx, [r9 + 0x66]
lea r8d, [r9 + 1]
call qword [sym.imp.libcrypto_1_1_x64.dll_BIO_ctrl]
mov r8, r14
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.libssl_1_1_x64.dll_SSL_set_bio]
mov r9, qword [rsp + 0x80]
add r9, 8
cmp qword [r9 + 0x18], 0x10
jb 0x140037c09
mov r9, qword [r9]
xor r8d, r8d
mov rcx, rdi
lea edx, [r8 + 0x37]
call qword [sym.imp.libssl_1_1_x64.dll_SSL_ctrl]
mov rdx, rdi
mov rcx, r15
call fcn.14002eb40
cmp al, 1
jne 0x140037c77
xor r9d, r9d
xor r8d, r8d
mov rcx, r14
lea edx, [r9 + 0x66]
call qword [sym.imp.libcrypto_1_1_x64.dll_BIO_ctrl]
lea r8, [rsp + 0x20]
mov dword [rsp + 0x20], 0
mov edx, 0x8004667e
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov rax, rdi
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400c94e0
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rcx, rdi
call qword [sym.imp.libssl_1_1_x64.dll_SSL_shutdown]
mov rcx, rsi
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x140037cd9
mov eax, dword [rsi + 0x4c]
cmp eax, 0x7fffffff
jne 0x140037ca8
dec eax
mov ecx, 6
mov dword [rsi + 0x4c], eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov rcx, rdi
call qword [sym.imp.libssl_1_1_x64.dll_SSL_free]
mov rcx, rsi
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
lea r8, [rsp + 0x20]
mov dword [rsp + 0x20], 0
mov edx, 0x8004667e
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_ioctlsocket]
xor eax, eax
jmp 0x140037c59
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x14003dea0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rdi, r8
mov rsi, rdx
sub rdi, rdx
mov rbp, rcx
sar rdi, 2
test rdi, rdi
je 0x14003e07f
mov qword [rsp + 0x60], rbx
mov rbx, qword [rcx + 8]
sub rbx, qword [rcx]
mov qword [rsp + 0x30], r13
sar rbx, 2
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
cmp rdi, 0x26f
jb 0x14003def0
mov eax, reloc.WS2_32.dll_inet_addr
jmp 0x14003df1e
cmp rdi, 0x44
jb 0x14003defd
mov eax, 7
jmp 0x14003df1e
cmp rdi, 0x27
jb 0x14003df0a
mov eax, 5
jmp 0x14003df1e
cmp rdi, 7
jb 0x14003df17
mov eax, 3
jmp 0x14003df1e
lea rax, [rdi - 1]
shr rax, 1
mov r14, rdi
lea r15, [rbx + 1]
sub r14, rax
shr r14, 1
lea r13, [r14 + rax]
cmp rdi, rbx
jbe 0x14003df37
mov r15, rdi
mov r8, rdi
mov edx, 0x8b8b8b8b
shl r8, 2
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
xor ecx, ecx
test r15, r15
je 0x14003dfef
mov qword [rsp + 0x38], r12
nop dword [rax + rax]
xor edx, edx
lea rax, [rcx + r14]
div rdi
mov r11d, dword [rsi + rdx*4]
lea r10, [rsi + rdx*4]
xor edx, edx
mov rax, rcx
div rdi
lea r12, [rsi + rdx*4]
mov r9, rdx
lea rax, [rcx - 1]
xor edx, edx
div rdi
mov r8d, dword [rsi + rdx*4]
xor r8d, dword [r12]
xor r8d, r11d
mov eax, r8d
shr eax, 0x1b
xor eax, r8d
imul edx, eax, 0x19660d
test rcx, rcx
jne 0x14003dfad
mov rax, rbx
jmp 0x14003dfc2
cmp rcx, rbx
ja 0x14003dfbf
mov rax, qword [rbp]
mov eax, dword [rax + rcx*4 - 4]
add rax, r9
jmp 0x14003dfc2
mov rax, r9
lea r8d, [rax + rdx]
lea eax, [r11 + rdx]
xor edx, edx
mov dword [r10], eax
lea rax, [rcx + r13]
div rdi
inc rcx
add dword [rsi + rdx*4], r8d
mov dword [r12], r8d
cmp rcx, r15
jb 0x14003df60
mov r12, qword [rsp + 0x38]
add r15, rdi
cmp rcx, r15
jae 0x14003e06b
inc r14
lea rbp, [rcx - 1]
inc r13
xor edx, edx
lea rax, [r14 + rbp]
div rdi
mov r10d, dword [rsi + rdx*4]
lea r11, [rsi + rdx*4]
xor edx, edx
lea rbx, [rbp + 1]
mov rax, rbx
div rdi
mov rax, rbp
mov r9, rdx
xor edx, edx
div rdi
mov ecx, dword [rsi + rdx*4]
xor edx, edx
add ecx, r10d
add ecx, dword [rsi + r9*4]
mov eax, ecx
shr eax, 0x1b
xor eax, ecx
imul ecx, eax, 0x5d588b65
mov rax, rbp
add rax, r13
mov rbp, rbx
div rdi
xor r10d, ecx
lea rax, [rbx + 1]
mov dword [r11], r10d
mov r8d, ecx
sub r8d, r9d
xor dword [rsi + rdx*4], r8d
mov dword [rsi + r9*4], r8d
cmp rax, r15
jb 0x14003e001
mov r14, qword [rsp + 0x28]
mov r13, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x60]
mov r15, qword [rsp + 0x20]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x140040890
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
lea rbx, [r8 + r9]
mov r10, r8
lea rdi, [0x1400d1500]
mov r11, rbx
cmp r9, 3
jb 0x14004096e
sub rbx, 3
cmp r8, rbx
ja 0x14004096e
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r10]
mov r8, qword [rdx + 8]
mov rcx, qword [rdx]
shr rax, 2
movzx eax, byte [rax + rdi]
mov byte [r8 + rcx], al
inc qword [rdx + 8]
movzx eax, byte [r10]
mov r9, qword [rdx + 8]
and al, 3
mov rcx, qword [rdx]
shl al, 4
movzx r8d, al
movzx eax, byte [r10 + 1]
shr rax, 4
or r8, rax
movzx eax, byte [r8 + rdi]
mov byte [r9 + rcx], al
inc qword [rdx + 8]
movzx eax, byte [r10 + 1]
mov r9, qword [rdx + 8]
and al, 0xf
mov rcx, qword [rdx]
shl al, 2
movzx r8d, al
movzx eax, byte [r10 + 2]
shr rax, 6
or r8, rax
movzx eax, byte [r8 + rdi]
mov byte [r9 + rcx], al
inc qword [rdx + 8]
movzx eax, byte [r10 + 2]
add r10, 3
mov r8, qword [rdx + 8]
and eax, 0x3f
mov rcx, qword [rdx]
movzx eax, byte [rax + rdi]
mov byte [r8 + rcx], al
inc qword [rdx + 8]
cmp r10, rbx
jbe 0x1400408d0
cmp r11, r10
jbe 0x140040a56
sub r11, r10
je 0x140040aa3
cmp r11, 3
jge 0x140040aa3
cmp r11b, 1
jne 0x140040995
mov r9b, 2
jmp 0x1400409a2
cmp r11b, 2
jne 0x140040aaa
mov r9b, 3
movzx eax, byte [r10]
mov r8, qword [rdx + 8]
mov rcx, qword [rdx]
shr rax, 2
movzx eax, byte [rax + rdi]
mov byte [r8 + rcx], al
mov r8, qword [rdx + 8]
mov rcx, qword [rdx]
inc r8
mov qword [rdx + 8], r8
movzx eax, byte [r10]
and al, 3
shl al, 4
movzx r11d, al
cmp r9b, 2
jne 0x1400409e5
movzx eax, byte [r11 + rdi]
mov byte [r8 + rcx], al
jmp 0x140040a22
movzx eax, byte [r10 + 1]
shr rax, 4
or rax, r11
movzx eax, byte [rax + rdi]
mov byte [r8 + rcx], al
mov r11, qword [rdx + 8]
mov rcx, qword [rdx]
inc r11
mov qword [rdx + 8], r11
movzx eax, byte [r10 + 1]
and al, 0xf
shl al, 2
cmp r9b, 3
jne 0x140040a61
movzx eax, al
movzx eax, byte [rax + rdi]
mov byte [r11 + rcx], al
mov r8, qword [rdx + 8]
movzx eax, r9b
inc r8
mov r9d, 4
mov qword [rdx + 8], r8
sub r9d, eax
nop word [rax + rax]
mov rax, qword [rdx]
mov byte [r8 + rax], 0x3d
inc qword [rdx + 8]
mov r8, qword [rdx + 8]
sub r9, 1
jne 0x140040a40
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
movzx r8d, al
movzx eax, byte [r10 + 2]
shr rax, 6
or r8, rax
movzx eax, byte [r8 + rdi]
mov byte [r11 + rcx], al
mov r8, qword [rdx + 8]
mov rcx, qword [rdx]
inc r8
mov qword [rdx + 8], r8
movzx eax, byte [r10 + 2]
and eax, 0x3f
movzx eax, byte [rax + rdi]
mov byte [r8 + rcx], al
inc qword [rdx + 8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
lea rdx, str.invalid_number_of_bytes_in_a_tail_block
lea rcx, [rsp + 0x20]
call fcn.140021d20
lea rdx, [0x1400f1dc0]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x140043400
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 0x1400434cc
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x1400434cc
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 0x1400434e5
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 0x1400434bc
cmp byte [rax], 0x5c
jne 0x1400434b6
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x1400434b6
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x1400434a2
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x1400434b3
test r8b, 0x10
jne 0x1400434b6
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x1400434b6
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.14003d660
test edi, edi
jne 0x140043420
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.14003d650
int3

Function at 0x140050350
Capabilities:
Hash data using fnv

Disassembly:
movzx r9d, byte [r8]
mov r10, rcx
mov r11, rdx
movabs rax, 0xcbf29ce484222325
xor r9, rax
movabs rcx, 0x100000001b3
movzx eax, byte [r8 + 1]
mov rdx, qword [r10 + 0x30]
imul r9, rcx
xor r9, rax
imul r9, rcx
and rdx, r9
mov r9, qword [r10 + 8]
shl rdx, 4
add rdx, qword [r10 + 0x18]
mov rax, qword [rdx + 8]
cmp rax, r9
je 0x1400503cd
movzx ecx, word [r8]
mov rdx, qword [rdx]
cmp cx, word [rax + 0x10]
je 0x1400503cf
nop word [rax + rax]
cmp rax, rdx
je 0x1400503cd
mov rax, qword [rax + 8]
cmp cx, word [rax + 0x10]
jne 0x1400503b0
test rax, rax
cmove rax, r9
mov qword [r11], rax
mov rax, r11
ret
xor eax, eax
test rax, rax
cmove rax, r9
mov qword [r11], rax
mov rax, r11
ret
Function at 0x140054ab0
Capabilities:
Hash data using fnv

Disassembly:
test dl, dl
mov word [rsp + 8], cx
movzx edx, cl
movabs rax, 0xcbf29ce484222325
movabs r8, 0x100000001b3
je 0x140054b40
mov r9, qword [0x14012d5e8]
xor rdx, rax
movzx eax, byte [rsp + 9]
imul rdx, r8
xor rdx, rax
imul rdx, r8
mov r8, qword [0x14012d610]
and r8, rdx
mov rdx, qword [0x14012d5f8]
add r8, r8
mov rax, qword [rdx + r8*8 + 8]
cmp rax, r9
je 0x140054b23
mov rdx, qword [rdx + r8*8]
cmp cx, word [rax + 0x10]
je 0x140054b25
cmp rax, rdx
je 0x140054b23
mov rax, qword [rax + 8]
cmp cx, word [rax + 0x10]
jne 0x140054b12
jmp 0x140054b25
xor eax, eax
test rax, rax
mov rcx, r9
cmovne rcx, rax
cmp rcx, r9
je 0x140054ba8
movss xmm0, dword [rcx + 0x14]
ret
mov r9, qword [0x14012d858]
xor rdx, rax
movzx eax, byte [rsp + 9]
imul rdx, r8
xor rdx, rax
imul rdx, r8
mov r8, qword [0x14012d848]
and rdx, qword [0x14012d870]
add rdx, rdx
mov rax, qword [r9 + rdx*8 + 8]
cmp rax, r8
je 0x140054b91
mov rdx, qword [r9 + rdx*8]
cmp cx, word [rax + 0x10]
je 0x140054b93
nop
cmp rax, rdx
je 0x140054b91
mov rax, qword [rax + 8]
cmp cx, word [rax + 0x10]
jne 0x140054b80
jmp 0x140054b93
xor eax, eax
test rax, rax
mov rcx, r8
cmovne rcx, rax
cmp rcx, r8
je 0x140054ba8
movss xmm0, dword [rcx + 0x14]
ret
movss xmm0, dword [0x1400ddfd8]
ret

Function at 0x140055e10
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x48
mov rax, qword [0x1400f7028]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], ecx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x20]
test ax, ax
jns 0x140055e74
call fcn.14005a510
mov rcx, qword [rax]
cmp byte [rcx + 0x14], 0
jne 0x140055e80
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x20]
call fcn.14005a510
mov rcx, qword [rax]
mov al, 1
mov byte [rcx + 0x14], 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400c94e0
add rsp, 0x48
ret
call fcn.14005a510
mov rcx, qword [rax]
mov byte [rcx + 0x14], 0
xor al, al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400c94e0
add rsp, 0x48
ret
Function at 0x140056a50
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xc0
mov rax, qword [0x1400f7028]
xor rax, rsp
mov qword [rsp + 0xb0], rax
xor esi, esi
mov qword [rsp + 0x28], rcx
mov rdi, rcx
cmp dl, 7
jae 0x140056b39
cmp dl, 1
jne 0x140056aa5
xorps xmm0, xmm0
lea r8d, [rsi + 2]
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rsi
lea rdx, [0x1400d87f8]
mov qword [rcx + 0x18], rsi
jmp 0x140056bd7
cmp dl, 2
jne 0x140056aca
xorps xmm0, xmm0
lea rdx, [0x1400d8800]
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rsi
mov r8d, 2
mov qword [rcx + 0x18], rsi
jmp 0x140056bd7
cmp dl, 4
jne 0x140056aef
xorps xmm0, xmm0
lea rdx, [0x1400d87fc]
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rsi
mov r8d, 2
mov qword [rcx + 0x18], rsi
jmp 0x140056bd7
cmp dl, 5
jne 0x140056b14
xorps xmm0, xmm0
lea rdx, [0x1400d8808]
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rsi
mov r8d, 2
mov qword [rcx + 0x18], rsi
jmp 0x140056bd7
cmp dl, 6
jne 0x140056b39
xorps xmm0, xmm0
lea rdx, [0x1400d8804]
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rsi
mov r8d, 2
mov qword [rcx + 0x18], rsi
jmp 0x140056bd7
mov qword [rsp + 0xe0], rbx
movzx ebx, dl
xor edx, edx
mov ecx, ebx
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
add ebx, 0xffffffdf
cmp ebx, 0x84
ja case.0x140056b77.41
lea r8, [0x140000000]
movsxd rcx, ebx
movzx ecx, byte [r8 + rcx + 0x56c08]
mov edx, dword [r8 + rcx*4 + 0x56c00]
add rdx, r8
jmp rdx
bts eax, 8
shl eax, 0x10
lea rdx, [rsp + 0x30]
mov ecx, eax
mov r8d, 0x80
call qword [sym.imp.USER32.dll_GetKeyNameTextA]
mov rbx, qword [rsp + 0xe0]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
test eax, eax
jne 0x140056bba
lea r8d, [rax + 5]
lea rdx, str.unkwn
jmp 0x140056bd4
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], sil
jne 0x140056bc6
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140003340
mov rax, rdi
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400c94e0
mov rsi, qword [rsp + 0xe8]
add rsp, 0xc0
pop rdi
ret
Function at 0x14005a7f0
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 0x14005a821
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 [0x14012d888]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x14012d898]
lea rdx, [rdi + rdi]
call fcn.14000a8c0
mov rax, qword [0x14012d888]
lea r9, [rdi - 1]
mov qword [0x14012d8b0], r9
mov qword [0x14012d8b8], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x14005a994
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 [0x14012d898]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14005a8e0
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x14005a955
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14005a91d
mov r10, qword [rdx]
cmp r10, rax
je 0x14005a917
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 0x14005a955
cmp r9, rdx
je 0x14005a931
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x14005a969
cmp r9, rdx
jne 0x14005a922
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 0x14005a98f
mov r9, qword [0x14012d8b0]
jmp 0x14005a891
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 0x14005a955
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret