Function at 0x426fad
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x30
push ebx
push ebp
push esi
push edi
push 0x10
pop ebp
lea eax, [ecx + 0x124]
xorps xmm0, xmm0
push ebp
push eax
lea eax, [esp + 0x38]
movlpd qword [esp + 0x18], xmm0
push eax
mov ebx, edx
movlpd qword [esp + 0x24], xmm0
call fcn.00435ad0
pop ecx
pop ecx
lea edx, [esp + 0x34]
mov ecx, edx
call fcn.0042619c
mov eax, dword [esp + 0x48]
pop ecx
test eax, eax
je 0x4270b3
test ebx, ebx
je 0x4270b3
mov esi, eax
mov edi, eax
shr esi, 4
and edi, 0xf
test esi, esi
je 0x427058
push ebp
lea eax, [esp + 0x24]
push ebx
push eax
call fcn.00435ad0
pop ecx
pop ecx
lea edx, [esp + 0x24]
mov ecx, edx
call fcn.0042619c
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x34]
xor dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
xor dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
xor dword [esp + 0x1c], eax
mov eax, dword [esp + 0x30]
xor dword [esp + 0x20], eax
pop ecx
lea ecx, [esp + 0x10]
call fcn.00426e73
add ebx, ebp
sub esi, 1
jne 0x42700a
test edi, edi
je 0x4270b3
push ebp
lea eax, [esp + 0x24]
push 0
push eax
call fcn.00436050
add esp, 0xc
lea eax, [esp + 0x20]
push edi
push ebx
push eax
call fcn.00435ad0
pop ecx
pop ecx
lea edx, [esp + 0x24]
mov ecx, edx
call fcn.0042619c
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x34]
xor dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
xor dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
xor dword [esp + 0x1c], eax
mov eax, dword [esp + 0x30]
xor dword [esp + 0x20], eax
pop ecx
lea ecx, [esp + 0x10]
call fcn.00426e73
mov edi, dword [esp + 0x4c]
test edi, edi
je 0x427185
mov ebp, dword [esp + 0x48]
test ebp, ebp
je 0x427185
mov esi, edi
mov ebx, edi
shr esi, 4
and ebx, 0xf
test esi, esi
je 0x427129
push 0x10
lea eax, [esp + 0x24]
push ebp
push eax
call fcn.00435ad0
pop ecx
pop ecx
lea edx, [esp + 0x24]
mov ecx, edx
call fcn.0042619c
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x34]
xor dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
xor dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
xor dword [esp + 0x1c], eax
mov eax, dword [esp + 0x30]
xor dword [esp + 0x20], eax
pop ecx
lea ecx, [esp + 0x10]
call fcn.00426e73
add ebp, 0x10
sub esi, 1
jne 0x4270d9
test ebx, ebx
je 0x427185
push 0x10
lea eax, [esp + 0x24]
push 0
push eax
call fcn.00436050
add esp, 0xc
lea eax, [esp + 0x20]
push ebx
push ebp
push eax
call fcn.00435ad0
pop ecx
pop ecx
lea edx, [esp + 0x24]
mov ecx, edx
call fcn.0042619c
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x34]
xor dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
xor dword [esp + 0x18], eax
pop ecx
mov ecx, dword [esp + 0x28]
xor dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x2c]
xor dword [esp + 0x1c], ecx
lea ecx, [esp + 0x10]
call fcn.00426e73
mov eax, dword [esp + 0x44]
push 8
pop ecx
mul ecx
xor dword [esp + 0x10], eax
mov eax, edi
xor dword [esp + 0x14], edx
mul ecx
lea ecx, [esp + 0x10]
xor dword [esp + 0x1c], edx
lea edx, [esp + 0x30]
xor dword [esp + 0x18], eax
call fcn.00426e73
lea edx, [esp + 0x10]
push ecx
mov ecx, edx
call fcn.0042619c
pop ecx
push dword [esp + 0x54]
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x58]
call fcn.00435ad0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret