joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400175d0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400f8010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400f87d8]
mov edi, ecx
cmp byte [rbx + 0x4d75], 0
jne 0x140017631
cmp byte [rbx + 0x4d76], 0
jne 0x140017631
movsx r9d, word [rbx + 0x5ee8]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140005820
test dil, 2
je 0x14001775f
jmp 0x1400176ba
movss xmm1, dword [rbx + 0x39c4]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5ee8]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400eeeb8]
mulss xmm1, dword [0x1400eeea4]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xf8]
addss xmm1, dword [rbx + 0xfc]
mov qword [rbx + 0x4a68], rax
mov dword [rbx + 0x4a54], 1
movss dword [rbx + 0x4a60], xmm0
movss dword [rbx + 0x4a64], xmm1
movss xmm0, dword [rbx + 0x3a20]
mulss xmm0, dword [0x1400eee04]
or dword [rbx + 0x4a50], 0x41
movss dword [rbx + 0x4ab0], xmm0
call fcn.140005820
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140017710
lea r11, [0x140054ef0]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x1400176f3
cmp byte [r8], r9b
jne 0x1400176f3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1400176e0
not ecx
call fcn.14000cf80
test rax, rax
je 0x14001775f
cmp byte [rax + 0xca], 0
je 0x14001775f
mov byte [rax + 0xcf], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd2], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xec], 1
mov edx, 0x10
inc word [rbx + 0x5ee8]
movsx r9d, word [rbx + 0x5ee8]
call fcn.140005820
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.14000fce0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400508c0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14001d320
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 + 0x6040], 0
lea rbx, [rcx + 0x6048]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001d3c7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001d37a
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.14001f960
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140006400
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x6040]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x6050]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1400f87d0]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001d3cf
mov rcx, rbx
call fcn.140006400
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001d700
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
mov rbx, qword [0x1400f87d8]
xor ebp, ebp
cmp byte [rbx + 0x5f98], bpl
jne 0x14001d7df
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14001d7d8
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.140005ca0
mov rsi, rax
test rax, rax
je 0x14001d7d8
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x14001d764
mov rcx, rax
call fcn.14001d930
mov r8, qword [0x1400f87d8]
test r8, r8
je 0x14001d7cf
movsx rdx, word [r8 + 0x6120]
lea rcx, [r8 + 0x6124]
mov r9d, dword [r8 + 0x3f88]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14001d7c4
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6120], cx
movsx rax, cx
lea rcx, [r8 + 0x6124]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x611c]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x5f98], 1
movss xmm0, dword [rbx + 0x5f9c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x14001d86e
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x5f9c], xmm0
jb 0x14001d86e
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x14001d861
mov rax, qword [0x1400f87d8]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x5f9c], ebp
call fcn.14001db90
lea rdx, [0x140054a04]
mov rcx, rdi
mov rsi, rax
call fcn.140005af0
mov rdi, rax
test rax, rax
je 0x14001d868
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x14001d868
mov byte [rbx + 0xce], 1
mov dword [rbx + 0x5f9c], ebp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14001d890
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1400f87d8]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001d8f3
mov qword [rsp], rbx
lea rbx, [0x140054ef0]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001d8d3
cmp byte [r8], r9b
jne 0x14001d8d3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x14001d8c0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5fb0]
not eax
mov r8, qword [r10 + 0x5fb8]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14001d91f
cmp dword [r8 + 8], eax
je 0x14001d926
add r8, 0x48
cmp r8, rcx
jne 0x14001d910
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x140033170
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x1400f8010]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x1400f87d8]
mov rbp, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14003338e
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14003338e
mov qword [rsp + 0x80], rbx
mov ecx, 0x50
mov qword [rsp + 0x88], rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, qword [0x1400f87d8]
xor ebx, ebx
mov rdi, rax
test r8, r8
je 0x140033244
movsx rdx, word [r8 + 0x6120]
lea rax, [r8 + 0x6124]
mov r9d, dword [r8 + 0x3f88]
lea rax, [rax + rdx*8]
cmp dword [rax], r9d
je 0x140033239
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6120], cx
movsx rax, cx
lea rax, [rax*8 + 0x6124]
add rax, r8
mov dword [rax], r9d
mov dword [rax + 4], ebx
inc word [rax + 4]
inc dword [r8 + 0x6118]
test rdi, rdi
je 0x140033261
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
jmp 0x140033264
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, [0x1400ee348]
mov qword [rsi + 0x80], rax
mov qword [rsi + 0x90], rdi
mov qword [rdi], rbp
mov rax, qword [rsp + 0x58]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0x60]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
test r8, r8
je 0x1400332a7
mov rsi, qword [r8 + 0x90]
jmp 0x1400332aa
mov rsi, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rsi + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x1400332d5
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x1400f87d8]
mov rcx, qword [rax + 0x4b60]
mov rax, qword [rcx]
mov qword [rax + 0x28], rbp
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x30], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x38], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x40], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x48], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x50], rax
mov byte [rdi + 0x31], 1
nop word [rax + rax]
mov rcx, qword [rsp + rbx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x14003334e
inc rbx
cmp rbx, 5
jl 0x140033330
jmp 0x14003337a
lea rdx, str.XInputGetCapabilities
mov qword [rdi + 0x38], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rsi
mov qword [rdi + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x48], rax
mov rdi, qword [rsp + 0x88]
mov al, 1
mov rbx, qword [rsp + 0x80]
jmp 0x140033390
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400508c0
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
Function at 0x14004a640
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rax, qword [0x1400f8010]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov qword [rbp - 0x19], rdx
mov qword [rbp - 0x11], r8
xor ebx, ebx
cmp byte [0x1400f8050], bl
je 0x14004a871
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 7]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14004a6c6
lea rcx, [rbp + 7]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 7]
call qword [sym.imp.USER32.dll_DispatchMessageA]
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 7]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x14004a694
mov rax, qword [0x1400f87d8]
test rax, rax
je 0x14004a6db
mov rcx, qword [rax + 0x98]
jmp 0x14004a6de
mov rcx, rbx
cmp qword [rcx + 0x48], 0
jne 0x14004a6ea
call fcn.140032940
call fcn.140033b70
call fcn.14000a450
call fcn.14004c1f0
cmp byte [0x1400f8051], 0
je 0x14004a70e
mov rcx, qword [0x1400f8818]
call fcn.14004d120
cmp byte [0x1400f8078], 0
je 0x14004a72b
mov r8, qword [rbp - 0x11]
mov rdx, qword [rbp - 0x19]
mov rcx, qword [0x1400f8818]
call fcn.14004ed50
cmp byte [0x1400f8088], 0
je 0x14004a7c5
cmp dword [0x1400f80a8], 2
jne 0x14004a7c5
lea rax, [rbp - 0x19]
mov qword [rbp - 0x29], rax
lea rax, [rbp - 0x11]
mov qword [rbp - 0x21], rax
mov ecx, 0x10
call fcn.1400508e0
movups xmm0, xmmword [rbp - 0x29]
movups xmmword [rax], xmm0
mov qword [rbp - 9], rax
lea rcx, [rbp - 0x31]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x14004b0a0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x39], rax
test rax, rax
je 0x14004a862
cmp dword [rbp - 0x31], 0
je 0x14004a856
movaps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 9], xmm0
lea rcx, [rbp - 9]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14004a84d
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x39], xmm0
call fcn.14000c2d0
xorps xmm0, xmm0
movups xmmword [rbp + 0x37], xmm0
mov rcx, qword [0x1400f87f0]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x1400f8800]
lea edx, [r9 + 1]
call qword [rax + pe_nt_image_headers64]
mov rcx, qword [0x1400f87f0]
mov rax, qword [rcx]
lea r8, [rbp + 0x37]
mov rdx, qword [0x1400f8800]
call qword [rax + 0x190]
mov rax, qword [0x1400f87d8]
mov rcx, qword [rax + 0x4b60]
mov rax, qword [rcx]
add rax, 0x48
mov rcx, rbx
cmp byte [rax], cl
cmovne rcx, rax
call fcn.140031ed0
mov rcx, qword [0x1400f87f8]
mov rax, qword [rcx]
xor r8d, r8d
lea edx, [r8 + 1]
call qword [rax + 0x40]
cmp byte [0x1400f8050], 0
jmp 0x14004a670
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x31], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400508c0
mov rbx, qword [rsp + 0xd0]
add rsp, 0xc0
pop rbp
ret
Function at 0x140051470
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x6030
call fcn.14004bb00
sub rsp, rax
mov rdi, rdx
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rcx + rbx], 0
jne 0x140006480
cmp rbx, 0x1000
jb 0x1400064b0
call fcn.1400335c8
mov dword [rax], 0x26
xor eax, eax
mov rbx, qword [rsp + 0x6040]
add rsp, 0x6030
pop rdi
ret
test rbx, rbx
je 0x1400064bf
cmp byte [rbx + rcx - 1], 0x5c
jne 0x1400064bf
dec rbx
mov rdx, rcx
mov r8, rbx
lea rcx, [rsp + 0x30]
call fcn.14004c350
mov byte [rsp + rbx + 0x30], 0
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp byte [rdi + rbx], 0
jne 0x1400064e0
cmp rbx, 0x1000
jae 0x140006492
test rbx, rbx
je 0x140006501
cmp byte [rbx + rdi - 1], 0x5c
jne 0x140006501
dec rbx
mov r8, rbx
lea rcx, [rsp + 0x1030]
mov rdx, rdi
call fcn.14004c350
lea rax, [rsp + 0x4030]
mov dword [rsp + 0x28], 0x1000
mov r9d, 0xffffffff
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x30]
mov byte [rsp + rbx + 0x1030], 0
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jg 0x14000657d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x26
mov ebx, 0x2a
cmp eax, 0x7a
cmove ebx, ecx
call fcn.1400335c8
mov dword [rax], ebx
xor eax, eax
mov rbx, qword [rsp + 0x6040]
add rsp, 0x6030
pop rdi
ret
lea rax, [rsp + 0x2030]
mov dword [rsp + 0x28], 0x1000
mov r9d, 0xffffffff
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x1030]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jle 0x14000654d
lea rdx, [rsp + 0x2030]
lea rcx, [rsp + 0x4030]
call fcn.140034a50
mov rbx, qword [rsp + 0x6040]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
add rsp, 0x6030
pop rdi
ret

Function at 0x1400067a0
Capabilities:
Create directory

Disassembly:
push rbx
mov eax, 0x3030
call fcn.14004bb00
sub rsp, rax
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rcx + rbx], 0
jne 0x1400067b6
cmp rbx, 0x1000
jb 0x1400067de
call fcn.1400335c8
mov dword [rax], 0x26
xor eax, eax
add rsp, 0x3030
pop rbx
ret
test rbx, rbx
je 0x1400067ed
cmp byte [rbx + rcx - 1], 0x5c
jne 0x1400067ed
dec rbx
mov rdx, rcx
mov r8, rbx
lea rcx, [rsp + 0x30]
call fcn.14004c350
xor r8d, r8d
mov byte [rsp + rbx + 0x30], 0
lea rdx, [rsp + 0x3048]
lea rcx, [rsp + 0x30]
call fcn.1400061c0
test eax, eax
je 0x1400067d3
mov ecx, dword [rsp + 0x3048]
test ecx, ecx
je 0x140006851
sub ecx, 1
je 0x14000683b
cmp ecx, 1
jne 0x1400067d3
mov eax, ecx
add rsp, 0x3030
pop rbx
ret
call fcn.1400335c8
mov dword [rax], 1
xor eax, eax
add rsp, 0x3030
pop rbx
ret
lea rax, [rsp + 0x1030]
mov dword [rsp + 0x28], 0x1000
mov r9d, 0xffffffff
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jg 0x1400068aa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x26
mov ebx, 0x2a
cmp eax, 0x7a
cmove ebx, ecx
call fcn.1400335c8
mov dword [rax], ebx
xor eax, eax
add rsp, 0x3030
pop rbx
ret
lea rcx, [rsp + 0x1030]
call fcn.140033710
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
add rsp, 0x3030
pop rbx
ret
Function at 0x140006980
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rdi
push r14
push r15
sub rsp, 0x20
mov rdi, qword [rcx]
mov r14, r9
mov rbp, r9
mov rbx, r8
mov r15, rdx
sub r14, r8
jne 0x1400069b0
lea eax, [r14 + 1]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rbp
pop rbx
ret
mov rax, qword [rdi + 8]
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r13
cmp r14, rax
ja 0x140006a98
sub rax, r14
cmp r15, rax
ja 0x140006a98
mov rdx, qword [rdi + 0x30]
add rdx, r15
cmp qword [rdi + 0x28], rdx
je 0x140006a3a
mov rcx, qword [rdi + 0x20]
xor r8d, r8d
call fcn.1400355b0
test eax, eax
je 0x140006a3a
mov qword [rdi + 0x28], 0xffffffffffffffff
call fcn.1400335c8
mov esi, dword [rax]
mov eax, dword [rdi + 0x38]
cmp eax, esi
je 0x140006ae5
test esi, esi
je 0x140006ae5
test eax, eax
jne 0x140006a1e
mov dword [rdi + 0x38], esi
mov ecx, esi
call fcn.140033668
mov ecx, 2
mov rbx, rax
call fcn.1400313a0
mov r8d, esi
jmp 0x140006ad3
mov r12, qword [rdi + 0x20]
cmp rbx, rbp
jae 0x140006a7d
mov r13d, 0x100000
nop dword [rax]
mov rsi, rbp
mov r9, r12
sub rsi, rbx
mov edx, 1
cmp rsi, r13
mov rcx, rbx
cmova rsi, r13
mov r8, rsi
call fcn.140035278
cmp rsi, rax
jne 0x1400069f5
add rbx, rsi
cmp rbx, rbp
jb 0x140006a50
jne 0x1400069f5
mov rax, qword [rdi + 0x30]
add rax, r14
add rax, r15
mov qword [rdi + 0x28], rax
mov eax, 1
jmp 0x140006ae7
call fcn.1400335c8
mov dword [rax], 0x1b
mov eax, dword [rdi + 0x38]
cmp eax, 0x1b
je 0x140006ae5
test eax, eax
jne 0x140006ab6
mov dword [rdi + 0x38], 0x1b
mov ecx, 0x1b
call fcn.140033668
mov ecx, 2
mov rbx, rax
call fcn.1400313a0
mov r8d, 0x1b
mov r9, rbx
lea rdx, str.call_import_system_api_error__errno:__d__errmsg:__s._n
mov rcx, rax
call fcn.140002780
xor eax, eax
mov r12, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
mov r13, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rbp
pop rbx
ret
Function at 0x14000dc40
Capabilities:
Compute adler32 checksum

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
push r15
mov r14d, ecx
movzx ebp, cx
shr r14d, 0x10
mov r13, r8
mov r9, rdx
lea rcx, [0x140000000]
nop dword [rax]
nop word [rax + rax]
movabs rax, 0x79baa6bb6398b6f7
nop word [rax + rax]
cmp r13, 8
ja case.default.0x14000dca1
mov eax, dword [rcx + r13*4 + 0xdeac]
add rax, rcx
jmp rax
cmp r13, 0x15b0
jb 0x14000dd90
mul r13
mov r12, r13
sub r12, rdx
shr r12, 1
add r12, rdx
shr r12, 0xc
imul rax, r12, 0xffffffffffffea50
add r13, rax
nop dword [rax]
mov r15d, 0x2b6
nop word [rax + rax]
movzx esi, byte [r9 + 1]
movzx ebx, byte [r9 + 3]
movzx r10d, byte [r9 + 5]
movzx edx, byte [r9 + 7]
movzx edi, byte [r9]
movzx r11d, byte [r9 + 2]
add edi, ebp
movzx r8d, byte [r9 + 4]
movzx ecx, byte [r9 + 6]
add r9, 8
lea eax, [rsi + rdi]
add r11d, eax
lea eax, [rbx + r11]
add r8d, eax
lea eax, [r10 + r8]
add ecx, eax
lea eax, [rcx + r8]
lea ebp, [rdx + rcx]
add eax, r11d
add eax, edi
lea ecx, [rdx + rax*2]
add ecx, r10d
add ecx, ebx
add ecx, esi
add r14d, ecx
sub r15, 1
jne 0x14000dce0
mov eax, 0x80078071
mul r14d
shr edx, 0xf
imul eax, edx, 0xffff000f
add r14d, eax
mov eax, 0x80078071
mul ebp
shr edx, 0xf
imul eax, edx, 0xffff000f
add ebp, eax
sub r12, 1
jne 0x14000dcd0
lea rcx, [0x140000000]
movabs rax, 0x79baa6bb6398b6f7
cmp r13, 8
jbe 0x14000dc96
nop word [rax + rax]
movzx esi, byte [r9 + 1]
sub r13, 8
movzx ebx, byte [r9 + 3]
movzx r10d, byte [r9 + 5]
movzx edx, byte [r9 + 7]
movzx edi, byte [r9]
movzx r11d, byte [r9 + 2]
add edi, ebp
movzx r8d, byte [r9 + 4]
movzx ecx, byte [r9 + 6]
add r9, 8
lea eax, [rsi + rdi]
add r11d, eax
lea eax, [rbx + r11]
add r8d, eax
lea eax, [r10 + r8]
add ecx, eax
lea eax, [rcx + r8]
lea ebp, [rdx + rcx]
add eax, r11d
add eax, edi
lea ecx, [rdx + rax*2]
add ecx, r10d
add ecx, ebx
add ecx, esi
add r14d, ecx
cmp r13, 8
jae 0x14000dd90
mov eax, 0x80078071
mul ebp
shr edx, 0xf
imul eax, edx, 0xffff000f
add ebp, eax
jmp 0x14000dc6c
movzx eax, byte [r9]
inc r9
add ebp, eax
add r14d, ebp
movzx eax, byte [r9]
inc r9
add ebp, eax
add r14d, ebp
movzx eax, byte [r9]
inc r9
add ebp, eax
add r14d, ebp
movzx eax, byte [r9]
inc r9
add ebp, eax
add r14d, ebp
movzx eax, byte [r9]
inc r9
add ebp, eax
add r14d, ebp
movzx eax, byte [r9]
inc r9
add ebp, eax
add r14d, ebp
movzx eax, byte [r9]
inc r9
add ebp, eax
add r14d, ebp
movzx ecx, byte [r9]
add ebp, ecx
add r14d, ebp
mov rbx, qword [rsp + 0x28]
lea r8d, [rbp - 0xfff1]
mov rsi, qword [rsp + 0x38]
cmp ebp, 0xfff1
mov rdi, qword [rsp + 0x40]
mov eax, 0x80078071
cmovb r8d, ebp
mov rbp, qword [rsp + 0x30]
mul r14d
shr edx, 0xf
imul eax, edx, 0xf
add eax, r14d
shl eax, 0x10
or eax, r8d
pop r15
pop r14
pop r13
pop r12
ret
Function at 0x14001b3c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
lea r10, [0x14006b3e0]
xor edx, edx
mov r8, r10
nop dword [rax]
mov ecx, edx
lea r8, [r8 + 4]
and ecx, 1
mov eax, edx
shr eax, 1
neg ecx
and ecx, 0xedb88320
inc edx
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [r8 - 4], eax
cmp edx, 0x100
jb 0x14001b3d0
lea rax, [0x14006b3e4]
mov r9d, 0x1c0
nop dword [rax]
mov r8d, dword [rax - 4]
lea rax, [rax + 0x10]
movzx edx, r8b
shr r8d, 8
xor r8d, dword [r10 + rdx*4]
mov dword [rax + 0x3ec], r8d
mov r8d, dword [rax - 0x10]
movzx edx, r8b
shr r8d, 8
xor r8d, dword [r10 + rdx*4]
mov dword [rax + 0x3f0], r8d
mov r8d, dword [rax - 0xc]
movzx edx, r8b
shr r8d, 8
xor r8d, dword [r10 + rdx*4]
mov dword [rax + 0x3f4], r8d
mov r8d, dword [rax - 8]
movzx edx, r8b
shr r8d, 8
xor r8d, dword [r10 + rdx*4]
mov dword [rax + 0x3f8], r8d
sub r9, 1
jne 0x14001b480
lea rax, [0x14001c2b0]
mov qword [0x14006b3c0], rax
ret

Function at 0x14001c190
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov eax, dword [rcx + 8]
mov rdi, rdx
and eax, 0x3f
mov rbx, rcx
mov byte [rax + rcx + 0x40], 0x80
inc eax
cmp eax, 0x38
jbe 0x14001c1e7
cmp eax, 0x40
je 0x14001c1cd
mov byte [rax + rcx + 0x40], 0
inc eax
cmp eax, 0x40
jne 0x14001c1c1
lea rbp, [rcx + 0x40]
mov r8d, 1
lea rsi, [rcx + 0x20]
mov rdx, rbp
mov rcx, rsi
call qword [rbx]
xor eax, eax
jmp 0x14001c1ef
lea rbp, [rcx + 0x40]
lea rsi, [rcx + 0x20]
mov ecx, eax
mov r8d, 0x38
add rcx, 0x40
sub r8d, eax
add rcx, rbx
xor edx, edx
call fcn.14004bf90
mov rcx, qword [rbx + 8]
mov r8d, 1
shl rcx, 3
mov rdx, rbp
mov rax, rcx
bswap ecx
shr rax, 0x20
bswap eax
mov dword [rbx + 0x7c], ecx
mov rcx, rsi
mov dword [rbx + 0x78], eax
call qword [rbx]
mov rdx, rsi
mov r8d, 4
nop dword [rax + rax]
mov ecx, dword [rdx + 4]
lea rdi, [rdi + 8]
mov eax, dword [rdx]
lea rdx, [rdx + 8]
bswap eax
mov dword [rdi - 8], eax
bswap ecx
mov dword [rdi - 4], ecx
sub r8, 1
jne 0x14001c240
mov rbp, qword [rsp + 0x38]
mov qword [rbx + 8], r8
mov dword [rsi], 0x6a09e667
mov rsi, qword [rsp + 0x40]
mov dword [rbx + 0x24], 0xbb67ae85
mov dword [rbx + 0x28], 0x3c6ef372
mov dword [rbx + 0x2c], 0xa54ff53a
mov dword [rbx + 0x30], 0x510e527f
mov dword [rbx + 0x34], 0x9b05688c
mov dword [rbx + 0x38], 0x1f83d9ab
mov dword [rbx + 0x3c], 0x5be0cd19
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret