Function at 0x420020
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xbc
push eax
sub esp, 0x10
mov ebx, esp
sub esp, 0xc
mov dword [ebp - 0x64], esp
sub esp, 0x14
mov edi, esp
sub esp, 0x20
mov dword [ebp - 0x18], esp
sub esp, 0x1c
mov dword [ebp - 0x20], esp
sub esp, 0x20
mov dword [ebp - 0x60], esp
push eax
mov dword [ebp - 0x50], esp
push eax
mov dword [ebp - 0x74], esp
sub esp, 0x1c
mov dword [ebp - 0x7c], esp
sub esp, 8
mov dword [ebp - 0xac], esp
sub esp, 8
mov dword [ebp - 0x58], esp
sub esp, 0x10
mov dword [ebp - 0x68], esp
sub esp, 0x34
mov esi, esp
sub esp, 0x18
mov dword [ebp - 0x44], esp
sub esp, 8
mov dword [ebp - 0x70], esp
mov eax, dword [0x4440fc]
mov dword [ebp - 0x38], 0xf333cde9
mov dword [ebp - 0x34], 0xf766f160
mov dword [ebp - 0x30], 0xfb1bf530
mov dword [ebp - 0x2c], 0xff1ff96c
mov dword [ebp - 0x28], 0xe3e2fdd9
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x13
ja 0x4200ee
nop
nop
nop
nop
nop
nop
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x1c]
movzx edx, byte [ebp + edx - 0x38]
add ecx, 0x25546c9e
xor ecx, edx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
add cl, 0xae
mov edx, dword [ebp - 0x1c]
mov byte [ebp + edx - 0x38], cl
inc dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x14
jb 0x4200c0
lea edx, [ebp - 0x54]
lea ecx, [ebp - 0x38]
push edx
push 0
push 0
push 9
push ecx
push 0
call eax
mov eax, dword [ebp - 0x54]
test eax, eax
mov dword [ebp - 0x24], eax
jns 0x420111
mov eax, 0xffffffff
jmp 0x420113
add eax, eax
push eax
call fcn.00409510
add esp, 4
mov dword [ebp - 0x3c], eax
mov eax, dword [0x4440fc]
mov dword [ebx], 0xb53154d
mov dword [ebx + 4], 0xf98099a
mov dword [ebx + 8], 0x3ab0d4a
mov dword [ebx + 0xc], 0x7a70196
mov dword [ebx + 0x10], 0x7b04055d
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x10]
cmp ecx, 0x13
ja 0x42018c
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
movzx edx, byte [ebx + edx]
add ecx, 0xc6ecbfad
xor ecx, edx
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x38]
add cl, 0x45
mov edx, dword [ebp - 0x10]
mov byte [ebx + edx], cl
inc dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
cmp ecx, 0x14
jb 0x420160
lea ecx, [ebp - 0x54]
push ecx
push dword [ebp - 0x24]
push dword [ebp - 0x3c]
push 9
push ebx
push 0
call eax
mov dword [edi], 0xb323b54a
mov dword [edi + 4], 0xaf2db13f
mov dword [edi + 8], 0xab22ad3f
mov dword [edi + 0xc], 0xa7a8a936
mov byte [edi + 0x10], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
cmp eax, 0x10
ja 0x4201fa
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [edi + ecx]
add eax, 0xc08e88e9
xor eax, ecx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
add al, 0xa1
mov ecx, dword [ebp - 0x10]
mov byte [edi + ecx], al
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, 0x11
jb 0x4201d0
mov eax, dword [ebp - 0x64]
mov dword [eax], edi
mov edi, dword [ebp - 0x18]
mov dword [edi], 0x33ab3174
mov dword [edi + 4], 0x375535a7
mov dword [edi + 8], 0x2bb829b7
mov dword [edi + 0xc], 0x2f6d2d48
mov dword [edi + 0x10], 0x23bc2141
mov dword [edi + 0x14], 0x27b42545
mov dword [edi + 0x18], 0x5b5a59d1
mov byte [edi + 0x1c], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
cmp eax, 0x1c
mov edx, dword [ebp - 0x44]
ja 0x42027a
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [edi + ecx]
add eax, 0x409a36a8
xor eax, ecx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
add al, 0x68
mov ecx, dword [ebp - 0x10]
mov byte [edi + ecx], al
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, 0x1d
jb 0x420250
mov eax, dword [ebp - 0x64]
mov dword [eax + 4], edi
mov edi, dword [ebp - 0x20]
mov dword [edi], 0xfb63f9c2
mov dword [edi + 4], 0xff59fd6f
mov dword [edi + 8], 0xf362f16f
mov dword [edi + 0xc], 0xf744f556
mov dword [edi + 0x10], 0xebaae942
mov word [edi + 0x14], 0xedea
mov dword [edi + 0x16], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
cmp eax, 0x19
ja 0x4202fa
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [edi + ecx]
add eax, 0xcdc49a3f
xor eax, ecx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
add al, 0x47
mov ecx, dword [ebp - 0x10]
mov byte [edi + ecx], al
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, 0x1a
jb 0x4202d0
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x64]
mov dword [eax + 8], edi
mov eax, dword [0x4400b0]
nop
nop
nop
jmp eax