Function at 0x101791b0
Capabilities:
Encode data using xor
Hash data with crc32
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40
push ebx
mov ebx, ecx
xor edx, edx
push ebp
push esi
push edi
mov dword [ebx + 0x3bcd4], 0
lea edi, [ebx + 0x19c]
mov dword [ebx + 0x3bcd0], 0
lea esi, [ebx + 0x20c]
mov dword [esp + 0x1c], ebx
mov dword [ebx + 0x1cc], 0
mov dword [ebx + 0x1e8], 0
mov dword [ebx + 0x1bc], 0
mov dword [ebx + 0x1c8], 0x20
mov dword [ebx + 0x1f0], 1
mov dword [ebx + 0x1e4], 4
mov dword [ebx + 0x1f4], 0
nop dword [eax + eax]
mov ecx, edx
lea esi, [esi + 4]
and ecx, 1
mov eax, edx
shr eax, 1
neg ecx
and ecx, 0xedb88320
inc edx
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [esi - 4], eax
cmp edx, 0x100
jb 0x10179230
mov dword [ebx + 0x118], 0
lea edx, [esp + 0x20]
mov dword [ebx + 0x148], 0
mov ecx, ebx
mov dword [ebx + 0x170], 0
mov dword [ebx + 0x174], 0
mov dword [ebx + 0x158], 0
mov dword [ebx + 0x15c], 0
mov dword [ebx + 0x160], 0
mov dword [ebx + 0x164], 0
mov dword [ebx + 0x168], 0
mov dword [ebx + 0x16c], 0
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x74], 0
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x5c], 0
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x64], 0
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x6c], 0
mov dword [ebx + 0x70], 0
mov dword [ebx + 0x198], edi
mov dword [esp + 0x20], 5
mov dword [esp + 0x44], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x4c], 0xffffffff
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x48], 0
call fcn.1017c340
lea edx, [ebx + 0x306a0]
mov eax, 2
mov word [edx], 0x100
mov ebx, eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
mov ecx, ebx
mov ebp, 1
sar ecx, 1
dec ecx
shl ebp, cl
test ebp, ebp
je 0x10179433
lea edi, [eax + edx]
mov ecx, ebp
mov al, bl
mov edx, dword [esp + 0x18]
movzx eax, al
mov esi, ecx
imul eax, eax, 0x1010101
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x14]
add eax, ebp
mov dword [esp + 0x14], eax
inc ebx
cmp ebx, 0x16
jl 0x101793f7
mov ebx, dword [esp + 0x1c]
mov edi, 8
xor edx, edx
mov eax, edi
lea esi, [edx + 4]
nop dword [eax]
imul eax, eax
add edx, edx
cmp eax, 0x10000
jb 0x1017946a
nop dword [eax]
shr eax, 1
inc edx
cmp eax, 0x10000
jae 0x10179460
sub esi, 1
jne 0x10179450
mov eax, edi
mov ecx, 0xa1
shr eax, 4
sub ecx, edx
add edi, 0x10
mov dword [ebx + eax*4 + 0x30ea0], ecx
cmp edi, 0x800
jb 0x10179442
pop edi
mov dword [ebx + 0x325ac], esi
mov dword [ebx + 0x3bd14], esi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret