Function at 0x20796ae50
Capabilities:
Hash data with crc32

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xb8
mov edi, dword [rsp + 0x128]
mov qword [rsp + 0x100], rcx
mov ecx, 0x4df78
mov ebx, r8d
mov dword [rsp + 0x108], edx
mov dword [rsp + 0x118], r9d
call sub.msvcrt.dll_malloc
mov ebp, dword [rsp + 0x108]
imul ebp, dword [rsp + 0x118]
mov r12, rax
mov rax, qword [rsp + 0x120]
mov qword [rax], 0
test r12, r12
je 0x20796b4e6
lea edx, [rbp + 1]
mov eax, 0x40
mov qword [rsp + 0x78], 0
imul edx, ebx
mov dword [rsp + 0x78], 1
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x70], 0
cmp edx, 0x40
cmovl edx, eax
add edx, 0x39
movsxd rsi, edx
mov rcx, rsi
mov qword [rsp + 0x68], rsi
call sub.msvcrt.dll_malloc
mov qword [rsp + 0x70], rax
test rax, rax
je 0x20796b5ad
mov dword [rsp + 0x5c], 0x29
mov r13d, 0x29
xor ecx, ecx
mov r15d, pe_nt_image_headers64
nop dword [rax + rax]
lea r14, [rcx + 1]
mov rax, qword [rsp + 0x70]
cmp r14, rsi
jbe 0x20796af74
mov eax, dword [rsp + 0x78]
test eax, eax
je 0x20796af86
nop
add rsi, rsi
cmp rsi, 0x80
cmovb rsi, r15
cmp r14, rsi
ja 0x20796af40
mov rcx, qword [rsp + 0x70]
mov rdx, rsi
call sub.msvcrt.dll_realloc
test rax, rax
je 0x20796af81
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x68], rsi
movzx edx, byte [rsp + 0x5c]
mov byte [rax + rcx], dl
mov qword [rsp + 0x60], r14
mov r13d, dword [rsp + 0x5c]
sub r13d, 1
mov dword [rsp + 0x5c], r13d
je 0x20796afa0
mov rcx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
jmp 0x20796af28
cmp edi, 0xa
mov eax, 0xa
lea r8, [rsp + 0x60]
mov rcx, r12
cmova rdi, rax
lea rax, [0x207a42320]
lea r15, [rsp + 0x5c]
lea rdx, [0x2079627f0]
lea rsi, [rsp + 0x80]
mov r9d, dword [rax + rdi*4]
lea r14d, [rbx - 1]
movsxd rdi, ebp
or r9d, 0x1000
call fcn.207969de0
lea rax, [r12 + 0x392aa]
mov qword [rsp + 0x48], rax
test ebx, ebx
jle 0x20796b221
mov rax, rsi
mov rsi, r15
mov r15d, r14d
mov r14, rax
nop word [rax + rax]
xor r9d, r9d
mov rdx, rsi
mov r8, r14
mov rcx, r12
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x80], 1
call fcn.207969760
mov eax, dword [rsp + 0x130]
mov edx, r15d
mov qword [rsp + 0x80], rdi
sub edx, r13d
mov qword [r12 + 0x98], r14
test eax, eax
mov qword [r12 + 0xb8], rdi
mov qword [r12 + 0x90], 0
cmove edx, r13d
mov qword [r12 + 0xa0], 0
mov qword [r12 + 0xc0], 0
imul edx, ebp
mov dword [r12 + 0xa8], 0
movsxd rdx, edx
add rdx, qword [rsp + 0x100]
cmp qword [r12], 0
mov qword [r12 + 0x88], rdx
mov qword [r12 + 0xb0], rdx
je 0x20796b500
mov r9d, dword [r12 + 0x84]
test r9d, r9d
jne 0x20796b500
mov r11d, dword [r12 + 0x80]
test r11d, r11d
jne 0x20796b500
test rdx, rdx
jne 0x20796b0f2
test rdi, rdi
jne 0x20796b500
mov r10d, dword [r12 + 0x74]
test r10d, r10d
jne 0x20796b209
mov r8d, dword [r12 + 0x78]
test r8d, r8d
jne 0x20796b518
mov eax, dword [r12 + 0x10]
mov dword [rsp + 0x44], r9d
mov rcx, r12
mov qword [rsp + 0x38], rdx
and eax, 0xb4fff
cmp eax, 0x4001
je 0x20796b528
call fcn.207965880
mov rdx, qword [rsp + 0x38]
mov r9d, dword [rsp + 0x44]
test eax, eax
je 0x20796b211
test dword [r12 + 0x10], 0x3000
je 0x20796b15b
test rdx, rdx
jne 0x20796b548
mov rdx, qword [r12 + 0x98]
test rdx, rdx
je 0x20796b17b
mov rax, qword [r12 + 0xb0]
sub rax, qword [r12 + 0x88]
mov qword [rdx], rax
mov rax, qword [r12 + 0xa0]
test rax, rax
je 0x20796b1f2
mov rcx, qword [r12 + 0xc0]
mov r8, qword [rax]
mov dword [rsp + 0x44], r9d
mov eax, dword [r12 + 0x74]
mov edx, dword [r12 + 0x70]
sub r8, rcx
cmp r8, rax
cmova r8, rax
add rcx, qword [r12 + 0x90]
add rdx, qword [rsp + 0x48]
mov qword [rsp + 0x38], r8
call sub.msvcrt.dll_memcpy
mov r8, qword [rsp + 0x38]
add dword [r12 + 0x70], r8d
mov rax, qword [r12 + 0xa0]
sub dword [r12 + 0x74], r8d
add r8, qword [r12 + 0xc0]
mov r9d, dword [rsp + 0x44]
mov qword [r12 + 0xc0], r8
mov qword [rax], r8
mov ecx, dword [r12 + 0x78]
test ecx, ecx
je 0x20796b209
mov edx, dword [r12 + 0x74]
xor r9d, r9d
test edx, edx
sete r9b
mov dword [r12 + 0x84], r9d
add r13d, 1
cmp ebx, r13d
jne 0x20796b010
mov rsi, r14
mov dword [rsp + 0x28], 4
xor r9d, r9d
xor edx, edx
mov r8, rsi
mov qword [rsp + 0x20], 0
mov rcx, r12
mov qword [rsp + 0x80], 0
call fcn.207969760
cmp eax, 1
jne 0x20796b580
mov rax, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x120]
lea rcx, [0x207a41ba0]
mov ebp, 8
movzx edx, word [rsp + 0x108]
movsxd r9, dword [rsp + 0x118]
mov qword [rsp + 0x98], rbp
movabs r14, 0xa1a0a0d474e5089
sub rax, 0x29
mov qword [rsp + 0x80], r14
movabs r15, 0x524448490d000000
mov qword [rdi], rax
xor edi, edi
rol dx, 8
bswap eax
mov qword [rsp + 0x90], rdi
movabs rdi, 0x4144490000000000
mov qword [rsp + 0xa0], rdi
movzx edi, bh
mov word [rsp + 0x92], dx
mov edx, ebx
mov dword [rsp + 0xa1], eax
mov eax, dword [rsp + 0x108]
rol dx, 8
mov word [rsp + 0x96], dx
lea rdx, [0x207a41a6c]
movzx eax, ah
movzx r9d, byte [rdx + r9]
movzx edx, byte [rsp + 0x108]
mov qword [rsp + 0x88], r15
xor al, 0xc4
mov byte [rsp + 0xa8], 0x54
mov eax, dword [rcx + rax*4]
xor edx, 0x75a723
mov byte [rsp + 0x99], r9b
xor edx, eax
shr eax, 8
movzx edx, dl
xor eax, 0x75a7
xor eax, dword [rcx + rdx*4]
movzx edx, al
shr eax, 8
xor eax, dword [rcx + rdx*4]
movzx edx, al
shr eax, 8
xor eax, dword [rcx + rdx*4]
movzx edx, bl
mov r10d, eax
xor eax, edi
movzx eax, al
shr r10d, 8
mov r8d, dword [rcx + rax*4]
xor edx, r10d
mov eax, r10d
xor edx, r8d
xor eax, r8d
movzx edx, dl
shr eax, 8
xor eax, dword [rcx + rdx*4]
mov edx, eax
shr eax, 8
xor edx, 8
movzx edx, dl
xor eax, dword [rcx + rdx*4]
xor r9d, eax
shr eax, 8
movzx r9d, r9b
xor eax, dword [rcx + r9*4]
movzx edx, al
shr eax, 8
xor eax, dword [rcx + rdx*4]
movzx edx, al
shr eax, 8
xor eax, dword [rcx + rdx*4]
mov edx, eax
movzx eax, al
shr edx, 8
xor edx, dword [rcx + rax*4]
mov eax, edx
not eax
bswap eax
mov dword [rsp + 0x9d], eax
mov rax, qword [rsp + 0x70]
mov qword [rax], r14
mov qword [rax + 8], r15
mov rdi, qword [rsp + 0x60]
movdqu xmm0, xmmword [rsp + 0x90]
mov rbx, qword [rsp + 0x68]
lea rsi, [rdi + 0x10]
movups xmmword [rax + 0x10], xmm0
mov rdx, qword [rsp + 0xa0]
mov qword [rax + 0x20], rdx
movzx edx, byte [rsp + 0xa8]
mov byte [rax + 0x28], dl
cmp rsi, rbx
jbe 0x20796b5a0
mov eax, dword [rsp + 0x78]
test eax, eax
je 0x20796b571
mov eax, pe_nt_image_headers64
nop word cs:[rax + rax]
add rbx, rbx
cmp rbx, 0x80
cmovb rbx, rax
cmp rsi, rbx
ja 0x20796b420
mov rcx, qword [rsp + 0x70]
mov rdx, rbx
call sub.msvcrt.dll_realloc
test rax, rax
je 0x20796b571
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x68], rbx
movabs rbx, 0x826042ae444e4549
xor ecx, ecx
mov qword [rax + rdx], rcx
xor ecx, ecx
mov qword [rax + rdx + 8], rbx
mov rax, qword [rsp + 0x120]
mov r11, qword [rsp + 0x70]
mov qword [rsp + 0x60], rsi
mov rax, qword [rax]
lea rdx, [r11 + 0x25]
lea r8, [rax + 4]
call fcn.2079680b0
mov edx, eax
shr edx, 0x18
mov byte [r11 + rdi], dl
mov edx, eax
mov rcx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
shl edx, 8
shr edx, 0x18
mov byte [r8 + rcx - 0xf], dl
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x60]
mov byte [rcx + rdx - 0xe], ah
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x60]
mov byte [rcx + rdx - 0xd], al
mov rax, qword [rsp + 0x120]
mov rcx, r12
add qword [rax], 0x39
call sub.msvcrt.dll_free
mov r12, qword [rsp + 0x70]
mov rax, r12
add rsp, 0xb8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov dword [r12 + 0x84], 0xfffffffe
jmp 0x20796b211
mov r9d, 1
jmp 0x20796b209
call fcn.207966520
mov rdx, qword [rsp + 0x38]
mov r9d, dword [rsp + 0x44]
test eax, eax
jne 0x20796b147
jmp 0x20796b211
mov r8, qword [r12 + 0xb0]
mov ecx, dword [r12 + 0x20]
mov dword [rsp + 0x38], r9d
sub r8, rdx
call fcn.207967f40
mov r9d, dword [rsp + 0x38]
mov dword [r12 + 0x20], eax
jmp 0x20796b15b
mov rax, qword [rsp + 0x120]
mov qword [rax], 0
mov rcx, r12
xor r12d, r12d
call sub.msvcrt.dll_free
mov rcx, qword [rsp + 0x70]
call sub.msvcrt.dll_free
jmp 0x20796b4e6
mov rax, qword [rsp + 0x70]
mov rdx, rdi
jmp 0x20796b458
mov rcx, r12
xor r12d, r12d
call sub.msvcrt.dll_free
jmp 0x20796b4e6