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

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
movabs rax, 0x800000000000001
cmp rdx, rax
jae 0x14006219e
mov r14, rcx
add rcx, 0x18
dec rdx
or rdx, 1
lzcnt rax, rdx
neg al
mov edx, 1
shlx rsi, rdx, rax
mov r15, qword [r14 + 8]
mov edx, 2
shlx rdx, rdx, rax
mov r8, r15
call fcn.140061980
lea rax, [rsi - 1]
mov qword [r14 + 0x30], rax
mov qword [r14 + 0x38], rsi
mov rax, qword [r14 + 8]
mov r11, qword [rax]
cmp r11, r15
je 0x140062192
movabs r10, 0x100000001b3
movabs r8, 0xcbf29ce484222325
jmp 0x140062061
mov qword [rsi + r9*8], rdx
mov qword [rsi + rbx*8], rdx
cmp r11, r15
je 0x140062192
mov rdx, r11
movzx eax, byte [r11 + 0x10]
xor rax, r8
imul rax, r10
movzx ecx, byte [r11 + 0x11]
xor rcx, rax
imul rcx, r10
movzx eax, byte [r11 + 0x12]
xor rax, rcx
imul rax, r10
movzx ecx, byte [r11 + 0x13]
xor rcx, rax
imul rcx, r10
movzx eax, byte [r11 + 0x14]
xor rax, rcx
imul rax, r10
movzx ecx, byte [r11 + 0x15]
xor rcx, rax
imul rcx, r10
movzx eax, byte [r11 + 0x16]
xor rax, rcx
imul rax, r10
movzx ecx, byte [r11 + 0x17]
xor rcx, rax
imul rcx, r10
and rcx, qword [r14 + 0x30]
mov r11, qword [r11]
mov rsi, qword [r14 + 0x18]
lea r9, [rcx + rcx]
lea rbx, [rcx + rcx]
inc rbx
shl rcx, 4
mov rdi, qword [rsi + rcx]
cmp rdi, r15
je 0x140062050
mov rax, qword [rsi + rbx*8]
mov rcx, qword [rdx + 0x10]
cmp rcx, qword [rax + 0x10]
jne 0x140062130
mov rax, qword [rax]
cmp rax, rdx
je 0x140062054
mov r9, qword [rdx + 8]
mov qword [r9], r11
mov rdi, qword [r11 + 8]
mov qword [rdi], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rdx
mov qword [rax + 8], rdi
mov qword [r11 + 8], r9
mov qword [rdx + 8], rcx
jmp 0x140062054
cmp rdi, rax
je 0x140062168
mov rax, qword [rax + 8]
cmp rcx, qword [rax + 0x10]
jne 0x140062130
mov rax, qword [rax]
mov rcx, qword [rdx + 8]
mov qword [rcx], r11
mov rbx, qword [r11 + 8]
mov qword [rbx], rax
mov rdi, qword [rax + 8]
mov qword [rdi], rdx
mov qword [rax + 8], rbx
mov qword [r11 + 8], rcx
mov qword [rdx + 8], rdi
jmp 0x140062058
mov rax, qword [rdx + 8]
mov qword [rax], r11
mov rcx, qword [r11 + 8]
mov qword [rcx], rdi
mov rbx, qword [rdi + 8]
mov qword [rbx], rdx
mov qword [rdi + 8], rcx
mov qword [r11 + 8], rax
mov qword [rdx + 8], rbx
mov qword [rsi + r9*8], rdx
jmp 0x140062058
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rcx, str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3
Function at 0x1400621b0
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
movzx eax, byte [rdx]
movabs rbx, 0xcbf29ce484222325
xor rbx, rax
movabs rax, 0x100000001b3
imul rbx, rax
movzx edi, byte [rdx + 1]
xor rdi, rbx
imul rdi, rax
movzx ebx, byte [rdx + 2]
xor rbx, rdi
imul rbx, rax
movzx edi, byte [rdx + 3]
xor rdi, rbx
imul rdi, rax
movzx ebx, byte [rdx + 4]
xor rbx, rdi
imul rbx, rax
movzx edi, byte [rdx + 5]
xor rdi, rbx
imul rdi, rax
movzx ebx, byte [rdx + 6]
xor rbx, rdi
imul rbx, rax
movzx esi, byte [rdx + 7]
xor rsi, rbx
imul rsi, rax
and rsi, qword [rcx + 0x30]
mov r11, qword [rcx + 8]
mov r9, qword [rcx + 0x18]
lea r10, [rsi + rsi]
mov r8, qword [r9 + r10*8 + 8]
cmp r8, r11
je 0x14006225e
add rsi, rsi
inc rsi
mov rdi, qword [r9 + r10*8]
mov rbx, qword [rdx]
cmp rbx, qword [r8 + 0x10]
jne 0x140062262
cmp rdi, r8
je 0x14006229d
mov rax, qword [r8 + 8]
mov qword [r9 + rsi*8], rax
jmp 0x1400622a5
xor eax, eax
jmp 0x1400622cd
xor eax, eax
mov rdx, r8
nop word [rax + rax]
cmp rdx, rdi
je 0x1400622cd
mov rdx, qword [rdx + 8]
cmp rbx, qword [rdx + 0x10]
jne 0x140062270
cmp r8, rdx
je 0x140062298
mov r8, rdx
cmp rdi, rdx
jne 0x1400622a5
mov rax, qword [rdi]
mov qword [r9 + r10*8], rax
mov r8, rdi
jmp 0x1400622a5
cmp rdi, rdx
jne 0x140062254
mov qword [r9 + r10*8], r11
mov qword [r9 + rsi*8], r11
mov rax, qword [r8]
dec qword [rcx + 0x10]
mov rcx, qword [r8 + 8]
mov qword [rcx], rax
mov rcx, qword [r8 + 8]
mov qword [rax + 8], rcx
mov edx, 0x20
mov rcx, r8
call fcn.140066ff0
mov eax, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400622e0
Capabilities:
Hash data using fnv

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov rbp, rdx
cmp rdx, r8
je 0x1400623f7
mov rsi, r8
mov r14, rcx
movabs rcx, 0xcbf29ce484222325
movabs rdx, 0x100000001b3
mov rax, qword [r14 + 8]
mov qword [rsp + 0x28], rax
mov rbx, qword [r14 + 0x18]
mov rax, qword [rbp + 8]
mov qword [rsp + 0x30], rax
movzx eax, byte [rbp + 0x10]
xor rax, rcx
imul rax, rdx
movzx ecx, byte [rbp + 0x11]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [rbp + 0x12]
xor rax, rcx
imul rax, rdx
movzx ecx, byte [rbp + 0x13]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [rbp + 0x14]
xor rax, rcx
imul rax, rdx
movzx ecx, byte [rbp + 0x15]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [rbp + 0x16]
xor rax, rcx
imul rax, rdx
movzx ecx, byte [rbp + 0x17]
xor rcx, rax
imul rcx, rdx
and rcx, qword [r14 + 0x30]
lea rax, [rcx + rcx]
lea rdx, [rcx + rcx]
inc rdx
mov qword [rsp + 0x40], rdx
shl rcx, 4
lea r15, [rbx + rcx]
mov rcx, qword [rbx + rcx]
mov qword [rsp + 0x38], rcx
cmp rcx, rbp
setne r13b
mov qword [rsp + 0x20], rbx
mov r12, qword [rbx + rax*8 + 8]
mov rbx, rbp
nop dword [rax]
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x20
mov rcx, rdi
call fcn.140066ff0
dec qword [r14 + 0x10]
cmp rdi, r12
je 0x1400623ff
cmp rbx, rsi
setne al
or al, r13b
cmp al, 1
jne 0x1400624ff
cmp rbx, rsi
jne 0x1400623c0
jmp 0x140062502
mov rsi, rbp
jmp 0x14006250e
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rbp
jne 0x140062413
mov rax, qword [rsp + 0x28]
mov qword [r15], rax
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rdx*8], rax
cmp rbx, rsi
je 0x140062502
movzx eax, byte [rbx + 0x10]
movabs rcx, 0xcbf29ce484222325
xor rax, rcx
movabs rdx, 0x100000001b3
imul rax, rdx
movzx ecx, byte [rbx + 0x11]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [rbx + 0x12]
xor rax, rcx
imul rax, rdx
movzx ecx, byte [rbx + 0x13]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [rbx + 0x14]
xor rax, rcx
imul rax, rdx
movzx ecx, byte [rbx + 0x15]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [rbx + 0x16]
xor rax, rcx
imul rax, rdx
movzx r15d, byte [rbx + 0x17]
xor r15, rax
imul r15, rdx
and r15, qword [r14 + 0x30]
lea rax, [r15 + r15]
lea r12, [r15 + r15]
inc r12
shl r15, 4
mov rcx, qword [rsp + 0x20]
add r15, rcx
mov rbp, qword [rcx + rax*8 + 8]
nop word [rax + rax]
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x20
mov rcx, rdi
call fcn.140066ff0
dec qword [r14 + 0x10]
cmp rdi, rbp
je 0x1400624e3
cmp rbx, rsi
jne 0x1400624c0
jmp 0x1400624ff
mov rax, qword [rsp + 0x28]
mov qword [r15], rax
mov rcx, qword [rsp + 0x20]
mov qword [rcx + r12*8], rax
cmp rbx, rsi
jne 0x14006242a
jmp 0x140062502
mov qword [r15], rsi
mov rax, qword [rsp + 0x30]
mov qword [rax], rsi
mov qword [rsi + 8], rax
mov rax, rsi
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140066420
Capabilities:
Get graphical window text

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xc28
mov rcx, r8
mov r14, rdx
mov rax, qword [0x1400c1548]
xor rax, rsp
mov qword [rsp + 0xc20], rax
lea rdi, [rsp + 0x420]
mov rdx, rdi
mov r8d, 0x400
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rbx, [rsp + 0x20]
mov r8d, 0x400
mov rcx, rbx
mov rdx, rdi
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs]
vxorps xmm0, xmm0, xmm0
vmovups ymmword [r14], ymm0
mov rcx, rbx
vzeroupper
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
test rax, rax
js 0x14006653a
mov rdi, rax
cmp rax, 0xf
ja 0x1400664b9
mov qword [r14 + 0x10], rdi
mov qword [r14 + 0x18], 0xf
lea rdx, [rsp + 0x20]
mov rcx, r14
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
add rdi, r14
jmp 0x140066517
mov rax, rdi
or rax, 0xf
cmp rax, 0x17
mov esi, 0x16
cmovae rsi, rax
cmp rsi, 0xfff
jb 0x1400664ed
lea rcx, [rsi + 0x28]
call fcn.140066fac
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x1400664f9
lea rcx, [rsi + 1]
call fcn.140066fac
mov rbx, rax
mov qword [r14], rbx
mov qword [r14 + 0x10], rdi
mov qword [r14 + 0x18], rsi
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
add rdi, rbx
mov byte [rdi], 0
mov rcx, qword [rsp + 0xc20]
xor rcx, rsp
call fcn.140067310
mov rax, r14
add rsp, 0xc28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1400047b0
int3
Function at 0x140066d90
Capabilities:
Enumerate processes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x268
mov rdi, rdx
mov rax, qword [0x1400c1548]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor r15d, r15d
mov ecx, 2
xor edx, edx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp rax, 0xffffffffffffffff
je 0x140066e70
mov rbx, rax
xor r15d, r15d
lea rsi, [rsp + 0x28]
mov r8d, 0x238
mov rcx, rsi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x28], 0x238
mov rcx, rbx
mov rdx, rsi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x140066e67
lea r14, [rsp + 0x54]
mov rcx, qword [rdi]
mov rdx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140066e62
lea rdx, [rsp + 0x28]
mov rcx, rbx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x140066e67
xor r15d, r15d
mov rbp, qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
lea rsi, [rsp + 0x28]
jmp 0x140066e4f
mov rcx, rbx
mov rdx, rsi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x140066e67
mov rcx, qword [rdi]
mov rdx, r14
call rbp
test eax, eax
jne 0x140066e40
mov r15d, dword [rsp + 0x30]
jmp 0x140066e40
mov r15d, dword [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140067310
mov eax, r15d
add rsp, 0x268
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x140066ea0
Capabilities:
Hide graphical window

Disassembly:
push rsi
sub rsp, 0xb0
mov rax, qword [0x1400c1548]
xor rax, rsp
mov qword [rsp + 0xa8], rax
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rsi, rax
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x44]
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0x226
mov rcx, rsi
mov r9d, 0x3b6
call qword [sym.imp.USER32.dll_MoveWindow]
mov qword [rsp + 0x50], 0x54
mov dword [rsp + 0x58], 0x100000
movabs rax, 0x19000000000
mov qword [rsp + 0x5c], rax
lea rcx, [rsp + 0x64]
lea rdx, str.Cascadia_Code
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea r8, [rsp + 0x50]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetCurrentConsoleFontEx]
mov dword [rsp + 0x30], 0x63
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, rsi
mov rdx, 0xffffffffffffffff
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, rsi
mov edx, 1
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140067310
mov al, 1
add rsp, 0xb0
pop rsi
ret

Function at 0x140067654
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x1400163d0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140011294
Capabilities:
Manipulate console buffer

Disassembly:
jmp 0x1400127e0
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x1400250f3]
call fcn.1400113a7
xor ecx, ecx
call fcn.140012a10
mov ecx, eax
call qword [sym.imp.ucrtbased.dll_srand]
call fcn.1400113f2
xor eax, eax
cmp eax, 1
je 0x14001290f
call qword [sym.imp.ucrtbased.dll__kbhit]
test eax, eax
je 0x14001288e
call qword [sym.imp.ucrtbased.dll__getch]
mov byte [rbp + 4], al
movsx eax, byte [rbp + 4]
cmp eax, 0xffffffe0
jne 0x14001283f
call qword [sym.imp.ucrtbased.dll__getch]
mov byte [rbp + 4], al
movsx eax, byte [rbp + 4]
cmp eax, 0x4b
jne 0x140012851
xor ecx, ecx
call fcn.1400113c0
jmp 0x14001288e
movsx eax, byte [rbp + 4]
cmp eax, 0x4d
jne 0x140012866
mov ecx, 1
call fcn.1400113c0
jmp 0x14001288e
movsx eax, byte [rbp + 4]
cmp eax, 0x50
jne 0x14001287b
mov ecx, 2
call fcn.1400113c0
jmp 0x14001288e
movsx eax, byte [rbp + 4]
cmp eax, 0x48
jne 0x14001288e
mov ecx, 3
call fcn.1400113c0
cmp dword [0x14001f228], 0xffffffff
je 0x1400128a6
call fcn.1400111ea
mov ecx, 4
call fcn.1400110a5
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dx, 0xf
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
xor eax, eax
mov word [rbp + 0xe4], ax
mov eax, 0xa
mov word [rbp + 0xe6], ax
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, dword [rbp + 0xe4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov edx, dword [0x14001f228]
lea rcx, [0x14001bc10]
call fcn.1400111b3
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001280f
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x1400112a3
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014a90
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014ab0
xor al, al
jmp 0x140014b31
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014ac3
xor al, al
jmp 0x140014b31
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140014aed
xor al, al
jmp 0x140014b31
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014b01
xor al, al
jmp 0x140014b31
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014b13
xor al, al
jmp 0x140014b31
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014b2f
xor al, al
jmp 0x140014b31
mov al, 1
add rsp, 0x38
ret
Function at 0x140002700
Capabilities:
Set console window title

Disassembly:
sub rsp, 0x28
lea rcx, [0x1400dd208]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
lea rcx, [0x1402425f0]
call fcn.140009f90
call fcn.140064500
mov eax, dword [rax + 0x70]
add rsp, 0x28
ret
Function at 0x14000f760
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 case.default.0x14000f781
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 0x14000f7ae
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14000f7b0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14000f809
test ecx, ecx
jle 0x14000f7e9
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 0x14000f809
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14000f809
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
add byte [rsi], dl
Function at 0x14000f830
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 0x14000f852
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x14000f861
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 0x14000f884
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000f886
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000f8c2
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 0x14000f95e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14000f8fd
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 0x14000f93e
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 0x14000f95e
cmp rbx, rax
ja 0x14000f910
test rbx, rbx
je 0x14000f95e
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 0x14000fdc0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140157080]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000fded
xor eax, eax
jmp 0x14000ff59
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x14000fe27
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x14000fe27
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 0x14000ff59
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000ff4c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000fe6a
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 0x14000fe95
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 0x14000ff51
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 0x14000ff04
sub eax, 1
je 0x14000ff04
cmp eax, 2
jne 0x14000ff4c
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 0x14000ff51
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x14000ff32
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 0x14000ff4c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x14000ff51
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400c86a0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140011780
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140157080]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140011853
cmp byte [rcx + 0x71], 0
je 0x140011853
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x14001184f
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 0x140011814
sub eax, 1
je 0x140011818
cmp eax, 2
jne 0x14001184f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400c86a0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140011846
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 0x14001184f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400117fc
xor al, al
jmp 0x1400117fc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400c86a0
add rsp, 0x60
pop rbx
ret

Function at 0x1400217b0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14002180d
lea rbx, [0x1400dda10]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400217f4
cmp r10, 2
jb 0x1400217f4
cmp byte [r9], r8b
jne 0x1400217f4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x1400217d0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14002184f
lea rbx, [0x1400dda10]
cmp r8b, 0x23
jne 0x140021833
cmp byte [r9], r8b
jne 0x140021833
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140021820
mov rbx, qword [rsp + 8]
not eax
ret