Function at 0x100422b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x2c
mov eax, dword [0x100d1040]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x30]
mov edx, dword [ecx]
push ebx
mov ebx, dword [eax + 0x20c]
xor ebx, dword [ecx + 8]
push ebp
mov ebp, dword [ecx + 0xc]
push esi
mov esi, dword [eax + 0x204]
xor edx, esi
mov dword [esp + 0x10], edx
mov edx, dword [eax + 0x208]
xor edx, dword [ecx + 4]
xor ebp, dword [eax + 0x210]
mov dword [esp + 0xc], edx
mov edx, dword [ecx]
mov dword [esp + 0x24], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x28], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ecx + 0xc]
push edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ecx
mov edi, 0x1d
jmp 0x10042320
mov ecx, ebp
lea edx, [edi - 2]
and edx, 3
mov edx, dword [eax + edx*4 + 0x204]
mov dword [esp + 0x1c], edx
rol ecx, 0xb
add ecx, ebx
xor ecx, edx
mov edx, ecx
shr edx, 0x10
and edx, 0xff
movzx esi, byte [edx + eax + 0x104]
mov edx, ecx
shr edx, 0x18
movzx edx, byte [edx + eax + 0x104]
shl edx, 8
or esi, edx
mov edx, ecx
shr edx, 8
and edx, 0xff
movzx edx, byte [edx + eax + 0x104]
and ecx, 0xff
movzx ecx, byte [ecx + eax + 0x104]
shl esi, 8
or esi, edx
shl esi, 8
or esi, ecx
xor esi, dword [esp + 0x14]
mov ecx, ebx
ror ecx, 0xf
xor ecx, ebp
add ecx, dword [esp + 0x1c]
mov dword [esp + 0x14], ebx
mov edx, ecx
mov ebp, ecx
shr edx, 0x10
shr ebp, 0x18
movzx ebp, byte [eax + ebp + 0x104]
and edx, 0xff
movzx edx, byte [edx + eax + 0x104]
shl ebp, 8
or edx, ebp
mov ebp, ecx
shr ebp, 8
and ecx, 0xff
movzx ecx, byte [ecx + eax + 0x104]
and ebp, 0xff
movzx ebp, byte [eax + ebp + 0x104]
shl edx, 8
or edx, ebp
shl edx, 8
or edx, ecx
xor edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], ecx
lea ecx, [edi + 1]
and ecx, 3
lea ebx, [eax + ecx*4 + 0x204]
mov ecx, edx
rol ecx, 0xb
add ecx, esi
xor ecx, dword [ebx]
mov ebp, esi
mov dword [esp + 0x1c], ebx
mov esi, ecx
shr esi, 0x10
and esi, 0xff
movzx esi, byte [esi + eax + 0x104]
mov ebx, ecx
shr ebx, 0x18
movzx ebx, byte [ebx + eax + 0x104]
shl ebx, 8
or esi, ebx
mov ebx, ecx
shr ebx, 8
and ebx, 0xff
movzx ebx, byte [ebx + eax + 0x104]
shl esi, 8
or esi, ebx
mov dword [esp + 0x18], edx
shl esi, 8
and ecx, 0xff
movzx ecx, byte [ecx + eax + 0x104]
or esi, ecx
xor esi, dword [esp + 0x14]
mov ecx, ebp
ror ecx, 0xf
xor ecx, edx
mov edx, dword [esp + 0x1c]
add ecx, dword [edx]
mov dword [esp + 0x14], ebp
mov edx, ecx
shr edx, 0x10
mov ebx, ecx
and edx, 0xff
movzx edx, byte [edx + eax + 0x104]
shr ebx, 0x18
movzx ebx, byte [ebx + eax + 0x104]
shl ebx, 8
or edx, ebx
mov ebx, ecx
and ecx, 0xff
movzx ecx, byte [ecx + eax + 0x104]
shl edx, 8
shr ebx, 8
and ebx, 0xff
movzx ebx, byte [ebx + eax + 0x104]
or edx, ebx
shl edx, 8
or edx, ecx
xor edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], ecx
mov ecx, edi
and ecx, 3
lea ebp, [eax + ecx*4 + 0x204]
mov dword [esp + 0x1c], ebp
mov ecx, edx
rol ecx, 0xb
add ecx, esi
xor ecx, dword [ebp]
mov ebx, esi
mov esi, ecx
shr esi, 0x10
mov ebp, ecx
shr ebp, 0x18
movzx ebp, byte [eax + ebp + 0x104]
shl ebp, 8
and esi, 0xff
movzx esi, byte [esi + eax + 0x104]
or esi, ebp
mov ebp, ecx
shr ebp, 8
and ebp, 0xff
movzx ebp, byte [eax + ebp + 0x104]
shl esi, 8
or esi, ebp
and ecx, 0xff
movzx ecx, byte [ecx + eax + 0x104]
shl esi, 8
or esi, ecx
xor esi, dword [esp + 0x14]
mov dword [esp + 0x18], edx
mov ecx, ebx
ror ecx, 0xf
xor ecx, edx
mov edx, dword [esp + 0x1c]
add ecx, dword [edx]
mov edx, ecx
shr edx, 0x10
mov ebp, ecx
shr ebp, 0x18
movzx ebp, byte [eax + ebp + 0x104]
and edx, 0xff
movzx edx, byte [edx + eax + 0x104]
shl ebp, 8
or edx, ebp
mov ebp, ecx
shr ebp, 8
shl edx, 8
and ebp, 0xff
movzx ebp, byte [eax + ebp + 0x104]
and ecx, 0xff
movzx ecx, byte [ecx + eax + 0x104]
or edx, ebp
shl edx, 8
or edx, ecx
xor edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
lea ecx, [edi - 1]
and ecx, 3
lea ebx, [eax + ecx*4 + 0x204]
mov ecx, edx
rol ecx, 0xb
add ecx, esi
xor ecx, dword [ebx]
mov dword [esp + 0x1c], ebx
mov ebp, esi
mov esi, ecx
mov ebx, ecx
shr ebx, 0x18
movzx ebx, byte [ebx + eax + 0x104]
shr esi, 0x10
shl ebx, 8
and esi, 0xff
movzx esi, byte [esi + eax + 0x104]
or esi, ebx
mov ebx, ecx
shr ebx, 8
and ebx, 0xff
movzx ebx, byte [ebx + eax + 0x104]
and ecx, 0xff
movzx ecx, byte [ecx + eax + 0x104]
shl esi, 8
or esi, ebx
mov dword [esp + 0x18], edx
shl esi, 8
or esi, ecx
xor esi, dword [esp + 0x14]
mov ecx, ebp
ror ecx, 0xf
xor ecx, edx
mov edx, dword [esp + 0x1c]
add ecx, dword [edx]
sub edi, 4
mov edx, ecx
shr edx, 0x10
mov ebx, ecx
shr ebx, 0x18
movzx ebx, byte [ebx + eax + 0x104]
and edx, 0xff
movzx edx, byte [edx + eax + 0x104]
shl ebx, 8
or edx, ebx
mov ebx, ecx
shr ebx, 8
and ebx, 0xff
movzx ebx, byte [ebx + eax + 0x104]
shl edx, 8
and ecx, 0xff
movzx ecx, byte [ecx + eax + 0x104]
or edx, ebx
shl edx, 8
or edx, ecx
mov ecx, dword [esp + 0x18]
xor edx, dword [esp + 0x10]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebp
lea ecx, [edi + 2]
mov ebp, edx
mov ebx, esi
mov dword [esp + 0x18], ebp
test ecx, ecx
jge 0x10042320
mov edi, dword [eax + 0x204]
mov ecx, dword [esp + 0x20]
xor edi, esi
mov dword [ecx], edi
mov esi, dword [eax + 0x208]
xor esi, edx
mov dword [ecx + 4], esi
mov edx, dword [eax + 0x20c]
xor edx, dword [esp + 0x14]
mov dword [ecx + 8], edx
mov edx, dword [eax + 0x210]
xor edx, dword [esp + 0x10]
mov dword [ecx + 0xc], edx
lea ecx, [esp + 0x28]
call fcn.10042710
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1005710f
add esp, 0x2c
ret 4