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

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x140077e70]
xorps xmm0, xmm0
add rcx, 1
mov rbx, qword [0x140077e98]
js 0x140009444
cvtsi2ss xmm0, rcx
jmp 0x140009459
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [0x140077e60]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
movss xmm1, dword [0x140069ea4]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x14000948b
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x14000948b
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x1400094bd
cmp rbx, 0x200
jae 0x1400094ba
lea rbx, [rbx*8]
cmp rbx, rcx
jae 0x1400094bd
mov rbx, rcx
mov rdx, rbx
add rsp, 0x20
pop rbx
jmp 0x140009720
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x140009751
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 [0x140077e68]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x140077e78]
lea rdx, [rdi + rdi]
call fcn.140006e10
mov rax, qword [0x140077e68]
lea r9, [rdi - 1]
mov qword [0x140077e90], r9
mov qword [0x140077e98], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1400098c4
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 [0x140077e78]
mov r9, qword [r11]
cmp r9, rbx
jne 0x140009810
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140009885
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14000984d
mov r10, qword [rdx]
cmp r10, rax
je 0x140009847
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 0x140009885
cmp r9, rdx
je 0x140009861
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x140009899
cmp r9, rdx
jne 0x140009852
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 0x1400098bf
mov r9, qword [0x140077e90]
jmp 0x1400097c1
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 0x140009885
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400098d0
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x140077f80]
xorps xmm0, xmm0
add rcx, 1
mov rbx, qword [0x140077fa8]
js 0x1400094f4
cvtsi2ss xmm0, rcx
jmp 0x140009509
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [0x140077f70]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
movss xmm1, dword [0x140069ea4]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x14000953b
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x14000953b
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x14000956d
cmp rbx, 0x200
jae 0x14000956a
lea rbx, [rbx*8]
cmp rbx, rcx
jae 0x14000956d
mov rbx, rcx
mov rdx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400098d0
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x140009901
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 [0x140077f78]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x140077f88]
lea rdx, [rdi + rdi]
call fcn.140006e10
mov rax, qword [0x140077f78]
lea r9, [rdi - 1]
mov qword [0x140077fa0], r9
mov qword [0x140077fa8], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140009a74
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 [0x140077f88]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1400099c0
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140009a35
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x1400099fd
mov r10, qword [rdx]
cmp r10, rax
je 0x1400099f7
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 0x140009a35
cmp r9, rdx
je 0x140009a11
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x140009a49
cmp r9, rdx
jne 0x140009a02
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 0x140009a6f
mov r9, qword [0x140077fa0]
jmp 0x140009971
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 0x140009a35
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140014340
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x140076028]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, r8
mov rsi, rdx
mov r15, rcx
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x38], rbx
xor r12d, r12d
mov rcx, r8
call fcn.14000af00
mov rdx, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x140014393
mov rbp, qword [rbx]
lea r14, [rdx + rbp]
mov rdi, rbp
jmp 0x14001439d
mov rbp, rbx
lea r14, [rdx + rbx]
mov rdi, rbx
cmp rdi, r14
je 0x1400143bd
sub rbp, rdi
movsx ecx, byte [rdi]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rdi + rbp], al
inc rdi
cmp rdi, r14
jne 0x1400143a5
mov rdx, qword [rbx + 0x10]
mov r8, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400143ca
mov r8, qword [rbx]
movabs r9, 0xcbf29ce484222325
mov rcx, r12
test rdx, rdx
je 0x140014404
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + r8]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, rdx
jb 0x1400143f0
mov r8, rbx
lea rdx, [rsp + 0x28]
mov rcx, r15
call fcn.140017bf0
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1400144a4
cmp rdx, qword [r15 + 8]
je 0x1400144a4
mov rdx, qword [rdx + 0x30]
shl rdx, 6
add rdx, 0x20
add rdx, qword [r15 + 0x40]
mov rcx, rsi
call fcn.14000a100
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140014476
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140014471
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400144bb
mov rcx, r8
call fcn.14005d360
mov rax, rsi
mov byte [rbx], 0
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], r12
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14005d020
add rsp, 0x50
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
jmp 0x140014440
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x1400144d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
movaps xmmword [rsp + 0x50], xmm6
mov rax, qword [0x140076028]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, rdx
mov r14, rcx
mov qword [rsp + 0x40], rdx
mov rcx, rdx
call fcn.14000af00
mov rdx, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x140014520
mov rsi, qword [rdi]
lea rbp, [rdx + rsi]
mov rbx, rsi
jmp 0x14001452a
mov rsi, rdi
lea rbp, [rdx + rdi]
mov rbx, rdi
cmp rbx, rbp
je 0x14001454a
sub rsi, rbx
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rsi + rbx], al
inc rbx
cmp rbx, rbp
jne 0x140014532
mov rdx, qword [rdi + 0x10]
mov r8, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140014557
mov r8, qword [rdi]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test rdx, rdx
je 0x140014594
movabs r10, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx + r8]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, rdx
jb 0x140014580
mov r8, rdi
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.140017bf0
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x1400145c0
cmp rbx, qword [r14 + 8]
je 0x1400145c0
mov rbx, qword [rbx + 0x30]
lea rsi, [r14 + 0x40]
jmp 0x140014697
lea rsi, [r14 + 0x40]
mov rbx, qword [rsi + 8]
sub rbx, qword [rsi]
sar rbx, 6
mov r8, rdi
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.140017430
mov rcx, qword [rax]
mov qword [rcx + 0x30], rbx
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movdqa xmm6, xmmword [0x140069f20]
movdqu xmmword [rsp + 0x30], xmm6
mov byte [rsp + 0x20], 0
mov rbp, qword [rsi + 8]
cmp rbp, qword [rsi + 0x10]
je 0x140014644
mov rdx, rdi
mov rcx, rbp
call fcn.14000a100
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x38], 0
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm6
mov edx, 0xf
mov byte [rsp + 0x20], 0
add qword [rsi + 8], 0x40
jmp 0x14001465c
lea r9, [rsp + 0x20]
mov r8, rdi
mov rdx, rbp
mov rcx, rsi
call fcn.140018120
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140014697
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014692
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140014692
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005d360
shl rbx, 6
add rbx, qword [rsi]
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x1400146d4
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1400146cf
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140014712
mov rcx, r8
call fcn.14005d360
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
lea rax, [rbx + 0x20]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14005d020
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
movaps xmm6, xmmword [rsp + 0x50]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x1400147b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x140076028]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, r8
mov rsi, rdx
mov r15, rcx
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x38], rbx
xor r12d, r12d
mov rcx, r8
call fcn.14000af00
mov rdx, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x140014803
mov r14, qword [rbx]
lea rbp, [rdx + r14]
mov rdi, r14
jmp 0x14001480d
mov r14, rbx
lea rbp, [rdx + rbx]
mov rdi, rbx
cmp rdi, rbp
je 0x14001482e
sub r14, rdi
movsx ecx, byte [rdi]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [r14 + rdi], al
inc rdi
cmp rdi, rbp
jne 0x140014815
mov rdx, qword [rbx + 0x10]
mov r8, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14001483b
mov r8, qword [rbx]
movabs r9, 0xcbf29ce484222325
mov rcx, r12
test rdx, rdx
je 0x140014874
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + r8]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, rdx
jb 0x140014860
mov r8, rbx
lea rdx, [rsp + 0x28]
mov rcx, r15
call fcn.140017bf0
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140014911
cmp rcx, qword [r15 + 8]
je 0x140014911
imul rdx, qword [rcx + 0x30], 0x78
add rdx, 0x20
add rdx, qword [r15 + 0x40]
mov rcx, rsi
call fcn.140015c60
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1400148e3
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1400148de
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140014927
mov rcx, r8
call fcn.14005d360
mov rax, rsi
mov byte [rbx], 0
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], r12
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14005d020
add rsp, 0x50
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rcx, rsi
call fcn.140016130
mov qword [rsi + 0x40], r12
mov qword [rsi + 0x48], r12
mov qword [rsi + 0x50], r12
jmp 0x1400148ad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140014930
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0xb0
mov rax, qword [0x140076028]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rdi, rdx
mov r14, rcx
mov qword [rsp + 0x98], rdx
mov rcx, rdx
call fcn.14000af00
mov rdx, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x140014984
mov rsi, qword [rdi]
lea rbp, [rdx + rsi]
mov rbx, rsi
jmp 0x14001498e
mov rsi, rdi
lea rbp, [rdx + rdi]
mov rbx, rdi
cmp rbx, rbp
je 0x1400149ae
sub rsi, rbx
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rbx + rsi], al
inc rbx
cmp rbx, rbp
jne 0x140014996
mov rdx, qword [rdi + 0x10]
mov r8, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1400149bb
mov r8, qword [rdi]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test rdx, rdx
je 0x1400149f4
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + r8]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, rdx
jb 0x1400149e0
mov r8, rdi
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.140017bf0
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140014a20
cmp rcx, qword [r14 + 8]
je 0x140014a20
mov rbp, qword [rcx + 0x30]
lea rbx, [r14 + 0x40]
jmp 0x140014adc
lea rbx, [r14 + 0x40]
mov r8, qword [rbx + 8]
sub r8, qword [rbx]
movabs rax, 0x8888888888888889
imul r8
lea rbp, [r8 + rdx]
sar rbp, 6
mov rax, rbp
shr rax, 0x3f
add rbp, rax
mov r8, rdi
lea rdx, [rsp + 0x88]
mov rcx, r14
call fcn.140017430
mov rcx, qword [rax]
mov qword [rcx + 0x30], rbp
lea rcx, [rsp + 0x30]
call fcn.140016130
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x80], 0
mov rsi, qword [rbx + 8]
cmp rsi, qword [rbx + 0x10]
je 0x140014ab4
mov qword [rsp + 0x20], rsi
mov rdx, rdi
mov rcx, rsi
call fcn.14000a100
nop
lea rcx, [rsi + 0x20]
lea rdx, [rsp + 0x30]
call fcn.140015c60
nop
add qword [rbx + 8], 0x78
jmp 0x140014ac8
lea r9, [rsp + 0x30]
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call fcn.1400182e0
nop
lea rcx, [rsp + 0x70]
call fcn.140014720
lea rcx, [rsp + 0x30]
call fcn.1400068a0
imul rax, rbp, 0x78
add rax, qword [rbx]
lea rbx, [rax + 0x20]
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x140014b1d
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140014b18
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140014b5b
mov rcx, r8
call fcn.14005d360
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rax, rbx
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14005d020
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140014fe0
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 0x140015008
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 0x14001502e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140015030
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140015089
test ecx, ecx
jle 0x140015069
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 0x140015089
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140015089
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 0x1400150b0
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 0x1400150d2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x1400150e8
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 0x140015104
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140015106
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140015142
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 0x1400151de
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14001517d
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 0x1400151be
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 0x1400151de
cmp rbx, rax
ja 0x140015190
test rbx, rbx
je 0x1400151de
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 0x140015600
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140076028]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14001562d
xor eax, eax
jmp 0x14001578a
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x140015658
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x140015658
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 0x14001578a
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14001577d
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x14001569b
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 0x1400156c6
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 0x140015782
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 0x140015735
sub eax, 1
je 0x140015735
cmp eax, 2
jne 0x14001577d
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
mov eax, ecx
jmp 0x140015782
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140015763
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 0x14001577d
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140015782
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14005d020
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140015e50
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140076028]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140015f23
cmp byte [rcx + 0x71], 0
je 0x140015f23
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140015f1f
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 0x140015ee4
sub eax, 1
je 0x140015ee8
cmp eax, 2
jne 0x140015f1f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14005d020
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140015f16
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 0x140015f1f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140015ecc
xor al, al
jmp 0x140015ecc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14005d020
add rsp, 0x60
pop rbx
ret