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

Disassembly:
xor eax, eax
mov dword [0x1801f9be8], eax
mov dword [0x1801f9bf8], eax
mov rax, qword [0x1801f9bf0]
mov dword [rax], ecx
mov eax, dword [0x1801f9be8]
inc eax
mov dword [0x1801f9be8], eax
mov ecx, eax
mov rax, qword [0x1801f9bf0]
mov dword [rax + rcx*8], edx
mov eax, dword [0x1801f9be8]
inc eax
mov dword [0x1801f9be8], eax
mov ecx, eax
mov rax, qword [0x1801f9bf0]
mov dword [rax + rcx*8], r8d
mov eax, dword [0x1801f9be8]
inc eax
mov dword [0x1801f9be8], eax
mov ecx, eax
mov rax, qword [0x1801f9bf0]
mov dword [rax + rcx*8], r9d
mov eax, dword [0x1801f9be8]
inc eax
mov dword [0x1801f9be8], eax
mov ecx, eax
mov rax, qword [0x1801f9bf0]
mov dword [rax + rcx*8], 1
mov eax, dword [0x1801f9be8]
mov ecx, dword [rsp + 0x30]
inc eax
mov dword [0x1801f9be8], eax
mov edx, eax
mov rax, qword [0x1801f9bf0]
mov dword [rax + rdx*8], ecx
movabs rdx, 0x93376b65a266eb5f
inc dword [0x1801f9be8]
jmp fcn.18005f7e0

Function at 0x180017c40
Capabilities:
Hash data using fnv

Disassembly:
xor eax, eax
movabs rdx, 0x9b5a68c6489e9909
mov dword [0x1801f9be8], eax
mov dword [0x1801f9bf8], eax
mov rax, qword [0x1801f9bf0]
mov dword [rax], 0x946dd6a4
mov eax, dword [0x1801f9be8]
inc eax
mov dword [0x1801f9be8], eax
mov ecx, eax
mov rax, qword [0x1801f9bf0]
vmovss dword [rax + rcx*8], xmm1
inc dword [0x1801f9be8]
jmp fcn.18005f7e0

Function at 0x180017c90
Capabilities:
Hash data using fnv

Disassembly:
xor eax, eax
mov dword [0x1801f9be8], eax
mov dword [0x1801f9bf8], eax
mov rax, qword [0x1801f9bf0]
mov dword [rax], ecx
mov eax, dword [0x1801f9be8]
inc eax
mov dword [0x1801f9be8], eax
mov ecx, eax
mov rax, qword [0x1801f9bf0]
mov dword [rax + rcx*8], edx
movabs rdx, 0xdb8a58aeaa67cd07
mov eax, dword [0x1801f9be8]
inc eax
mov dword [0x1801f9be8], eax
mov ecx, eax
mov rax, qword [0x1801f9bf0]
mov dword [rax + rcx*8], r8d
inc dword [0x1801f9be8]
jmp fcn.18005f7e0

Function at 0x180017d00
Capabilities:
Hash data using fnv

Disassembly:
xor eax, eax
mov dword [0x1801f9be8], eax
mov dword [0x1801f9bf8], eax
mov rax, qword [0x1801f9bf0]
mov dword [rax], ecx
mov eax, dword [0x1801f9be8]
inc eax
mov dword [0x1801f9be8], eax
mov ecx, eax
mov rax, qword [0x1801f9bf0]
mov dword [rax + rcx*8], edx
movabs rdx, 0x1581503ae529cd2e
mov eax, dword [0x1801f9be8]
inc eax
mov dword [0x1801f9be8], eax
mov ecx, eax
mov rax, qword [0x1801f9bf0]
mov dword [rax + rcx*8], r8d
inc dword [0x1801f9be8]
jmp fcn.18005f7e0

Function at 0x180017d70
Capabilities:
Hash data using fnv

Disassembly:
xor eax, eax
movabs rdx, 0xb475f27c6a994d65
mov dword [0x1801f9be8], eax
mov dword [0x1801f9bf8], eax
jmp fcn.18005f7e0

Function at 0x180018030
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.1800174b0
mov rcx, rbx
call fcn.180017540
add rsp, 0x20
pop rbx
jmp fcn.1800174f0

Function at 0x1800180d0
Capabilities:
Hash data using fnv

Disassembly:
cmp r8d, 0xffffffff
jne 0x1800180ec
mov rax, qword [0x18020c8e0]
mov r8, qword [rax + 0x60]
mov rax, qword [r8 + 0x30]
mov r8d, dword [rax + 0x4070]
movzx edx, dl
jmp fcn.180017c90
Function at 0x1800234e0
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x18020c8e0]
xor edx, edx
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx + 0x30]
mov ecx, 0x61b0
mov r8d, dword [rax + 0x4070]
call fcn.180017c90
mov rax, qword [0x18020c8e0]
xor edx, edx
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx + 0x30]
mov ecx, 0x61b1
mov r8d, dword [rax + 0x4070]
call fcn.180017c90
mov rax, qword [0x18020c8e0]
mov edx, 1
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx + 0x30]
mov ecx, 0x61b2
mov r8d, dword [rax + 0x4070]
call fcn.180017c90
mov rax, qword [0x18020c8e0]
mov edx, 1
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx + 0x30]
mov ecx, 0x61b6
mov r8d, dword [rax + 0x4070]
call fcn.180017c90
mov ebx, 0x6183
nop dword [rax]
mov edx, 1
mov r8d, 0xffffffff
mov ecx, ebx
call fcn.180017c90
inc ebx
cmp ebx, 0x6189
jle 0x180023580
mov ebx, 0x618c
mov edx, 1
mov r8d, 0xffffffff
mov ecx, ebx
call fcn.180017c90
inc ebx
cmp ebx, 0x618f
jle 0x1800235a1
mov rax, qword [0x18020c8e0]
mov edx, 1
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx + 0x30]
mov ecx, 0x6190
mov r8d, dword [rax + 0x4070]
call fcn.180017c90
mov rax, qword [0x18020c8e0]
mov edx, 1
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx + 0x30]
mov ecx, 0x6192
mov r8d, dword [rax + 0x4070]
call fcn.180017c90
mov ebx, 0x620d
nop dword [rax]
mov edx, 1
mov r8d, 0xffffffff
mov ecx, ebx
call fcn.180017c90
inc ebx
cmp ebx, 0x6215
jle 0x180023610
mov ebx, 0x6194
mov edx, 1
mov r8d, 0xffffffff
mov ecx, ebx
call fcn.180017c90
inc ebx
cmp ebx, 0x619f
jle 0x180023631
mov ebx, 0x61a0
mov edx, 1
mov r8d, 0xffffffff
mov ecx, ebx
call fcn.180017c90
inc ebx
cmp ebx, 0x61a7
jle 0x180023652
mov rax, qword [0x18020c8e0]
mov edx, 1
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx + 0x30]
mov ecx, 0x6295
mov r8d, dword [rax + 0x4070]
call fcn.180017c90
mov rax, qword [0x18020c8e0]
mov edx, 1
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx + 0x30]
mov ecx, 0x63ab
mov r8d, dword [rax + 0x4070]
call fcn.180017c90
mov rax, qword [0x18020c8e0]
mov edx, 1
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx + 0x30]
mov ecx, 0x63ac
mov r8d, dword [rax + 0x4070]
call fcn.180017c90
mov rax, qword [0x18020c8e0]
mov edx, 1
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx + 0x30]
mov ecx, 0x63ad
mov r8d, dword [rax + 0x4070]
add rsp, 0x20
pop rbx
jmp fcn.180017c90
jmp 0x1800234e0
Function at 0x18003f540
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
call qword [sym.imp.USER32.dll_OpenClipboard]
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rdx, qword [rdi + 0x10]
lea rbx, [rdi + 0x10]
inc rdx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rsi, rax
test rax, rax
jne 0x18003f592
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.USER32.dll_CloseClipboard]
cmp qword [rdi + 0x18], 0xf
jbe 0x18003f59c
mov rdi, qword [rdi]
mov rbx, qword [rbx]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalLock]
lea r8, [rbx + 1]
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rsi
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_GlobalFree]
Function at 0x18005c5e0
Capabilities:
Hash data using fnv

Disassembly:
mov rax, qword [0x18020c8e0]
xor edx, edx
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx + 0x30]
mov ecx, 0x18
mov r8d, dword [rax + 0x4070]
jmp fcn.180017c90

Function at 0x18005c630
Capabilities:
Hash data using fnv

Disassembly:
mov rax, qword [0x18020c8e0]
mov edx, 1
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx + 0x30]
mov ecx, 0x18
mov r8d, dword [rax + 0x4070]
jmp fcn.180017c90

Function at 0x18005cdd0
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x18020c8e0]
xor edx, edx
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx + 0x30]
mov ecx, 0x61b0
mov r8d, dword [rax + 0x4070]
call fcn.180017c90
mov rax, qword [0x18020c8e0]
xor edx, edx
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx + 0x30]
mov ecx, 0x61b1
mov r8d, dword [rax + 0x4070]
call fcn.180017c90
mov rax, qword [0x18020c8e0]
mov edx, 1
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx + 0x30]
mov ecx, 0x61b2
mov r8d, dword [rax + 0x4070]
call fcn.180017c90
mov rax, qword [0x18020c8e0]
mov edx, 1
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx + 0x30]
mov ecx, 0x61b6
mov r8d, dword [rax + 0x4070]
call fcn.180017c90
mov ebx, 0x6183
nop dword [rax]
mov edx, 1
mov r8d, 0xffffffff
mov ecx, ebx
call fcn.180017c90
inc ebx
cmp ebx, 0x6189
jle 0x180023580
mov ebx, 0x618c
mov edx, 1
mov r8d, 0xffffffff
mov ecx, ebx
call fcn.180017c90
inc ebx
cmp ebx, 0x618f
jle 0x1800235a1
mov rax, qword [0x18020c8e0]
mov edx, 1
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx + 0x30]
mov ecx, 0x6190
mov r8d, dword [rax + 0x4070]
call fcn.180017c90
mov rax, qword [0x18020c8e0]
mov edx, 1
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx + 0x30]
mov ecx, 0x6192
mov r8d, dword [rax + 0x4070]
call fcn.180017c90
mov ebx, 0x620d
nop dword [rax]
mov edx, 1
mov r8d, 0xffffffff
mov ecx, ebx
call fcn.180017c90
inc ebx
cmp ebx, 0x6215
jle 0x180023610
mov ebx, 0x6194
mov edx, 1
mov r8d, 0xffffffff
mov ecx, ebx
call fcn.180017c90
inc ebx
cmp ebx, 0x619f
jle 0x180023631
mov ebx, 0x61a0
mov edx, 1
mov r8d, 0xffffffff
mov ecx, ebx
call fcn.180017c90
inc ebx
cmp ebx, 0x61a7
jle 0x180023652
mov rax, qword [0x18020c8e0]
mov edx, 1
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx + 0x30]
mov ecx, 0x6295
mov r8d, dword [rax + 0x4070]
call fcn.180017c90
mov rax, qword [0x18020c8e0]
mov edx, 1
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx + 0x30]
mov ecx, 0x63ab
mov r8d, dword [rax + 0x4070]
call fcn.180017c90
mov rax, qword [0x18020c8e0]
mov edx, 1
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx + 0x30]
mov ecx, 0x63ac
mov r8d, dword [rax + 0x4070]
call fcn.180017c90
mov rax, qword [0x18020c8e0]
mov edx, 1
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx + 0x30]
mov ecx, 0x63ad
mov r8d, dword [rax + 0x4070]
add rsp, 0x20
pop rbx
jmp fcn.180017c90
jmp 0x1800234e0
Function at 0x18005fd20
Capabilities:
Hash data using fnv

Disassembly:
push rsi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov r9d, 1
bsr r8, rax
mov rsi, rcx
shlx rax, r9, r8
cmp rdx, rax
jbe 0x18005fd55
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 [rsi + 8]
or rax, r9
bsr rcx, rax
mov qword [rsp + 0x40], rdi
mov r8, rbx
inc ecx
mov qword [rsp + 0x48], r14
shlx rdi, r9, rcx
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.180016570
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 0x18005fed4
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop word [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
movzx edx, byte [rax + 0x14]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x15]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x16]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x17]
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 0x18005fe4c
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x18005fec3
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x18005fe89
mov r10, qword [rdx]
cmp r10, rax
je 0x18005fe83
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 0x18005fec3
cmp r9, rdx
je 0x18005fe9f
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x18005fee9
cmp r9, rdx
jne 0x18005fe90
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 0x18005fdd0
mov rbp, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
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 0x18005fec3

Function at 0x180060220
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
cmp edx, 1
jne 0x18006026a
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
lea rax, [0x18020c900]
mov qword [0x18020c908], rbx
mov qword [rsp + 0x28], rax
lea r8, [0x180060b10]
xor r9d, r9d
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x18020c910], rax
mov eax, 1
add rsp, 0x30
pop rbx
ret
Function at 0x1800644c0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rsi, rcx
xor ebp, ebp
mov dword [rsp + 0x30], ebp
mov ecx, 0xe0
call fcn.180154540
mov rdi, rax
mov qword [rsp + 0x78], rax
lea rax, vtable.kjellkod::Active.0
mov qword [rdi], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x80], rbx
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x20], rbp
mov ecx, 0x10
call fcn.180154540
mov qword [rax + 8], rbp
mov qword [rbx], rax
mov qword [rax], rbx
vpxor xmm0, xmm0, xmm0
vmovups ymmword [rbx + 0x40], ymm0
vmovups xmmword [rbx + 0x60], xmm0
vpxor xmm1, xmm1, xmm1
vmovups xmmword [rbx + 0x30], xmm1
mov dword [rbx + 0x70], 0xffffffff
mov dword [rbx + 0x28], 2
mov dword [rbx + 0x74], ebp
lea rcx, [rbx + 0x78]
vzeroupper
call qword [sym.imp.MSVCP140.dll__Cnd_init_in_situ]
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rdi + 0xc8], xmm0
mov byte [rdi + 0xd8], bpl
mov qword [rsi], rdi
mov dword [rsp + 0x30], 1
mov ecx, 0x10
call fcn.180154540
mov qword [rax], rdi
lea rcx, [0x180064420]
mov qword [rax + 8], rcx
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x30], 3
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebp
mov r9, rax
lea r8, [0x180064240]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x180064610
mov rax, qword [rsi]
cmp dword [rax + 0xd0], ebp
jne 0x180064609
vpxor xmm0, xmm0, xmm0
vmovups xmm1, xmmword [rsp + 0x40]
vmovdqa xmmword [rsp + 0x40], xmm0
vmovups xmmword [rax + 0xc8], xmm1
cmp dword [rsp + 0x48], ebp
jne 0x180064609
mov rax, rsi
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [rsp + 0x48], ebp
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x18006c630
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x18006c661
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
je 0x18006c67f
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
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 + 0x30], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x18006c69b
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18006c69d
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x18006c6d9
mov qword [rsp + 0x38], 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 + 0x38]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x18006c76e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x18006c714
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 0x18006c74e
nop dword [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 0x18006c76e
cmp rbx, rax
ja 0x18006c720
test rbx, rbx
je 0x18006c76e
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
mov rsi, qword [rsp + 0x48]
sub rbp, rbx
mov rbx, qword [rsp + 0x30]
mov rax, rbp
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x18006c790
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 0x18006c7b8
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 0x18006c7de
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x18006c7e0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x18006c839
test ecx, ecx
jle 0x18006c819
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 0x18006c839
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x18006c839
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 0x18006f0e0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1801f9600]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x18006f10d
xor eax, eax
jmp 0x18006f279
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x18006f147
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x18006f147
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x18006f279
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x18006f26c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x18006f18a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
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 0x18006f1b5
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 0x18006f271
lea rax, [rsp + 0x48]
mov byte [rsp + 0x40], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x50]
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 0x18006f224
sub eax, 1
je 0x18006f224
cmp eax, 2
jne 0x18006f26c
movsx ecx, byte [rsp + 0x40]
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 0x18006f271
mov rsi, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x18006f252
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 0x18006f26c
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x50], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x18006f271
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.180154520
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x18006f2a0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1801f9600]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x18006f373
cmp byte [rcx + 0x71], 0
je 0x18006f373
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x18006f36f
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 0x18006f334
sub eax, 1
je 0x18006f338
cmp eax, 2
jne 0x18006f36f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180154520
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x18006f366
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 0x18006f36f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x18006f31c
xor al, al
jmp 0x18006f31c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180154520
add rsp, 0x60
pop rbx
ret