Function at 0x100013a0
Capabilities:
Hash data with crc32

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0xa8
mov edx, dword [ecx + 8]
mov eax, dword [ecx + 0xc]
mov edi, dword [ecx + 4]
mov esi, dword [ecx]
mov dword [esp + 0x1c], 0
mov dword [ebp - 0x8c], edx
mov edx, dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x90], edx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], 0
call edx
sub esp, 0x20
mov ebx, eax
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0x94], eax
test eax, eax
je 0x100018a6
mov dword [esp + 0x14], ebx
sub ebx, 1
mov edx, dword [ebp - 0x90]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], 0
call edx
mov word [ebp - 0x56], bx
mov ebx, dword [esi + 0x14]
mov edx, 8
mov eax, dword [esi + 0xc]
xor ecx, ecx
sub esp, 0x20
mov word [ebp - 0x68], dx
mov dword [ebp - 0x98], ebx
lea ebx, [ebp - 0x70]
mov edx, ebx
mov dword [ebp - 0x66], eax
mov eax, esi
mov word [ebp - 0x54], cx
mov ecx, 0x1e
mov dword [ebp - 0x70], 0x4034b50
mov dword [ebp - 0x6c], 0x80014
mov dword [ebp - 0x62], 0
mov dword [ebp - 0x5e], 0
mov dword [ebp - 0x5a], 0
call fcn.10001140
movzx ecx, word [ebp - 0x56]
mov edx, dword [ebp - 0x94]
mov eax, esi
call fcn.10001140
mov ebx, dword [sym.imp.ntdll.dll_RtlComputeCrc32]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [ebp - 0x90], ebx
call ebx
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x7c], eax
sub esp, 0xc
mov eax, dword [edx]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp], edx
call dword [eax + 0x14]
mov eax, dword [ebp - 0x88]
sub esp, 0x14
add eax, 1
cmp eax, 4
jbe 0x100016a0
mov ebx, 0xffffffff
test byte [0x10012018], 4
jne 0x10001827
xor eax, eax
mov ecx, 0xe
lea edi, [ebp - 0x50]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x50]
mov dword [esp + 4], ebx
lea ebx, [esi + 0x801c]
mov dword [esp + 0x1c], 0x38
mov dword [esp + 0x18], 0x10014061
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 9
mov dword [esp + 0xc], 0xfffffff1
mov dword [esp + 8], 8
mov dword [esp], eax
call fcn.1000d510
lea eax, [esi + 0x1c]
mov dword [ebp - 0x88], eax
lea esi, [esi]
mov edx, dword [ebp - 0x8c]
lea edi, [ebp - 0x84]
mov eax, dword [edx]
mov dword [esp + 0xc], edi
mov edi, dword [ebp - 0x88]
mov dword [esp + 8], 0x8000
mov dword [esp], edx
mov dword [esp + 4], edi
call dword [eax + 0xc]
sub esp, 0x10
test eax, eax
js 0x1000181b
mov eax, dword [ebp - 0x84]
mov edi, dword [ebp - 0x88]
mov dword [ebp - 0x4c], eax
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x50], edi
mov dword [esp + 4], edi
mov dword [esp], eax
mov eax, dword [ebp - 0x90]
call eax
mov dword [ebp - 0x7c], eax
sub esp, 0xc
xor eax, eax
cmp dword [ebp - 0x84], 0x8000
setb al
mov edi, eax
shl edi, 2
jmp 0x10001650
mov eax, esi
mov ecx, 0x8000
mov edx, ebx
sub ecx, dword [ebp - 0x40]
call fcn.10001140
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x100016b0
lea eax, [ebp - 0x50]
mov dword [esp + 4], edi
mov dword [esp], eax
mov dword [ebp - 0x40], 0x8000
mov dword [ebp - 0x44], ebx
call fcn.1000c1c0
test eax, eax
je 0x10001638
test byte [0x10012018], 4
je 0x10001638
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Failed_to_deflate__ret__d._n
mov dword [esp + 8], str.compress_write_content
mov dword [esp + 4], 0x10012018
mov dword [esp], 2
call fcn.100010e0
jmp 0x10001638
mov ebx, dword [eax*4 + 0x10014084]
jmp 0x1000155b
cmp edi, 4
jne 0x100015b8
lea eax, [ebp - 0x50]
mov dword [esp], eax
call fcn.1000d440
mov eax, dword [ebp - 0x3c]
mov ecx, 0x10
lea edx, [ebp - 0x80]
mov dword [ebp - 0x80], 0x8074b50
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x74], eax
mov eax, esi
call fcn.10001140
mov eax, dword [esi + 0x18]
test eax, eax
js 0x1000180f
movzx ebx, word [ebp - 0x56]
mov dword [esp], 1
lea eax, [ebx + 0x2e]
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll_calloc]
mov dword [ebp - 0x88], eax
test eax, eax
je 0x1000188d
mov edx, dword [ebp - 0x88]
movzx eax, word [ebp - 0x6c]
movd xmm2, dword [ebp - 0x74]
movd xmm3, dword [ebp - 0x7c]
movd xmm1, dword [ebp - 0x78]
movd xmm0, dword [ebp - 0x66]
mov word [edx + 4], ax
mov word [edx + 6], ax
mov eax, dword [ebp - 0x6a]
punpckldq xmm1, xmm2
punpckldq xmm0, xmm3
mov word [edx + 0x1c], bx
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x98]
punpcklqdq xmm0, xmm1
mov dword [edx], 0x2014b50
mov dword [edx + 0x2a], eax
lea eax, [edx + 0x2e]
movups xmmword [edx + 0xc], xmm0
mov dword [esp + 8], ebx
mov ebx, dword [ebp - 0x94]
mov dword [esp], eax
mov dword [esp + 4], ebx
call sub.ucrtbase.dll_memcpy
mov dword [esp], ebx
mov edi, dword [sym.imp.ucrtbase.dll_free]
call edi
mov edx, dword [esi + 4]
mov ecx, dword [esi + 8]
lea eax, [edx + 1]
cmp eax, ecx
jbe 0x10001823
cmp eax, 0x3fffffff
ja 0x1000185a
cmp ecx, 4
mov ebx, 4
cmovae ebx, ecx
cmp eax, ebx
jbe 0x100017da
cmp ecx, 0x1fffffff
jbe 0x100017d4
jmp 0x10001876
cmp ebx, 0x1fffffff
ja 0x10001876
add ebx, ebx
cmp eax, ebx
ja 0x100017c8
lea eax, [ebx*4]
mov dword [esp + 4], eax
mov eax, dword [esi]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_realloc]
mov ecx, eax
test eax, eax
je 0x1000185a
mov edx, dword [esi + 4]
mov dword [esi + 8], ebx
mov dword [esi], eax
lea eax, [edx + 1]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x88]
mov dword [ecx + edx*4], eax
xor eax, eax
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov dword [esi + 0x18], eax
jmp 0x100016b9
mov ecx, dword [esi]
jmp 0x10001801
mov eax, dword [ebp - 0x88]
mov dword [esp + 0xc], str.Unsupported_compression_options__d._n
mov dword [esp + 8], str.compress_write_content
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x10012018
mov dword [esp], 2
call fcn.100010e0
jmp 0x1000155b
mov eax, dword [ebp - 0x88]
mov dword [esp], eax
call edi
lea esp, [ebp - 0x10]
mov eax, 0x8007000e
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
cmp eax, ebx
jbe 0x100017da
mov eax, 0xfffffffc
mov ebx, 0x3fffffff
jmp 0x100017e1
mov eax, dword [ebp - 0x94]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov eax, 0x8007000e
jmp 0x1000180f
mov eax, 0x8007000e
jmp 0x1000180f