Function at 0x422330
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4483b3
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x45e084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
mov edi, dword [ebp + 8]
push eax
mov dword [ebp - 0x78], edi
call fcn.00409f50
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
push 1
xor eax, eax
mov dword [ebp - 0x30], 0
push 0x456e78
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.0040b6e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
push 1
xor eax, eax
mov dword [ebp - 0x48], 0
push 0x4570a0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.0040b6e0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x28]
call fcn.00415970
mov byte [ebp - 4], 1
add esp, 4
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x422416
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42240c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4226e1
push edx
push ecx
call fcn.004274df
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x422454
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42244a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4226e6
push edx
push ecx
call fcn.004274df
add esp, 8
mov eax, 0xa
mov dword [ebp - 0x70], 0xcd00c1
mov dword [ebp - 0x74], eax
xor ecx, ecx
mov dword [ebp - 0x6c], 0xe600d0
mov dword [ebp - 0x68], 0xf500f5
mov dword [ebp - 0x64], 0xf600e2
mov dword [ebp - 0x60], 0xfa00e0
mov dword [ebp - 0x5c], 0xa7
nop dword [eax + eax]
lea eax, [ecx + 0x9d]
xor word [ebp + ecx*2 - 0x70], ax
inc ecx
mov eax, dword [ebp - 0x74]
cmp ecx, eax
jb 0x422490
xor ecx, ecx
mov word [ebp + eax*2 - 0x70], cx
lea eax, [ebp - 0x70]
push eax
lea eax, [esi + 0x18]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.0041e370
add esp, 0xc
mov byte [ebp - 4], 3
cmp dword [esi + 0x14], 8
mov ecx, dword [esi + 0x10]
jb 0x4224d0
mov esi, dword [esi]
push ecx
push esi
mov ecx, eax
call fcn.00418870
mov dword [ebp - 0x48], 0
xor ecx, ecx
mov dword [ebp - 0x44], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x48], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 1
push 0x456e78
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call fcn.00418870
mov dword [ebp - 0x30], 0
xor ecx, ecx
mov dword [ebp - 0x2c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 5
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x40]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00418870
mov dword [edi + 0x10], 0
xor ecx, ecx
mov dword [edi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [edi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x4225d6
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4225cc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4226eb
push edx
push ecx
call fcn.004274df
add esp, 8
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 8
jb 0x422624
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42261a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4226f0
push edx
push ecx
call fcn.004274df
add esp, 8
mov edx, dword [ebp - 0x7c]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp edx, 8
jb 0x422675
mov ecx, dword [ebp - 0x90]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42266b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4226f5
push edx
push ecx
call fcn.004274df
add esp, 8
mov edx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 7
mov word [ebp - 0x90], ax
cmp edx, 8
jb 0x4226c2
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4226b8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4226fa
push edx
push ecx
call fcn.004274df
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00426e91
mov esp, ebp
pop ebp
ret 8
call fcn.0042c3c9
call fcn.0042c3c9
call fcn.0042c3c9
call fcn.0042c3c9
call fcn.0042c3c9
call fcn.0042c3c9
int3