Function at 0x4086d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40ad6d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x178
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x164], edx
mov dword [ebp - 0x168], ecx
xor al, al
lea edi, [ebp - 0x158]
mov ecx, 0x128
rep stosb byte es:[edi], al
mov eax, dword [0x40d4cc]
add eax, 0xfffffff5
push 0
xor eax, 0x44c12fb7
push 2
call eax
mov esi, eax
mov dword [ebp - 0x15c], esi
cmp esi, 0xffffffff
je 0x408781
mov eax, dword [0x40d4d0]
lea ecx, [ebp - 0x158]
add eax, 0xfffffff4
mov dword [ebp - 0x158], 0x128
push ecx
xor eax, 0x44c12fb8
push esi
call eax
test eax, eax
jne 0x408788
mov eax, dword [0x40d4d8]
add eax, 0xfffffff2
push esi
xor eax, 0x44c12fba
call eax
xor eax, eax
jmp 0x408a50
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4087a6
sub ecx, edx
lea eax, [ebp - 0x134]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00408080
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
lea edi, [ebp - 0x2c]
mov ecx, dword [ebp - 0x2c]
lea esi, [ebp - 0x2c]
cmova eax, dword [ebp - 0x2c]
cmova edi, dword [ebp - 0x2c]
add eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x18], 0xf
mov dword [ebp - 0x160], eax
cmova esi, ecx
cmp esi, eax
je 0x408810
sub edi, esi
movsx eax, byte [esi]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [edi + esi], al
add esp, 4
inc esi
cmp esi, dword [ebp - 0x160]
jne 0x4087f4
mov ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
lea edx, [ebp - 0x2c]
mov edi, dword [ebp - 0x1c]
cmova edx, ecx
or esi, 0xffffffff
xor ecx, ecx
test edi, edi
je 0x40883e
movsx eax, byte [edx + ecx]
inc ecx
xor eax, esi
shr esi, 8
movzx eax, al
xor esi, dword [eax*4 + 0x40b440]
cmp ecx, edi
jb 0x408826
mov edi, dword [ebp - 0x164]
xor eax, eax
not esi
test edi, edi
je 0x408860
mov ecx, dword [ebp - 0x168]
cmp esi, dword [ecx + eax*4]
je 0x408a2d
inc eax
cmp eax, edi
jb 0x408852
mov eax, dword [0x40d4d4]
lea ecx, [ebp - 0x158]
mov esi, dword [ebp - 0x15c]
add eax, 0xfffffff3
push ecx
xor eax, 0x44c12fb9
push esi
call eax
test eax, eax
je 0x4089ef
nop word [eax + eax]
xorps xmm0, xmm0
mov dword [ebp - 0x174], 0
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x170], 0
movups xmmword [ebp - 0x184], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4088b7
sub ecx, edx
lea eax, [ebp - 0x134]
push ecx
push eax
lea ecx, [ebp - 0x184]
call fcn.00408080
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x408907
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4088fd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408a27
push ecx
push edx
call fcn.0040997a
add esp, 8
movups xmm1, xmmword [ebp - 0x184]
cmp dword [ebp - 0x170], 0xf
lea eax, [ebp - 0x2c]
movq xmm0, qword [ebp - 0x174]
lea ecx, [ebp - 0x2c]
movd edx, xmm1
lea edi, [ebp - 0x2c]
movups xmmword [ebp - 0x2c], xmm1
cmova eax, edx
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x160], eax
cmova ecx, edx
mov eax, dword [ebp - 0x174]
add eax, ecx
cmp dword [ebp - 0x170], 0xf
mov dword [ebp - 0x16c], eax
cmova edi, edx
cmp edi, eax
je 0x40897c
mov esi, dword [ebp - 0x160]
sub esi, edi
movsx eax, byte [edi]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [esi + edi], al
add esp, 4
inc edi
cmp edi, dword [ebp - 0x16c]
jne 0x408963
cmp dword [ebp - 0x18], 0xf
lea edx, [ebp - 0x2c]
mov edi, dword [ebp - 0x1c]
cmova edx, dword [ebp - 0x2c]
or esi, 0xffffffff
xor ecx, ecx
test edi, edi
je 0x4089ab
movsx eax, byte [edx + ecx]
inc ecx
xor eax, esi
shr esi, 8
movzx eax, al
xor esi, dword [eax*4 + 0x40b440]
cmp ecx, edi
jb 0x408993
mov edi, dword [ebp - 0x164]
xor eax, eax
not esi
test edi, edi
je 0x4089ca
mov ecx, dword [ebp - 0x168]
nop
cmp esi, dword [ecx + eax*4]
je 0x408a2d
inc eax
cmp eax, edi
jb 0x4089c0
mov eax, dword [0x40d4d4]
lea ecx, [ebp - 0x158]
mov esi, dword [ebp - 0x15c]
add eax, 0xfffffff3
push ecx
xor eax, 0x44c12fb9
push esi
call eax
test eax, eax
jne 0x408890
mov eax, dword [0x40d4d8]
add eax, 0xfffffff2
push esi
xor eax, 0x44c12fba
call eax
xor esi, esi
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x408a4e
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408a44
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x408a44
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [0x40d4d8]
push dword [ebp - 0x15c]
add eax, 0xfffffff2
xor eax, 0x44c12fba
call eax
jmp 0x408a01
push ecx
push edx
call fcn.0040997a
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00409937
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret