Function at 0x45b6b4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x45ba36
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004032ac
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 1
mov edi, 0x2019
mov dword [ebp - 0x20], 0x35
mov eax, 0x20
call fcn.004032d4
mov esi, eax
shl esi, 8
mov eax, 0x20
call fcn.004032d4
xor esi, eax
mov ecx, 0x10000
mov eax, esi
cdq
idiv ecx
mov esi, edx
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x1c]
add eax, edi
add eax, dword [ebp - 0x20]
add eax, esi
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0
lea edx, [ebp - 0x3c]
xor ecx, ecx
mov eax, 0x45ba4c
call fcn.00409c50
xor eax, eax
mov edx, dword [ebp - 4]
test edx, edx
je 0x45b767
sub edx, 4
mov edx, dword [edx]
dec edx
test edx, edx
jl 0x45b783
inc edx
xor ebx, ebx
mov ecx, dword [ebp - 4]
movzx ecx, byte [ecx + ebx]
movzx ecx, byte [ecx + 0x462774]
xor eax, ecx
inc ebx
dec edx
jne 0x45b76f
mov edx, esi
shr edx, 1
and dl, 8
mov ecx, esi
shr ecx, 5
and cl, 4
or dl, cl
movzx ecx, byte [ebp - 0x1c]
add ecx, ecx
and cl, 2
or dl, cl
mov byte [ebp - 0x34], dl
mov edx, dword [ebp - 0x20]
shr edx, 1
and dl, 0x10
mov ecx, dword [ebp - 0x20]
shr ecx, 4
and cl, 8
or dl, cl
mov ecx, edi
shr ecx, 5
and cl, 2
or dl, cl
mov ecx, edi
shr ecx, 8
and cl, 1
or dl, cl
mov byte [ebp - 0x33], dl
movzx ecx, byte [ebp - 0x20]
add ecx, ecx
and cl, 0x10
mov edx, esi
mov ebx, edx
add ebx, ebx
add ebx, ebx
add ebx, ebx
and bl, 8
or cl, bl
mov ebx, dword [ebp - 0x1c]
shr ebx, 1
and bl, 4
or cl, bl
mov ebx, edi
shr ebx, 4
and bl, 2
or cl, bl
movzx ebx, byte [ebp - 0x14]
and bl, 1
or cl, bl
mov byte [ebp - 0x32], cl
movzx ecx, byte [ebp - 0x1c]
add ecx, ecx
add ecx, ecx
and cl, 0x10
mov byte [ebp - 0x31], cl
mov ecx, eax
add ecx, ecx
add ecx, ecx
and cl, 0x10
mov ebx, edi
shr ebx, 4
and bl, 8
or cl, bl
mov byte [ebp - 0x30], cl
movzx ecx, byte [ebp - 0x18]
add ecx, ecx
add ecx, ecx
add ecx, ecx
and cl, 8
mov ebx, esi
shr ebx, 1
and bl, 4
or cl, bl
mov ebx, esi
shr ebx, 0xc
and bl, 2
or cl, bl
mov byte [ebp - 0x2f], cl
mov ecx, eax
shr ecx, 3
and cl, 8
mov ebx, esi
shr ebx, 4
and bl, 4
or cl, bl
movzx ebx, byte [ebp - 0xc]
add ebx, ebx
and bl, 2
or cl, bl
mov byte [ebp - 0x2e], cl
mov ecx, esi
shr ecx, 0xb
and cl, 0x10
mov ebx, esi
shr ebx, 7
and bl, 8
or cl, bl
mov ebx, edi
add ebx, ebx
add ebx, ebx
and bl, 4
or cl, bl
mov ebx, dword [ebp - 0x1c]
shr ebx, 3
and bl, 2
or cl, bl
mov byte [ebp - 0x2d], cl
mov ecx, esi
shr ecx, 7
and cl, 0x10
mov ebx, edi
shr ebx, 1
and bl, 1
or cl, bl
mov byte [ebp - 0x2c], cl
mov ecx, edi
add ecx, ecx
add ecx, ecx
and cl, 0x10
mov ebx, eax
and bl, 8
or cl, bl
mov ebx, edx
and bl, 4
or cl, bl
mov byte [ebp - 0x2b], cl
mov ecx, esi
shr ecx, 9
and cl, 8
mov byte [ebp - 0x2a], cl
mov ecx, eax
add ecx, ecx
add ecx, ecx
and cl, 8
mov ebx, eax
add ebx, ebx
add ebx, ebx
and bl, 4
or cl, bl
and dl, 2
or cl, dl
mov edx, esi
shr edx, 5
and dl, 1
or cl, dl
mov byte [ebp - 0x29], cl
mov edx, esi
shr edx, 8
and dl, 1
mov byte [ebp - 0x28], dl
mov edx, edi
shr edx, 7
and dl, 0x10
mov ecx, eax
shr ecx, 7
and cl, 1
or dl, cl
mov byte [ebp - 0x27], dl
movzx edx, byte [ebp - 0x20]
add edx, edx
and dl, 2
mov ecx, dword [ebp - 0x20]
shr ecx, 1
and cl, 1
or dl, cl
mov byte [ebp - 0x26], dl
mov edx, edi
and dl, 8
mov ecx, edi
shr ecx, 2
and cl, 4
or dl, cl
mov ecx, esi
shr ecx, 9
and cl, 1
or dl, cl
mov byte [ebp - 0x25], dl
movzx edx, byte [ebp - 0x10]
shl edx, 4
and dl, 0x10
movzx ecx, byte [ebp - 0x20]
add ecx, ecx
and cl, 8
or dl, cl
mov ecx, dword [ebp - 0x1c]
shr ecx, 1
and cl, 1
or dl, cl
mov byte [ebp - 0x24], dl
mov edx, eax
shr edx, 3
and dl, 2
mov byte [ebp - 0x23], dl
movzx edx, byte [ebp - 0x20]
and dl, 0x10
mov ecx, edi
shr ecx, 6
and cl, 8
or dl, cl
mov ecx, edi
shr ecx, 8
and cl, 4
or dl, cl
mov ecx, esi
shr ecx, 0xd
and cl, 2
or dl, cl
shr eax, 5
and al, 1
or dl, al
mov byte [ebp - 0x22], dl
mov eax, edi
shr eax, 9
and al, 0x10
mov edx, dword [ebp - 0x20]
shr edx, 3
and dl, 8
or al, dl
mov edx, edi
shr edx, 0xb
and dl, 2
or al, dl
mov byte [ebp - 0x21], al
mov eax, dword [ebp - 8]
call fcn.00404a54
xor ebx, ebx
lea esi, [ebp - 0x34]
cmp ebx, 4
je 0x45b9de
cmp ebx, 0xa
je 0x45b9de
cmp ebx, 0x10
jne 0x45b9ee
mov eax, dword [ebp - 8]
mov edx, 0x45ba58
call fcn.00404d20
mov eax, dword [ebp - 8]
lea eax, [ebp - 0x40]
movzx edx, byte [esi]
mov ecx, dword [0x462770]
movzx edx, byte [ecx + edx]
call fcn.00404c3c
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 8]
call fcn.00404d20
mov eax, dword [ebp - 8]
inc ebx
inc esi
cmp ebx, 0x14
jne 0x45b9cf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ba3d
lea eax, [ebp - 0x40]
call fcn.00404a54
lea eax, [ebp - 4]
call fcn.00404a54
ret