joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401759b0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov r15, r8
mov r13, rdx
mov r12, rcx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
xor ebx, ebx
mov qword [rbp - 0x10], rbx
mov r14, qword [r8 + 8]
mov rdi, qword [r8]
mov rax, qword [rbp - 0x18]
cmp rdi, r14
je 0x140175a99
nop word [rax + rax]
mov rcx, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 8
jb 0x140175a14
mov rdx, qword [rdi]
lea rsi, [rdx + rcx*2]
jmp 0x140175a1d
lea rsi, [rdi + rcx*2]
mov rbx, rdi
jb 0x140175a20
mov rbx, qword [rdi]
cmp rbx, rsi
je 0x140175a5b
cmp rax, qword [rbp - 0x10]
je 0x140175a3f
movzx ecx, word [rbx]
mov word [rax], cx
mov rax, qword [rbp - 0x18]
add rax, 2
mov qword [rbp - 0x18], rax
jmp 0x140175a52
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.1400ae0c0
mov rax, qword [rbp - 0x18]
add rbx, 2
cmp rbx, rsi
jne 0x140175a25
xor ebx, ebx
mov word [rbp + 0x40], bx
cmp rax, qword [rbp - 0x10]
je 0x140175a78
mov word [rax], bx
mov rax, qword [rbp - 0x18]
add rax, 2
mov qword [rbp - 0x18], rax
jmp 0x140175a8c
lea r8, [rbp + 0x40]
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.1400ae0c0
mov rax, qword [rbp - 0x18]
add rdi, 0x20
cmp rdi, r14
jne 0x140175a00
mov rcx, qword [rbp - 0x20]
sub rax, rcx
sar rax, 1
lea edx, [rax + rax]
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x20], rcx
mov r9d, 7
xor r8d, r8d
mov rdx, r13
mov rcx, qword [r12]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140175b31
mov rcx, qword [r12]
call qword [sym.imp.ADVAPI32.dll_RegFlushKey]
nop
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x140175b25
mov rax, qword [rbp - 0x10]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140175b13
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140175b13
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140082030
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rbx
mov rcx, r15
call fcn.140103d90
mov al, 1
jmp 0x140175b8c
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x140175b82
mov rax, qword [rbp - 0x10]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140175b70
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140175b70
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140082030
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rbx
mov rcx, r15
call fcn.140103d90
xor al, al
mov rbx, qword [rsp + 0x98]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140175de0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [0x140344548]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov r14, r9
mov rbx, rcx
movzx ecx, byte [rbp + 0x1f0]
mov dword [rsp + 0x38], r8d
mov rax, r9
cmp qword [r9 + 0x18], 8
jb 0x140175e2a
mov rax, qword [r9]
xor r12d, r12d
mov qword [r9 + 0x10], r12
mov word [rax], r12w
mov qword [rsp + 0x40], r12
xor rcx, 1
sub rcx, 0x7fffffff
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, edx
xor r8d, r8d
mov rdx, qword [str.SOFTWARENitroPDF_Pro14Settings]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov r15d, eax
test eax, eax
jne 0x140175fcf
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x30], 0x208
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r15d, eax
test eax, eax
jne 0x140175fc4
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rax, [rsp + 0x70]
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], r12w
jne 0x140175ed0
movabs rsi, 0x7ffffffffffffffe
cmp rbx, rsi
ja 0x140175ff3
cmp rbx, 8
jae 0x140175f1e
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], 7
add rbx, rbx
mov r8, rbx
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call sub.VCRUNTIME140.dll_memcpy
mov word [rsp + rbx + 0x48], r12w
jmp 0x140175f71
mov rax, rbx
or rax, 7
cmp rax, rsi
ja 0x140175f39
mov rsi, rax
mov ecx, 0xa
cmp rax, rcx
cmovb rsi, rcx
lea rdx, [rsi + 1]
lea rcx, [rsp + 0x48]
call fcn.1400873c0
mov rdi, rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rsi
add rbx, rbx
mov r8, rbx
lea rdx, [rsp + 0x70]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov word [rbx + rdi], r12w
lea rdx, [rsp + 0x48]
mov rcx, r14
call fcn.140097570
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x140175fc4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140175fbe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140175fbe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140082030
nop
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, r15d
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.140266400
add rsp, 0x290
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1400871e0
int3

Function at 0x140178830
Capabilities:
Encode data using base64

Disassembly:
mov eax, 0x28
call fcn.1402663a0
sub rsp, rax
mov r9d, r8d
mov r8, rdx
mov rdx, rcx
xor ecx, ecx
add rsp, 0x28
jmp fcn.140178c10
Function at 0x1401867d0
Capabilities:
Set thread local storage value

Disassembly:
mov eax, 0x28
call fcn.1402663a0
sub rsp, rax
mov ecx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
add rsp, 0x28
ret

Function at 0x140189500
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
xor eax, eax
mov r10, rcx
test rcx, rcx
je 0x14018956c
movzx ecx, byte [rcx]
test cl, cl
je 0x14018956c
mov r11d, 0x100
nop word [rax + rax]
movsx r9d, cl
lea r10, [r10 + 1]
or r9d, r11d
mov r8d, eax
mov edx, r9d
mov ecx, 0x20
shr edx, 2
add r11d, 0x100
xor edx, r9d
imul r9d, r9d
and edx, 0xf
sub ecx, edx
shr r8, cl
mov ecx, edx
mov edx, eax
mov eax, r8d
shl edx, cl
movzx ecx, byte [r10]
or eax, edx
xor eax, r9d
test cl, cl
jne 0x140189520
mov ecx, eax
shr ecx, 0x10
xor eax, ecx
ret

Function at 0x140189630
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x20
call fcn.1402663a0
sub rsp, rax
xor ebx, ebx
mov rdi, rcx
test rcx, rcx
je 0x1401896c3
movzx eax, byte [rcx]
test al, al
je 0x1401896c3
mov qword [rsp + 0x30], rsi
mov esi, 0x100
nop
movsx ecx, al
call fcn.140189700
mov r9d, eax
mov edx, ebx
or r9d, esi
lea rdi, [rdi + 1]
mov eax, ebx
mov r8d, r9d
shr r8d, 2
mov ecx, 0x20
xor r8d, r9d
add esi, 0x100
and r8d, 0xf
imul r9d, r9d
sub ecx, r8d
shr rdx, cl
mov ecx, r8d
shl eax, cl
mov ebx, edx
or ebx, eax
movzx eax, byte [rdi]
xor ebx, r9d
test al, al
jne 0x140189660
mov rsi, qword [rsp + 0x30]
mov eax, ebx
shr eax, 0x10
xor eax, ebx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rdi
ret

Function at 0x1401a03b0
Capabilities:
Get thread local storage value

Disassembly:
mov eax, 0x28
call fcn.1402663a0
sub rsp, rax
lea rcx, [0x140352088]
add rsp, 0x28
jmp fcn.140186630

Function at 0x1401c1460
Capabilities:
Query environment variable

Disassembly:
push rbx
mov eax, 0x20
call fcn.1402663a0
sub rsp, rax
mov rbx, rcx
call fcn.140084560
test eax, eax
je 0x1401c1483
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
Function at 0x1401fd100
Capabilities:
Encode data using xor

Disassembly:
mov eax, gethostname
call fcn.1402663a0
sub rsp, rax
cmp dword [rsp + 0x68], 0
je 0x1401fd129
lea rax, [0x1401fb770]
mov qword [rsp + 0x68], rax
add rsp, 0x38
jmp fcn.14018d0a0
lea rax, [0x1401fa930]
mov qword [rsp + 0x68], rax
add rsp, 0x38
jmp fcn.14018cde0

Function at 0x14021c320
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
xor r10d, r10d
movsxd rbx, r8d
mov r11, rdx
mov rdi, rcx
test r8d, r8d
jle 0x14021c35f
mov r9, rdx
mov rdx, rcx
sub rdx, r9
movzx eax, byte [r9]
cmp byte [rdx + r9], al
jne 0x14021c35f
inc r9
inc r10d
mov rax, r9
sub rax, r11
cmp rax, rbx
jl 0x14021c344
lea edx, [r8 - 1]
movsxd rax, edx
test edx, edx
js 0x14021c38a
mov r8, rdi
lea rcx, [rax + r11]
sub r8, r11
cmp byte [rcx + r8], 0
jne 0x14021c38a
cmp byte [rcx], 0xff
jne 0x14021c38a
dec edx
dec rcx
cmp rcx, r11
jns 0x14021c374
cmp r10d, edx
jl case.0x14021c3e3.2
jle 0x14021c3a8
lea eax, [r10*8]
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret
movsxd rax, r10d
movzx r8d, byte [rax + r11]
movzx r9d, byte [rax + rdi]
movzx edx, r8b
xor dl, r9b
movzx eax, dl
dec eax
cmp eax, 0x7e
ja case.0x14021c3e3.2
lea r11, [0x140000000]
cdqe
movzx eax, byte [r11 + rax + 0x21c458]
mov ecx, dword [r11 + rax*4 + 0x21c438]
add rcx, r11
jmp rcx
mov eax, 7
jmp 0x14021c414
mov eax, 6
jmp 0x14021c414
mov eax, 5
jmp 0x14021c414
mov eax, 4
jmp 0x14021c414
mov eax, 3
jmp 0x14021c414
mov eax, 2
jmp 0x14021c414
mov eax, 1
test dl, r9b
jne case.0x14021c3e3.2
and r8b, dl
lea eax, [rax + r10*8]
cmp r8b, dl
je 0x14021c42a
mov eax, 0xffffffff
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret
Function at 0x1402561e0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x70
mov r9, qword [rcx]
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
mov r10, qword [r9]
lea rax, [r10 + 1]
mov qword [r9], rax
test r10, r10
jne 0x140256228
mov rax, qword [rdx]
movzx ecx, word [rax]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_iswalpha]
test eax, eax
je 0x140256228
mov rax, qword [rdi]
cmp word [rax + 2], 0x3a
je 0x1402562f7
mov rax, qword [rbx]
xor edi, edi
mov word [rax], di
mov rax, qword [rsi + 8]
mov rcx, qword [rax]
cmp di, word [rcx]
je 0x14025632e
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140256253
test al, 0x10
jne 0x1402562ec
mov rax, qword [rsi + 8]
mov rcx, qword [rax]
cmp di, word [rcx]
je 0x140256351
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x140256275
mov dword [rsp + 0x20], edi
jmp 0x14025627f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rax, [0x1403421b8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x20]
movups xmm0, xmmword [rax]
movd edx, xmm0
movups xmmword [rsp + 0x40], xmm0
test edx, edx
je 0x1402562ec
mov rcx, qword [rsp + 0x48]
lea rax, [0x1403421a8]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x20]
mov dword [rsp + 0x20], reloc.WS2_32.dll_recvfrom
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
mov rax, qword [rcx]
call qword [rax + 0x28]
test al, al
jne 0x1402562ec
mov rcx, qword [rsp + 0x28]
lea rdx, [rsp + 0x40]
mov r8d, dword [rsp + 0x20]
mov rax, qword [rcx]
call qword [rax + 0x20]
test al, al
je 0x14025630b
mov rax, qword [rbx]
mov ecx, 0x5c
mov word [rax], cx
lea r11, [rsp + 0x70]
mov al, 1
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
lea rdx, str.DirectoryCreateRecursively:_cannot_create_directory
lea rcx, [rsp + 0x58]
call fcn.140081b70
lea rdx, [0x140338230]
lea rcx, [rsp + 0x58]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.DirectoryExists:_empty_path
lea rcx, [rsp + 0x40]
call fcn.140081b70
lea rdx, [0x140338230]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.DirectoryCreate:_empty_path
lea rcx, [rsp + 0x20]
call fcn.140081b70
lea rdx, [0x140338230]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x140256cc0
Capabilities:
Get common file path

Disassembly:
push rdi
sub rsp, 0x670
mov rax, qword [0x140344548]
xor rax, rsp
mov qword [rsp + 0x660], rax
cmp qword [rcx + 0x18], 8
mov rdi, rcx
mov rax, rcx
jb 0x140256ceb
mov rax, qword [rcx]
xor ecx, ecx
xor edx, edx
mov qword [rdi + 0x10], rcx
mov r8d, CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup
mov word [rax], cx
lea rcx, [rsp + 0x250]
call sub.VCRUNTIME140.dll_memset
xor r9d, r9d
lea rax, [rsp + 0x250]
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r9 + 0x1a]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x140256d33
xor al, al
jmp 0x140256e44
lea rdx, [0x14027c870]
mov qword [rsp + 0x688], rbx
lea rcx, [rsp + 0x250]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, str.PDF_Pro
lea rcx, [rsp + 0x250]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, [0x14027c890]
lea rcx, [rsp + 0x250]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov rbx, 0xffffffffffffffff
lea rax, [rsp + 0x250]
mov r8, rbx
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140256d90
lea rdx, [rsp + 0x250]
mov rcx, rdi
call fcn.140093ff0
cmp qword [rdi + 0x18], 8
mov rax, rdi
jb 0x140256db8
mov rax, qword [rdi]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
call fcn.140256960
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
cmp qword [rdi + 0x18], 8
mov rcx, rdi
jb 0x140256dfa
mov rcx, qword [rdi]
mov r8d, 0x104
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
dec eax
cmp eax, 0x102
ja 0x140256e3a
lea rax, [rsp + 0x40]
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140256e20
mov r8, rbx
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140093ff0
mov rbx, qword [rsp + 0x688]
mov al, 1
mov rcx, qword [rsp + 0x660]
xor rcx, rsp
call fcn.140266400
add rsp, 0x670
pop rdi
ret
Function at 0x140257f20
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x1402580b0
lea rax, [rdx - 1]
or rax, rdi
bsr rcx, rax
inc ecx
shl rdi, cl
mov rbx, qword [rsi + 8]
lea rdx, [rdi + rdi]
mov r8, rbx
lea rcx, [rsi + 0x18]
call fcn.1400a0790
lea rax, [rdi - 1]
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x38], rdi
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x14025806f
movabs rdi, 0xcbf29ce484222325
movabs rbp, 0x100000001b3
nop word [rax + rax]
mov rcx, qword [rcx]
movzx r9d, byte [rax + 0x10]
mov edx, r9d
xor rdx, rdi
imul rdx, rbp
mov r11, qword [rsi + 0x30]
and r11, rdx
shl r11, 4
add r11, qword [rsi + 0x18]
mov r8, qword [r11]
cmp r8, rbx
jne 0x140257ff2
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140258063
mov rdx, qword [r11 + 8]
cmp r9b, byte [rdx + 0x10]
jne 0x14025802b
mov r10, qword [rdx]
cmp r10, rax
je 0x140258025
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 0x140258063
cmp r8, rdx
je 0x14025803f
mov rdx, qword [rdx + 8]
cmp r9b, byte [rdx + 0x10]
je 0x14025808a
cmp r8, rdx
jne 0x140258030
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 0x140257fc0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
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 0x140258063
lea rcx, str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3
Function at 0x14025f7d0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x1c0
mov rax, qword [0x140344548]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov rsi, rdx
mov rdi, rcx
cmp qword [rcx + 0x28], 0xffffffffffffffff
je 0x14025f8f0
mov rbx, qword [rcx + 0x10]
mov qword [rsp + 0x38], rbx
mov rcx, rbx
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x14025f948
mov qword [rsp + 0x80], 0
lea r14, vtable.fmt::v8::basic_memory_buffer_char__250__class_std::allocator_char__.0
mov qword [rsp + 0x70], r14
lea rax, [rsp + 0x90]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x88], 0xfa
mov rcx, qword [rdi + 0x20]
mov rax, qword [rcx]
lea r8, [rsp + 0x70]
mov rdx, rsi
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov r8d, dword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rdi + 0x28]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14025f914
mov qword [rsp + 0x70], r14
lea rax, [rsp + 0x90]
mov rcx, qword [rsp + 0x78]
cmp rcx, rax
je 0x14025f8e7
mov rdx, qword [rsp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14025f8e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14025f8e1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140082030
nop
mov rcx, rbx
call sub.MSVCP140.dll__Mtx_unlock
nop
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.140266400
mov rbx, qword [rsp + 0x1f0]
add rsp, 0x1c0
pop r14
pop rdi
pop rsi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov edx, eax
lea rcx, [rsp + 0x190]
call fcn.1402619c0
nop
mov r8, rax
lea rdx, str.stdout_sink_base:_WriteFile___failed._GetLastError__:
lea rcx, [rsp + 0x48]
call fcn.1400d65d0
mov rcx, rax
call fcn.140261980
nop
mov ecx, eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
int3
Function at 0x14025f950
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x190
mov rax, qword [0x140344548]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov rsi, rdx
mov rdi, rcx
mov rax, qword [rcx + 0x10]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14025fb39
mov rbx, qword [rcx + 0x18]
mov qword [rsp + 0x38], rbx
mov rcx, rbx
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x14025fb60
xor r14d, r14d
mov qword [rsi + 0x28], r14
mov qword [rsi + 0x30], r14
mov qword [rsp + 0x70], r14
lea r15, vtable.fmt::v8::basic_memory_buffer_char__250__class_std::allocator_char__.0
mov qword [rsp + 0x60], r15
lea rax, [rsp + 0x80]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x78], 0xfa
mov rcx, qword [rdi + 0x28]
mov rax, qword [rcx]
lea r8, [rsp + 0x60]
mov rdx, rsi
call qword [rax + reloc.WS2_32.dll_htonl]
cmp byte [rdi + 0x20], r14b
je 0x14025fac2
mov rax, qword [rsi + 0x28]
cmp qword [rsi + 0x30], rax
jbe 0x14025fac2
test rax, rax
je 0x14025fa20
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov r8d, eax
mov rdx, qword [rsp + 0x68]
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 + 0x40]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
jne 0x14025fa41
lea ebp, [rax + 7]
jmp 0x14025fa5c
mov edx, dword [rsp + 0x48]
and edx, 0xfff0
or edx, ebp
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
movzx ebp, word [rsp + 0x48]
mov rcx, qword [rsi + 0x30]
mov r8, qword [rsi + 0x28]
cmp rcx, r8
jbe 0x14025fa89
sub ecx, r8d
mov rdx, qword [rsp + 0x68]
add rdx, r8
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov r8d, ecx
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 rdx, qword [rsi + 0x30]
mov rcx, qword [rsp + 0x70]
cmp rcx, rdx
jbe 0x14025fae6
sub ecx, edx
add rdx, qword [rsp + 0x68]
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov r8d, ecx
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
jmp 0x14025fae6
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x30]
mov r8d, dword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov qword [rsp + 0x60], r15
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
cmp rcx, rax
je 0x14025fb30
mov rdx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14025fb2a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14025fb2a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140082030
nop
mov rcx, rbx
call sub.MSVCP140.dll__Mtx_unlock
nop
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.140266400
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x190
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
int3
Function at 0x140260390
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 r13
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x140344548]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov r15, rdx
mov r13, rcx
mov qword [rsp + 0x20], rdx
mov rdx, qword [rdx]
add rdx, 8
lea rcx, [rsp + 0x48]
call fcn.140096bd0
nop
lea r8, [rsp + 0x48]
mov rbp, qword [rsp + 0x48]
mov r14, qword [rsp + 0x60]
cmp r14, 0x10
cmovae r8, rbp
movabs rdx, 0xcbf29ce484222325
xor ecx, ecx
mov rdi, qword [rsp + 0x58]
test rdi, rdi
je 0x140260424
movabs r9, 0x100000001b3
nop
movzx eax, byte [rcx + r8]
xor rdx, rax
imul rdx, r9
inc rcx
cmp rcx, rdi
jb 0x140260410
mov rcx, qword [r13 + 0x120]
and rcx, rdx
add rcx, rcx
mov rax, qword [r13 + 0x108]
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [r13 + 0xf8]
je 0x14026048b
mov rsi, qword [rax + rcx*8]
nop word [rax + rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140260462
mov rdx, qword [rdx]
lea rcx, [rsp + 0x48]
cmp r14, 0x10
cmovae rcx, rbp
cmp rdi, rax
jne 0x140260480
mov r8, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14026048d
cmp rbx, rsi
je 0x14026048b
mov rbx, qword [rbx + 8]
jmp 0x140260450
xor ebx, ebx
test rbx, rbx
je 0x14026049f
cmp rbx, qword [r13 + 0xf8]
jne 0x14026057e
lea rcx, [r13 + 0xf0]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x28]
call fcn.14024e450
mov rcx, qword [rax]
add rcx, 0x30
mov rdx, r15
call fcn.1402559b0
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x140260506
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140260500
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140260500
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140082030
nop
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
mov rbx, qword [r15 + 8]
test rbx, rbx
je 0x140260552
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140260552
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140260552
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140266400
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
lea r8, [rsp + 0x48]
lea rdx, str.logger_with_name_
lea rcx, [rsp + 0x68]
call fcn.14024d5b0
nop
lea r8, str._already_exists
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1400a2a20
mov rcx, rax
call fcn.140261980
int3