Function at 0x457d90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [ebp + 8]
push ebx
mov ebx, edx
mov dword [ebp - 0x24], ecx
push esi
mov edx, dword [eax + 8]
mov dword [ebp - 0x18], edx
lea edx, [ecx + 2]
mov eax, dword [ebx]
add eax, 0xfffffffe
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], edx
push edi
test edx, edx
je 0x457de5
mov ebx, edx
mov dword [ebp - 0x48], edx
mov edi, eax
mov dword [ebp - 0x44], ebx
mov ecx, eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x38], ecx
mov byte [ebp - 0x30], 0
jmp 0x457dfa
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x48]
mov edi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x44]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], edx
add edx, eax
lea eax, [ebx + 1]
mov dword [ebp - 0x14], edx
cmp eax, edx
jb 0x457e0c
mov byte [ebp - 0x30], 1
jmp 0x457e25
mov byte [ebx], 0x40
mov ebx, eax
mov dword [ebp - 0x44], ebx
test edi, edi
jne 0x457e21
inc ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x38], ecx
jmp 0x457e25
dec edi
mov dword [ebp - 0x34], edi
lea eax, [ebx + 2]
cmp eax, edx
jb 0x457e32
mov byte [ebp - 0x30], 1
jmp 0x457e5b
mov word [ebx], 0
add ebx, 2
mov dword [ebp - 0x44], ebx
cmp edi, 2
jae 0x457e55
mov eax, 2
sub eax, edi
add ecx, eax
xor edi, edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x38], ecx
jmp 0x457e58
sub edi, 2
mov dword [ebp - 0x34], edi
lea eax, [ebx + 2]
mov esi, 2
cmp eax, edx
jbe 0x457e6d
mov byte [ebp - 0x30], 1
jmp 0x457ea1
cmp edi, esi
jae 0x457e81
mov eax, esi
sub eax, edi
add ecx, eax
xor edi, edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x38], ecx
jmp 0x457e83
sub edi, esi
mov ecx, dword [ebp + 8]
add ecx, 0x28
mov dword [ebp - 0x34], edi
sub ecx, ebx
nop
mov al, byte [ecx + ebx]
mov byte [ebx], al
inc ebx
sub esi, 1
jne 0x457e90
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x44], ebx
lea esi, [ebx + 1]
cmp esi, edx
jb 0x457eae
mov byte [ebp - 0x30], 1
jmp 0x457ed0
mov eax, dword [ebp + 8]
mov al, byte [eax + 0x2a]
add al, al
or al, 1
mov byte [ebx], al
mov ebx, esi
mov dword [ebp - 0x44], ebx
test edi, edi
jne 0x457ecc
inc ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x38], ecx
jmp 0x457ed0
dec edi
mov dword [ebp - 0x34], edi
lea esi, [ebx + 1]
cmp esi, edx
jb 0x457edd
mov byte [ebp - 0x30], 1
jmp 0x457efb
mov eax, dword [ebp + 8]
mov al, byte [eax + 0x2b]
mov byte [ebx], al
mov ebx, esi
mov dword [ebp - 0x44], ebx
test edi, edi
jne 0x457ef7
inc ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x38], ecx
jmp 0x457efb
dec edi
mov dword [ebp - 0x34], edi
lea esi, [ebx + 1]
cmp esi, edx
jb 0x457f08
mov byte [ebp - 0x30], 1
jmp 0x457f26
mov eax, dword [ebp + 8]
mov al, byte [eax + 0x2c]
mov byte [ebx], al
mov ebx, esi
mov dword [ebp - 0x44], ebx
test edi, edi
jne 0x457f22
inc ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x38], ecx
jmp 0x457f26
dec edi
mov dword [ebp - 0x34], edi
lea eax, [edi - 2]
mov dword [ebp - 0xc], eax
lea esi, [ebx + 2]
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp + 8]
push esi
mov eax, dword [eax + 8]
push dword [eax + 0x1c]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x6c]
call eax
mov eax, dword [ebp - 0xc]
add esp, 0xc
movzx ecx, ax
mov dword [ebp - 0x28], ecx
movzx edx, cx
mov ecx, dword [ebp - 0x14]
cmp esi, ecx
jb 0x457f61
mov byte [ebp - 0x30], 1
jmp 0x457f99
shr edx, 8
mov byte [ebx], dl
mov edx, dword [ebp - 0x28]
mov byte [ebx + 1], dl
add ebx, 2
mov dword [ebp - 0x44], ebx
cmp edi, 2
jae 0x457f90
mov esi, dword [ebp - 0x10]
mov eax, 2
sub eax, edi
add esi, eax
mov eax, dword [ebp - 0xc]
xor edi, edi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], edi
jmp 0x457f9c
mov eax, dword [ebp - 0xc]
sub edi, 2
mov dword [ebp - 0x34], edi
mov esi, dword [ebp - 0x10]
lea edx, [ebx + eax]
cmp edx, ecx
jb 0x457fa9
mov byte [ebp - 0x30], 1
jmp 0x457fc2
cmp edi, eax
jae 0x457fb8
sub eax, edi
add esi, eax
xor edi, edi
mov dword [ebp - 0x38], esi
jmp 0x457fba
sub edi, eax
mov ebx, edx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x44], ebx
mov edx, ebx
mov dword [ebp - 0x10], edx
lea eax, [edx + 2]
cmp eax, ecx
jb 0x457fd6
mov byte [ebp - 0x30], 1
mov ecx, edx
jmp 0x457ffe
mov word [ebx], 0
add ebx, 2
mov dword [ebp - 0x44], ebx
mov ecx, ebx
cmp edi, 2
jae 0x457ff8
mov eax, 2
sub eax, edi
add esi, eax
xor edi, edi
mov dword [ebp - 0x38], esi
jmp 0x457ffb
sub edi, 2
mov dword [ebp - 0x34], edi
lea eax, [edi - 6]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ecx + 6]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
push dword [eax + 0x1c]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x70]
call eax
mov ecx, dword [ebp - 0xc]
add esp, 0x14
test ecx, ecx
je 0x458170
movzx eax, word [ebp - 8]
mov dword [ebp - 0x28], eax
movzx edx, ax
lea eax, [ebx + 2]
cmp eax, dword [ebp - 0x14]
jb 0x45804b
mov byte [ebp - 0x30], 1
jmp 0x45807a
mov ecx, dword [ebp - 0x28]
shr edx, 8
mov byte [ebx], dl
mov byte [ebx + 1], cl
add ebx, 2
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x44], ebx
cmp edi, 2
jae 0x458074
mov eax, 2
sub eax, edi
add esi, eax
xor edi, edi
mov dword [ebp - 0x38], esi
jmp 0x458077
sub edi, 2
mov dword [ebp - 0x34], edi
movzx eax, word [ebp - 4]
mov dword [ebp - 0x28], eax
movzx edx, ax
lea eax, [ebx + 2]
cmp eax, dword [ebp - 0x14]
jb 0x458092
mov byte [ebp - 0x30], 1
jmp 0x4580c1
mov ecx, dword [ebp - 0x28]
shr edx, 8
mov byte [ebx], dl
mov byte [ebx + 1], cl
add ebx, 2
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x44], ebx
cmp edi, 2
jae 0x4580bb
mov eax, 2
sub eax, edi
add esi, eax
xor edi, edi
mov dword [ebp - 0x38], esi
jmp 0x4580be
sub edi, 2
mov dword [ebp - 0x34], edi
movzx eax, cx
mov dword [ebp - 0x28], eax
movzx edx, ax
lea eax, [ebx + 2]
cmp eax, dword [ebp - 0x14]
jb 0x4580d8
mov byte [ebp - 0x30], 1
jmp 0x458107
mov ecx, dword [ebp - 0x28]
shr edx, 8
mov byte [ebx], dl
mov byte [ebx + 1], cl
add ebx, 2
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x44], ebx
cmp edi, 2
jae 0x458101
mov eax, 2
sub eax, edi
add esi, eax
xor edi, edi
mov dword [ebp - 0x38], esi
jmp 0x458104
sub edi, 2
mov dword [ebp - 0x34], edi
lea edx, [ebx + ecx]
cmp edx, dword [ebp - 0x14]
jb 0x458115
mov byte [ebp - 0x30], 1
jmp 0x458130
cmp edi, ecx
jae 0x458126
mov eax, ecx
sub eax, edi
add esi, eax
xor edi, edi
mov dword [ebp - 0x38], esi
jmp 0x458128
sub edi, ecx
mov ebx, edx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x44], ebx
mov eax, dword [ebp - 0x1c]
add eax, 6
add eax, ecx
mov dword [ebp - 0x1c], eax
lea eax, [edi - 6]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebx + 6]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
push dword [eax + 0x1c]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x70]
call eax
mov ecx, dword [ebp - 0xc]
add esp, 0x14
test ecx, ecx
jne 0x458033
mov edx, dword [ebp - 0x1c]
mov eax, edx
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x24]
shr eax, 8
mov byte [ecx], al
mov eax, esi
sub eax, edi
mov byte [ecx + 1], dl
or eax, 0x8000
or edx, 0xffffffff
movzx ecx, ax
mov eax, ecx
mov byte [ebx + 4], cl
shr eax, 8
mov byte [ebx + 3], al
sub esi, edi
je 0x4581c3
mov ebx, dword [ebp - 0x20]
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
mov ecx, edx
shl edx, 8
shr ecx, 0x18
xor ecx, eax
xor edx, dword [ecx*4 + 0x64e040]
sub esi, 1
jne 0x4581a4
mov ebx, dword [ebp - 0x24]
lea ecx, [ebp - 0x48]
call fcn.004501a0
mov esi, dword [ebp - 0x38]
mov eax, esi
sub eax, dword [ebp - 0x34]
sub esi, dword [ebp - 0x34]
movzx ecx, ax
mov eax, ecx
mov byte [ebx + 1], cl
shr eax, 8
add esi, 2
mov byte [ebx], al
mov eax, dword [ebp - 0x2c]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret