Function at 0x1800bff40
Capabilities:
Hash data with crc32

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xa8
mov r13d, dword [rsp + 0x120]
mov rdi, rcx
mov ecx, 0x4df78
mov r12d, edx
mov ebp, r8d
mov dword [rsp + 0x108], r9d
call sym.malloc
mov r14d, dword [rsp + 0x108]
mov rbx, rax
mov rax, qword [rsp + 0x110]
imul r14d, r12d
mov qword [rax], 0
test rbx, rbx
je 0x1800c0953
lea edx, [r14 + 1]
mov eax, 0x40
pxor xmm0, xmm0
imul edx, ebp
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x68], 1
cmp edx, eax
cmovl edx, eax
add edx, 0x39
movsxd r15, edx
mov rcx, r15
mov qword [rsp + 0x58], r15
call sym.malloc
mov qword [rsp + 0x60], rax
test rax, rax
je 0x1800c0974
mov esi, 0x29
xor ecx, ecx
mov dword [rsp + 0x44], 0x29
mov eax, esi
lea rsi, [rcx + 1]
cmp r15, rsi
jae 0x1800c0072
nop
mov r9d, dword [rsp + 0x68]
test r9d, r9d
je 0x1800c0056
nop word [rax + rax]
add r15, r15
mov eax, pe_nt_image_headers64
cmp r15, rax
cmovb r15, rax
cmp r15, rsi
jb 0x1800c0010
mov rcx, qword [rsp + 0x60]
mov rdx, r15
call sym.realloc
test rax, rax
je 0x1800c0052
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x58], r15
movzx edx, byte [rsp + 0x44]
mov byte [rax + rcx], dl
mov qword [rsp + 0x50], rsi
mov eax, dword [rsp + 0x44]
sub eax, 1
mov dword [rsp + 0x44], eax
je 0x1800c0080
mov rcx, qword [rsp + 0x50]
mov r15, qword [rsp + 0x58]
lea rsi, [rcx + 1]
cmp r15, rsi
jb 0x1800c0000
mov rax, qword [rsp + 0x60]
jmp 0x1800c0045
mov esi, eax
mov eax, 0xa
lea r8, [rsp + 0x50]
mov rcx, rbx
cmp dword [rsp + 0x118], eax
cmovbe eax, dword [rsp + 0x118]
lea rdx, [sym.tdefl_output_buffer_putter]
mov r15d, eax
lea rax, [0x18010d100]
mov r9d, dword [rax + r15*4]
or r9d, 0x1000
call sym.tdefl_init
mov rax, qword [rbx]
test ebp, ebp
jle 0x1800c02ec
movsxd r15, r14d
test r15, r15
setne byte [rsp + 0x3b]
test r13d, r13d
jne 0x1800c0620
lea rcx, [rsp + 0x48]
mov dword [rsp + 0xf8], r12d
lea r14, [rsp + 0x70]
mov r12d, r13d
mov qword [rsp + 0x30], rcx
nop dword [rax + rax]
mov qword [rsp + 0x48], 1
test rax, rax
je 0x1800c095a
lea rsi, [rsp + 0x44]
mov r8, qword [rsp + 0x30]
xor r9d, r9d
mov rdx, rsi
mov rcx, rbx
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
call sym.tdefl_compress
mov rax, qword [rbx]
mov qword [rsp + 0x70], r15
test rax, rax
je 0x1800c095a
mov r13d, dword [rbx + 0x84]
mov qword [rbx + 0x88], rdi
mov qword [rbx + 0x98], r14
mov qword [rbx + 0x90], 0
mov qword [rbx + 0xa0], 0
mov qword [rbx + 0xb0], rdi
mov qword [rbx + 0xb8], r15
mov qword [rbx + 0xc0], 0
mov dword [rbx + 0xa8], 0
test r13d, r13d
jne 0x1800c0870
mov r8d, dword [rbx + 0x80]
test r8d, r8d
jne 0x1800c0870
test rdi, rdi
jne 0x1800c01c3
cmp byte [rsp + 0x3b], 0
jne 0x1800c0870
mov ecx, dword [rbx + 0x74]
test ecx, ecx
jne 0x1800c0876
mov edx, dword [rbx + 0x78]
test edx, edx
jne 0x1800c08d0
mov eax, dword [rbx + 0x10]
and eax, 0xb4fff
cmp eax, 0x4001
je 0x1800c08f0
mov rcx, rbx
call sym.tdefl_compress_normal.constprop.0
test eax, eax
je 0x1800c0900
test byte [rbx + 0x11], 0x30
je 0x1800c021f
test rdi, rdi
je 0x1800c021f
mov r8, qword [rbx + 0xb0]
mov ecx, dword [rbx + 0x20]
mov rdx, rdi
sub r8, rdi
call sym.mz_adler32
mov dword [rbx + 0x20], eax
mov rdx, qword [rbx + 0x98]
test rdx, rdx
je 0x1800c023c
mov rax, qword [rbx + 0xb0]
sub rax, qword [rbx + 0x88]
mov qword [rdx], rax
mov rdx, qword [rbx + 0xa0]
test rdx, rdx
je 0x1800c02b7
mov rax, qword [rbx + 0xc0]
mov rsi, qword [rdx]
mov edx, dword [rbx + 0x74]
sub rsi, rax
cmp rsi, rdx
cmova rsi, rdx
add rax, qword [rbx + 0x90]
mov rcx, rax
mov eax, dword [rbx + 0x70]
mov r8, rsi
lea rdx, [rbx + rax + 0x392aa]
call fcn.1800a6be8
movq xmm0, qword [rbx + 0x70]
movd xmm5, esi
mov rax, qword [rbx + 0xa0]
pshufd xmm1, xmm5, 0xe0
add rsi, qword [rbx + 0xc0]
movdqa xmm2, xmm0
psubd xmm0, xmm1
mov qword [rbx + 0xc0], rsi
paddd xmm2, xmm1
movss xmm0, xmm2
movq qword [rbx + 0x70], xmm0
mov qword [rax], rsi
mov eax, dword [rbx + 0x78]
test eax, eax
je 0x1800c02ca
mov esi, dword [rbx + 0x74]
xor r13d, r13d
test esi, esi
sete r13b
mov dword [rbx + 0x84], r13d
mov rax, qword [rbx]
add r12d, 1
add rdi, r15
cmp ebp, r12d
jne 0x1800c0100
mov r12d, dword [rsp + 0xf8]
mov qword [rsp + 0x70], 0
test rax, rax
je 0x1800c0983
mov dword [rsp + 0x28], 4
xor r9d, r9d
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x70]
call sym.tdefl_compress
mov rdi, qword [rsp + 0x60]
cmp eax, 1
jne 0x1800c0943
mov rsi, qword [rsp + 0x50]
xor r10d, r10d
mov rax, qword [rsp + 0x110]
lea rcx, [0x18010c590]
mov qword [rsp + 0x80], r10
mov r11d, 8
xor r10d, r10d
movabs r14, 0xa1a0a0d474e5089
lea rdx, [rsi - 0x29]
mov qword [rsp + 0x88], r11
movabs r11, 0x5441444900000000
movabs r15, 0x524448490d000000
mov qword [rax], rdx
mov eax, r12d
rol ax, 8
mov qword [rsp + 0x89], r10
mov word [rsp + 0x82], ax
mov eax, ebp
rol ax, 8
mov qword [rsp + 0x91], r11
mov r11, rdx
mov word [rsp + 0x86], ax
movsxd rax, dword [rsp + 0x108]
mov qword [rsp + 0x70], r14
movzx r8d, byte [rcx + rax]
mov eax, r12d
mov qword [rsp + 0x78], r15
lea rcx, [0x18010c640]
movzx eax, ah
xor eax, 0xc4
mov byte [rsp + 0x89], r8b
mov eax, dword [rcx + rax*4]
xor eax, 0x75a723
xor r12d, eax
shr eax, 8
movzx r12d, r12b
xor eax, dword [rcx + r12*4]
lea r12, [rsi + 0x10]
movzx r9d, al
shr eax, 8
xor eax, dword [rcx + r9*4]
movzx r9d, al
shr eax, 8
xor eax, dword [rcx + r9*4]
mov r10d, eax
mov eax, ebp
movzx eax, ah
mov r9d, eax
mov eax, r10d
xor r9d, r10d
shr eax, 8
mov r10, rdx
movzx r9d, r9b
xor eax, dword [rcx + r9*4]
xor ebp, eax
shr eax, 8
movzx ebp, bpl
xor eax, dword [rcx + rbp*4]
movzx ebp, dh
mov r9d, eax
shr eax, 8
xor r9d, 8
movzx r9d, r9b
xor eax, dword [rcx + r9*4]
movzx r9d, dl
xor r8d, eax
shr eax, 8
mov rdx, r9
movzx r8d, r8b
xor eax, dword [rcx + r8*4]
movzx r8d, al
shr eax, 8
xor eax, dword [rcx + r8*4]
movzx r8d, al
shr eax, 8
xor eax, dword [rcx + r8*4]
movzx r8d, al
shr eax, 8
xor eax, dword [rcx + r8*4]
not eax
mov ecx, eax
mov r8d, eax
shr ecx, 0x18
shl r8d, 8
shl rdx, 8
shr r11, 0x10
movzx ecx, cl
shr r10, 0x18
or rdx, rbp
movzx r9d, r11b
movzx ebp, ah
shl rdx, 8
shr r8d, 0x18
or rdx, r9
movzx r9d, r10b
movzx r8d, r8b
shl rdx, 8
or rdx, r9
movzx r9d, al
shl rdx, 8
or rdx, r9
mov rax, rdx
shl rax, 8
or rax, rbp
shl rax, 8
or rax, r8
shl rax, 8
or rax, rcx
mov qword [rsp + 0x8d], rax
mov qword [rdi], r14
mov qword [rdi + 8], r15
movdqu xmm3, xmmword [rsp + 0x80]
movups xmmword [rdi + 0x10], xmm3
movdqu xmm4, xmmword [rsp + 0x89]
movups xmmword [rdi + 0x19], xmm4
mov rbp, qword [rsp + 0x58]
cmp rbp, r12
jae 0x1800c0927
mov eax, dword [rsp + 0x68]
test eax, eax
je 0x1800c0934
nop word [rax + rax]
add rbp, rbp
mov eax, pe_nt_image_headers64
cmp rbp, rax
cmovb rbp, rax
cmp rbp, r12
jb 0x1800c0538
mov rcx, rdi
mov rdx, rbp
call sym.realloc
mov rdi, rax
test rax, rax
je 0x1800c092f
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x50]
movabs rcx, 0x826042ae444e4549
xor edx, edx
mov qword [rdi + rax], rdx
mov qword [rdi + rax + 8], rcx
mov rax, qword [rsp + 0x110]
xor ecx, ecx
mov rdi, qword [rsp + 0x60]
mov qword [rsp + 0x50], r12
mov rax, qword [rax]
lea rdx, [rdi + 0x25]
lea r8, [rax + 4]
call sym.mz_crc32
mov edx, eax
shr edx, 0x18
mov byte [rdi + rsi], dl
mov edx, eax
mov rcx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
shl edx, 8
shr edx, 0x18
mov byte [r8 + rcx - 0xf], dl
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x50]
mov byte [rcx + rdx - 0xe], ah
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x50]
mov byte [rcx + rdx - 0xd], al
mov rax, qword [rsp + 0x110]
mov rcx, rbx
mov rsi, qword [rsp + 0x60]
add qword [rax], 0x39
call sym.free
mov rax, rsi
add rsp, 0xa8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea r11d, [rbp - 1]
mov r13d, r14d
mov dword [rsp + 0xf8], r12d
mov r12d, esi
imul r11d, r14d
neg r13d
movsxd r13, r13d
movsxd r11, r11d
lea r14, [rdi + r11]
lea rdi, [rsp + 0x48]
mov qword [rsp + 0x30], rdi
lea rdi, [rsp + 0x70]
mov rsi, r14
mov r14, rdi
mov qword [rsp + 0x48], 1
test rax, rax
je 0x1800c095a
lea rdi, [rsp + 0x44]
mov r8, qword [rsp + 0x30]
xor r9d, r9d
mov rdx, rdi
mov rcx, rbx
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
call sym.tdefl_compress
mov rax, qword [rbx]
mov qword [rsp + 0x70], r15
test rax, rax
je 0x1800c095a
mov r9d, dword [rbx + 0x84]
mov qword [rbx + 0x88], rsi
mov qword [rbx + 0x98], r14
mov qword [rbx + 0x90], 0
mov qword [rbx + 0xa0], 0
mov qword [rbx + 0xb0], rsi
mov qword [rbx + 0xb8], r15
mov qword [rbx + 0xc0], 0
mov dword [rbx + 0xa8], 0
test r9d, r9d
jne 0x1800c08a0
mov r11d, dword [rbx + 0x80]
test r11d, r11d
jne 0x1800c08a0
test rsi, rsi
jne 0x1800c071b
cmp byte [rsp + 0x3b], 0
jne 0x1800c08a0
mov r10d, dword [rbx + 0x74]
test r10d, r10d
jne 0x1800c08a6
mov r8d, dword [rbx + 0x78]
test r8d, r8d
jne 0x1800c08e0
mov eax, dword [rbx + 0x10]
mov dword [rsp + 0x3c], r9d
mov rcx, rbx
and eax, 0xb4fff
cmp eax, 0x4001
je 0x1800c0910
call sym.tdefl_compress_normal.constprop.0
mov r9d, dword [rsp + 0x3c]
test eax, eax
je 0x1800c084b
test byte [rbx + 0x11], 0x30
je 0x1800c078f
test rsi, rsi
je 0x1800c078f
mov r8, qword [rbx + 0xb0]
mov ecx, dword [rbx + 0x20]
mov rdx, rsi
mov dword [rsp + 0x3c], r9d
sub r8, rsi
call sym.mz_adler32
mov r9d, dword [rsp + 0x3c]
mov dword [rbx + 0x20], eax
mov rdx, qword [rbx + 0x98]
test rdx, rdx
je 0x1800c07ac
mov rax, qword [rbx + 0xb0]
sub rax, qword [rbx + 0x88]
mov qword [rdx], rax
mov rdx, qword [rbx + 0xa0]
test rdx, rdx
je 0x1800c0831
mov rax, qword [rbx + 0xc0]
mov rdi, qword [rdx]
mov dword [rsp + 0x3c], r9d
mov edx, dword [rbx + 0x74]
sub rdi, rax
cmp rdi, rdx
cmova rdi, rdx
add rax, qword [rbx + 0x90]
mov rcx, rax
mov eax, dword [rbx + 0x70]
mov r8, rdi
lea rdx, [rbx + rax + 0x392aa]
call fcn.1800a6be8
movq xmm0, qword [rbx + 0x70]
movd xmm5, edi
mov rax, qword [rbx + 0xa0]
pshufd xmm1, xmm5, 0xe0
add rdi, qword [rbx + 0xc0]
mov r9d, dword [rsp + 0x3c]
movdqa xmm2, xmm0
psubd xmm0, xmm1
mov qword [rbx + 0xc0], rdi
paddd xmm2, xmm1
movss xmm0, xmm2
movq qword [rbx + 0x70], xmm0
mov qword [rax], rdi
mov ecx, dword [rbx + 0x78]
test ecx, ecx
je 0x1800c0844
mov edx, dword [rbx + 0x74]
xor r9d, r9d
test edx, edx
sete r9b
mov dword [rbx + 0x84], r9d
add r12d, 1
mov rax, qword [rbx]
add rsi, r13
cmp ebp, r12d
jne 0x1800c0658
mov r12d, dword [rsp + 0xf8]
jmp 0x1800c02ec
mov r13d, 0xfffffffe
add r12d, 1
mov dword [rbx + 0x84], r13d
add rdi, r15
cmp ebp, r12d
je 0x1800c02e4
mov qword [rsp + 0x48], 1
jmp 0x1800c0117
mov r9d, 0xfffffffe
add r12d, 1
mov dword [rbx + 0x84], r9d
add rsi, r13
cmp ebp, r12d
je 0x1800c02e4
mov qword [rsp + 0x48], 1
jmp 0x1800c066f
mov r13d, 1
jmp 0x1800c0876
mov r9d, 1
jmp 0x1800c08a6
mov rcx, rbx
call sym.tdefl_compress_fast.constprop.0
test eax, eax
jne 0x1800c01fc
mov rax, qword [rbx]
jmp 0x1800c02d4
call sym.tdefl_compress_fast.constprop.0
mov r9d, dword [rsp + 0x3c]
test eax, eax
jne 0x1800c0762
jmp 0x1800c084b
mov rax, rsi
jmp 0x1800c0572
mov rdi, qword [rsp + 0x60]
mov rax, qword [rsp + 0x110]
mov qword [rax], 0
mov rcx, rbx
call sym.free
mov rcx, rdi
call sym.free
xor esi, esi
jmp 0x1800c05ff
mov r8d, 0x773
lea rdx, str.miniz.c
lea rcx, str.d__m_pPut_buf_func
call qword [sym.imp.msvcrt.dll__assert]
mov rcx, rbx
xor esi, esi
call sym.free
jmp 0x1800c05ff
call sym.tdefl_compress_buffer.part.0
nop
nop
nop
nop
nop
nop
nop
nop