Function at 0x422130
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 0x43d520
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc0
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 - 0x64], ecx
xor edi, edi
lea eax, [ecx + 0xfc]
cmp dword [ecx + 0x90], 0xe
cmovae edi, eax
test edi, edi
je 0x422751
push edi
call fcn.0041c390
mov esi, eax
mov dword [ebp - 0x48], esi
test esi, esi
je 0x422751
push dword [ebx + 0xc]
mov ecx, dword [ebp - 0x64]
lea eax, [ebp - 0xbc]
push esi
push eax
call fcn.00423220
mov dword [ebp - 4], 0
cmp byte [ebp - 0xac], 0
jne 0x4221db
lea ecx, [ebp - 0xbc]
mov byte [ebp - 0x15], 0
call fcn.0041c890
mov al, byte [ebp - 0x15]
jmp 0x422753
mov ecx, dword [ebp - 0xb8]
xor eax, eax
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 1
mov edi, dword [edi]
sub edi, dword [esi + 0x1c]
cmp edi, dword [esi + 0x20]
jae 0x422316
lea eax, [edi + 0x20]
mov dword [ebp - 0x30], eax
nop
lea eax, [ecx + edi]
xor ecx, ecx
cmp dword [ebp - 0x30], edx
cmovbe ecx, eax
test ecx, ecx
je 0x42230b
mov eax, dword [ecx + 8]
test eax, eax
je 0x42230b
mov edx, dword [ecx + 0xc]
mov esi, dword [ecx]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x9c], edx
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x98], edx
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0xa8], esi
mov esi, dword [ecx + 4]
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x94], edx
mov edx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x1c]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x8c], ecx
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x90], edx
cmp ecx, dword [ebp - 0x60]
je 0x4222d6
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x44]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x44]
mov dword [ecx + 4], esi
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x34]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x50]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x74]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 0x54]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 0x3c]
mov dword [ecx + 0x1c], eax
add ecx, 0x20
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x6c], ecx
jmp 0x4222f2
lea eax, [ebp - 0xa8]
push eax
push ecx
lea ecx, [ebp - 0x70]
call fcn.004227e0
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x44], eax
mov esi, dword [ebp - 0x48]
add edi, 0x20
add dword [ebp - 0x30], 0x20
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
cmp edi, dword [esi + 0x20]
jb 0x422220
mov ecx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x30], ecx
jmp 0x422318
xor ecx, ecx
cmp ecx, eax
je 0x42272a
lea edi, [ecx + 0x10]
mov dword [ebp - 0x50], edi
mov eax, dword [edi - 0xc]
mov ecx, dword [esi + 0x1c]
sub eax, ecx
cmp eax, edx
jbe 0x422342
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
jmp 0x422376
mov edi, dword [ebp - 0x28]
or ecx, 0xffffffff
cmp edx, 0xffffffff
cmovb ecx, edx
add edi, eax
push ecx
push 0
push edi
mov dword [ebp - 0x3c], ecx
call fcn.0043b6c0
mov ecx, dword [esi + 0x1c]
add esp, 0xc
mov dword [ebp - 0x5c], edi
test eax, eax
je 0x42236d
sub eax, edi
jmp 0x422370
mov eax, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
mov edi, dword [edi]
cmp edi, ecx
jb 0x422727
mov eax, dword [esi + 0x18]
add eax, ecx
cmp edi, eax
ja 0x422727
xor esi, esi
mov dword [ebp - 0x24], 0
xor edx, edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x48]
sub edi, ecx
mov ecx, dword [ebp - 0x64]
mov byte [ebp - 4], 2
mov eax, dword [eax + 0x20]
cmp byte [ecx + 0x118], dl
je 0x4224cb
cmp edi, eax
jae 0x4225cd
mov ecx, dword [ebp - 0x28]
mov eax, 8
add ecx, edi
sub eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x54], eax
add eax, ecx
cmp eax, dword [ebp - 0x2c]
ja 0x4225cd
mov eax, dword [ebp - 0x34]
mov ecx, dword [ecx]
mov eax, dword [eax + 4]
mov dword [ebp - 0x74], eax
mov eax, ecx
or eax, dword [ebp - 0x74]
je 0x4225cd
cmp dword [ebp - 0x74], 0
jg 0x422467
jl 0x422401
test ecx, ecx
jae 0x422467
movzx eax, cx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x3c], 0
cmp esi, edx
je 0x422453
xorps xmm0, xmm0
mov dword [ebp - 0x40], 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 - 0x4c]
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], eax
mov esi, dword [ebp - 0x20]
add esi, 0x20
mov dword [ebp - 0x20], esi
jmp 0x4224a8
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x3c]
push eax
push ecx
push esi
lea ecx, [ebp - 0x24]
call fcn.00420300
jmp 0x4224a5
mov eax, dword [ebp - 0x48]
sub ecx, dword [eax + 0x1c]
lea edx, [ecx + 2]
cmp edx, dword [ebp - 0x2c]
jbe 0x422479
xor eax, eax
jmp 0x422480
mov eax, dword [ebp - 0x28]
movzx eax, word [eax + ecx]
movzx eax, ax
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
push 0xffffffffffffffff
push edx
lea eax, [ebp - 0xc4]
push eax
call fcn.00419b40
push eax
lea ecx, [ebp - 0x24]
call fcn.00420030
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x48]
add edi, 8
mov ecx, dword [ebp - 0x34]
add ecx, 8
mov dword [ebp - 0x34], ecx
cmp edi, dword [eax + 0x20]
jae 0x4225cd
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x54]
jmp 0x4223d4
cmp edi, eax
jae 0x4225cd
mov ecx, dword [ebp - 0x28]
mov eax, 4
add ecx, edi
sub eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x54], eax
nop word [eax + eax]
add eax, ecx
cmp eax, dword [ebp - 0x2c]
ja 0x4225cd
mov eax, dword [ecx]
test eax, eax
je 0x4225cd
jns 0x42256d
movzx eax, ax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x3c], 0
cmp esi, edx
je 0x422559
xorps xmm0, xmm0
mov dword [ebp - 0x40], 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 - 0x4c]
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], eax
mov esi, dword [ebp - 0x20]
add esi, 0x20
mov dword [ebp - 0x20], esi
jmp 0x4225ae
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x3c]
push eax
push ecx
push esi
lea ecx, [ebp - 0x24]
call fcn.00420300
jmp 0x4225ab
mov ecx, dword [ebp - 0x48]
sub eax, dword [ecx + 0x1c]
lea ecx, [eax + 2]
cmp ecx, dword [ebp - 0x2c]
jbe 0x42257f
xor eax, eax
jmp 0x422586
mov edx, dword [ebp - 0x28]
movzx eax, word [edx + eax]
movzx eax, ax
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
push 0xffffffffffffffff
push ecx
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0x80]
call fcn.00419b40
push eax
lea ecx, [ebp - 0x24]
call fcn.00420030
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x48]
add edi, 4
mov ecx, dword [ebp - 0x34]
add ecx, 4
mov dword [ebp - 0x34], ecx
cmp edi, dword [eax + 0x20]
jae 0x4225cd
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x54]
jmp 0x4224f0
mov ecx, dword [ebp - 0x24]
mov eax, esi
push dword [ebp - 0x3c]
sub eax, ecx
mov edx, esi
sar eax, 5
push eax
call fcn.00420660
mov esi, dword [ebp - 0x58]
add esp, 8
mov edi, dword [ebp - 0x5c]
xor ecx, ecx
mov edx, 0x811c9dc5
test esi, esi
je 0x422607
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x4225f6
mov esi, dword [ebx + 8]
mov eax, edx
mov ecx, 0xcc9e2d51
mul ecx
mov ecx, esi
xor edx, eax
lea eax, [ebp - 0x5c]
push edx
push eax
lea eax, [ebp - 0x88]
mov dword [ebp - 0x3c], edx
push eax
call fcn.00421980
cmp byte [ebp - 0x84], 0
je 0x4226ac
mov eax, dword [esi + 4]
xorps xmm0, xmm0
mov edi, dword [ebp - 0x88]
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 - 0x58]
push dword [ebp - 0x5c]
call fcn.0040da20
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 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 - 0x3c]
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 - 0x24]
test ecx, ecx
je 0x42270b
mov edx, dword [ebp - 0x20]
push ecx
call fcn.00405a30
mov ecx, dword [ebp - 0x1c]
add esp, 4
mov edx, dword [ebp - 0x24]
sub ecx, edx
and ecx, 0xffffffe0
mov eax, edx
cmp ecx, 0x1000
jb 0x4226ec
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422773
push ecx
push edx
call fcn.00424cbf
add esp, 8
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov edi, dword [ebp - 0x50]
add edi, 0x20
mov dword [ebp - 0x50], edi
lea eax, [edi - 0x10]
cmp eax, dword [ebp - 0x44]
je 0x422727
mov esi, dword [ebp - 0x48]
mov edx, dword [ebp - 0x2c]
jmp 0x422326
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 0x15], 1
test ecx, ecx
je 0x422741
mov eax, dword [ebp - 0x60]
sub eax, ecx
sar eax, 5
push eax
push ecx
call fcn.004059f0
lea ecx, [ebp - 0xbc]
call fcn.0041c890
mov al, byte [ebp - 0x15]
jmp 0x422753
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