Function at 0x41f980
Capabilities:
Encode data using xor
Hash data using fnv

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 0x43d493
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x98
mov eax, dword [0x45500c]
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 - 0x78], ecx
push 1
call fcn.0041c360
mov esi, eax
test esi, esi
je 0x41ffb9
push esi
call fcn.0041c390
mov edi, eax
mov dword [ebp - 0x28], edi
test edi, edi
je 0x41ffb9
push dword [ebx + 0xc]
mov ecx, dword [ebp - 0x78]
lea eax, [ebp - 0xa8]
push edi
push eax
call fcn.00423220
mov dword [ebp - 4], 0
cmp byte [ebp - 0x98], 0
jne 0x41fa22
lea ecx, [ebp - 0xa8]
mov byte [ebp - 0x15], 0
call fcn.0041c890
mov al, byte [ebp - 0x15]
jmp 0x41ffbb
mov edx, dword [ebp - 0xa4]
xor eax, eax
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x84], eax
mov byte [ebp - 4], 1
mov esi, dword [esi]
sub esi, dword [edi + 0x1c]
cmp esi, dword [edi + 0x20]
jae 0x41facf
push esi
lea ecx, [ebp - 0x58]
call fcn.00420140
mov ecx, eax
test ecx, ecx
je 0x41faac
mov eax, dword [ecx]
test eax, eax
je 0x41faac
mov dword [ebp - 0x40], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x3c], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [ecx + 0x10]
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041fff0
add esi, 0x14
cmp esi, dword [edi + 0x20]
jb 0x41fa65
mov eax, dword [ebp - 0x84]
mov esi, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x7c], esi
jmp 0x41fad1
xor esi, esi
mov eax, esi
mov dword [ebp - 0x64], esi
cmp eax, dword [ebp - 0x68]
je 0x41ff8c
nop
mov eax, dword [eax + 0xc]
sub eax, dword [edi + 0x1c]
cmp eax, ecx
jbe 0x41fafa
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
jmp 0x41fb26
or edi, 0xffffffff
lea esi, [eax + edx]
cmp ecx, 0xffffffff
cmovb edi, ecx
push edi
push 0
push esi
call fcn.0043b6c0
mov ecx, dword [ebp - 0x24]
add esp, 0xc
mov dword [ebp - 0x50], esi
test eax, eax
je 0x41fb23
sub eax, esi
mov dword [ebp - 0x4c], eax
jmp 0x41fb26
mov dword [ebp - 0x4c], edi
xor esi, esi
mov dword [ebp - 0x38], 0
xor edi, edi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], edi
mov edx, dword [ebp - 0x64]
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x78]
mov byte [ebp - 4], 2
mov edx, dword [edx]
sub edx, dword [edi + 0x1c]
cmp byte [eax + 0x118], 0
mov dword [ebp - 0x44], edx
je 0x41fcd9
cmp edx, dword [edi + 0x20]
mov edi, dword [ebp - 0x30]
jae 0x41fe2b
lea eax, [edx + 8]
mov dword [ebp - 0x2c], eax
nop dword [eax + eax]
cmp eax, ecx
ja 0x41fe2b
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + edx]
mov edx, dword [eax + edx + 4]
mov eax, ecx
or eax, edx
mov dword [ebp - 0x5c], edx
je 0x41fe2b
test edx, edx
jg 0x41fc05
jl 0x41fb99
test ecx, ecx
jae 0x41fc05
movzx eax, cx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x48], 0
cmp esi, edi
je 0x41fbee
xorps xmm0, xmm0
mov dword [ebp - 0x60], 0x44c823
push 0
movups xmmword [esi], xmm0
push 0x44c823
mov ecx, esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.0040da20
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], eax
mov esi, dword [ebp - 0x34]
add esi, 0x20
mov dword [ebp - 0x34], esi
jmp 0x41fcb0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x48]
push eax
push ecx
push esi
lea ecx, [ebp - 0x38]
call fcn.00420300
jmp 0x41fcad
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
sub ecx, dword [eax + 0x1c]
lea edi, [ecx + 2]
cmp edi, edx
jbe 0x41fc19
xor eax, eax
jmp 0x41fc20
mov eax, dword [ebp - 0x20]
movzx eax, word [ecx + eax]
mov dword [ebp - 0x1c], eax
movzx eax, ax
mov dword [ebp - 0x6c], eax
cmp edi, edx
jbe 0x41fc33
xor edi, edi
xor eax, eax
jmp 0x41fc59
or eax, 0xffffffff
cmp edx, 0xffffffff
cmovb eax, edx
add edi, dword [ebp - 0x20]
push eax
push 0
push edi
mov dword [ebp - 0x48], eax
call fcn.0043b6c0
add esp, 0xc
test eax, eax
je 0x41fc56
sub eax, edi
jmp 0x41fc59
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], eax
cmp esi, dword [ebp - 0x30]
je 0x41fc9c
xorps xmm0, xmm0
mov ecx, esi
push eax
movups xmmword [esi], xmm0
push edi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.0040da20
mov eax, dword [ebp - 0x1c]
movzx eax, ax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], 0
mov esi, dword [ebp - 0x34]
add esi, 0x20
mov dword [ebp - 0x34], esi
jmp 0x41fcb0
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x58]
push eax
push esi
lea ecx, [ebp - 0x38]
call fcn.004204e0
mov esi, dword [ebp - 0x34]
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x28]
add edx, 8
mov eax, dword [ebp - 0x2c]
add eax, 8
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x2c], eax
cmp edx, dword [ecx + 0x20]
jae 0x41fe2b
mov ecx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x30]
jmp 0x41fb70
cmp edx, dword [edi + 0x20]
jae 0x41fe2b
add edx, dword [ebp - 0x20]
mov edi, 4
sub edi, dword [ebp - 0x20]
mov dword [ebp - 0x6c], edi
mov edi, dword [ebp - 0x44]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x6c]
add eax, edx
cmp eax, ecx
ja 0x41fe2b
mov eax, dword [edx]
test eax, eax
je 0x41fe2b
jns 0x41fd7c
movzx eax, ax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], 0
cmp esi, dword [ebp - 0x30]
je 0x41fd65
xorps xmm0, xmm0
mov dword [ebp - 0x60], 0x44c823
push 0
movups xmmword [esi], xmm0
push 0x44c823
mov ecx, esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.0040da20
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], eax
mov esi, dword [ebp - 0x34]
add esi, 0x20
mov dword [ebp - 0x34], esi
jmp 0x41fe0c
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
push ecx
push esi
lea ecx, [ebp - 0x38]
call fcn.00420300
jmp 0x41fe09
mov edx, dword [ebp - 0x28]
sub eax, dword [edx + 0x1c]
lea edx, [eax + 2]
mov dword [ebp - 0x1c], edx
cmp edx, ecx
jbe 0x41fd90
xor eax, eax
jmp 0x41fd9a
mov ecx, dword [ebp - 0x20]
movzx eax, word [eax + ecx]
mov ecx, dword [ebp - 0x24]
movzx eax, ax
mov dword [ebp - 0x2c], eax
cmp edx, ecx
jbe 0x41fdb4
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
jmp 0x41fdec
mov eax, dword [ebp - 0x1c]
or edx, 0xffffffff
cmp ecx, 0xffffffff
cmovb edx, ecx
add eax, dword [ebp - 0x20]
push edx
push 0
push eax
mov dword [ebp - 0x5c], edx
call fcn.0043b6c0
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
add ecx, dword [ebp - 0x20]
mov dword [ebp - 0x74], ecx
test eax, eax
je 0x41fde6
mov edi, dword [ebp - 0x44]
sub eax, ecx
jmp 0x41fde9
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x38]
push eax
lea eax, [ebp - 0x74]
push eax
cmp esi, dword [ebp - 0x30]
je 0x41fe03
call fcn.00420480
jmp 0x41fe09
push esi
call fcn.004204e0
mov esi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x28]
add edi, 4
mov edx, dword [ebp - 0x48]
add edx, 4
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x48], edx
cmp edi, dword [eax + 0x20]
jae 0x41fe2b
mov ecx, dword [ebp - 0x24]
jmp 0x41fcf6
mov ecx, dword [ebp - 0x38]
mov eax, esi
push dword [ebp - 0x5c]
sub eax, ecx
mov edx, esi
sar eax, 5
push eax
call fcn.00420660
mov esi, dword [ebp - 0x4c]
add esp, 8
mov edi, dword [ebp - 0x50]
xor ecx, ecx
mov edx, 0x811c9dc5
test esi, esi
je 0x41fe65
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x41fe54
mov esi, dword [ebx + 8]
mov eax, edx
mov ecx, 0xcc9e2d51
mul ecx
mov ecx, esi
xor edx, eax
lea eax, [ebp - 0x50]
push edx
push eax
lea eax, [ebp - 0x94]
mov dword [ebp - 0x5c], edx
push eax
call fcn.00421980
cmp byte [ebp - 0x90], 0
je 0x41ff0e
mov eax, dword [esi + 4]
xorps xmm0, xmm0
mov edi, dword [ebp - 0x94]
lea ecx, [edi + edi*8]
lea esi, [eax + ecx*4]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov ecx, esi
mov dword [esi + 0x14], 0
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
call fcn.0040da20
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
lea ecx, [edi - 0x10]
mov dword [esi + 0x20], edx
mov esi, dword [ebx + 8]
mov edx, dword [ebp - 0x5c]
and dl, 0x7f
mov eax, dword [esi]
mov byte [edi + eax], dl
mov eax, dword [esi + 0xc]
and ecx, eax
and eax, 0xf
add ecx, eax
mov eax, dword [esi]
mov byte [ecx + eax + 1], dl
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x41ff6d
mov edx, dword [ebp - 0x34]
push ecx
call fcn.00405a30
mov ecx, dword [ebp - 0x30]
add esp, 4
mov edx, dword [ebp - 0x38]
sub ecx, edx
and ecx, 0xffffffe0
mov eax, edx
cmp ecx, 0x1000
jb 0x41ff4e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ffdb
push ecx
push edx
call fcn.00424cbf
add esp, 8
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x64]
add eax, 0x14
mov dword [ebp - 0x64], eax
cmp eax, dword [ebp - 0x68]
je 0x41ff89
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x28]
jmp 0x41fae0
mov esi, dword [ebp - 0x7c]
mov byte [ebp - 0x15], 1
test esi, esi
je 0x41ffa9
mov eax, dword [ebp - 0x80]
sub eax, esi
sar eax, 2
imul ecx, eax, 0xcccccccd
push ecx
push esi
call fcn.00420100
lea ecx, [ebp - 0xa8]
call fcn.0041c890
mov al, byte [ebp - 0x15]
jmp 0x41ffbb
mov al, 1
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.00424cac
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.0042821f
int3