Function at 0x45c850
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x4e5a30]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x4e9290], 0
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], ebx
jne 0x45c883
call fcn.004669f0
cmp byte [0x4e9292], 0
je 0x45c8ae
mov ecx, dword [ebp - 0x30]
push 0
push 0x10
push ebx
push edi
push esi
call fcn.0045c4c0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00469ca2
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [esi]
mov ebx, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov edi, dword [esi + 4]
mov edx, dword [ebp - 0x30]
mov esi, dword [edx + 0x118]
mov edx, dword [esi + 4]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi]
xor eax, ecx
mov ecx, dword [esi + 8]
xor ecx, ebx
mov ebx, dword [esi + 0x1c]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [esi + 0xc]
xor ecx, dword [ebp - 0x2c]
xor edx, edi
mov dword [ebp - 0x2c], ecx
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x28], ecx
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x24], ecx
mov ecx, dword [esi + 0x18]
add esi, 0x20
cmp byte [0x4e9290], 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x18], ecx
jne 0x45c911
call fcn.004669f0
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x20]
xor edi, edi
xor ecx, ecx
jmp 0x45c923
mov edi, dword [ebp - 0x20]
and edi, dword [ecx + 0x4e7e70]
add ecx, dword [0x4e579c]
mov dword [ebp - 0x20], edi
cmp ecx, 0x800
jb 0x45c920
mov ecx, edi
and ecx, dword [0x4e8668]
or dword [ebp - 0x1c], ecx
or eax, ecx
or edx, ecx
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x2c]
or ecx, dword [ebp - 0x20]
movzx edi, cl
xor ebx, dword [edi*8 + 0x4e7e74]
shr ecx, 8
mov dword [ebp - 0x2c], ecx
movzx ecx, cl
mov ecx, dword [ecx*8 + 0x4e7e71]
xor dword [ebp - 0x18], ecx
movzx ecx, byte [ebp - 0x1c]
mov ecx, dword [ecx*8 + 0x4e7e74]
xor dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x1c]
shr dword [ebp - 0x2c], 8
movzx edi, byte [ebp - 0x2c]
shr ecx, 8
mov dword [ebp - 0x1c], ecx
movzx ecx, cl
mov ecx, dword [ecx*8 + 0x4e7e71]
xor ecx, dword [edi*8 + 0x4e7e72]
mov edi, dword [ebp - 0x24]
xor edi, ecx
shr dword [ebp - 0x1c], 8
movzx ecx, dl
xor edi, dword [ecx*8 + 0x4e7e74]
shr edx, 8
mov dword [ebp - 0x24], edi
mov edi, dword [ebp - 0x2c]
shr edi, 8
mov edi, dword [edi*8 + 0x4e7e73]
movzx ecx, dl
xor edi, dword [ecx*8 + 0x4e7e71]
movzx ecx, byte [ebp - 0x1c]
xor edi, dword [ecx*8 + 0x4e7e72]
mov ecx, dword [ebp - 0x28]
xor ecx, edi
movzx edi, al
xor ecx, dword [edi*8 + 0x4e7e74]
mov edi, dword [ebp - 0x1c]
shr eax, 8
mov dword [ebp - 0x28], ecx
movzx ecx, al
shr edi, 8
mov edi, dword [edi*8 + 0x4e7e73]
xor edi, dword [ecx*8 + 0x4e7e71]
shr edx, 8
movzx ecx, dl
xor edi, dword [ecx*8 + 0x4e7e72]
shr eax, 8
movzx ecx, al
shr edx, 8
mov edx, dword [edx*8 + 0x4e7e73]
xor edx, dword [ecx*8 + 0x4e7e72]
mov ecx, dword [ebp - 0x30]
xor dword [ebp - 0x18], edx
shr eax, 8
mov eax, dword [eax*8 + 0x4e7e73]
xor dword [ebp - 0x24], eax
mov eax, dword [ecx + 0xc]
shr eax, 1
xor ebx, edi
dec eax
mov dword [ebp - 0x30], eax
jmp 0x45ca50
movzx edx, bl
mov eax, dword [edx*8 + 0x4e7e73]
shr ebx, 8
movzx ecx, bl
mov edi, dword [ecx*8 + 0x4e7e72]
movzx ecx, byte [ebp - 0x18]
xor edi, dword [esi + 4]
shr ebx, 8
xor eax, dword [esi]
movzx edx, bl
shr ebx, 8
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebx*8 + 0x4e7e74]
mov ebx, dword [ebp - 0x34]
xor ecx, dword [ebx*8 + 0x4e7e73]
mov ebx, dword [ebp - 0x18]
shr ebx, 8
mov dword [ebp - 0x18], ebx
movzx ebx, bl
xor eax, dword [ebx*8 + 0x4e7e72]
mov ebx, dword [ebp - 0x18]
mov edx, dword [edx*8 + 0x4e7e71]
xor edx, dword [esi + 8]
shr ebx, 8
xor ecx, dword [esi + 0xc]
mov dword [ebp - 0x18], ebx
movzx ebx, bl
xor edi, dword [ebx*8 + 0x4e7e71]
movzx ebx, byte [ebp - 0x24]
mov dword [ebp - 0x20], edi
mov edi, dword [ebp - 0x18]
shr edi, 8
mov edi, dword [edi*8 + 0x4e7e74]
xor edi, dword [ebx*8 + 0x4e7e73]
mov ebx, dword [ebp - 0x24]
xor edx, edi
shr ebx, 8
movzx edi, bl
xor ecx, dword [edi*8 + 0x4e7e72]
shr ebx, 8
movzx edi, bl
xor eax, dword [edi*8 + 0x4e7e71]
movzx edi, byte [ebp - 0x28]
shr ebx, 8
mov ebx, dword [ebx*8 + 0x4e7e74]
xor ebx, dword [edi*8 + 0x4e7e73]
xor dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x28]
shr ebx, 8
movzx edi, bl
xor edx, dword [edi*8 + 0x4e7e72]
shr ebx, 8
movzx edi, bl
xor ecx, dword [edi*8 + 0x4e7e71]
shr ebx, 8
xor eax, dword [ebx*8 + 0x4e7e74]
movzx edi, cl
mov edi, dword [edi*8 + 0x4e7e73]
xor edi, dword [esi + 0x10]
shr ecx, 8
mov dword [ebp - 0x28], edi
movzx edi, cl
mov edi, dword [edi*8 + 0x4e7e72]
xor edi, dword [esi + 0x14]
shr ecx, 8
mov dword [ebp - 0x24], edi
movzx ebx, dl
mov edi, ecx
shr edi, 8
mov edi, dword [edi*8 + 0x4e7e74]
xor edi, dword [ebx*8 + 0x4e7e73]
shr edx, 8
xor edi, dword [esi + 0x1c]
mov dword [ebp - 0x1c], edx
movzx edx, dl
mov edx, dword [edx*8 + 0x4e7e72]
xor dword [ebp - 0x28], edx
mov ebx, edi
mov edi, dword [ebp - 0x1c]
shr edi, 8
mov dword [ebp - 0x1c], edi
movzx edx, byte [ebp - 0x20]
shr edi, 8
mov edi, dword [edi*8 + 0x4e7e74]
xor edi, dword [edx*8 + 0x4e7e73]
movzx ecx, cl
xor edi, dword [ecx*8 + 0x4e7e71]
mov ecx, dword [ebp - 0x20]
xor edi, dword [esi + 0x18]
shr ecx, 8
movzx edx, cl
xor ebx, dword [edx*8 + 0x4e7e72]
shr ecx, 8
mov dword [ebp - 0x18], edi
movzx edi, al
mov edx, ecx
shr edx, 8
mov edx, dword [edx*8 + 0x4e7e74]
xor edx, dword [edi*8 + 0x4e7e73]
movzx edi, byte [ebp - 0x1c]
xor edx, dword [edi*8 + 0x4e7e71]
shr eax, 8
xor dword [ebp - 0x24], edx
movzx edx, al
mov edx, dword [edx*8 + 0x4e7e72]
xor dword [ebp - 0x18], edx
shr eax, 8
movzx edx, al
xor ebx, dword [edx*8 + 0x4e7e71]
shr eax, 8
mov edx, dword [eax*8 + 0x4e7e74]
movzx ecx, cl
xor edx, dword [ecx*8 + 0x4e7e71]
add esi, 0x20
xor dword [ebp - 0x28], edx
dec dword [ebp - 0x30]
jne 0x45ca50
mov eax, dword [ebp - 0x18]
movzx ecx, al
movzx edx, byte [ecx*8 + 0x4e7e71]
shr eax, 8
movzx ecx, al
shr eax, 8
mov byte [ebp - 5], dl
movzx edx, byte [ecx*8 + 0x4e7e71]
movzx ecx, al
shr eax, 8
movzx eax, byte [eax*8 + 0x4e7e71]
mov byte [ebp - 0xc], al
mov eax, dword [ebp - 0x24]
mov byte [ebp - 0x12], dl
movzx edx, byte [ecx*8 + 0x4e7e71]
movzx ecx, al
shr eax, 8
mov byte [ebp - 0xf], dl
movzx edx, byte [ecx*8 + 0x4e7e71]
movzx ecx, al
shr eax, 8
mov byte [ebp - 9], dl
movzx edx, byte [ecx*8 + 0x4e7e71]
movzx ecx, al
shr eax, 8
movzx eax, byte [eax*8 + 0x4e7e71]
mov byte [ebp - 0x10], al
mov eax, dword [ebp - 0x28]
mov byte [ebp - 6], dl
movzx edx, byte [ecx*8 + 0x4e7e71]
movzx ecx, al
shr eax, 8
mov byte [ebp - 0x13], dl
movzx edx, byte [ecx*8 + 0x4e7e71]
movzx ecx, al
shr eax, 8
mov byte [ebp - 0xd], dl
movzx edx, byte [ecx*8 + 0x4e7e71]
movzx ecx, al
shr eax, 8
movzx eax, byte [eax*8 + 0x4e7e71]
mov byte [ebp - 0xa], dl
movzx edx, byte [ecx*8 + 0x4e7e71]
movzx ecx, bl
shr ebx, 8
mov byte [ebp - 0x14], al
movzx eax, bl
mov byte [ebp - 7], dl
movzx edx, byte [ecx*8 + 0x4e7e71]
movzx ecx, byte [eax*8 + 0x4e7e71]
shr ebx, 8
mov byte [ebp - 0x11], dl
movzx edx, bl
movzx eax, byte [edx*8 + 0x4e7e71]
mov byte [ebp - 0xe], cl
shr ebx, 8
movzx ecx, byte [ebx*8 + 0x4e7e71]
mov byte [ebp - 8], cl
mov ecx, dword [esi]
xor ecx, dword [ebp - 0x14]
mov byte [ebp - 0xb], al
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x45cd43
mov edx, dword [eax]
jmp 0x45cd45
xor edx, edx
xor edx, ecx
mov ecx, dword [ebp - 0x38]
mov dword [ecx], edx
lea edx, [ecx + 4]
test eax, eax
je 0x45cd56
add eax, 4
mov edi, dword [esi + 4]
xor edi, dword [ebp - 0x10]
test eax, eax
je 0x45cd64
mov ecx, dword [eax]
jmp 0x45cd66
xor ecx, ecx
xor ecx, edi
mov dword [edx], ecx
test eax, eax
je 0x45cd71
add eax, 4
mov edi, dword [esi + 8]
xor edi, dword [ebp - 0xc]
test eax, eax
je 0x45cd7f
mov ecx, dword [eax]
jmp 0x45cd81
xor ecx, ecx
xor ecx, edi
mov dword [edx + 4], ecx
test eax, eax
je 0x45cd8d
add eax, 4
mov esi, dword [esi + 0xc]
xor esi, dword [ebp - 8]
test eax, eax
je 0x45cd9b
mov eax, dword [eax]
jmp 0x45cd9d
xor eax, eax
mov ecx, dword [ebp - 4]
xor eax, esi
pop edi
pop esi
xor ecx, ebp
mov dword [edx + 8], eax
pop ebx
call fcn.00469ca2
mov esp, ebp
pop ebp
ret 0xc