Function at 0x10020770
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x1007d820]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x138], eax
add edi, 2
mov dword [ebp - 0xf8], edx
xor esi, esi
mov dword [ebp - 0x90], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0xb4], edx
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x12c], edx
mov dword [ebp - 0xcc], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0xa0], edx
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x124], edx
mov dword [ebp - 0xbc], eax
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0xc8], edx
mov edx, dword [ecx + 0x1c]
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x9c], eax
mov eax, dword [ecx + 0x20]
mov dword [ebp - 0xa4], edx
mov edx, dword [ecx + 0x24]
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x100], edx
mov dword [ebp - 0x94], eax
mov eax, dword [ecx + 0x28]
mov dword [ebp - 0x88], edx
mov edx, dword [ecx + 0x2c]
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x110], edx
mov dword [ebp - 0xd8], eax
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0xd0], edx
mov edx, dword [ecx + 0x34]
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x98], eax
mov eax, dword [ecx + 0x38]
mov dword [ebp - 0xa8], edx
mov edx, dword [ecx + 0x3c]
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x130], edx
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xd4], edx
mov dword [ebp - 0xe0], edi
mov dword [ebp - 0x8c], esi
movzx eax, byte [edi - 2]
cdq
mov ebx, eax
mov esi, edx
shld esi, ebx, 8
movzx eax, byte [edi - 1]
shl ebx, 8
cdq
or ebx, eax
or esi, edx
shld esi, ebx, 8
movzx eax, byte [edi]
shl ebx, 8
cdq
or ebx, eax
or esi, edx
movzx eax, byte [edi + 1]
shld esi, ebx, 8
cdq
or esi, edx
shl ebx, 8
or ebx, eax
movzx eax, byte [edi + 2]
shld esi, ebx, 8
cdq
or esi, edx
shl ebx, 8
or ebx, eax
movzx eax, byte [edi + 3]
shld esi, ebx, 8
cdq
or esi, edx
shl ebx, 8
or ebx, eax
movzx eax, byte [edi + 4]
shld esi, ebx, 8
cdq
or esi, edx
shl ebx, 8
or ebx, eax
movzx eax, byte [edi + 5]
mov edi, dword [ebp - 0x94]
shld esi, ebx, 8
cdq
or esi, edx
shl ebx, 8
mov edx, dword [ebp - 0x88]
or ebx, eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xb8], esi
mov dword [ebp - 0xac], ebx
mov dword [ebp + eax - 0x80], esi
mov esi, edx
mov dword [ebp + eax - 0x84], ebx
xor ebx, ebx
mov eax, edi
shr esi, 9
shld edx, eax, 0x17
or ebx, edx
shl eax, 0x17
mov edx, dword [ebp - 0x88]
or esi, eax
mov dword [ebp - 0xb0], esi
mov eax, edi
shrd eax, edx, 0x12
mov esi, edi
mov dword [ebp - 0xc0], ebx
shr edx, 0x12
xor ebx, ebx
shl esi, 0xe
or ebx, eax
mov eax, dword [ebp - 0x94]
or esi, edx
mov edx, dword [ebp - 0x88]
shrd eax, edx, 0xe
mov dword [ebp - 0xdc], esi
xor esi, esi
shl edi, 0x12
or esi, eax
shr edx, 0xe
or edi, edx
xor edi, dword [ebp - 0xdc]
xor esi, ebx
xor esi, dword [ebp - 0xb0]
xor edi, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x98]
xor eax, dword [ebp - 0xd8]
and eax, dword [ebp - 0x94]
xor eax, dword [ebp - 0x98]
mov edx, dword [ebp - 0xa8]
xor edx, dword [ebp - 0xd0]
and edx, dword [ebp - 0x88]
xor edx, dword [ebp - 0xa8]
add eax, esi
mov esi, dword [ebp - 0x8c]
adc edx, edi
mov edi, dword [ebp - 0xb4]
add eax, dword [esi + 0x10002930]
adc edx, dword [esi + 0x10002934]
add eax, dword [ebp - 0xac]
adc edx, dword [ebp - 0xb8]
add eax, dword [ebp - 0xc4]
mov dword [ebp - 0xc4], eax
adc edx, dword [ebp - 0xd4]
add dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x90]
mov esi, eax
adc dword [ebp - 0xa4], edx
xor ebx, ebx
mov dword [ebp - 0xd4], edx
mov edx, edi
shrd eax, edx, 0x1c
shl esi, 4
or ebx, eax
shr edx, 0x1c
mov eax, dword [ebp - 0x90]
or esi, edx
mov dword [ebp - 0xac], esi
mov edx, edi
shld edx, eax, 0x1e
xor esi, esi
mov dword [ebp - 0xc0], ebx
or esi, edx
shl eax, 0x1e
mov ebx, edi
mov dword [ebp - 0xb0], esi
shr ebx, 2
mov edx, edi
or ebx, eax
mov esi, edi
mov eax, dword [ebp - 0x90]
shld edx, eax, 0x19
shr esi, 7
shl eax, 0x19
or esi, eax
mov dword [ebp - 0xdc], ebx
mov eax, dword [ebp - 0xa0]
xor ebx, ebx
and eax, dword [ebp - 0xb4]
or ebx, edx
mov edx, dword [ebp - 0xcc]
mov edi, edx
xor edi, dword [ebp - 0x90]
and edx, dword [ebp - 0x90]
and edi, dword [ebp - 0xbc]
xor ebx, dword [ebp - 0xb0]
xor edi, edx
xor ebx, dword [ebp - 0xac]
mov edx, dword [ebp - 0xd4]
mov dword [ebp - 0xb8], esi
mov esi, dword [ebp - 0xa0]
xor esi, dword [ebp - 0xb4]
and esi, dword [ebp - 0xc8]
xor esi, eax
mov eax, dword [ebp - 0xb8]
xor eax, dword [ebp - 0xdc]
xor eax, dword [ebp - 0xc0]
add edi, eax
mov eax, dword [ebp - 0xc4]
adc esi, ebx
add eax, edi
adc edx, esi
mov ebx, dword [ebp - 0x98]
mov esi, dword [ebp - 0xd8]
mov edi, dword [ebp - 0xa4]
mov dword [ebp - 0xc4], ebx
mov ebx, dword [ebp - 0xa8]
mov dword [ebp - 0xd4], ebx
mov ebx, dword [ebp - 0xd0]
mov dword [ebp - 0xa8], ebx
mov ebx, dword [ebp - 0x94]
mov dword [ebp - 0xd8], ebx
mov ebx, dword [ebp - 0x88]
mov dword [ebp - 0x98], esi
mov esi, dword [ebp - 0x9c]
mov dword [ebp - 0xd0], ebx
mov ebx, dword [ebp - 0xbc]
mov dword [ebp - 0x94], esi
mov esi, dword [ebp - 0xcc]
mov dword [ebp - 0x9c], ebx
mov ebx, dword [ebp - 0xc8]
mov dword [ebp - 0xbc], esi
mov esi, dword [ebp - 0x90]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x88], edi
add eax, 8
mov edi, dword [ebp - 0xe0]
mov dword [ebp - 0xa4], ebx
add edi, 8
mov ebx, dword [ebp - 0xa0]
mov dword [ebp - 0xc8], ebx
mov ebx, dword [ebp - 0xb4]
mov dword [ebp - 0xcc], esi
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0xb4], edx
mov dword [ebp - 0xe0], edi
mov dword [ebp - 0x8c], eax
cmp eax, 0x80
jb 0x10020892
mov edx, 0x11
mov dword [ebp - 0xdc], 0x40
mov esi, 0x100029b0
mov dword [ebp - 0xac], edx
mov dword [ebp - 0xe0], esi
lea eax, [edx - 3]
xor ebx, ebx
and eax, 0xf
mov edi, dword [ebp + eax*8 - 0x80]
mov edx, dword [ebp + eax*8 - 0x84]
mov esi, edx
mov dword [ebp - 0xb0], edx
mov eax, edx
shl esi, 0xd
mov edx, edi
shrd eax, edx, 0x13
mov dword [ebp - 0xf0], edi
or ebx, eax
shr edx, 0x13
mov eax, dword [ebp - 0xb0]
or esi, edx
mov dword [ebp - 0xec], esi
mov edx, edi
shld edx, eax, 3
mov esi, edi
mov dword [ebp - 0xe8], ebx
shl eax, 3
xor ebx, ebx
shr esi, 0x1d
or ebx, edx
or esi, eax
mov dword [ebp - 0xe4], ebx
mov eax, dword [ebp - 0xac]
xor ebx, ebx
and eax, 0xf
mov dword [ebp - 0xf4], esi
mov ecx, dword [ebp + eax*8 - 0x84]
mov esi, ecx
mov edx, dword [ebp + eax*8 - 0x80]
mov edi, ecx
mov eax, ecx
mov dword [ebp - 0x8c], edx
shrd eax, edx, 1
shl esi, 0x1f
or ebx, eax
shr edx, 1
or esi, edx
mov dword [ebp - 0xc0], ecx
mov edx, dword [ebp - 0x8c]
mov eax, ecx
mov ecx, dword [ebp - 0xac]
shrd eax, edx, 8
mov dword [ebp - 0xb8], esi
xor esi, esi
or esi, eax
shr edx, 8
lea eax, [ecx - 1]
shl edi, 0x18
and eax, 0xf
or edi, edx
lea edx, [ebp - 0x84]
lea edx, [edx + eax*8]
lea eax, [ecx - 8]
mov ecx, dword [ebp - 0x8c]
shrd dword [ebp - 0xc0], ecx, 7
and eax, 0xf
shr ecx, 7
mov dword [ebp - 0x8c], ecx
mov ecx, dword [ebp - 0xc0]
xor ecx, esi
mov esi, dword [ebp - 0x8c]
xor ecx, ebx
xor esi, edi
xor esi, dword [ebp - 0xb8]
add ecx, dword [ebp + eax*8 - 0x84]
mov ebx, dword [ebp - 0xb0]
adc esi, dword [ebp + eax*8 - 0x80]
mov eax, dword [ebp - 0xf0]
shrd ebx, eax, 6
xor ebx, dword [ebp - 0xf4]
xor ebx, dword [ebp - 0xe8]
shr eax, 6
xor eax, dword [ebp - 0xe4]
xor eax, dword [ebp - 0xec]
add ecx, ebx
adc esi, eax
add ecx, dword [edx]
mov edi, dword [ebp - 0x94]
mov eax, edi
adc esi, dword [edx + 4]
xor ebx, ebx
mov dword [edx], ecx
mov dword [edx + 4], esi
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0x8c], esi
mov esi, edx
shld edx, eax, 0x17
shr esi, 9
or ebx, edx
shl eax, 0x17
mov edx, dword [ebp - 0x88]
or esi, eax
mov dword [ebp - 0xe8], esi
mov eax, edi
shrd eax, edx, 0x12
mov dword [ebp - 0xe4], ebx
mov esi, edi
shr edx, 0x12
xor ebx, ebx
or ebx, eax
shl esi, 0xe
mov eax, dword [ebp - 0x94]
or esi, edx
mov edx, dword [ebp - 0x88]
shrd eax, edx, 0xe
mov dword [ebp - 0xec], esi
xor esi, esi
shr edx, 0xe
or esi, eax
mov eax, dword [ebp - 0x98]
xor esi, ebx
xor eax, dword [ebp - 0xd8]
and eax, dword [ebp - 0x94]
xor eax, dword [ebp - 0x98]
xor esi, dword [ebp - 0xe8]
mov ebx, dword [ebp - 0xe0]
shl edi, 0x12
or edi, edx
mov edx, dword [ebp - 0xa8]
xor edx, dword [ebp - 0xd0]
and edx, dword [ebp - 0x88]
xor edx, dword [ebp - 0xa8]
xor edi, dword [ebp - 0xec]
xor edi, dword [ebp - 0xe4]
add eax, esi
adc edx, edi
add eax, dword [ebx]
mov edi, dword [ebp - 0x90]
mov esi, edi
adc edx, dword [ebx + 4]
add eax, ecx
mov ecx, dword [ebp - 0xb4]
adc edx, dword [ebp - 0x8c]
add eax, dword [ebp - 0xc4]
mov dword [ebp - 0xb8], eax
adc edx, dword [ebp - 0xd4]
add dword [ebp - 0x9c], eax
mov eax, edi
mov dword [ebp - 0xb0], edx
adc dword [ebp - 0xa4], edx
mov edx, ecx
shrd eax, edx, 0x1c
xor ebx, ebx
shl esi, 4
or ebx, eax
shr edx, 0x1c
or esi, edx
mov dword [ebp - 0xf4], ebx
mov eax, edi
mov dword [ebp - 0xf0], esi
mov edx, ecx
mov ebx, ecx
shld edx, eax, 0x1e
shr ebx, 2
xor esi, esi
shl eax, 0x1e
or ebx, eax
or esi, edx
mov dword [ebp - 0xe8], ebx
mov dword [ebp - 0xe4], esi
mov eax, edi
mov edx, ecx
mov esi, ecx
shld edx, eax, 0x19
shr esi, 7
xor ebx, ebx
shl eax, 0x19
or ebx, edx
mov edx, dword [ebp - 0xcc]
or esi, eax
mov eax, dword [ebp - 0xa0]
mov edi, edx
and edx, dword [ebp - 0x90]
and eax, ecx
xor edi, dword [ebp - 0x90]
and edi, dword [ebp - 0xbc]
xor ebx, dword [ebp - 0xe4]
xor edi, edx
xor ebx, dword [ebp - 0xf0]
mov edx, dword [ebp - 0xbc]
mov dword [ebp - 0xec], esi
mov esi, dword [ebp - 0xa0]
xor esi, ecx
mov ecx, dword [ebp - 0xb8]
and esi, dword [ebp - 0xc8]
xor esi, eax
mov eax, dword [ebp - 0xec]
xor eax, dword [ebp - 0xe8]
xor eax, dword [ebp - 0xf4]
add edi, eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xa8]
adc esi, ebx
mov ebx, dword [ebp - 0xa4]
add ecx, edi
mov edi, dword [ebp - 0xb0]
mov dword [ebp - 0xd4], eax
adc edi, esi
mov eax, dword [ebp - 0xd8]
mov esi, dword [ebp - 0xcc]
add dword [ebp - 0xe0], 8
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x9c], edx
mov edx, dword [ebp - 0xc8]
mov dword [ebp - 0xa4], edx
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0xc8], edx
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0xcc], edx
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0xa0], edx
mov edx, dword [ebp - 0xac]
inc edx
mov dword [ebp - 0x94], eax
dec dword [ebp - 0xdc]
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0xb4], edi
mov dword [ebp - 0xac], edx
jne 0x10020bf6
mov edx, dword [ebp - 0x138]
mov esi, dword [ebp - 0xf8]
add edx, ecx
mov ecx, dword [ebp - 0x11c]
adc esi, edi
pop edi
mov dword [ecx], edx
mov edx, dword [ebp - 0x104]
add edx, dword [ebp - 0xcc]
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0x10c]
mov dword [ecx + 4], esi
mov esi, dword [ebp - 0x12c]
adc esi, dword [ebp - 0xa0]
add edx, dword [ebp - 0xbc]
mov dword [ecx + 0x10], edx
mov edx, dword [ebp - 0x114]
mov dword [ecx + 0xc], esi
mov esi, dword [ebp - 0x124]
adc esi, dword [ebp - 0xc8]
add edx, dword [ebp - 0x9c]
mov dword [ecx + 0x18], edx
mov edx, dword [ebp - 0xfc]
mov dword [ecx + 0x14], esi
mov esi, dword [ebp - 0x134]
adc esi, dword [ebp - 0xa4]
add edx, eax
mov eax, dword [ebp - 0x100]
adc eax, ebx
mov dword [ecx + 0x20], edx
mov edx, dword [ebp - 0x110]
mov dword [ecx + 0x24], eax
mov eax, dword [ebp - 0x108]
add eax, dword [ebp - 0xd8]
mov dword [ecx + 0x28], eax
adc edx, dword [ebp - 0xd0]
mov eax, dword [ebp - 0x118]
add eax, dword [ebp - 0x98]
mov dword [ecx + 0x2c], edx
mov edx, dword [ebp - 0x120]
adc edx, dword [ebp - 0xa8]
mov dword [ecx + 0x30], eax
mov eax, dword [ebp - 0x128]
add eax, dword [ebp - 0xc4]
mov dword [ecx + 0x34], edx
mov edx, dword [ebp - 0x130]
adc edx, dword [ebp - 0xd4]
mov dword [ecx + 0x1c], esi
mov dword [ecx + 0x38], eax
mov dword [ecx + 0x3c], edx
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.100631a7
mov esp, ebp
pop ebp
ret