joyce8/EMBER2024-capa huggingface dataset:
Function at 0x468600
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4686ca
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call dbg.internal/bytealg.IndexByteString
xorps xmm15, xmm15
mov r14, qword [0x0058e0b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x4686af
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x0047e400]
xor ebx, ebx
mov rcx, rdx
call dbg.runtime.makeslice
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call dbg.syscall.encodeWTF16
inc rbx
cmp rcx, rbx
jae 0x46869e
mov edi, 1
lea rsi, [0x0047e400]
call dbg.runtime.growslice
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x004ab8c8]
lea rsi, [0x004ab5b8]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call dbg.runtime.morestack_noctxt
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp dbg.syscall.UTF16FromString

Function at 0x46da10
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x28
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov edx, 1
call qword [sym.imp.KERNEL32.dll_CreateEventA]
test rax, rax
mov qword [0x00591ad0], rax
je 0x46da45
lea rcx, [0x00591ae0]
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ecx, 2
call qword [sym.__acrt_iob_func]
mov r8d, 0x3d
mov edx, 1
lea rcx, str.runtime:_failed_to_create_runtime_initialization_wait_event._n
mov r9, rax
call sym.fwrite
call sym.abort
nop

Function at 0x46dbc0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x28
mov ecx, 2
call qword [sym.__acrt_iob_func]
mov r8d, 0x20
mov edx, 1
lea rcx, str.unexpected_cgo_bindm_on_Windows_n
mov r9, rax
call sym.fwrite
call sym.abort
nop
nop

Function at 0x46dbf0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x28
call sym._cgo_maybe_run_preinit
lea rcx, [0x00591ae0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [0x00591ae0]
mov dword [0x00591ac8], 1
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [0x00591ad0]
call qword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
je 0x46dc33
add rsp, 0x28
ret
mov ecx, 2
call qword [sym.__acrt_iob_func]
mov r8d, 0x3b
mov edx, 1
lea rcx, str.runtime:_failed_to_signal_runtime_initialization_complete._n
mov r9, rax
call sym.fwrite
call sym.abort
nop
nop
Function at 0x46dd70
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, 0x18
call sym.malloc
test rax, rax
je 0x46ddaa
mov rdx, qword [rbx]
mov rcx, rax
mov qword [rax], rdx
mov rdx, qword [rbx + 8]
mov qword [rax + 8], rdx
mov rdx, qword [rbx + 0x10]
mov qword [rax + 0x10], rdx
add rsp, 0x20
pop rbx
jmp dbg._cgo_sys_thread_start
mov ecx, 2
call qword [sym.__acrt_iob_func]
mov r8d, 0x2b
mov edx, 1
lea rcx, str.runtime_cgo:_out_of_memory_in_thread_start_n
mov r9, rax
call sym.fwrite
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x46de30
Capabilities:
Create thread

Disassembly:
mov rdx, rcx
lea rcx, [dbg.threadentry]
jmp sym._cgo_beginthread

Function at 0x46e380
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x00592124]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x46e508
mov rax, qword [0x00592128]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x46e3cc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x46e455
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x46e3b0
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x46e53d
mov rax, qword [0x00592128]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call sym._GetPEImageBase
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x00592128]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x46e520
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x46e44e
sub eax, 0x40
and eax, 0xffffffbf
jne 0x46e4b0
add dword [0x00592124], 1
cmp edi, 8
jae 0x46e483
test dil, 4
jne 0x46e4f4
test edi, edi
je 0x46e478
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x46e50f
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x46e478
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x46e49c
jmp 0x46e478
add rsi, qword [0x00592128]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x46e44e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x46e478
xor esi, esi
jmp 0x46e3d7
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x46e478
mov rax, qword [0x00592128]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop dword [rax]
Function at 0x46ec90
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x00592400]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x005923e0]
test rbx, rbx
je 0x46ece4
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x46ecdb
test rsi, rsi
je 0x46ecdb
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x46ecc0
lea rcx, [0x00592400]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x46ef20
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x46ef30
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x46ef40
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x46ef81
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x46ef78
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x46ef83
add rax, 0x28
cmp rax, r9
jne 0x46ef64
xor eax, eax
ret

Function at 0x46f020
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x00503800]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x46f08d
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x46f08d
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x46f08d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x46f084
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x46f08f
add rax, 0x28
cmp rax, r9
jne 0x46f070
xor eax, eax
add rsp, 0x28
ret

Function at 0x46f190
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x00503800]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x46f1b0
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x46f1a8
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x46f20d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x46f204
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x46f214
add rax, 0x28
cmp rax, r9
jne 0x46f1f0
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret
Function at 0x46f230
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x00503800]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x46f29e
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x46f29e
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x46f29e
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x46f29e
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x46f295
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x46f2a5
add rcx, 0x28
cmp rcx, rax
jne 0x46f280
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x46f2b8
jmp 0x46f29e
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x46f2c6
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x46f29e
test r9d, r9d
jg 0x46f2b0
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret

Function at 0x46f660
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x140004d80
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1401ad1c8]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1401e2ff8]
mov esi, edx
mov edi, ecx
cmp byte [rbx + 0x20d5], 0
jne 0x140007f77
cmp byte [rbx + 0x20d6], 0
jne 0x140007f77
mov r9d, dword [rbx + 0x3178]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140014a80
test sil, 1
je 0x1400080ba
jmp 0x140008016
movss xmm1, dword [rbx + 0x16ec]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x1400a99ec]
xor eax, eax
mov edx, reloc.WS2_32.dll_recv
mulss xmm1, dword [0x1400a99e4]
addss xmm0, dword [rbx + 0x120]
addss xmm1, dword [rbx + 0x124]
or dword [rbx + 0x1dc0], 1
mov qword [rbx + 0x1ddc], rax
movss dword [rbx + 0x1dd4], xmm0
mov dword [rbx + 0x1dc4], 1
movss dword [rbx + 0x1dd8], xmm1
mov byte [rbx + 0x1dfc], 1
movss xmm0, dword [rbx + 0x1748]
mov rax, qword [0x1401e2ff8]
mulss xmm0, dword [0x1400a997c]
or dword [rax + 0x1dc0], 0x40
movss dword [rax + 0x1e20], xmm0
mov r9d, dword [rbx + 0x3178]
call fcn.140014a80
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov edx, r10d
test r9b, r9b
je 0x140008066
lea r11, [0x1400a8da0]
cmp r9b, 0x23
jne 0x140008049
cmp byte [r8], r9b
jne 0x140008049
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x140008036
mov rcx, qword [0x1401e2ff8]
not edx
add rcx, 0x1cf8
call fcn.1400145b0
test rax, rax
je 0x1400080ba
cmp byte [rax + 0xdf], 0
je 0x1400080ba
mov byte [rax + 0xe6], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0x100], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x3178]
mov edx, reloc.WS2_32.dll_recv
mov r9d, dword [rbx + 0x3178]
call fcn.140014a80
or edi, 0x22c0347
lea rcx, [rsp + 0x20]
mov r8d, edi
xor edx, edx
call fcn.140004680
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400a4810
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140010720
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
sub rsp, 0x20
mov rax, qword [rcx + 0x10]
mov rbx, rcx
mov rbp, qword [0x1401e2ff8]
test rax, rax
je 0x140010748
mov eax, dword [rax + 4]
mov dword [rcx + 4], eax
mov rcx, qword [rcx + 0x18]
test rcx, rcx
je 0x140010756
call fcn.140010720
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140010764
call fcn.140010720
mov r8d, dword [rbx + 0x28]
xor esi, esi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], r14
test r8d, r8d
jle 0x140010846
mov r14d, esi
mov rax, qword [rbx + 0x30]
mov r9d, dword [rbx + 0xa4]
mov ecx, dword [rbp + 0x1c90]
inc r9d
mov rdi, qword [r14 + rax]
cmp r9d, ecx
jne 0x1400107ad
mov eax, dword [rdi + 0x2c8]
inc eax
cmp eax, ecx
jge 0x1400107ad
mov dl, 1
jmp 0x1400107b4
xor dl, dl
cmp r9d, ecx
jne 0x1400107dc
test byte [rbx + 0xbc], 0x10
jne 0x1400107c8
mov eax, dword [rdi + 0x18]
cmp dword [rbx + 0xb4], eax
jne 0x1400107dc
cmp byte [rdi + 0xe8], 0
je 0x1400107dc
test dword [rdi + 0x1c], 0x100000
jne 0x1400107dc
mov dl, 1
movzx ecx, byte [rdi + 0x439]
movzx eax, cl
shr al, 2
and al, 1
or al, dl
je 0x140010826
and cl, 0xfb
mov byte [rdi + 0x439], cl
cmp dword [rbx + 0x28], 1
jne 0x14001080c
mov eax, dword [rbx + 8]
shr eax, 0xb
test al, 1
je 0x1400108b1
mov r8d, dword [rbx]
mov rdx, rdi
mov rcx, rbx
call fcn.14000d650
mov r8d, dword [rbx + 0x28]
dec esi
sub r14, 8
jmp 0x140010837
mov eax, dword [rdi + 0x3c]
not eax
and dword [rbx + 8], eax
mov eax, dword [rbx + 8]
or eax, dword [rdi + 0x38]
mov dword [rbx + 8], eax
inc esi
add r14, 8
cmp esi, r8d
jl 0x140010780
movzx edx, byte [rbx + 0xbc]
test dl, dl
jns 0x140010872
cmp r8d, 1
jne 0x140010872
mov ecx, dword [rbx + 8]
mov eax, ecx
or eax, dword [rbx + 4]
test al, 0x40
je 0x140010872
shr ecx, 0xd
test r8b, cl
jne 0x140010872
or byte [rbx + 0xbd], r8b
movzx ecx, byte [rbx + 0xbd]
and dl, 0x7f
mov byte [rbx + 0xbc], dl
movzx eax, cl
test cl, 1
je 0x1400108a2
mov r9, qword [rbx + 0x88]
test r9, r9
je 0x1400108a2
test dword [r9 + 0x38], 0x2000
je 0x1400108a2
and al, 0xfe
cmp r8d, 1
jle 0x1400108d0
and dword [rbx + 8], 0xffffdfff
jmp 0x1400108db
mov rcx, rbx
call fcn.14000c4f0
mov r8d, dword [rbx]
mov rdx, rdi
mov rcx, rbx
mov dword [rbx + 0xc], 1
call fcn.14000d650
jmp 0x140010943
test al, 1
je 0x1400108db
xor dword [rbx + 8], 0x2000
mov ecx, dword [rbx + 8]
and al, 0xfe
mov byte [rbx + 0xbd], al
mov eax, ecx
shr eax, 0xb
shr ecx, 0xa
cmp qword [rbx + 0x10], 0
movzx eax, al
movzx r9d, cl
cmovne r9d, eax
test r8d, r8d
setg al
or r9b, al
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x14001091c
test byte [rax + 0xbc], 1
je 0x14001091c
mov r9b, 1
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x140010932
test byte [rax + 0xbc], 1
je 0x140010932
mov al, 1
jmp 0x140010934
xor al, al
or al, r9b
xor al, dl
and al, 1
xor al, dl
mov byte [rbx + 0xbc], al
mov r14, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
Function at 0x1400131c0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov rbx, rcx
mov eax, r10d
test r9b, r9b
je 0x140013212
lea r11, [0x1400a8da0]
cmp r9b, 0x23
jne 0x1400131f5
cmp byte [r8], r9b
jne 0x1400131f5
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1400131e2
mov r11, qword [0x1401e2ff8]
mov r10, qword [r11 + 0x3228]
test r10, r10
je 0x140013259
lea r9, [r10 + 4]
test r9, r9
je 0x140013259
not eax
cmp dword [r9], eax
je 0x140013262
movsxd r8, dword [r9 - 4]
lea rdx, [r10 + 4]
movsxd rcx, dword [r11 + 0x3220]
add r8, r9
xor r9d, r9d
add rdx, rcx
cmp r8, rdx
cmovne r9, r8
test r9, r9
jne 0x140013230
mov rcx, rbx
pop rbx
jmp fcn.140009cd0
mov rax, r9
pop rbx
ret

Function at 0x140013340
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov edx, r10d
test r9b, r9b
je 0x140013390
lea r11, [0x1400a8da0]
nop dword [rax]
cmp r9b, 0x23
jne 0x140013373
cmp byte [r8], r9b
jne 0x140013373
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x140013360
mov rcx, qword [0x1401e2ff8]
not edx
add rcx, 0x1cf8
jmp fcn.1400145b0

Function at 0x140013cf0
Capabilities:
Hash data with crc32

Disassembly:
mov rax, qword [rcx + 0x120]
mov r9, r8
movsxd r8, dword [rcx + 0x118]
mov r10, rdx
xor ecx, ecx
mov rdx, r9
sub rdx, r10
test r9, r9
mov r8d, dword [rax + r8*4 - 4]
cmove rdx, rcx
mov rcx, r10
jmp fcn.140014bd0
Function at 0x1400147d0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x20
movsxd rbp, r9d
mov r14, r8
test r8, r8
je 0x1400147eb
mov qword [r8], 0
call fcn.140014930
mov rbx, rax
test rax, rax
jne 0x140014801
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret
mov qword [rsp + 0x40], rsi
mov rcx, rbx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140014909
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140014909
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140014909
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140014909
cmp rdi, 0xffffffffffffffff
je 0x140014909
mov rax, qword [0x1401e2ff8]
test rax, rax
je 0x140014882
inc dword [rax + 0x3b0]
mov rdx, qword [0x1401e3018]
lea rcx, [rdi + rbp]
call qword [0x1401133e0]
mov rsi, rax
test rax, rax
je 0x140014909
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, rdi
je 0x1400148e1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1401e2ff8]
test rax, rax
je 0x1400148cf
dec dword [rax + 0x3b0]
mov rdx, qword [0x1401e3018]
mov rcx, rsi
call qword [0x1401133e8]
jmp 0x140014912
test ebp, ebp
jle 0x1400148f3
lea rcx, [rsi + rdi]
mov r8, rbp
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140014904
mov qword [r14], rdi
mov rax, rsi
jmp 0x140014914
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov r15, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret

Function at 0x140014bd0
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 0x140014c2d
lea rbx, [0x1400a8da0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140014c14
cmp r10, 2
jb 0x140014c14
cmp byte [r9], r8b
jne 0x140014c14
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 0x140014bf0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140014c6f
lea rbx, [0x1400a8da0]
cmp r8b, 0x23
jne 0x140014c53
cmp byte [r9], r8b
jne 0x140014c53
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 0x140014c40
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x140016230
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x3260], 0
lea rbx, [rcx + 0x3268]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x1400162d7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001628a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140024480
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140023ed0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x3260]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x3270]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1401e3000]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x1400162df
mov rcx, rbx
call fcn.140023ed0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14001eae0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x1401e2ff8]
mov rbx, rcx
xor ecx, ecx
mov dword [rax + 0x31fc], ecx
test rbx, rbx
je 0x14001eb4f
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rdi
call fcn.14001eb60
lea rdx, [0x1400a9510]
mov rcx, rbx
mov rdi, rax
call fcn.140014930
mov rbx, rax
test rax, rax
je 0x14001eb4a
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret

Function at 0x140021ef0
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, qword [0x1401e2ff8]
cmp byte [rbx + 0x31f8], 0
jne 0x140022043
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14002203c
lea rdx, [0x1400a950c]
mov qword [rsp + 0x40], rdi
call fcn.140014930
mov rdi, rax
test rax, rax
je 0x140022037
mov qword [rsp + 0x30], rbp
mov rcx, rax
mov qword [rsp + 0x38], rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x140022024
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140022024
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140022024
xor r8d, r8d
mov edx, ebp
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140022024
mov rbp, rsi
cmp rsi, 0xffffffffffffffff
je 0x140022024
mov rax, qword [0x1401e2ff8]
test rax, rax
je 0x140021fb3
inc dword [rax + 0x3b0]
mov rdx, qword [0x1401e3018]
mov rcx, rbp
call qword [0x1401133e0]
mov rsi, rax
test rax, rax
je 0x140022024
mov r9, rdi
mov r8, rbp
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rdi
cmp rax, rbp
je 0x140021fef
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x140022000
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdx, rbp
mov rcx, rsi
call fcn.140015c70
mov rax, qword [0x1401e2ff8]
test rax, rax
je 0x140022012
dec dword [rax + 0x3b0]
mov rdx, qword [0x1401e3018]
mov rcx, rsi
call qword [0x1401133e8]
jmp 0x14002202d
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
mov byte [rbx + 0x31f8], 1
movss xmm0, dword [rbx + 0x31fc]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x140022094
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x31fc], xmm0
jb 0x140022094
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140022083
call fcn.14001eae0
mov dword [rbx + 0x31fc], 0
add rsp, 0x20
pop rbx
ret
mov byte [rbx + 0x398], 1
mov dword [rbx + 0x31fc], 0
add rsp, 0x20
pop rbx
ret