joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002290
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx r8d, word [rcx + 6]
movzx eax, word [rcx + 0x14]
test r8w, r8w
lea rax, [rcx + rax + 0x18]
je 0x1400022dd
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rdx, r8
mov rcx, r8
jb 0x1400022d4
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x1400022df
add rax, 0x28
cmp rax, r9
jne 0x1400022c0
xor eax, eax
ret

Function at 0x1400022e0
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x140002370
mov rdx, qword [0x140004400]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x14000235e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14000235e
cmp word [rax + 0x18], 0x20b
jne 0x14000235e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x140002370
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x140002349
add rbx, 0x28
cmp rbx, rdi
je 0x140002370
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x140002340
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x140002380
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140004400]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400023a0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400023a8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400023a0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400023fd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x1400023f4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400023a0
add rax, 0x28
cmp rax, r9
jne 0x1400023e0
xor eax, eax
ret

Function at 0x140002400
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140004400]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000241f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002428
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000241f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140002440
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x140004400]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140002460
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140002468
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140002460
movzx r8d, word [rdx + 6]
movzx eax, word [rdx + 0x14]
test r8w, r8w
lea rax, [rdx + rax + 0x18]
je 0x1400024b0
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x1400024a7
test rcx, rcx
je 0x140002460
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x140002498
xor eax, eax
ret
Function at 0x1400024c0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140004400]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400024df
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400024e8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x140002500
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140004400]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002520
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002528
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002520
movzx r9d, word [r8 + 6]
sub rcx, rdx
movzx edx, word [r8 + 0x14]
test r9w, r9w
lea rdx, [r8 + rdx + 0x18]
je 0x140002520
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x140002574
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140002580
add rdx, 0x28
cmp r9, rdx
jne 0x140002560
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x140002590
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x140004400]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x1400025b2
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x1400025c0
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400025b2
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x1400025b2
movzx r10d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
test r10w, r10w
lea rdx, [r8 + rdx + 0x18]
je 0x1400025b2
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
cmp rax, r9
mov r8, r9
jb 0x140002615
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140002628
add rdx, 0x28
cmp rdx, r10
jne 0x140002600
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140002637
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140002647
mov edx, dword [rax + 0xc]
test edx, edx
je 0x14000261e
test ecx, ecx
jg 0x140002630
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140003670
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x20
cmp byte [0x14007812e], 0
mov rbx, rcx
je 0x14000387f
mov ecx, dword [0x140078108]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov r8d, 4
lea rdx, [rbp + 0x18]
test ax, ax
je 0x1400037c2
mov rcx, qword [rbx + 0x78]
movss xmm0, dword [0x140058d0c]
add rcx, 0x4d8
movss dword [rbp + 0x18], xmm0
call fcn.140001c00
mov rcx, qword [rbx + 0xb8]
lea rdx, [rbp + 0x18]
movss xmm0, dword [0x140058eb4]
sub rcx, 0xffffffffffffff80
mov r8d, 4
movss dword [rbp + 0x18], xmm0
call fcn.140001c00
mov rcx, qword [rbx + 0xb8]
lea rdx, [rbp + 0x18]
add rcx, 0xc4
mov dword [rbp + 0x18], 0
mov r8d, 4
call fcn.140001c00
mov rcx, qword [rbx + 0xb8]
lea rdx, [rbp + 0x18]
add rcx, 0xc8
mov dword [rbp + 0x18], 0
mov r8d, 4
call fcn.140001c00
mov rcx, qword [rbx + 0xb8]
lea rdx, [rbp + 0x18]
add rcx, 0x68
mov dword [rbp + 0x18], 0xc3960000
mov r8d, 4
call fcn.140001c00
mov rcx, qword [rbx + 0xb8]
lea rdx, [rbp + 0x18]
add rcx, 0x6c
mov dword [rbp + 0x18], 0xc3960000
mov r8d, 4
call fcn.140001c00
mov ecx, 0x20
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov rcx, qword [rbx + 0xb8]
mov r8d, 4
add rcx, 0x84
test ax, ax
je 0x1400037b5
lea rdx, [0x1400780fc]
call fcn.140001c00
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rbp
ret
movss xmm0, dword [0x140058c10]
jmp 0x140003871
mov rcx, qword [rbx + 0xb8]
xorps xmm0, xmm0
add rcx, 0xc4
movss dword [rbp + 0x18], xmm0
call fcn.140001c00
mov rcx, qword [rbx + 0xb8]
lea rdx, [rbp + 0x18]
movss xmm0, dword [0x140058dc0]
add rcx, 0xc8
mov r8d, 4
movss dword [rbp + 0x18], xmm0
call fcn.140001c00
mov rcx, qword [rbx + 0xb8]
lea rdx, [rbp + 0x18]
movss xmm0, dword [0x140058d18]
add rcx, 0x84
mov r8d, 4
movss dword [rbp + 0x18], xmm0
call fcn.140001c00
mov rcx, qword [rbx + 0xb8]
lea rdx, [rbp + 0x18]
movss xmm0, dword [0x140058ce0]
add rcx, 0x68
mov r8d, 4
movss dword [rbp + 0x18], xmm0
call fcn.140001c00
mov rcx, qword [rbx + 0xb8]
mov r8d, 4
movss xmm0, dword [0x140058c98]
add rcx, 0x6c
lea rdx, [rbp + 0x18]
movss dword [rbp + 0x18], xmm0
call fcn.140001c00
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rbp
ret
Function at 0x14000e490
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rdi, rcx
mov rax, qword gs:[0x58]
mov r14, qword [rax]
mov ecx, 0x170
mov eax, dword [rcx + r14]
mov esi, 0x130
test al, 1
jne 0x14000e547
or eax, 1
mov dword [rcx + r14], eax
lea rbx, [r14 + rsi]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx + 0x20], xmm0
movups xmmword [rbx + 0x30], xmm0
mov qword [rsp + 0x20], rbx
xor ebp, ebp
mov dword [rbx], ebp
mov qword [rbx + 8], rbp
mov qword [rbx + 0x10], rbp
lea ecx, [rbp + 0x30]
call fcn.14004ebf0
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbx + 8], rax
lea rcx, [rbx + 0x18]
mov qword [rcx], rbp
mov qword [rcx + 8], rbp
mov qword [rcx + 0x10], rbp
mov qword [rbx + 0x30], 7
mov qword [rbx + 0x38], 8
mov dword [rbx], 0x3f800000
mov r8, qword [rbx + 8]
lea edx, [rbp + 0x10]
call fcn.14000ecd0
nop
lea rcx, [0x1400511d0]
call fcn.14004f32c
nop
movzx edx, dil
movabs rax, 0xcbf29ce484222325
xor rdx, rax
movabs r8, 0x100000001b3
imul rdx, r8
mov rax, rdi
shr rax, 8
movzx ecx, al
xor rdx, rcx
imul rdx, r8
mov rax, rdi
shr rax, 0x10
movzx ecx, al
xor rdx, rcx
imul rdx, r8
mov rax, rdi
shr rax, 0x18
movzx ecx, al
xor rdx, rcx
imul rdx, r8
mov rax, rdi
shr rax, 0x20
movzx ecx, al
xor rdx, rcx
imul rdx, r8
mov rax, rdi
shr rax, 0x28
movzx ecx, al
xor rdx, rcx
imul rdx, r8
mov rax, rdi
shr rax, 0x30
movzx ecx, al
xor rdx, rcx
imul rdx, r8
mov rax, rdi
shr rax, 0x38
xor rdx, rax
imul rdx, r8
mov rcx, qword [r14 + rsi + 0x30]
and rcx, rdx
add rcx, rcx
mov r8, qword [r14 + rsi + 0x18]
mov rax, qword [r8 + rcx*8 + 8]
mov rdx, qword [r14 + rsi + 8]
cmp rax, rdx
je 0x14000e623
mov rcx, qword [r8 + rcx*8]
cmp rdi, qword [rax + 0x10]
je 0x14000e612
cmp rax, rcx
je 0x14000e623
mov rax, qword [rax + 8]
cmp rdi, qword [rax + 0x10]
jne 0x14000e603
test rax, rax
cmove rax, rdx
cmp rax, rdx
je 0x14000e623
mov eax, dword [rax + 0x18]
jmp 0x14000e628
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret

Function at 0x140012f40
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 0x140012f9d
lea rbx, [0x140052b90]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140012f84
cmp r10, 2
jb 0x140012f84
cmp byte [r9], r8b
jne 0x140012f84
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 0x140012f60
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140012fdf
lea rbx, [0x140052b90]
cmp r8b, 0x23
jne 0x140012fc3
cmp byte [r9], r8b
jne 0x140012fc3
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 0x140012fb0
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x140013120
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14001313a
mov qword [r8], 0
lea rdx, [0x140057d40]
call fcn.140012ff0
mov rbx, rax
test rax, rax
jne 0x14001315a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140013245
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 0x140013245
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140013245
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 0x140013245
cmp rdi, 0xffffffffffffffff
je 0x140013245
mov rax, qword [0x140078100]
test rax, rax
je 0x1400131d6
inc dword [rax + 0x3bc]
mov rdx, qword [0x1400780f0]
mov rcx, rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rsi, rax
test rax, rax
je 0x140013245
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]
mov rcx, rbx
cmp rax, rdi
je 0x140013232
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140078100]
test rax, rax
je 0x140013221
dec dword [rax + 0x3bc]
mov rdx, qword [0x1400780f0]
mov rcx, rsi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
jmp 0x14001324e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140013240
mov qword [r14], rdi
mov rax, rsi
jmp 0x140013250
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x1400173b0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
xor eax, eax
lea r8, [0x140057c55]
mov dword [rsp + 0x2c], eax
lea r11, [0x140052b90]
mov qword [rsp + 0x48], rax
mov r10d, 0xffffffff
lea rax, str.Window
mov rbx, rcx
mov qword [rsp + 0x20], rax
mov edx, r10d
mov r9b, 0x57
nop
cmp r9b, 0x23
jne 0x140017403
cmp byte [r8], r9b
jne 0x140017403
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 0x1400173f0
mov ecx, dword [rbx + 0x2f7c]
lea rax, [0x140023e60]
mov edi, dword [rbx + 0x2f78]
not edx
mov qword [rsp + 0x30], rax
lea rax, [0x140023f10]
mov qword [rsp + 0x38], rax
lea rax, [0x140023ff0]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x28], edx
cmp edi, ecx
jne 0x140017511
inc edi
test ecx, ecx
je 0x14001746f
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140017474
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x140017511
mov rax, qword [0x140078100]
mov qword [rsp + 0x60], rsi
test rax, rax
je 0x140017498
inc dword [rax + 0x3bc]
mov rdx, qword [0x1400780f0]
movsxd rax, edi
lea rcx, [rax + rax*2]
shl rcx, 4
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rdx, qword [rbx + 0x2f80]
mov rsi, rax
test rdx, rdx
je 0x1400174ff
movsxd rcx, dword [rbx + 0x2f78]
lea r8, [rcx + rcx*2]
mov rcx, rax
shl r8, 4
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbx + 0x2f80]
test rcx, rcx
je 0x1400174f3
mov rax, qword [0x140078100]
test rax, rax
je 0x1400174f3
dec dword [rax + 0x3bc]
mov rdx, qword [0x1400780f0]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rbx + 0x2f80], rsi
mov rsi, qword [rsp + 0x60]
mov dword [rbx + 0x2f7c], edi
movsxd rax, dword [rbx + 0x2f78]
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x2f80]
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 + 0x2f78]
mov byte [rbx], 1
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x140019050
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x1400190a0
lea r11, [0x140052b90]
nop dword [rax]
cmp r9b, 0x23
jne 0x140019083
cmp byte [r8], r9b
jne 0x140019083
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 0x140019070
mov r11, qword [0x140078100]
not eax
movsxd rcx, dword [r11 + 0x1a50]
mov r9, qword [r11 + 0x1a58]
mov r10, rcx
mov rdx, rcx
mov r8, r9
test ecx, ecx
je 0x140019108
nop dword [rax]
nop dword [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x1400190f9
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x1400190fc
mov rdx, r8
test rdx, rdx
jne 0x1400190d0
mov r8, qword [r11 + 0x1a58]
shl r10, 4
add r10, r8
cmp r9, r10
je 0x14001911e
cmp dword [r9], eax
jne 0x14001911e
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret
Function at 0x14001e380
Capabilities:
Hash data with crc32

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x20
mov rax, qword [0x140078100]
lea rdx, [0x140052b90]
mov r8, rcx
mov rsi, qword [rax + 0x1a68]
lea rbx, [rsi + 0xc0]
movsxd r9, dword [rbx]
mov rax, qword [rbx + 8]
mov edi, dword [rax + r9*4 - 4]
not edi
movzx eax, r8b
mov r8d, dword [rsi + 0xc4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 9]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xa]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xb]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xc]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xd]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xe]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xf]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [rdx + rcx*4]
not edi
cmp r9d, r8d
jne 0x14001e48b
lea ecx, [r9 + 1]
test r8d, r8d
je 0x14001e474
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x14001e479
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.140024f80
mov r9d, dword [rbx]
mov rax, qword [rsi + 0xc8]
mov rsi, qword [rsp + 0x40]
movsxd rcx, r9d
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14001e4b0
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 [0x140078100]
lea rdx, [0x140052b90]
mov r8d, ecx
mov rsi, qword [rax + 0x1a68]
lea rbx, [rsi + 0xc0]
movsxd r9, dword [rbx]
mov rax, qword [rbx + 8]
mov edi, dword [rax + r9*4 - 4]
not edi
movzx eax, r8b
mov r8d, dword [rsi + 0xc4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x31]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x32]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x33]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [rdx + rcx*4]
not edi
cmp r9d, r8d
jne 0x14001e572
lea ecx, [r9 + 1]
test r8d, r8d
je 0x14001e55b
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x14001e560
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.140024f80
mov r9d, dword [rbx]
mov rax, qword [rsi + 0xc8]
mov rsi, qword [rsp + 0x40]
movsxd rcx, r9d
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140023610
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 [0x140078100]
cmp byte [rbx + 0x2f98], 0
je 0x1400236fc
cmp qword [rbx + 0x2fa0], 0
mov qword [rax - 0x18], rsi
lea rsi, [rax + 0x10]
mov qword [rax - 0x20], rdi
lea rdi, [rbx + 0x2fa8]
je 0x1400236e4
mov r9d, dword [rdi + 4]
mov qword [rax - 0x10], rbp
xor ebp, ebp
test r9d, r9d
jns 0x14002368b
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.140024db0
mov rcx, qword [rsp + 0x50]
mov rdx, rcx
mov dword [rdi], ebp
mov rcx, rdi
mov r8, rsi
call fcn.140013870
mov eax, dword [rdi]
mov edx, 1
mov r9, qword [rbx + 0x2fa0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rbx + 0x2fb0]
cmove ecx, ebp
test rax, rax
movsxd r8, ecx
lea rcx, [0x1400780f8]
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.140013870
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
Function at 0x140023ab0
Capabilities:
Hash data with crc32

Disassembly:
push rsi
push r13
sub rsp, 0x38
mov r13, qword [0x140078100]
mov qword [rsp + 0x50], rbx
mov rbx, rdx
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], rdi
mov rdi, rcx
mov qword [rsp + 0x30], r12
test rdx, rdx
jne 0x140023aee
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rcx + rbx], 0
jne 0x140023ae5
test r13, r13
je 0x140023afa
inc dword [r13 + 0x3bc]
mov rdx, qword [0x1400780f0]
lea rcx, [rbx + 1]
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov r8, rbx
mov qword [rsp + 0x58], rax
mov rdx, rdi
mov rcx, rax
mov rsi, rax
lea r12, [rax + rbx]
call sub.VCRUNTIME140.dll_memcpy
xor ebp, ebp
mov byte [r12], 0
xor edi, edi
mov rcx, rsi
cmp rsi, r12
jae 0x140023cc3
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
movzx eax, byte [rcx]
cmp al, 0xa
je 0x140023d0d
cmp al, 0xd
je 0x140023d0d
mov rbx, rcx
cmp rcx, r12
jae 0x140023b73
nop
movzx eax, byte [rbx]
cmp al, 0xa
je 0x140023b73
cmp al, 0xd
je 0x140023b73
inc rbx
cmp rbx, r12
jb 0x140023b60
mov byte [rbx], 0
movzx eax, byte [rcx]
cmp al, 0x3b
je 0x140023ca7
cmp al, 0x5b
jne 0x140023c8e
cmp rbx, rcx
jbe 0x140023c8e
cmp byte [rbx - 1], 0x5d
lea rsi, [rbx - 1]
jne 0x140023c8e
lea r14, [rcx + 1]
mov byte [rsi], 0
mov r8, rsi
mov rcx, r14
sub r8, r14
mov edx, 0x5d
call sub.VCRUNTIME140.dll_memchr
mov r15, rax
test rax, rax
je 0x140023ca7
lea rcx, [rax + 1]
mov edx, 0x5b
sub rsi, rcx
mov r8, rsi
call sub.VCRUNTIME140.dll_memchr
mov r11, rax
test rax, rax
je 0x140023ca7
mov r10, qword [0x140078100]
lea r8, [r14 + 1]
mov byte [r15], 0
mov esi, 0xffffffff
movzx r9d, byte [r14]
mov ecx, esi
test r9b, r9b
je 0x140023c3a
cmp r9b, 0x23
jne 0x140023c17
cmp byte [r8], r9b
jne 0x140023c17
cmp byte [r8 + 1], r9b
cmove ecx, esi
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
lea rax, [0x140052b90]
inc r8
xor ecx, dword [rax + rdx*4]
test r9b, r9b
jne 0x140023c05
mov r8d, dword [r10 + 0x2f78]
xor eax, eax
not ecx
test r8d, r8d
jle 0x140023c64
mov r9, qword [r10 + 0x2f80]
lea rdx, [r9 + 8]
cmp dword [rdx], ecx
je 0x140023c6a
inc eax
add rdx, 0x30
cmp eax, r8d
jl 0x140023c55
xor edi, edi
xor ebp, ebp
jmp 0x140023ca7
cdqe
lea rdi, [rax + rax*2]
shl rdi, 4
add rdi, r9
je 0x140023c66
mov rax, qword [rdi + 0x10]
lea r8, [r11 + 1]
mov rdx, rdi
mov rcx, r13
call rax
mov rbp, rax
jmp 0x140023ca7
test rdi, rdi
je 0x140023ca7
test rbp, rbp
je 0x140023ca7
mov r9, rcx
mov r8, rbp
mov rcx, r13
mov rdx, rdi
call qword [rdi + 0x18]
lea rcx, [rbx + 1]
cmp rcx, r12
jb 0x140023b43
mov rsi, qword [rsp + 0x58]
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x50]
test rsi, rsi
je 0x140023cee
mov rax, qword [0x140078100]
test rax, rax
je 0x140023cee
dec dword [rax + 0x3bc]
mov rdx, qword [0x1400780f0]
mov rcx, rsi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov byte [r13 + 0x2f60], 1
add rsp, 0x38
pop r13
pop rsi
ret
inc rcx
jmp 0x140023b43
Function at 0x140023d20
Capabilities:
Write file on windows

Disassembly:
push rdi
push r14
push r15
sub rsp, 0x20
mov rdi, qword [0x140078100]
xor r15d, r15d
mov r14, rcx
mov dword [rdi + 0x2f64], r15d
test rcx, rcx
je 0x140023e4b
mov qword [rsp + 0x40], rbx
lea rbx, [rdi + 0x2f68]
mov dword [rdi + 0x2f64], r15d
mov r8d, dword [rbx + 4]
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rsi
test r8d, r8d
jns 0x140023d88
mov eax, r8d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, r8d
test eax, eax
cmovg edx, eax
call fcn.140024db0
mov eax, r15d
mov dword [rbx], r15d
cmp dword [rbx + 4], eax
jne 0x140023da2
mov edx, 8
mov rcx, rbx
call fcn.140024db0
mov eax, dword [rbx]
movsxd rcx, eax
mov ebp, r15d
mov rax, qword [rbx + 8]
mov byte [rcx + rax], r15b
inc dword [rbx]
mov ecx, dword [rbx]
cmp dword [rdi + 0x2f78], r15d
jle 0x140023de7
mov rsi, r15
mov r9, qword [rdi + 0x2f80]
mov r8, rbx
add r9, rsi
mov rcx, rdi
mov rdx, r9
call qword [r9 + 0x20]
inc ebp
add rsi, 0x30
cmp ebp, dword [rdi + 0x2f78]
jl 0x140023dc0
mov ecx, dword [rbx]
test ecx, ecx
lea eax, [rcx - 1]
lea rdx, [0x140057d44]
mov rcx, r14
cmove eax, r15d
movsxd rsi, eax
mov rax, qword [rdi + 0x2f70]
lea rdi, [0x1400780f8]
test rax, rax
cmovne rdi, rax
call fcn.140012ff0
mov rbp, qword [rsp + 0x48]
mov rbx, rax
test rax, rax
je 0x140023e41
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 + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret