Function at 0x422560
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xe4
mov eax, dword [0x44d0a4]
mov dword [esp + 0x14], 0xc406c634
mov dword [esp + 0x18], 0xc073c275
mov dword [esp + 0x1c], 0xdc7ede1d
mov dword [esp + 0x20], 0xd87ada51
mov dword [esp + 0x24], 0xd4d7d624
mov byte [esp + 0x28], 0
mov dword [esp + 0x58], 0
mov ecx, dword [esp + 0x58]
cmp ecx, 0x14
ja 0x4225eb
nop
nop
nop
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x58]
movzx edx, byte [esp + edx + 0x14]
add ecx, 0x709d5f27
xor ecx, edx
mov dword [esp + 0xb8], ecx
mov ecx, dword [esp + 0xb8]
add cl, 0x12
mov edx, dword [esp + 0x58]
mov byte [esp + edx + 0x14], cl
inc dword [esp + 0x58]
mov ecx, dword [esp + 0x58]
cmp ecx, 0x15
jb 0x4225b0
lea edi, [esp + 0x7c]
lea esi, [esp + 0x14]
push edi
push 0
push 0
push 9
push esi
push 0
call eax
mov ebx, dword [esp + 0x7c]
test ebx, ebx
jns 0x42260e
mov eax, 0xffffffff
jmp 0x422611
lea eax, [ebx + ebx]
push eax
call fcn.00409a50
add esp, 4
mov dword [esp + 0x50], eax
mov eax, dword [0x44d0a4]
mov dword [esp + 0x14], 0x1ddd1b3f
mov dword [esp + 0x18], 0x1901f8e
mov dword [esp + 0x1c], 0x5e503c6
mov dword [esp + 0x20], 0x9e90792
mov dword [esp + 0x24], 0xd0c0b2f
mov byte [esp + 0x28], 0
mov dword [esp + 0x58], 0
mov ecx, dword [esp + 0x58]
cmp ecx, 0x14
ja 0x4226ab
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x58]
movzx edx, byte [esp + edx + 0x14]
add ecx, 0x8708654a
xor ecx, edx
mov dword [esp + 0xb8], ecx
mov ecx, dword [esp + 0xb8]
add cl, 0xb0
mov edx, dword [esp + 0x58]
mov byte [esp + edx + 0x14], cl
inc dword [esp + 0x58]
mov ecx, dword [esp + 0x58]
cmp ecx, 0x15
jb 0x422670
push edi
push ebx
push dword [esp + 0x58]
push 9
push esi
push 0
call eax
mov dword [esp + 0x14], 0x1ba319c2
mov dword [esp + 0x18], 0x1fb91daf
mov dword [esp + 0x1c], 0x13a211af
mov dword [esp + 0x20], 0x171415b6
lea edx, [esp + 0x24]
mov word [esp + 0x24], 0
mov byte [esp + 0x26], 0
mov dword [esp + 0x58], 0
mov eax, dword [esp + 0x58]
cmp eax, 0x12
ja 0x422739
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x58]
movzx ecx, byte [esp + ecx + 0x14]
add eax, 0x4a590fef
xor eax, ecx
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0xb8]
add al, 0x17
mov ecx, dword [esp + 0x58]
mov byte [esp + ecx + 0x14], al
inc dword [esp + 0x58]
mov eax, dword [esp + 0x58]
cmp eax, 0x13
jb 0x422700
lea eax, [esp + 0xd4]
lea esi, [esp + 0x14]
mov edi, eax
mov ecx, 4
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
lea edi, [esp + 0xe4]
xor ecx, ecx
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
mov dword [esp + 0x14], 0xa658a065
mov dword [esp + 0x18], 0xba5ea450
mov dword [esp + 0x1c], 0xbe49b848
mov dword [esp + 0x20], 0xb276bc59
mov dword [esp + 0x24], 0xb645b056
mov dword [esp + 0x28], 0x4abdb452
mov dword [esp + 0x2c], 0x4e4f48c6
lea esi, [esp + 0x30]
mov word [esp + 0x30], 0
mov byte [esp + 0x32], 0
mov dword [esp + 0x58], 0
mov ecx, dword [esp + 0x58]
cmp ecx, 0x1e
ja 0x4227fb
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x58]
movzx edx, byte [esp + edx + 0x14]
add ecx, 0x59a8ebea
xor ecx, edx
mov dword [esp + 0xb8], ecx
mov ecx, dword [esp + 0xb8]
add cl, 0xb5
mov edx, dword [esp + 0x58]
mov byte [esp + edx + 0x14], cl
inc dword [esp + 0x58]
mov ecx, dword [esp + 0x58]
cmp ecx, 0x1f
jb 0x4227c0
lea edx, [esp + 0xb8]
lea ebx, [esp + 0x14]
mov edi, edx
mov ecx, 7
xchg esi, ebx
rep movsd dword es:[edi], dword [esi]
xchg esi, ebx
lea edi, [esp + 0xd4]
xor ecx, ecx
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
mov dword [esp + 0x14], 0xa04abe7b
mov dword [esp + 0x18], 0xa440a236
mov dword [esp + 0x1c], 0xa83ba636
mov dword [esp + 0x20], 0xac5daa4f
mov dword [esp + 0x24], 0x5093ae5b
lea ebx, [esp + 0x28]
mov word [esp + 0x28], 0x5253
mov dword [esp + 0x2a], 0
mov dword [esp + 0x80], 0
mov ecx, dword [esp + 0x80]
cmp ecx, 0x19
ja 0x4228c4
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x80]
mov esi, dword [esp + 0x80]
movzx esi, byte [esp + esi + 0x14]
add ecx, 0x8f3e426e
xor ecx, esi
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x58]
add cl, 0x2f
mov esi, dword [esp + 0x80]
mov byte [esp + esi + 0x14], cl
inc dword [esp + 0x80]
mov ecx, dword [esp + 0x80]
cmp ecx, 0x1a
jb 0x422880
lea esi, [esp + 0x58]
lea ebp, [esp + 0x14]
mov edi, esi
mov ecx, 5
xchg esi, ebp
rep movsd dword es:[edi], dword [esi]
xchg esi, ebp
lea edi, [esp + 0x6c]
mov ecx, 1
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], esi
mov edi, dword [esp + 0x50]
mov eax, edi
add eax, 2
mov dword [esp + 0x90], eax
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x70], 0
cmp ecx, 0xc
setne al
xor ecx, ecx
jmp dword [eax*4 + 0x44910c]
xor al, 0x42