Function at 0x4044ec
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov cl, byte [ebp - 0x10]
mov byte [ebp - 0x30], cl
mov edx, dword [ebp - 0x10]
sar edx, 6
mov dword [ebp - 0x10], edx
mov al, byte [ebp - 0x10]
mov byte [ebp - 0x2f], al
mov ecx, dword [ebp - 0x10]
sar ecx, 6
mov dword [ebp - 0x10], ecx
mov dl, byte [ebp - 0x10]
mov byte [ebp - 0x2e], dl
mov eax, dword [ebp - 0x10]
sar eax, 6
mov dword [ebp - 0x10], eax
mov cl, byte [ebp - 0x10]
mov byte [ebp - 0x2d], cl
mov edx, dword [ebp - 0x30]
and edx, 0x3f3f3f3f
shl edx, 2
mov dword [ebp + 0x10], edx
mov eax, dword [ebp + 8]
mov cl, byte [eax]
mov byte [ebp - 8], cl
mov edx, dword [ebp + 8]
mov al, byte [edx + 1]
mov byte [ebp - 7], al
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 2]
mov byte [ebp - 6], dl
mov eax, dword [ebp + 8]
mov cl, byte [eax + 3]
mov byte [ebp - 5], cl
mov edx, dword [ebp + 8]
mov al, byte [edx + 4]
mov byte [ebp - 4], al
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 5]
mov byte [ebp - 3], dl
mov eax, dword [ebp + 8]
mov cl, byte [eax + 6]
mov byte [ebp - 2], cl
mov edx, dword [ebp + 8]
mov al, byte [edx + 7]
mov byte [ebp - 1], al
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x10]
and edx, 0x55555555
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x14]
and eax, 0x55555555
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x10]
shl ecx, 1
or ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x24]
and edx, 0xaaaaaaaa
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x28]
sar eax, 1
and eax, 0x55555555
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x24]
or ecx, dword [ebp - 0x28]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
push 4
push 0x409850
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 8]
push edx
call fcn.00404438
add esp, 0x10
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x14], ecx
push 4
push 0x409850
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 4]
push eax
call fcn.00404438
add esp, 0x10
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x28], edx
cmp dword [ebp + 0x14], 0
jl 0x404645
mov dword [ebp - 0xc], 0x4097d0
mov dword [ebp - 0x18], 8
jmp 0x40465b
mov eax, dword [ebp + 0x14]
neg eax
mov dword [ebp + 0x14], eax
mov dword [ebp - 0xc], 0x409848
mov dword [ebp - 0x18], 0xfffffff8
mov ecx, dword [ebp + 0x14]
sub ecx, 1
mov dword [ebp + 0x14], ecx
cmp dword [ebp + 0x14], 0
jl 0x4049d0
mov dword [ebp - 0x1c], 8
mov edx, dword [ebp - 0x24]
xor edx, dword [ebp - 0x28]
and edx, dword [ebp + 0x10]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
xor eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
xor eax, dword [ecx]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x20]
xor edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0xc]
xor edx, dword [eax + 4]
mov dword [ebp - 4], edx
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x18]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
and edx, 0xff
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
xor ecx, dword [eax + 0x40a490]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
xor eax, dword [edx + 0x40ac90]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 7]
and ecx, 0xff
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
xor eax, dword [edx + 0x40a590]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
xor edx, dword [ecx + 0x40ad90]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 6]
and eax, 0xff
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x10]
xor edx, dword [ecx + 0x40a690]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
xor ecx, dword [eax + 0x40ae90]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 5]
and edx, 0xff
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
xor ecx, dword [eax + 0x40a790]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
xor eax, dword [edx + 0x40af90]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 4]
and ecx, 0xff
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
xor eax, dword [edx + 0x40a890]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
xor edx, dword [ecx + 0x40b090]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 3]
and eax, 0xff
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x10]
xor edx, dword [ecx + 0x40a990]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
xor ecx, dword [eax + 0x40b190]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 2]
and edx, 0xff
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
xor ecx, dword [eax + 0x40aa90]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
xor eax, dword [edx + 0x40b290]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 1]
and ecx, 0xff
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
xor eax, dword [edx + 0x40ab90]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
xor edx, dword [ecx + 0x40b390]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
xor eax, dword [ebp - 0x14]
and eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
xor ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
xor ecx, dword [edx]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 0x20]
xor eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
xor eax, dword [ecx + 4]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x18]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 8]
and eax, 0xff
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
xor edx, dword [ecx + 0x40a490]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
xor ecx, dword [eax + 0x40ac90]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 7]
and edx, 0xff
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
xor ecx, dword [eax + 0x40a590]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
xor eax, dword [edx + 0x40ad90]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 6]
and ecx, 0xff
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
xor eax, dword [edx + 0x40a690]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x28]
xor edx, dword [ecx + 0x40ae90]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 5]
and eax, 0xff
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
xor edx, dword [ecx + 0x40a790]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
xor ecx, dword [eax + 0x40af90]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 4]
and edx, 0xff
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
xor ecx, dword [eax + 0x40a890]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
xor eax, dword [edx + 0x40b090]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 3]
and ecx, 0xff
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
xor eax, dword [edx + 0x40a990]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x28]
xor edx, dword [ecx + 0x40b190]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 2]
and eax, 0xff
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
xor edx, dword [ecx + 0x40aa90]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
xor ecx, dword [eax + 0x40b290]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 1]
and edx, 0xff
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
xor ecx, dword [eax + 0x40ab90]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
xor eax, dword [edx + 0x40b390]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x1c]
sub ecx, 1
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0
jne 0x404675
mov edx, dword [ebp - 0x18]
shl edx, 4
mov eax, dword [ebp - 0xc]
sub eax, edx
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp - 0x24]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x14]
xor edx, dword [ebp - 0x28]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x24]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x28]
xor ecx, dword [ebp - 0x14]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x10]
xor edx, dword [ebp - 0x24]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x14]
xor eax, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
jmp 0x40465b
mov ecx, dword [ebp - 0x10]
sar ecx, 3
and ecx, 0xf0f0f0f
mov edx, dword [ebp - 0x14]
shl edx, 1
and edx, 0xf0f0f0f0
or ecx, edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x24]
sar eax, 3
and eax, 0xf0f0f0f
mov ecx, dword [ebp - 0x28]
shl ecx, 1
and ecx, 0xf0f0f0f0
or eax, ecx
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x10]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
push 8
push 0x409c50
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 8]
push edx
call fcn.00404438
add esp, 0x10
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov dl, byte [ebp - 8]
mov byte [ecx], dl
mov eax, dword [ebp + 0xc]
mov cl, byte [ebp - 7]
mov byte [eax + 1], cl
mov edx, dword [ebp + 0xc]
mov al, byte [ebp - 6]
mov byte [edx + 2], al
mov ecx, dword [ebp + 0xc]
mov dl, byte [ebp - 5]
mov byte [ecx + 3], dl
mov eax, dword [ebp + 0xc]
mov cl, byte [ebp - 4]
mov byte [eax + 4], cl
mov edx, dword [ebp + 0xc]
mov al, byte [ebp - 3]
mov byte [edx + 5], al
mov ecx, dword [ebp + 0xc]
mov dl, byte [ebp - 2]
mov byte [ecx + 6], dl
mov eax, dword [ebp + 0xc]
mov cl, byte [ebp - 1]
mov byte [eax + 7], cl
xor eax, eax
mov esp, ebp
pop ebp
ret