joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140015880
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x118
mov r14, rcx
lea rdx, [0x1404baba8]
lea rsi, [rsp + 0x28]
mov r8d, 7
mov rcx, rsi
call fcn.1402434a0
cmp byte [rsi + 0x18], 3
jne 0x140015a89
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x80], rax
movups xmm0, xmmword [rsp + 0x28]
movaps xmmword [rsp + 0x70], xmm0
lea rax, [0x1403b5bde]
lea rdx, [rsp + 0xc0]
mov qword [rdx], rax
mov rcx, qword [rdx]
movabs rax, 0xda2aa37f787c8a34
mov qword [rdx], rax
mov rdx, qword [rdx]
call fcn.140204786
xorps xmm0, xmm0
movaps xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xb0], 0
mov rcx, 0xfffffffffffffff8
lea rdx, [0x1403be6c0]
mov rbx, qword [rcx + rdx + 8]
xor rbx, qword [rax + rcx + 8]
mov qword [rsp + rcx + 0xa8], rbx
add rcx, 8
cmp rcx, 0x10
jb 0x14001591d
mov al, byte [rax + 0x18]
xor al, 0xea
lea rcx, [rsp + 0xa0]
mov byte [rcx + 0x18], al
lea rax, [rsp + 0x108]
mov qword [rax], rcx
mov qword [rax + 8], 0x19
lea rdi, [rsp + 0x70]
mov qword [rsp + 0x28], rdi
lea rcx, [0x1400099b0]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
lea rax, [0x140134850]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0xc0]
mov qword [rdx], 0
lea rax, str.dest_is_out_of_bounds
mov qword [rdx + 0x10], rax
mov eax, 2
mov qword [rdx + 0x18], rax
mov qword [rdx + 0x20], rsi
mov qword [rdx + 0x28], rax
lea rcx, [rsp + 0x88]
call fcn.140053dd0
cmp qword [rdi], 0
je 0x1400159d5
mov r8, qword [rsp + 0x78]
mov rcx, qword [0x14051f200]
xor edx, edx
call qword [sym.imp.KERNEL32.DLL_HeapFree]
mov r12, qword [rsp + 0x88]
mov r15, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x98]
lea rsi, [rsp + 0xc0]
mov rcx, rsi
mov rdx, r15
mov r8, rbx
xor r9d, r9d
call fcn.140248470
cmp dword [rsi], 2
jne 0x140015a23
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 2
jmp 0x140015a41
lea rax, [rsp + 0x28]
lea rsi, [rsp + 0xc0]
mov ecx, 9
mov rdi, rax
rep movsq qword [rdi], qword [rsi]
cmp qword [rax], 2
jne 0x140015a52
lea rcx, [rsp + 0x30]
call fcn.14007ddf7
mov byte [r14 + 0x18], 2
jmp 0x140015a60
mov rcx, r14
mov rdx, r15
mov r8, rbx
call fcn.14025fcc0
test r12, r12
je 0x140015a77
mov rcx, qword [0x14051f200]
xor edx, edx
mov r8, r15
call qword [sym.imp.KERNEL32.DLL_HeapFree]
nop
add rsp, 0x118
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
movups xmm0, xmmword [rsp + 0x28]
movups xmm1, xmmword [rsp + 0x38]
lea r8, [rsp + 0xc0]
movaps xmmword [r8 + 0x10], xmm1
movaps xmmword [r8], xmm0
lea rax, str.src_firefox_firefox.rs
mov qword [rsp + 0x20], rax
lea rcx, [0x1404ef56b]
lea r9, fcn.140006040
mov edx, 0x2b
call fcn.1403afcb0
ud2
Function at 0x1400112ad
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
jmp 0x1400150a0
mov dword [rsp + 8], ecx
push rbp
push rdi
mov eax, 0x1a98
call fcn.140011127
sub rsp, rax
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x516
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x1ab8]
mov rax, qword [0x14002a4c0]
xor rax, rbp
mov qword [rbp + 0x1a48], rax
lea rcx, [0x140031103]
call fcn.1400116ae
mov dword [rbp + 0x1414], 0x3a8
mov r8d, dword [rbp + 0x1a70]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 8], rax
mov qword [rbp + 0x1438], 0
jmp 0x14001512d
mov rax, qword [rbp + 0x1438]
inc rax
mov qword [rbp + 0x1438], rax
cmp qword [rbp + 0x1438], 0x3a9
jae 0x140015165
lea rax, section..data
mov rcx, qword [rbp + 0x1438]
movzx eax, byte [rax + rcx]
xor eax, dword [0x14002a3ac]
xor eax, dword [0x14002a3b0]
mov rcx, qword [rbp + 0x1438]
mov byte [rbp + rcx + 0x70], al
jmp 0x14001511c
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, 0x1388
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 0x48], rax
mov qword [rsp + 0x20], 0
mov r9d, 0x1388
lea r8, [rbp + 0x70]
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, qword [rbp + 0x48]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x40]
lea rdx, [0x140024fd0]
call fcn.140011596
mov eax, edi
mov rcx, qword [rbp + 0x1a48]
xor rcx, rbp
call fcn.14001134d
lea rsp, [rbp + 0x1a58]
pop rdi
pop rbp
ret

Function at 0x1400113ca
Capabilities:
Terminate process

Disassembly:
jmp 0x14001c070
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 0x1400114c4
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001e6a0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001e6c0
xor al, al
jmp 0x14001e741
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001e6d3
xor al, al
jmp 0x14001e741
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 0x14001e6fd
xor al, al
jmp 0x14001e741
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001e711
xor al, al
jmp 0x14001e741
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001e723
xor al, al
jmp 0x14001e741
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001e73f
xor al, al
jmp 0x14001e741
mov al, 1
add rsp, 0x38
ret
Function at 0x140011569
Capabilities:
Enumerate processes

Disassembly:
jmp 0x1400165b0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x4e8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xd2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x508]
mov rax, qword [0x14002a4c0]
xor rax, rbp
mov qword [rbp + 0x4b8], rax
mov byte [rbp + 0x4a4], 0
lea rcx, [0x140031103]
call fcn.1400116ae
mov dword [rbp + 0x30], 0x238
xor edx, edx
mov ecx, 2
call fcn.14001132f
mov qword [rbp + 0x288], rax
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 0x288]
call fcn.140011429
cmp eax, 1
jne 0x1400166e9
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 0x288]
call fcn.1400115eb
cmp eax, 1
jne 0x1400166e9
mov edx, 8
lea rcx, [rbp + 0x2a8]
call fcn.140011677
lea rdx, [rbp + 0x5c]
lea rcx, [rbp + 0x2a8]
call fcn.140011622
nop
lea rcx, [rbp + 0x2a8]
call fcn.1400112b7
mov qword [rbp + 0x2c8], rax
mov rdx, qword [rbp + 0x4e0]
mov rcx, qword [rbp + 0x2c8]
call fcn.14001125d
movzx eax, al
test eax, eax
je 0x1400166d8
mov r8d, dword [rbp + 0x38]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 0x2e8], rax
mov rcx, qword [rbp + 0x2e8]
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov byte [rbp + 0x4a4], 1
mov dword [rbp + 4], eax
mov rcx, qword [rbp + 0x2e8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rbp + 0x2a8]
call fcn.1400115d2
jmp 0x140016633
mov rcx, qword [rbp + 0x288]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [rbp + 0x4a4], 0
jne 0x14001670b
lea rcx, [0x140024ec0]
call fcn.1400110ff
mov eax, dword [rbp + 4]
mov dword [rbp + 0x484], eax
mov rcx, qword [rbp + 0x4e0]
call fcn.14001112c
mov eax, dword [rbp + 0x484]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.140011596
mov eax, edi
mov rcx, qword [rbp + 0x4b8]
xor rcx, rbp
call fcn.14001134d
lea rsp, [rbp + 0x4c8]
pop rdi
pop rbp
ret
Function at 0x180002b70
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 0x180002bcd
lea rbx, [0x18005b810]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180002bb4
cmp r10, 2
jb 0x180002bb4
cmp byte [r9], r8b
jne 0x180002bb4
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 0x180002b90
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x180002c0f
lea rbx, [0x18005b810]
cmp r8b, 0x23
jne 0x180002bf3
cmp byte [r9], r8b
jne 0x180002bf3
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 0x180002be0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180002e80
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
mov rbx, rcx
test rcx, rcx
jne 0x180002eaf
mov r8d, 0x599
lea rdx, [0x1800589e0]
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x180002ebb
mov qword [rdi], 0
lea rdx, [0x18005b4c8]
mov rcx, rbx
call fcn.180002c20
mov rbx, rax
test rax, rax
jne 0x180002edd
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
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 0x180002fb4
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 0x180002fb4
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x180002fb4
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180002fb4
cmp rsi, 0xffffffffffffffff
je 0x180002fb4
mov rax, qword [0x1801955c0]
test rax, rax
je 0x180002f51
inc dword [rax + 0x3bc]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
test rax, rax
je 0x180002fb4
mov r9, rbx
mov r8, rsi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rsi
je 0x180002fa1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1801955c0]
test rax, rax
je 0x180002f96
dec dword [rax + 0x3bc]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x180002fbd
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x180002faf
mov qword [rdi], rsi
mov rax, rbp
jmp 0x180002fbf
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1800050d0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0xc0], 0
mov rbx, rcx
mov edi, edx
jg 0x180005106
mov r8d, 0x51b
lea rdx, [0x180058840]
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd r8, dword [rbx + 0xc0]
mov rax, qword [rbx + 0xc8]
mov edx, dword [rax + r8*4 - 4]
lea r8, [0x18005b810]
not edx
movzx eax, dil
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x39]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x3a]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x3b]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
mov rax, qword [0x1801955c0]
xor edx, dword [r8 + rcx*4]
not edx
cmp dword [rax + 0x1a78], edx
jne 0x180005180
mov dword [rax + 0x1a7c], edx
cmp dword [rax + 0x1ab4], edx
jne 0x18000518f
mov byte [rax + 0x1ab8], 1
mov rbx, qword [rsp + 0x30]
mov eax, edx
add rsp, 0x20
pop rdi
ret
Function at 0x1800051a0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0xc0], 0
mov rdi, rdx
mov rbx, rcx
jg 0x1800051d3
mov r8d, 0x51b
lea rdx, [0x180058840]
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rcx, dword [rbx + 0xc0]
mov rax, qword [rbx + 0xc8]
movss xmm0, dword [rdi]
subss xmm0, dword [rbx + 0x10]
movss xmm1, dword [rdi + 4]
subss xmm1, dword [rbx + 0x14]
cvttss2si r8d, xmm0
movss xmm0, dword [rdi + 8]
subss xmm0, dword [rbx + 0x10]
cvttss2si r9d, xmm1
movss xmm1, dword [rdi + 0xc]
lea rdi, [0x18005b810]
subss xmm1, dword [rbx + 0x14]
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, r8b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
cvttss2si r10d, xmm0
xor ebx, dword [rdi + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
movzx eax, r9b
cvttss2si r11d, xmm1
xor ebx, dword [rdi + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
xor ebx, dword [rdi + rdx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [rdi + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
movzx eax, r10b
xor ebx, dword [rdi + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
xor ebx, dword [rdi + rdx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
xor ebx, dword [rdi + rdx*4]
shr eax, 0x10
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
movzx eax, r11b
xor ebx, dword [rdi + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r10d
shr rdx, 0x18
xor rdx, rcx
xor ebx, dword [rdi + rdx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r11d
shr eax, 8
movzx edx, al
mov eax, r11d
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [rdi + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
mov rax, qword [0x1801955c0]
xor rdx, rcx
xor ebx, dword [rdi + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r11d
shr rdx, 0x18
xor rdx, rcx
xor ebx, dword [rdi + rdx*4]
not ebx
cmp dword [rax + 0x1a78], ebx
jne 0x180005374
mov dword [rax + 0x1a7c], ebx
cmp dword [rax + 0x1ab4], ebx
jne 0x180005383
mov byte [rax + 0x1ab8], 1
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x180007fc0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
cmp byte [rcx], 0
mov rbx, rcx
jne 0x180007fdb
cmp byte [rcx + 0x2f4c], 0
je 0x180007ff5
mov r8d, 0xed7
lea rdx, [0x1800589e0]
lea rcx, str._g.Initialized___g.SettingsLoaded
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor eax, eax
lea r8, [0x1800598f9]
mov dword [rsp + 0x2c], eax
lea r11, [0x18005b810]
mov qword [rsp + 0x48], rax
mov r10d, 0xffffffff
lea rax, str.Window
mov edx, r10d
mov qword [rsp + 0x20], rax
mov r9b, 0x57
cmp r9b, 0x23
jne 0x180008039
cmp byte [r8], r9b
jne 0x180008039
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 0x180008026
mov ecx, dword [rbx + 0x2f6c]
lea rax, [0x180016d20]
mov edi, dword [rbx + 0x2f68]
not edx
mov qword [rsp + 0x30], rax
lea rax, [0x180016da0]
mov qword [rsp + 0x38], rax
lea rax, [0x180016e80]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x28], edx
cmp edi, ecx
jne 0x18000813b
inc edi
test ecx, ecx
je 0x1800080a5
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1800080aa
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x18000813b
mov rax, qword [0x1801955c0]
mov qword [rsp + 0x60], rsi
test rax, rax
je 0x1800080ce
inc dword [rax + 0x3bc]
movsxd rax, edi
lea rcx, [rax + rax*2]
shl rcx, 4
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdx, qword [rbx + 0x2f70]
mov rsi, rax
test rdx, rdx
je 0x180008129
movsxd rcx, dword [rbx + 0x2f68]
lea r8, [rcx + rcx*2]
mov rcx, rax
shl r8, 4
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbx + 0x2f70]
test rcx, rcx
je 0x180008123
mov rax, qword [0x1801955c0]
test rax, rax
je 0x180008123
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2f70], rsi
mov rsi, qword [rsp + 0x60]
mov dword [rbx + 0x2f6c], edi
movsxd rax, dword [rbx + 0x2f68]
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x2f70]
add rcx, rcx
movups xmmword [rax + rcx*8], xmm0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + rcx*8 + 0x10], xmm1
movups xmmword [rax + rcx*8 + 0x20], xmm0
inc dword [rbx + 0x2f68]
mov byte [rbx], 1
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x180009e70
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x180009ec0
lea r11, [0x18005b810]
nop dword [rax]
cmp r9b, 0x23
jne 0x180009ea3
cmp byte [r8], r9b
jne 0x180009ea3
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 0x180009e90
mov rcx, qword [0x1801955c0]
not eax
movsxd rdx, dword [rcx + 0x1a18]
mov r9, qword [rcx + 0x1a20]
mov r10, rdx
shl r10, 4
add r10, r9
test rdx, rdx
je 0x180009f21
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x180009f19
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x180009f1c
mov rdx, r8
test rdx, rdx
jne 0x180009ef0
cmp r9, r10
je 0x180009f30
cmp dword [r9], eax
jne 0x180009f30
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret
Function at 0x180010090
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov rax, qword [0x1801955c0]
mov rsi, rcx
mov rbx, qword [rax + 0x1a30]
add rbx, 0xc0
cmp dword [rbx], 0
jg 0x1800100db
mov r8d, 0x51b
lea rdx, [0x180058840]
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rdx, dword [rbx]
lea r8, [0x18005b810]
mov rax, qword [rbx + 8]
mov edi, dword [rax + rdx*4 - 4]
not edi
movzx eax, sil
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x31]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x32]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x33]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x34]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x35]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x36]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x37]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [r8 + rcx*4]
mov r8d, dword [rbx + 4]
not edi
cmp edx, r8d
jne 0x1800101ba
lea ecx, [rdx + 1]
test r8d, r8d
je 0x1800101a6
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x1800101ab
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.180018410
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov rsi, qword [rsp + 0x40]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1800101e0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
mov rax, qword [0x1801955c0]
mov esi, ecx
mov rbx, qword [rax + 0x1a30]
add rbx, 0xc0
cmp dword [rbx], 0
jg 0x180010229
mov r8d, 0x51b
lea rdx, [0x180058840]
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rdx, dword [rbx]
lea r8, [0x18005b810]
mov rax, qword [rbx + 8]
mov edi, dword [rax + rdx*4 - 4]
not edi
movzx eax, sil
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x31]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x32]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x33]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [r8 + rcx*4]
mov r8d, dword [rbx + 4]
not edi
cmp edx, r8d
jne 0x1800102bc
lea ecx, [rdx + 1]
test r8d, r8d
je 0x1800102a8
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x1800102ad
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.180018410
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov rsi, qword [rsp + 0x40]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x180016320
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
sub rsp, 0x40
mov rbx, qword [0x1801955c0]
cmp byte [rbx + 0x2f88], 0
je 0x18001640c
cmp qword [rbx + 0x2f90], 0
mov qword [rax - 0x18], rsi
lea rsi, [rax + 0x10]
mov qword [rax - 0x20], rdi
lea rdi, [rbx + 0x2f98]
je 0x1800163f4
mov r9d, dword [rdi + 4]
mov qword [rax - 0x10], rbp
xor ebp, ebp
test r9d, r9d
jns 0x18001639b
mov eax, r9d
mov rcx, rdi
cdq
sub eax, edx
mov edx, ebp
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.1800181d0
mov rcx, qword [rsp + 0x50]
mov rdx, rcx
mov dword [rdi], ebp
mov rcx, rdi
mov r8, rsi
call fcn.1800037d0
mov eax, dword [rdi]
mov edx, 1
mov r9, qword [rbx + 0x2f90]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rbx + 0x2fa0]
cmove ecx, ebp
test rax, rax
movsxd r8, ecx
lea rcx, [0x1801955b8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
mov rdx, rcx
mov r8, rsi
mov rcx, rdi
call fcn.1800037d0
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
Function at 0x180016bd0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rdi
push r15
sub rsp, 0x20
mov rdi, qword [0x1801955c0]
xor r15d, r15d
mov rbp, rcx
mov dword [rdi + 0x2f50], r15d
test rcx, rcx
je 0x180016d12
mov qword [rsp + 0x40], rbx
lea rbx, [rdi + 0x2f58]
mov dword [rdi + 0x2f50], r15d
mov ecx, dword [rbx + 4]
mov qword [rsp + 0x48], rsi
test ecx, ecx
jns 0x180016c2e
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.1800181d0
mov dword [rbx], r15d
cmp dword [rbx + 4], r15d
jne 0x180016c44
mov edx, 8
mov rcx, rbx
call fcn.1800181d0
movsxd rcx, dword [rbx]
mov esi, r15d
mov rax, qword [rbx + 8]
mov byte [rcx + rax], r15b
inc dword [rbx]
mov eax, dword [rdi + 0x2f68]
test eax, eax
jle 0x180016cb1
mov qword [rsp + 0x50], r14
mov r14, r15
cmp r15d, eax
jl 0x180016c85
mov r8d, 0x511
lea rdx, [0x180058840]
lea rcx, [0x18005b5f0]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov r9, qword [rdi + 0x2f70]
mov r8, rbx
add r9, r14
mov rcx, rdi
mov rdx, r9
call qword [r9 + 0x20]
mov eax, dword [rdi + 0x2f68]
inc esi
add r14, 0x30
cmp esi, eax
jl 0x180016c85
mov r14, qword [rsp + 0x50]
mov eax, dword [rbx]
lea rdx, [0x18005b530]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x2f60]
cmove ecx, r15d
lea rdi, [0x1801955b8]
test rax, rax
movsxd rsi, ecx
mov rcx, rbp
cmovne rdi, rax
call fcn.180002c20
mov rbx, rax
test rax, rax
je 0x180016d08
mov r9, rax
mov r8, rsi
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 rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbp
ret