Function at 0x457a04
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
mov esi, ecx
push edi
push dword [esi + 4]
lea ecx, [ebp - 0x58]
call fcn.0041cbb4
push dword [esi]
lea ecx, [ebp - 0x28]
call fcn.00425b64
jmp 0x4580fe
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax]
mov esi, dword [eax + 4]
mov edi, dword [eax + 8]
mov eax, dword [eax + 0xc]
add eax, esi
add edi, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x40], esi
jle 0x4580fe
cmp dword [ebp - 0x48], eax
jge 0x4580fe
cmp dword [ebp - 0x3c], ebx
jle 0x4580fe
cmp dword [ebp - 0x44], edi
jge 0x4580fe
lea ecx, [ebp - 0x58]
call fcn.0041cd19
test al, al
je 0x457bd8
mov edi, dword [ebp - 0x38]
test edi, edi
je 0x457b18
cmp dword [ebp - 0x48], esi
jl 0x457b18
mov esi, dword [ebp + 8]
mov edx, dword [esi]
mov ecx, dword [edx + 8]
imul ecx, dword [ebp - 0x48]
mov eax, dword [edx]
add eax, ecx
mov dword [esi + 4], eax
mov ebx, dword [edx + 0xc]
mov ecx, dword [esi + 8]
imul ebx, dword [ebp - 0x58]
add ebx, eax
lea edx, [edi + 1]
mov edi, ecx
mov eax, ecx
shr eax, 8
mov esi, 0xff00ff
and edi, esi
and eax, 0xffff00ff
imul edi, edx
imul eax, edx
shr ecx, 8
and ecx, esi
imul ecx, edx
shr edi, 8
xor edi, eax
and edi, esi
mov esi, dword [ebx]
xor edi, ecx
mov ecx, esi
and esi, 0xff00ff
mov eax, edi
shr eax, 0x18
shr ecx, 8
mov edx, 0x100
sub edx, eax
imul esi, edx
mov eax, ecx
and eax, 0xffff00ff
imul eax, edx
shr esi, 8
xor esi, eax
mov eax, 0xff00ff
and ecx, eax
imul ecx, edx
and esi, eax
xor esi, ecx
add esi, edi
mov dword [ebx], esi
mov esi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp + 8]
cmp ecx, eax
cmovl eax, ecx
cmp esi, dword [ebp - 0x54]
mov dword [ebp - 0x18], eax
cmovl esi, dword [ebp - 0x54]
mov dword [ebp - 0xc], esi
cmp esi, eax
jge 0x457b9d
mov edx, dword [ebx]
mov ecx, dword [edx + 8]
mov eax, dword [edx]
imul ecx, esi
add eax, ecx
mov dword [ebx + 4], eax
mov edi, dword [edx + 0xc]
imul edi, dword [ebp - 0x58]
add edi, eax
mov eax, dword [ebx + 8]
mov esi, dword [edi]
mov ecx, esi
shr eax, 0x18
and esi, 0xff00ff
shr ecx, 8
mov edx, 0x100
sub edx, eax
imul esi, edx
mov eax, ecx
and eax, 0xffff00ff
imul eax, edx
shr esi, 8
xor esi, eax
mov eax, 0xff00ff
and ecx, eax
imul ecx, edx
and esi, eax
xor esi, ecx
add esi, dword [ebx + 8]
mov dword [edi], esi
mov esi, dword [ebp - 0xc]
inc esi
mov dword [ebp - 0xc], esi
cmp esi, dword [ebp - 0x18]
jl 0x457b37
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x4580fe
cmp dword [ebp - 0x4c], ecx
jge 0x4580fe
mov edx, dword [ebx]
mov ecx, dword [edx + 8]
imul ecx, dword [ebp - 0x4c]
mov eax, dword [edx]
add eax, ecx
mov ecx, dword [ebp + 8]
mov dword [ebx + 4], eax
mov ebx, dword [edx + 0xc]
imul ebx, dword [ebp - 0x58]
mov ecx, dword [ecx + 8]
add ebx, eax
lea edx, [esi + 1]
jmp 0x458097
mov eax, dword [ebp - 0x58]
cmp eax, ebx
cmovl eax, ebx
mov ebx, dword [ebp - 0x50]
cmp edi, ebx
cmovl ebx, edi
sub ebx, eax
cmp dword [ebp - 0x34], 0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], ebx
je 0x457c02
mov eax, dword [ebp - 0x44]
mov byte [ebp - 5], 1
cmp eax, dword [ebp - 0x1c]
jge 0x457c06
mov byte [ebp - 5], 0
cmp dword [ebp - 0x2c], 0
je 0x457c15
mov byte [ebp - 6], 1
cmp dword [ebp - 0x50], edi
jl 0x457c19
mov byte [ebp - 6], 0
mov edi, dword [ebp - 0x38]
test edi, edi
je 0x457dcb
cmp dword [ebp - 0x48], esi
mov esi, dword [ebp + 8]
jl 0x457dce
mov edx, dword [esi]
mov ecx, dword [edx + 8]
imul ecx, dword [ebp - 0x48]
mov eax, dword [edx]
add eax, ecx
cmp byte [ebp - 5], 0
mov dword [esi + 4], eax
je 0x457cd0
mov ebx, dword [edx + 0xc]
imul ebx, dword [ebp - 0x44]
mov ecx, dword [esi + 8]
mov edx, dword [ebp - 0x34]
imul edx, edi
add ebx, eax
mov edi, ecx
mov eax, ecx
shr eax, 8
sar edx, 8
inc edx
mov esi, 0xff00ff
and edi, esi
imul edi, edx
and eax, 0xffff00ff
imul eax, edx
shr ecx, 8
and ecx, esi
imul ecx, edx
shr edi, 8
xor edi, eax
and edi, esi
mov esi, dword [ebx]
xor edi, ecx
mov ecx, esi
mov eax, edi
shr eax, 0x18
and esi, 0xff00ff
shr ecx, 8
mov edx, 0x100
sub edx, eax
imul esi, edx
mov eax, ecx
and eax, 0xffff00ff
imul eax, edx
shr esi, 8
xor esi, eax
mov eax, 0xff00ff
and ecx, eax
imul ecx, edx
and esi, eax
xor esi, ecx
add esi, edi
mov edi, dword [ebp - 0x38]
mov dword [ebx], esi
mov esi, dword [ebp + 8]
mov ebx, dword [ebp - 0x10]
test ebx, ebx
jle 0x457d3d
mov eax, dword [esi + 8]
mov ecx, eax
mov edx, eax
lea esi, [edi + 1]
shr edx, 8
mov edi, 0xff00ff
and ecx, edi
imul ecx, esi
and edx, 0xffff00ff
imul edx, esi
shr eax, 8
and eax, edi
imul eax, esi
mov esi, dword [ebp + 8]
shr ecx, 8
xor ecx, edx
and ecx, edi
xor ecx, eax
mov eax, dword [esi]
mov dword [ebp - 0x1c], ecx
mov edx, dword [eax + 0xc]
imul edx, dword [ebp - 0x18]
add edx, dword [esi + 4]
mov eax, ecx
shr eax, 0x18
cmp al, 0xff
jb 0x457d30
mov edi, ebx
mov dword [edx], ecx
mov eax, dword [esi]
add edx, dword [eax + 0xc]
dec edi
test edi, edi
jg 0x457d22
jmp 0x457d3d
push ebx
lea eax, [ebp - 0x1c]
push eax
push edx
mov ecx, esi
call fcn.0045fd2e
cmp byte [ebp - 6], 0
je 0x457dce
mov eax, dword [esi]
mov ecx, dword [esi + 8]
mov ebx, dword [eax + 0xc]
imul ebx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x2c]
imul edx, dword [ebp - 0x38]
add ebx, dword [esi + 4]
mov edi, ecx
mov eax, ecx
shr eax, 8
sar edx, 8
inc edx
mov esi, 0xff00ff
and edi, esi
and eax, 0xffff00ff
imul edi, edx
imul eax, edx
shr ecx, 8
and ecx, esi
imul ecx, edx
shr edi, 8
xor edi, eax
and edi, esi
mov esi, dword [ebx]
xor edi, ecx
mov ecx, esi
mov eax, edi
shr eax, 0x18
shr ecx, 8
and esi, 0xff00ff
mov edx, 0x100
sub edx, eax
imul esi, edx
mov eax, ecx
and eax, 0xffff00ff
imul eax, edx
shr esi, 8
xor esi, eax
mov eax, 0xff00ff
and ecx, eax
imul ecx, edx
and esi, eax
xor esi, ecx
add esi, edi
mov dword [ebx], esi
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp + 8]
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
cmp ecx, edx
cmovl edx, ecx
cmp eax, dword [ebp - 0x54]
mov dword [ebp - 0x1c], edx
cmovl eax, dword [ebp - 0x54]
mov dword [ebp - 0xc], eax
cmp eax, edx
jge 0x457f52
mov edx, dword [esi]
mov ecx, dword [edx + 8]
imul ecx, eax
mov eax, dword [edx]
add eax, ecx
cmp byte [ebp - 5], 0
mov dword [esi + 4], eax
je 0x457e83
mov ebx, dword [edx + 0xc]
mov ecx, dword [esi + 8]
imul ebx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x34]
add ebx, eax
mov edi, ecx
mov eax, ecx
shr eax, 8
inc edx
mov esi, 0xff00ff
and edi, esi
and eax, 0xffff00ff
imul edi, edx
imul eax, edx
shr ecx, 8
and ecx, esi
imul ecx, edx
shr edi, 8
xor edi, eax
and edi, esi
mov esi, dword [ebx]
xor edi, ecx
mov ecx, esi
and esi, 0xff00ff
mov eax, edi
shr eax, 0x18
shr ecx, 8
mov edx, 0x100
sub edx, eax
imul esi, edx
mov eax, ecx
and eax, 0xffff00ff
imul eax, edx
shr esi, 8
xor esi, eax
mov eax, 0xff00ff
and ecx, eax
imul ecx, edx
and esi, eax
xor esi, ecx
add esi, edi
mov dword [ebx], esi
mov esi, dword [ebp + 8]
mov ebx, dword [ebp - 0x10]
test ebx, ebx
jle 0x457eb9
mov eax, dword [esi]
mov ecx, dword [eax + 0xc]
imul ecx, dword [ebp - 0x18]
add ecx, dword [esi + 4]
cmp byte [esi + 0xb], 0xff
jb 0x457eac
mov edx, ebx
mov eax, dword [esi + 8]
mov dword [ecx], eax
mov eax, dword [esi]
add ecx, dword [eax + 0xc]
dec edx
test edx, edx
jg 0x457e9b
jmp 0x457eb9
push ebx
lea eax, [esi + 8]
push eax
push ecx
mov ecx, esi
call fcn.0045fd2e
cmp byte [ebp - 6], 0
je 0x457f3c
mov eax, dword [esi]
mov ecx, dword [esi + 8]
mov ebx, dword [eax + 0xc]
imul ebx, dword [ebp - 0x50]
add ebx, dword [esi + 4]
mov edx, dword [ebp - 0x2c]
mov edi, ecx
mov eax, ecx
shr eax, 8
inc edx
mov esi, 0xff00ff
and edi, esi
and eax, 0xffff00ff
imul edi, edx
imul eax, edx
shr ecx, 8
and ecx, esi
imul ecx, edx
shr edi, 8
xor edi, eax
and edi, esi
mov esi, dword [ebx]
xor edi, ecx
mov ecx, esi
mov eax, edi
shr eax, 0x18
shr ecx, 8
and esi, 0xff00ff
mov edx, 0x100
sub edx, eax
imul esi, edx
mov eax, ecx
and eax, 0xffff00ff
imul eax, edx
shr esi, 8
xor esi, eax
mov eax, 0xff00ff
and ecx, eax
imul ecx, edx
and esi, eax
xor esi, ecx
add esi, edi
mov dword [ebx], esi
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp + 8]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, dword [ebp - 0x1c]
jl 0x457df1
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x4580fe
cmp dword [ebp - 0x4c], ecx
jge 0x4580fe
mov edi, dword [ebp + 8]
mov ebx, dword [edi]
mov ecx, dword [ebx + 8]
imul ecx, dword [ebp - 0x4c]
mov eax, dword [ebx]
add eax, ecx
cmp byte [ebp - 5], 0
mov dword [edi + 4], eax
je 0x458006
mov ebx, dword [ebx + 0xc]
imul ebx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x34]
mov ecx, dword [edi + 8]
imul edx, esi
add ebx, eax
mov edi, ecx
mov eax, ecx
shr eax, 8
sar edx, 8
inc edx
mov esi, 0xff00ff
and edi, esi
imul edi, edx
and eax, 0xffff00ff
imul eax, edx
shr ecx, 8
and ecx, esi
imul ecx, edx
shr edi, 8
xor edi, eax
and edi, esi
mov esi, dword [ebx]
xor edi, ecx
mov ecx, esi
mov eax, edi
shr eax, 0x18
and esi, 0xff00ff
shr ecx, 8
mov edx, 0x100
sub edx, eax
imul esi, edx
mov eax, ecx
and eax, 0xffff00ff
imul eax, edx
shr esi, 8
xor esi, eax
mov eax, 0xff00ff
and ecx, eax
imul ecx, edx
and esi, eax
xor esi, ecx
add esi, edi
mov edi, dword [ebp + 8]
mov dword [ebx], esi
mov esi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x10]
test ebx, ebx
jle 0x458073
mov eax, dword [edi + 8]
mov ecx, eax
mov edx, eax
shr edx, 8
and ecx, 0xff00ff
inc esi
and edx, 0xffff00ff
imul ecx, esi
imul edx, esi
shr ecx, 8
xor ecx, edx
shr eax, 8
mov edx, 0xff00ff
and eax, edx
imul eax, esi
and ecx, edx
xor ecx, eax
mov eax, dword [edi]
mov dword [ebp - 0x1c], ecx
mov edx, dword [eax + 0xc]
imul edx, dword [ebp - 0x18]
add edx, dword [edi + 4]
mov eax, ecx
shr eax, 0x18
cmp al, 0xff
jb 0x458066
mov dword [edx], ecx
mov eax, dword [edi]
add edx, dword [eax + 0xc]
dec ebx
test ebx, ebx
jg 0x458058
jmp 0x458073
push ebx
lea eax, [ebp - 0x1c]
push eax
push edx
mov ecx, edi
call fcn.0045fd2e
cmp byte [ebp - 6], 0
je 0x4580fe
mov eax, dword [edi]
mov edx, dword [ebp - 0x2c]
mov ebx, dword [eax + 0xc]
imul edx, dword [ebp - 0x30]
imul ebx, dword [ebp - 0x50]
add ebx, dword [edi + 4]
mov ecx, dword [edi + 8]
sar edx, 8
inc edx
mov edi, ecx
mov eax, ecx
shr eax, 8
mov esi, 0xff00ff
and edi, esi
and eax, 0xffff00ff
imul edi, edx
imul eax, edx
shr ecx, 8
and ecx, esi
imul ecx, edx
shr edi, 8
xor edi, eax
and edi, esi
mov esi, dword [ebx]
xor edi, ecx
mov ecx, esi
mov eax, edi
shr eax, 0x18
shr ecx, 8
and esi, 0xff00ff
mov edx, 0x100
sub edx, eax
mov eax, ecx
imul esi, edx
and eax, 0xffff00ff
imul eax, edx
shr esi, 8
xor esi, eax
mov eax, 0xff00ff
and ecx, eax
imul ecx, edx
and esi, eax
xor esi, ecx
add esi, edi
mov dword [ebx], esi
lea ecx, [ebp - 0x28]
call fcn.00425b7c
test al, al
jne 0x457a29
pop edi
pop esi
pop ebx
leave
ret 4