joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007fd50
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14007fd5d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14007fd6d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14007fd55
lea eax, [rcx + 1]
jmp 0x14007fd7b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14007fd8e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14007fd74
sub eax, 3
jb 0x14007fdae
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14007fdfd
sar eax, 1
movsxd rbp, eax
jb 0x14007fde4
jmp 0x14007fdbc
add ebx, ebx
jne 0x14007fdba
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14007fde4
inc ecx
add ebx, ebx
jne 0x14007fdca
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14007fde4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14007fddd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14007fdcc
add ecx, 2
jmp 0x14007fde9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.14007fd12
jmp 0x14007fd5d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x55200
mov dl, 0x12
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14007fe49
cmp rsi, rcx
jae 0x14007fe51
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14007fe30
cmp al, 0x8f
ja 0x14007fe30
cmp byte [rsi - 2], 0xf
je 0x14007fe36
sub al, 0xe8
cmp al, 1
ja 0x14007fe1a
cmp rsi, rcx
jae 0x14007fe51
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14007fe20
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14007fe51
lodsb al, byte [rsi]
jmp 0x14007fe30
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x7c000]
mov eax, dword [rdi]
or eax, eax
je 0x14007feae
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x8049c]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14007fe5e
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14007fea8
mov qword [rbx], rax
add rbx, 8
jmp 0x14007fe7e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14007fee8
cmp al, 0xef
ja 0x14007feda
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14007feba
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14007fec9
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x237]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14007ff3c
sub rsp, 0xffffffffffffff80
jmp 0x14003976c
Function at 0x140001070
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x58
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor eax, eax
mov dword [rsp + 0x20], 0x65006b
lea rdx, [rsp + 0x20]
mov word [rsp + 0x38], ax
lea rcx, str.k_Handle:__s_n
mov dword [rsp + 0x24], 0x6e0072
mov dword [rsp + 0x28], 0x6c0065
mov dword [rsp + 0x2c], 0x320033
mov dword [rsp + 0x30], 0x64002e
mov dword [rsp + 0x34], 0x6c006c
call fcn.140001010
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400010f0
add rsp, 0x58
ret

Function at 0x1400019b0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400019fa
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400019fa
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400019fa
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400019fa
cmp dword [rcx + 0x84], 0xe
jbe 0x1400019fa
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400019fc
xor al, al
add rsp, 0x28
ret
Function at 0x140001bf0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x140001c51
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x140001c10
mov ecx, dword [r9]
jmp 0x140001d3b
cmp ecx, 0x4e0
jb 0x140001d3b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140001c70
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140001cc0
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret

Function at 0x140002710
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000275a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000275a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000275a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000275a
cmp dword [rcx + 0x84], 0xe
jbe 0x14000275a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000275c
xor al, al
add rsp, 0x28
ret
Function at 0x114a7b0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x114a7bd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x114a7cd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x114a7b5
lea eax, [rcx + 1]
jmp 0x114a7db
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x114a7ee
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x114a7d4
sub eax, 3
jb 0x114a80e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x114a85d
sar eax, 1
movsxd rbp, eax
jb 0x114a844
jmp 0x114a81c
add ebx, ebx
jne 0x114a81a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x114a844
inc ecx
add ebx, ebx
jne 0x114a82a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x114a844
call r11
adc ecx, ecx
add ebx, ebx
jne 0x114a83d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x114a82c
add ecx, 2
jmp 0x114a849
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.0114a772
jmp 0x114a7bd
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xd38000]
mov eax, dword [rdi]
or eax, eax
je 0x114a8b9
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xd4a000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x114a869
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x114a8b3
mov qword [rbx], rax
add rbx, 8
jmp 0x114a889
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x114a8fd
cmp al, 0xef
ja 0x114a8e5
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x114a8c5
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x114a8d4
mov eax, dword [rdi]
add rdi, 4
jmp 0x114a8d4
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x114a951
sub rsp, 0xffffffffffffff80
jmp 0x472700
Function at 0x14001509c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x14001511a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140015111
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x140015111
mov rax, qword [rbp - 8]
jmp 0x14001512f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x1400150e4
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x14091cebc
Capabilities:
Encode data using xor

Disassembly:
call fcn.14091fc4c
mov r10d, 0xa01bc927
mov r10, qword [rbp + riz]
mov r11d, 0x59a37b11
mov r11, qword [rbp + r11 - 0x59a37b09]
add rbp, 0xc
xor edx, edx
push 0xffffffffbb1acb35
jmp 0x14093f014
test r11, r11
push 0xffffffffa4219193
lea rsp, [rsp + 0x10]
je 0x14093f076
mov ecx, 0xc290e384
movzx ebx, cx
add ecx, ecx
lea rbx, [0x140954128]
mov ecx, 0xca2ab303
push rcx
movzx ecx, byte [r10]
xor ecx, edx
push 0x5534b736
and ecx, 0xff
mov ecx, dword [rbx + rcx*4]
neg dword [rsp + 7]
shr edx, 8
neg byte [rsp + 8]
xor edx, ecx
inc r10
xor edx, 0xbba723ba
dec r11
lea rsp, [rsp + 0x10]
jne 0x14093f038
jmp 0x14094e6b4
call fcn.140936c23

Function at 0x14091d35c
Capabilities:
Encode data using xor

Disassembly:
xor ebp, ebp
test r9, r9
mov qword [rsp], 0xffffffffe70e7a9e
lea rsp, [rsp + 8]
je 0x140910ec0
push rsi
mov esi, 0xbe1e769d
push rdi
jmp 0x140916931

Function at 0x140944fcc
Capabilities:
Encode data using xor

Disassembly:
adc rbp, 0xc
xor ecx, ecx
push 0xffffffff9ea18fa7
test rax, rax
lea rsp, [rsp + 8]
je 0x14091108a
lea r10, [0x140911798]
movzx edx, byte [r9]
push 0xffffffffb1280eae
xor edx, ecx
sal byte [rsp + 7], 0xe3
and edx, 0xff
mov edx, dword [r10 + rdx*4]
shr ecx, 8
xor ecx, edx
inc r9
inc qword [rsp]
xor ecx, 0xf43cf731
dec rax
lea rsp, [rsp + 8]
jne 0x140911050
call fcn.14092e632
adc rbp, 4
and ecx, edx
jmp 0x140944fc5
not ecx
call fcn.1409245f1
mov r9d, 0xdb8d4b3f
mov r9, qword [rbp + riz]
mov eax, 0x1d0334b1
not ax
sar al, 0x45
mov rax, qword [rbp + rax*4 - 0x740f2c00]
jae 0x14091102d
Function at 0x14000f880
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x14000f8a8
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14000f8ce
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14000f8d0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14000f929
test ecx, ecx
jle 0x14000f909
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x14000f929
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14000f929
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x14000f950
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x14000f972
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x14000f988
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14000f9a4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000f9a6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000f9e2
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14000fa7e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14000fa1d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14000fa5e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14000fa7e
cmp rbx, rax
ja 0x14000fa30
test rbx, rbx
je 0x14000fa7e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x14000fed0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140321090]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000fefd
xor eax, eax
jmp 0x14001005a
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x14000ff28
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x14000ff28
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], dil
mov eax, edi
jmp 0x14001005a
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14001004d
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x14000ff6b
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
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
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x14000ff96
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140010052
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140010005
sub eax, 1
je 0x140010005
cmp eax, 2
jne 0x14001004d
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
iretd
mov eax, ecx
jmp 0x140010052
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140010033
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14001004d
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140010052
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400efb60
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140011f30
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140321090]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140012003
cmp byte [rcx + 0x71], 0
je 0x140012003
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x140011fff
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140011fc4
sub eax, 1
je 0x140011fc8
cmp eax, 2
jne 0x140011fff
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400efb60
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140011ff6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140011fff
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140011fac
xor al, al
jmp 0x140011fac
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400efb60
add rsp, 0x60
pop rbx
ret
Function at 0x14001fdd0
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 [0x140321090]
xor rax, rsp
mov qword [rbp + 0xc0], rax
cmp byte [0x1403939f0], 0
jne 0x14001fff6
movabs r14, 0x7fffffffffffffff
mov esi, dword [rsp + 0x48]
movsd xmm6, qword [rsp + 0x40]
nop dword [rax + rax]
mov eax, dword [reloc.WS2_32.dll_accept]
inc eax
movsxd rbx, eax
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rdi, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
mov r8, rax
cmp rdi, 0x989680
jne 0x14001fe5c
imul rax, r8, 0x64
jmp 0x14001fe7f
cqo
idiv rdi
imul rcx, rax, 0x3b9aca00
mov rax, r8
cqo
idiv rdi
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
add rax, rcx
mov qword [rsp + 0x30], rax
test rbx, rbx
je 0x14001fead
js 0x14001fead
imul rdx, rbx, 0xf4240
mov rcx, r14
sub rcx, rdx
cmp rax, rcx
jge 0x14001fea8
lea rcx, [rdx + rax]
mov qword [rsp + 0x30], rcx
jmp 0x14001fead
mov qword [rsp + 0x30], r14
lea rcx, [rsp + 0x30]
call fcn.140004710
cmp byte [0x1403938f0], 0
je 0x14001ffe9
cmp qword [0x1403b2f90], 0
je 0x14001ffe9
lea rcx, [rbp + 0x20]
call fcn.140020030
mov qword [rbp + 0xb8], 0
movd xmm1, dword [reloc.WS2_32.dll_ioctlsocket]
cvtdq2ps xmm1, xmm1
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
movzx r9d, byte [0x1403938f8]
mov r8d, dword [0x140393900]
call fcn.14002f070
test al, al
je 0x14001ffe0
mov ecx, dword [0x1403938f4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14001ffe0
cmp byte [rbp + 0x60], 0
jne 0x14001ffe0
cmp byte [0x1403938f9], 0
je 0x14001ff4b
cmp byte [rbp + 0xb4], 0
je 0x14001ffe0
mov ecx, dword [0x1403938fc]
test ecx, ecx
je 0x14001ff95
sub ecx, 1
je 0x14001ff7a
cmp ecx, 1
jne 0x14001ffbd
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x78]
call fcn.1400200d0
mov r9d, 0x60f2
lea rdx, [rsp + 0x50]
jmp 0x14001ffae
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x78]
call fcn.1400200d0
mov r9d, 0x9995
lea rdx, [rsp + 0x5c]
jmp 0x14001ffae
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x78]
call fcn.1400200d0
mov r9d, 0x796e
lea rdx, [rsp + 0x68]
mov r8, rax
call fcn.14002e790
movsd xmm6, qword [rax]
mov esi, dword [rax + 8]
movsd qword [rsp + 0x40], xmm6
mov dword [rsp + 0x48], esi
mov r9d, dword [0x14039390c]
mov r8d, dword [0x140393908]
lea rdx, [rsp + 0x40]
call fcn.14002f470
nop
lea rcx, [rbp + 0x20]
call fcn.140004d20
cmp byte [0x1403939f0], 0
je 0x14001fe30
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.1400efb60
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 0x140020470
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 0x1400204a5
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.140003010
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 0x1400205e6
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 0x140020560
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1400205d5
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14002059d
mov r10, qword [rdx]
cmp r10, rax
je 0x140020597
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 0x1400205d5
cmp r9, rdx
je 0x1400205b1
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x1400205f7
cmp r9, rdx
jne 0x1400205a2
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 0x140020510
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 0x1400205d5

Function at 0x1400206c0
Capabilities:
Hash data using fnv

Disassembly:
mov rcx, qword [rcx]
test rcx, rcx
jne fcn.1400206d0
ret