Function at 0x422c10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x160
mov dword [esp + 0x10], 0xa3e3a1f9
mov dword [esp + 0x14], 0xdf4cdd32
mov dword [esp + 0x18], 0xdbbbd9a2
mov dword [esp + 0x1c], 0xd7b7d556
mov dword [esp + 0x20], 0xd3d0d189
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0
mov dword [esp + 0x27], 0
mov dword [esp + 0x8c], 0
mov ecx, dword [esp + 0x8c]
cmp ecx, 0x1a
ja 0x422cdc
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x8c]
movzx edx, byte [esp + edx + 0x10]
mov esi, ecx
and esi, 0xac535bb
xor ecx, 0xac535bb
lea ecx, [ecx + esi*2]
lea esi, [ecx + edx]
and ecx, edx
add ecx, ecx
sub esi, ecx
mov dword [esp + 0xc0], esi
mov ecx, dword [esp + 0xc0]
add cl, 0xe3
mov edx, dword [esp + 0x8c]
mov byte [esp + edx + 0x10], cl
inc dword [esp + 0x8c]
mov ecx, dword [esp + 0x8c]
cmp ecx, 0x1b
jb 0x422c80
lea esi, [esp + 0x132]
lea edx, [esp + 0x10]
mov ecx, 5
mov edi, esi
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0x146]
xor ecx, ecx
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
lea edi, [esp + 0x88]
push edi
push 0
push 0
push 9
push esi
push 0
call dword [0x447260]
mov ebx, dword [esp + 0x88]
test ebx, ebx
jns 0x422d2b
mov eax, 0xffffffff
jmp 0x422d2e
lea eax, [ebx + ebx]
push eax
call fcn.00408d80
add esp, 4
push edi
push ebx
mov dword [esp + 0x80], eax
push eax
push 9
push esi
push 0
call dword [0x447260]
mov dword [esp + 0x10], 0xdb33d914
mov dword [esp + 0x14], 0xe705e517
mov dword [esp + 0x18], 0xe310e117
mov dword [esp + 0x1c], 0xefeeed00
lea edx, [esp + 0x20]
mov word [esp + 0x20], 0
mov byte [esp + 0x22], 0
mov dword [esp + 0x8c], 0
mov eax, dword [esp + 0x8c]
cmp eax, 0x12
ja 0x422df4
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x8c]
movzx ecx, byte [esp + ecx + 0x10]
lea esi, [eax + 0x5b086f9c]
and esi, ecx
add eax, ecx
add eax, 0x5b086f9c
add esi, esi
sub eax, esi
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0xc0]
add al, 0xbc
mov ecx, dword [esp + 0x8c]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 0x8c]
mov eax, dword [esp + 0x8c]
cmp eax, 0x13
jb 0x422da0
lea edi, [esp + 0x122]
lea esi, [esp + 0x10]
mov ecx, 4
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
lea edi, [esp + 0x132]
xor ecx, ecx
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
mov dword [esp + 0x10], 0x5bb35994
mov dword [esp + 0x14], 0x47a545d7
mov dword [esp + 0x18], 0x43d041d7
mov dword [esp + 0x1c], 0x4f8d4da0
mov dword [esp + 0x20], 0x4bdc49a9
mov dword [esp + 0x24], 0x77e47595
mov dword [esp + 0x28], 0x737271e9
lea esi, [esp + 0x2c]
mov dword [esp + 0x2c], 0
mov word [esp + 0x30], 0
mov dword [esp + 0x8c], 0
mov ecx, dword [esp + 0x8c]
cmp ecx, 0x21
ja 0x422edc
nop
nop
nop
nop
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x8c]
movzx edx, byte [esp + edx + 0x10]
lea edi, [ecx - 0x61e2fb74]
mov ebx, edx
not ebx
or ebx, edi
and edi, edx
add edi, ebx
neg edi
add ecx, edi
add ecx, 0x9e1d048b
mov dword [esp + 0xc0], ecx
mov ecx, dword [esp + 0xc0]
add cl, 0x2c
mov edx, dword [esp + 0x8c]
mov byte [esp + edx + 0x10], cl
inc dword [esp + 0x8c]
mov ecx, dword [esp + 0x8c]
cmp ecx, 0x22
jb 0x422e80
lea edx, [esp + 0x8c]
lea ebx, [esp + 0x10]
mov edi, edx
mov ecx, 7
xchg esi, ebx
rep movsd dword es:[edi], dword [esi]
xchg esi, ebx
lea edi, [esp + 0xa8]
xor ecx, ecx
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
mov dword [esp + 0x10], 0x63f3652a
mov dword [esp + 0x14], 0x6fcd61ff
mov dword [esp + 0x18], 0x6bf26dff
mov dword [esp + 0x1c], 0x57d869c6
mov dword [esp + 0x20], 0x531a55ea
lea ebx, [esp + 0x24]
mov dword [esp + 0x24], 0x5152
mov dword [esp + 0xf8], 0
mov ecx, dword [esp + 0xf8]
cmp ecx, 0x17
ja 0x422fa7
nop
mov ecx, dword [esp + 0xf8]
mov esi, dword [esp + 0xf8]
movzx esi, byte [esp + esi + 0x10]
lea edi, [ecx + esi]
add edi, 0x7f2a9b51
add ecx, 0x7f2a9b51
and ecx, esi
add ecx, ecx
sub edi, ecx
mov dword [esp + 0xc0], edi
mov ecx, dword [esp + 0xc0]
add cl, 0xc9
mov esi, dword [esp + 0xf8]
mov byte [esp + esi + 0x10], cl
inc dword [esp + 0xf8]
mov ecx, dword [esp + 0xf8]
cmp ecx, 0x18
jb 0x422f50
lea esi, [esp + 0x146]
lea eax, [esp + 0x10]
mov ecx, 5
mov edi, esi
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
lea edi, [esp + 0x15a]
mov ecx, 1
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
lea eax, [esp + 0x122]
mov dword [esp + 0x114], eax
mov dword [esp + 0x118], edx
mov dword [esp + 0x11c], esi
mov eax, dword [esp + 0x78]
add eax, 2
mov dword [esp + 0xac], eax
xor edx, edx
mov dword [esp + 0x7c], 0
jmp 0x42302c
mov eax, dword [0x442ba4]
mov ecx, 0x93e8ebf1
xor ecx, dword [0x442bac]
add eax, ecx
inc eax
nop
jmp eax