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

Disassembly:
push ebx
push ecx
push edx
push esi
push edi
push ebp
call 0x40b00b
pop ebp
mov ecx, ebp
sub ebp, 0x403033
sub ecx, dword [ebp + 0x4032ee]
sub ecx, 0xb
mov dword [ebp + 0x4032f2], ecx
cmp byte [ebp + 0x4032d1], 1
je 0x40b293
mov byte [ebp + 0x4032d1], 1
cmp dword [ebp + 0x4032fe], 0
je 0x40b1d3
mov dword [ebp + 0x4032de], 0x12345678
cmp dword [ebp + 0x4032d2], 0
je 0x40b175
mov dword [ebp + 0x4032da], 0xfe5043fe
mov esi, dword [ebp + 0x4032d2]
add esi, dword [ebp + 0x4032f2]
mov edi, esi
mov ecx, dword [ebp + 0x4032d6]
shr ecx, 2
push ecx
lodsd eax, dword [esi]
mov bl, byte [esi - 3]
xor eax, dword [ebp + 0x4032da]
mov ecx, dword [ebp + 0x4032da]
shr ecx, 0x18
rol eax, cl
stosd dword es:[edi], eax
mov eax, dword [ebp + 0x4032da]
mov cl, bl
rol eax, cl
mov dword [ebp + 0x4032da], eax
pop ecx
loop 0x40b07c
mov edi, 0x403352
add edi, ebp
add edi, 0x3fc
std
mov esi, 0
mov eax, esi
mov ecx, 8
test eax, 1
jne 0x40b0d7
nop
nop
nop
nop
shr eax, 1
xor eax, 0xedb88320
jmp 0x40b0d9
shr eax, 1
loop 0x40b0c0
stosd dword es:[edi], eax
inc esi
cmp esi, 0x100
jne 0x40b0b9
cld
mov word [ebp + 0x4032da], pe_overlay
mov word [ebp + 0x4032dc], pe_overlay
mov esi, dword [ebp + 0x4032d2]
add esi, dword [ebp + 0x4032f2]
xor ebx, ebx
xor edx, edx
mov bx, word [ebp + 0x4032da]
mov dx, word [ebp + 0x4032dc]
lodsb al, byte [esi]
xor bl, al
xor bh, bh
shl bx, 1
shl bx, 1
add ebx, 0x403352
add ebx, ebp
mov ax, word [ebx]
mov cx, word [ebx + 2]
mov bx, word [ebp + 0x4032da]
mov dx, word [ebp + 0x4032dc]
push ecx
mov ecx, 8
shr dx, 1
rcr bx, 1
loop 0x40b144
pop ecx
xor ax, bx
xor dx, cx
mov word [ebp + 0x4032da], ax
mov word [ebp + 0x4032dc], dx
dec dword [ebp + 0x4032d6]
jne 0x40b104
mov eax, dword [ebp + 0x4032da]
mov dword [ebp + 0x4032de], eax
xor ebx, ebx
push ebx
shl ebx, 3
add ebx, ebp
add ebx, 0x403302
mov esi, dword [ebx]
add esi, dword [ebp + 0x4032f2]
mov edi, esi
mov ecx, dword [ebx + 4]
shr ecx, 2
mov eax, dword [ebp + 0x4032de]
mov dword [ebp + 0x4032da], eax
push ecx
lodsd eax, dword [esi]
mov bl, byte [esi - 3]
xor eax, dword [ebp + 0x4032da]
mov ecx, dword [ebp + 0x4032da]
shr ecx, 0x18
rol eax, cl
stosd dword es:[edi], eax
mov eax, dword [ebp + 0x4032da]
mov cl, bl
rol eax, cl
mov dword [ebp + 0x4032da], eax
pop ecx
loop 0x40b19f
pop ebx
inc ebx
cmp ebx, dword [ebp + 0x4032fe]
jne 0x40b177
mov eax, dword [ebp + 0x4032f2]
mov ebx, dword [ebp + 0x4032f6]
sub eax, ebx
je 0x40b293
mov dword [ebp + 0x4032da], 0
mov dword [ebp + 0x4032ea], eax
mov edx, eax
mov esi, dword [ebp + 0x4032e2]
add esi, dword [ebp + 0x4032f2]
mov edi, dword [esi]
add edi, dword [ebp + 0x4032f2]
mov ecx, dword [esi + 4]
add dword [ebp + 0x4032da], ecx
add esi, 8
lodsw ax, word [esi]
movzx eax, ax
push edi
mov ebx, eax
shr bx, 0xc
and eax, 0xfff
add edi, eax
mov eax, dword [edi]
cmp bl, 0
je 0x40b27b
nop
nop
nop
nop
cmp bl, 1
jne 0x40b256
nop
nop
nop
nop
ror eax, 0x10
ror edx, 0x10
add ax, dx
rol eax, 0x10
rol edx, 0x10
mov dword [edi], eax
jmp 0x40b27b
cmp bl, 2
jne 0x40b269
nop
nop
nop
nop
add ax, dx
mov dword [edi], eax
jmp 0x40b27b
cmp bl, 3
jne 0x40b27b
nop
nop
nop
nop
add eax, edx
mov dword [edi], eax
jmp 0x40b27b
pop edi
sub ecx, 2
jne 0x40b219
mov eax, dword [ebp + 0x4032da]
cmp eax, dword [ebp + 0x4032e6]
jb 0x40b205
mov eax, dword [ebp + 0x4032f2]
mov ebx, dword [ebp + 0x4032fa]
add eax, ebx
pop ebp
pop edi
pop esi
pop edx
pop ecx
pop ebx
jmp eax