Function at 0x423160
Capabilities:
Encode data using xor

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 0x44ac50
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x50
mov eax, dword [0x469070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x44], edi
mov eax, dword [edi + 8]
mov edx, dword [ebx + 0xc]
add eax, 8
push eax
push edx
push dword [edi]
call fcn.0042cb60
add esp, 0xc
push dword [edi + 8]
call fcn.00429fed
mov esi, eax
add esp, 4
mov dword [ebp - 0x54], esi
mov dword [ebp - 4], 0
mov edx, dword [edi + 8]
test edx, edx
je 0x4231f8
mov edi, dword [ebx + 0x10]
mov ecx, esi
sub edi, esi
sub dword [ebx + 8], esi
mov esi, dword [ebx + 8]
mov al, byte [esi + ecx]
lea ecx, [ecx + 1]
xor al, byte [edi + ecx - 1]
mov byte [ecx - 1], al
sub edx, 1
jne 0x4231e3
mov esi, dword [ebp - 0x54]
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0
movups xmmword [ebp - 0x38], xmm0
xor ecx, ecx
mov byte [ebp - 4], 1
mov eax, 0x2c
mov byte [ebp - 0x24], 0
mov edx, 4
mov dword [ebp - 0x28], 0xa
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00429fed
mov edx, esi
mov dword [ebp - 0x3c], eax
mov ecx, eax
mov dword [ebp - 0x20], 1
call fcn.00427c40
add esp, 4
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
mov byte [ebp - 0x24], 1
movups xmmword [ebp - 0x38], xmm0
push 0x10
call fcn.00429f84
mov ecx, dword [ebp - 0x44]
mov edi, eax
xorps xmm0, xmm0
mov dword [ebp - 0x58], edi
add esp, 4
movups xmmword [edi], xmm0
mov eax, dword [ecx + 8]
cdq
and edx, 7
add eax, edx
mov edx, ecx
sar eax, 3
mov dword [ebp - 0x48], eax
mov ecx, dword [edx + 0x10]
mov eax, dword [edx + 0x14]
sub ecx, 1
mov dword [ebp - 0x50], ecx
sbb eax, 0
mov dword [ebp - 0x4c], eax
js 0x423344
jg 0x4232a3
test ecx, ecx
jb 0x423344
mov esi, dword [ebp - 0x48]
cmp esi, 1
jl 0x423323
push dword [ebp - 0x4c]
mov eax, esi
cdq
push ecx
push edx
push eax
call fcn.0042a730
mov ecx, eax
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x58], ecx
mov eax, esi
cdq
add eax, ecx
mov ecx, dword [ebp - 0x44]
push 1
adc edx, dword [ebp - 0x5c]
push edi
mov ecx, dword [ecx]
push edi
xor eax, dword [ecx]
xor edx, dword [ecx + 4]
mov dword [edi], eax
mov eax, dword [ebp - 0x44]
mov dword [edi + 4], edx
mov ecx, dword [eax]
mov eax, dword [ecx + esi*8]
mov dword [edi + 8], eax
mov eax, dword [ecx + esi*8 + 4]
lea ecx, [ebp - 0x3c]
mov dword [edi + 0xc], eax
call fcn.00422cb0
mov edx, dword [ebp - 0x44]
mov eax, dword [edi]
mov ecx, dword [edx]
mov dword [ecx], eax
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
mov ecx, dword [edx]
mov eax, dword [edi + 8]
mov dword [ecx + esi*8], eax
mov eax, dword [edi + 0xc]
mov dword [ecx + esi*8 + 4], eax
dec esi
mov ecx, dword [ebp - 0x58]
cmp esi, 1
jge 0x4232c1
mov ecx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x4c]
add ecx, 0xffffffff
mov dword [ebp - 0x50], ecx
adc eax, 0xffffffff
mov dword [ebp - 0x4c], eax
test eax, eax
jg 0x4232a3
jl 0x423341
test ecx, ecx
jae 0x4232a3
mov esi, dword [ebp - 0x54]
mov ecx, dword [edx]
mov eax, dword [ecx]
cmp eax, dword [0x469be4]
jne 0x42335f
mov eax, dword [ecx + 4]
mov byte [ebp - 0x3d], 1
cmp eax, dword [0x469be8]
je 0x423363
mov byte [ebp - 0x3d], 0
push 0x10
push edi
call fcn.00429fda
mov eax, dword [ebp - 0x3c]
add esp, 8
test eax, eax
je 0x423380
push 4
push eax
call fcn.00429fda
add esp, 8
push 1
push esi
call fcn.00429fda
mov al, byte [ebp - 0x3d]
add esp, 8
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.00429d08
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc