Function at 0x1003c0b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x350
push ebx
xor eax, eax
mov dword [ebp - 0x58], ecx
xor edx, edx
mov dword [ebp - 0x64], eax
push esi
push edi
mov dword [ebp - 0x68], edx
cmp dword [ebp + 0x10], eax
jb 0x1003c64e
ja 0x1003c0e0
cmp dword [ebp + 0xc], eax
jbe 0x1003c64e
lea ecx, [ecx]
mov ecx, eax
mov eax, edx
shld eax, ecx, 7
shl ecx, 7
add ecx, dword [ebp + 8]
xor ebx, ebx
lea edi, [ecx + 2]
movzx eax, byte [edi - 2]
lea edi, [edi + 8]
cdq
mov ecx, eax
mov esi, edx
movzx eax, byte [edi - 9]
shld esi, ecx, 8
cdq
shl ecx, 8
or esi, edx
or ecx, eax
movzx eax, byte [edi - 8]
shld esi, ecx, 8
cdq
shl ecx, 8
or esi, edx
or ecx, eax
movzx eax, byte [edi - 7]
shld esi, ecx, 8
cdq
shl ecx, 8
or esi, edx
or ecx, eax
movzx eax, byte [edi - 6]
shld esi, ecx, 8
cdq
shl ecx, 8
or esi, edx
or ecx, eax
movzx eax, byte [edi - 5]
shld esi, ecx, 8
cdq
shl ecx, 8
or esi, edx
or ecx, eax
movzx eax, byte [edi - 4]
shld esi, ecx, 8
cdq
shl ecx, 8
or esi, edx
or ecx, eax
movzx eax, byte [edi - 3]
shld esi, ecx, 8
cdq
shl ecx, 8
or esi, edx
or ecx, eax
mov dword [ebp + ebx*8 - 0x348], esi
mov dword [ebp + ebx*8 - 0x34c], ecx
inc ebx
cmp ebx, 0x10
jl 0x1003c0f3
lea eax, [ebp - 0x2dc]
mov dword [ebp - 0x18], 0x40
mov ebx, dword [eax]
xor edi, edi
mov edx, dword [eax + 4]
mov ecx, ebx
shl ecx, 0xd
xor esi, esi
mov dword [ebp - 8], ecx
mov ecx, ebx
shrd ecx, edx, 0x13
or edi, ecx
shr edx, 0x13
or dword [ebp - 8], edx
mov ecx, ebx
mov edx, dword [eax + 4]
shld edx, ecx, 3
mov dword [ebp - 0xc], edi
mov edi, dword [eax + 4]
or esi, edx
mov edx, dword [ebp - 0xc]
shl ecx, 3
shr edi, 0x1d
or edi, ecx
mov ecx, dword [eax + 4]
shrd ebx, ecx, 6
xor edx, edi
mov edi, dword [ebp - 8]
xor edx, ebx
shr ecx, 6
xor edi, esi
mov dword [ebp - 0xc], edx
mov edx, dword [eax - 0x64]
xor edi, ecx
mov dword [ebp - 8], edi
xor ebx, ebx
mov edi, dword [eax - 0x68]
mov ecx, edi
shrd ecx, edx, 8
mov esi, edi
shl edi, 0x1f
or ebx, ecx
shr edx, 8
mov ecx, dword [eax - 0x68]
shl esi, 0x18
or esi, edx
mov edx, dword [eax - 0x64]
shrd ecx, edx, 1
mov dword [ebp - 0x40], esi
xor esi, esi
or esi, ecx
shr edx, 1
mov ecx, dword [ebp - 0x40]
xor ebx, esi
mov esi, dword [eax - 0x64]
or edi, edx
mov edx, dword [eax - 0x68]
xor ecx, edi
shrd edx, esi, 7
xor ebx, edx
shr esi, 7
mov edx, dword [ebp - 0xc]
xor ecx, esi
add edx, ebx
mov ebx, dword [ebp - 8]
adc ebx, ecx
add edx, dword [eax - 0x70]
adc ebx, dword [eax - 0x6c]
add edx, dword [eax - 0x28]
mov dword [eax + 0x10], edx
adc ebx, dword [eax - 0x24]
lea eax, [eax + 8]
sub dword [ebp - 0x18], 1
mov dword [eax + 0xc], ebx
jne 0x1003c194
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 0x110]
mov edi, ecx
mov edx, dword [eax + 0x114]
mov ebx, edx
mov dword [ebp - 0x70], ecx
mov ecx, dword [eax + 0x118]
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + 0x120]
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x20], ecx
mov ecx, dword [eax + 0x128]
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x4c], ecx
mov ecx, dword [eax + 0x130]
mov esi, ecx
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0x1c], ecx
mov ecx, dword [eax + 0x138]
mov dword [ebp - 0x5c], ecx
mov ecx, dword [eax + 0x13c]
mov dword [ebp - 0x60], ecx
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x38], ecx
mov ecx, dword [eax + 0x140]
mov dword [ebp - 0x74], edx
mov dword [ebp - 8], edx
mov edx, dword [eax + 0x11c]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [eax + 0x144]
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x28], edx
mov edx, dword [eax + 0x124]
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x24], edx
mov edx, dword [eax + 0x12c]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0xa4], edx
mov dword [ebp - 0x50], edx
mov edx, dword [eax + 0x134]
mov dword [ebp - 0x30], ecx
mov ecx, dword [eax + 0x148]
mov eax, dword [eax + 0x14c]
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0x48], eax
xor eax, eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0xac], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc4], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x2c]
mov ecx, edx
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x90], eax
mov eax, esi
shld ecx, eax, 0x17
mov dword [ebp - 0x80], ebx
mov ebx, edx
shl eax, 0x17
mov dword [ebp - 0x78], edi
xor edi, edi
or edi, ecx
shr ebx, 9
mov ecx, dword [ebp - 0x10]
or ebx, eax
mov eax, dword [ebp - 0x1c]
shrd eax, ecx, 0x12
mov dword [ebp - 0xb0], esi
shr ecx, 0x12
shl esi, 0xe
or esi, ecx
mov dword [ebp - 0xb4], edx
mov ecx, dword [ebp - 0x10]
xor edi, esi
xor edx, edx
or edx, eax
mov eax, dword [ebp - 0x1c]
xor ebx, edx
mov esi, eax
shrd eax, ecx, 0xe
xor edx, edx
shl esi, 0x12
or edx, eax
shr ecx, 0xe
mov eax, dword [ebp - 0x38]
or esi, ecx
and eax, dword [ebp - 0x10]
xor edi, esi
mov esi, dword [ebp - 0x1c]
xor ebx, edx
mov edx, dword [ebp - 0x10]
not esi
and esi, dword [ebp - 0x2c]
not edx
and edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
xor edx, eax
and ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
xor esi, ecx
mov ecx, dword [ebp - 8]
add ebx, esi
adc edi, edx
add ebx, dword [eax + 0x100af870]
adc edi, dword [eax + 0x100af874]
add ebx, dword [ebp + eax - 0x34c]
adc edi, dword [ebp + eax - 0x348]
add ebx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x14]
adc edi, dword [ebp - 0x48]
mov dword [ebp - 0x54], ebx
mov ebx, eax
shrd eax, ecx, 0x1c
mov dword [ebp - 0x6c], edi
xor edi, edi
shl ebx, 4
shr ecx, 0x1c
or edi, eax
mov eax, dword [ebp - 0x14]
or ebx, ecx
mov ecx, dword [ebp - 8]
xor edx, edx
mov esi, ecx
shld ecx, eax, 0x1e
shr esi, 2
shl eax, 0x1e
or edx, ecx
mov ecx, dword [ebp - 8]
or esi, eax
mov eax, dword [ebp - 0x14]
xor edi, esi
xor ebx, edx
mov esi, ecx
shld ecx, eax, 0x19
xor edx, edx
shr esi, 7
shl eax, 0x19
or edx, ecx
or esi, eax
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x28]
xor ebx, edx
and eax, dword [ebp - 0x24]
xor edi, esi
mov edx, dword [ebp - 0x28]
xor edx, dword [ebp - 0x24]
and edx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
xor edx, eax
xor esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x2c]
and esi, dword [ebp - 0x14]
and ecx, dword [ebp - 0x20]
mov dword [ebp - 0x44], eax
xor esi, ecx
mov eax, dword [ebp - 0x30]
add edi, esi
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 0x48], eax
adc ebx, edx
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x50]
add esi, dword [ebp - 0x54]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x38]
adc edx, dword [ebp - 0x6c]
add edi, dword [ebp - 0x54]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x1c]
adc ebx, dword [ebp - 0x6c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
add eax, 8
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edi
mov dword [ebp - 8], ebx
mov dword [ebp - 0x18], eax
cmp eax, 0x280
jl 0x1003c352
mov edx, dword [ebp - 0x58]
add edi, dword [ebp - 0x70]
mov eax, dword [ebp - 0x78]
adc ebx, dword [ebp - 0x74]
add eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x80]
adc ecx, dword [ebp - 0x84]
mov dword [edx + 0x110], edi
mov dword [edx + 0x114], ebx
mov dword [edx + 0x118], eax
mov eax, dword [ebp - 0x88]
add eax, dword [ebp - 0x8c]
mov dword [edx + 0x11c], ecx
mov ecx, dword [ebp - 0x90]
adc ecx, dword [ebp - 0x94]
mov dword [edx + 0x120], eax
mov eax, dword [ebp - 0x98]
add eax, dword [ebp - 0x9c]
mov dword [edx + 0x124], ecx
mov ecx, dword [ebp - 0xa0]
adc ecx, dword [ebp - 0xa4]
add esi, dword [ebp - 0xa8]
mov dword [edx + 0x128], eax
mov eax, dword [ebp - 0x10]
adc eax, dword [ebp - 0xac]
mov dword [edx + 0x134], eax
mov eax, dword [ebp - 0xb0]
add eax, dword [ebp - 0x5c]
mov dword [edx + 0x12c], ecx
mov ecx, dword [ebp - 0xb4]
adc ecx, dword [ebp - 0x60]
mov dword [edx + 0x138], eax
mov eax, dword [ebp - 0xb8]
add eax, dword [ebp - 0x3c]
mov dword [edx + 0x13c], ecx
mov ecx, dword [ebp - 0xbc]
adc ecx, dword [ebp - 0x40]
mov dword [edx + 0x140], eax
mov eax, dword [ebp - 0xc0]
add eax, dword [ebp - 0xc4]
mov dword [edx + 0x144], ecx
mov ecx, dword [ebp - 0xc8]
adc ecx, dword [ebp - 0xcc]
mov dword [edx + 0x148], eax
mov eax, dword [ebp - 0x64]
add eax, 1
mov dword [edx + 0x130], esi
mov dword [edx + 0x14c], ecx
mov edx, dword [ebp - 0x68]
adc edx, 0
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x68], edx
cmp edx, dword [ebp + 0x10]
jb 0x1003c0e0
ja 0x1003c64e
cmp eax, dword [ebp + 0xc]
jb 0x1003c0e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc