Function at 0x420d9a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
push 8
pop ecx
mov esi, 0x431e08
lea edi, [ebp - 0x2c]
rep movsd dword es:[edi], dword [esi]
push 0x48
xor ebx, ebx
pop ecx
mov edx, ebx
cmp cx, word [ebp - 0x2c]
jne 0x420ddd
mov eax, ebx
test cx, cx
je 0x420ddd
cmp word [ebp + eax - 0x2c], bx
je 0x420ddd
inc edx
lea eax, [edx + edx]
movzx ecx, word [eax + str.HKEY_DYN_DATA]
cmp cx, word [ebp + eax - 0x2c]
je 0x420dbf
mov ecx, dword [0x435a20]
mov eax, ebx
inc eax
cmp byte [eax + 0x432380], bl
jne 0x420de5
lea edx, [ecx + 0x72224e50]
cmp eax, 0x138a
je 0x420e01
lea edx, [ecx + 0x2b6d5c41]
mov eax, dword [0x435a14]
lea edi, [ebp - 0x18]
mov esi, 0x42c538
mov ecx, eax
xor eax, 0x9004a6b7
xor ecx, 0x92dc8dec
add edx, 0xa07d10a2
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
mov eax, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
cmp byte [ebp - 0x18], 0x63
jne 0x420e4b
mov cl, 0x63
test cl, cl
je 0x420e4b
cmp byte [ebp + eax - 0x18], bl
je 0x420e4b
mov cl, byte [eax + 0x432231]
inc eax
cmp cl, byte [ebp + eax - 0x18]
je 0x420e34
movzx ecx, byte [eax + str.connection_aborted]
movzx eax, byte [ebp + eax - 0x18]
sub ecx, eax
cmp ecx, 0x1207
je 0x420e6a
mov edx, dword [ebp - 4]
add edx, 0xc89e91c3
push 5
pop ecx
mov esi, 0x42cba8
lea edi, [ebp - 0x24]
rep movsd dword es:[edi], dword [esi]
or edx, 0x1f19f915
mov eax, ebx
mov dword [ebp - 0xc], edx
movsb byte es:[edi], byte [esi]
cmp byte [ebp - 0x24], 0x28
jne 0x420eb7
mov cl, 0x28
test cl, cl
je 0x420ea2
cmp byte [ebp + eax - 0x24], bl
je 0x420ea2
mov cl, byte [eax + 0x432381]
inc eax
cmp cl, byte [ebp + eax - 0x24]
je 0x420e8b
mov ecx, dword [ebp - 0xc]
cmp ecx, eax
jae 0x420eb7
mov edx, dword [ebp - 4]
and edx, 0x2cecd09d
inc ecx
cmp ecx, eax
jb 0x420eac
mov eax, dword [ebp - 0xc]
mov ecx, ebx
mov edx, eax
and edx, 0xbc29226e
mov dword [0x435a14], edx
xor eax, 0x79514d1d
inc ecx
cmp byte [ecx + 0x432380], bl
jne 0x420eca
cmp ecx, 0xea5
jne 0x420ef0
mov edx, eax
or edx, 0xf30ec84f
mov dword [0x435a14], edx
jmp 0x420ef9
lea eax, [edx + 0x2746a53e]
mov dword [ebp - 8], eax
mov esi, 0x4306cc
lea edi, [ebp - 0x1c]
mov eax, edx
or eax, 0xb5d97f9d
mov dword [ebp - 4], eax
mov eax, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
cmp byte [ebp - 0x1c], 0x28
jne 0x420f31
push 0x28
pop ecx
test cl, cl
je 0x420f31
cmp byte [ebp + eax - 0x1c], bl
je 0x420f31
mov cl, byte [eax + 0x432381]
inc eax
cmp cl, byte [ebp + eax - 0x1c]
je 0x420f1a
movzx ecx, byte [eax + 0x432380]
movzx eax, byte [ebp + eax - 0x1c]
sub ecx, eax
cmp ecx, 0x2210
mov ecx, dword [ebp - 4]
je 0x420f58
mov edx, ecx
and edx, 0xedc21a3
mov dword [0x435a14], edx
mov esi, dword [ebp - 8]
lea eax, [ecx - 0x62237100]
add esi, 0x9fa377fa
mov dword [0x435a48], eax
mov dword [0x435a34], esi
inc ebx
cmp byte [ebx + 0x432380], 0
jne 0x420f72
mov eax, dword [ebp - 0xc]
jmp 0x420f9b
cmp eax, 0x11fe
jne 0x420f94
lea edx, [ecx - 0x5bf46f2e]
mov dword [0x435a14], edx
xor ecx, 0x36f6bb18
inc eax
cmp eax, ebx
jb 0x420f81
imul ecx, esi, 0x61ea903c
mov eax, edx
pop edi
pop esi
pop ebx
mov dword [0x435a20], ecx
leave
ret