Function at 0x4223b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xe4
mov eax, dword [0x449d30]
mov dword [esp + 0x10], 0x80ce8ee8
mov dword [esp + 0x14], 0x84338231
mov dword [esp + 0x18], 0x982686c1
mov dword [esp + 0x1c], 0x9c3a9a2d
mov dword [esp + 0x20], 0x909f9ef8
mov word [esp + 0x24], 0
mov dword [esp + 0x68], 0
mov ecx, dword [esp + 0x68]
cmp ecx, 0x15
ja 0x42243b
nop
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x68]
movzx edx, byte [esp + edx + 0x10]
add ecx, 0x411fa525
xor ecx, edx
mov dword [esp + 0xb8], ecx
mov ecx, dword [esp + 0xb8]
add cl, 0x58
mov edx, dword [esp + 0x68]
mov byte [esp + edx + 0x10], cl
inc dword [esp + 0x68]
mov ecx, dword [esp + 0x68]
cmp ecx, 0x16
jb 0x422400
lea edi, [esp + 0x80]
lea esi, [esp + 0x10]
push edi
push 0
push 0
push 9
push esi
push 0
call eax
mov ebx, dword [esp + 0x80]
test ebx, ebx
jns 0x422464
mov eax, 0xffffffff
jmp 0x422467
lea eax, [ebx + ebx]
push eax
call fcn.00409630
add esp, 4
mov dword [esp + 0x54], eax
mov eax, dword [0x449d30]
mov dword [esp + 0x10], 0x78ba7a90
mov dword [esp + 0x14], 0x7cef7ee9
mov dword [esp + 0x18], 0x60c262b9
mov dword [esp + 0x1c], 0x64c666f5
mov dword [esp + 0x20], 0x686b6a80
mov byte [esp + 0x24], 0
mov dword [esp + 0x68], 0
mov ecx, dword [esp + 0x68]
cmp ecx, 0x14
ja 0x422508
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x68]
movzx edx, byte [esp + edx + 0x10]
lea ebp, [ecx + edx]
add ecx, 0x87
and ecx, edx
add ecx, ecx
sub ebp, ecx
add ebp, 0x95ac9887
mov dword [esp + 0xb8], ebp
mov ecx, dword [esp + 0xb8]
add cl, 0xe
mov edx, dword [esp + 0x68]
mov byte [esp + edx + 0x10], cl
inc dword [esp + 0x68]
mov ecx, dword [esp + 0x68]
cmp ecx, 0x15
jb 0x4224c0
push edi
push ebx
push dword [esp + 0x5c]
push 9
push esi
push 0
call eax
mov dword [esp + 0x10], 0x48a24683
mov dword [esp + 0x14], 0x4ca84abe
mov dword [esp + 0x18], 0x50a34ebe
mov dword [esp + 0x1c], 0x545552b7
lea edx, [esp + 0x20]
mov word [esp + 0x20], 0
mov dword [esp + 0x68], 0
mov eax, dword [esp + 0x68]
cmp eax, 0x11
ja 0x4225b1
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x68]
movzx ecx, byte [esp + ecx + 0x10]
mov esi, eax
and esi, 0x944bf86
xor eax, 0x944bf86
lea eax, [eax + esi*2]
xor eax, ecx
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0xb8]
mov ecx, eax
not ecx
and ecx, 0xc1
and eax, 0x3e
sub eax, ecx
mov ecx, dword [esp + 0x68]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 0x68]
mov eax, dword [esp + 0x68]
cmp eax, 0x12
jb 0x422560
lea eax, [esp + 0xd4]
lea esi, [esp + 0x10]
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 + 0x10], 0x5cf65e9d
mov dword [esp + 0x14], 0x208422ea
mov dword [esp + 0x18], 0x24912692
mov dword [esp + 0x1c], 0x28ec2a81
mov dword [esp + 0x20], 0x2c9d2e88
mov dword [esp + 0x24], 0x3085328c
mov dword [esp + 0x28], 0x34373688
lea esi, [esp + 0x2c]
mov word [esp + 0x2c], 0
mov byte [esp + 0x2e], 0
mov dword [esp + 0x68], 0
mov ecx, dword [esp + 0x68]
cmp ecx, 0x1e
ja 0x42267b
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x68]
movzx edx, byte [esp + edx + 0x10]
add ecx, 0x117b683b
xor ecx, edx
mov dword [esp + 0xb8], ecx
mov ecx, dword [esp + 0xb8]
add cl, 0x9e
mov edx, dword [esp + 0x68]
mov byte [esp + edx + 0x10], cl
inc dword [esp + 0x68]
mov ecx, dword [esp + 0x68]
cmp ecx, 0x1f
jb 0x422640
lea edx, [esp + 0xb8]
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 + 0xd4]
xor ecx, ecx
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
mov dword [esp + 0x10], 0x1790346
mov dword [esp + 0x14], 0x5630771
mov dword [esp + 0x18], 0x196e1b69
mov dword [esp + 0x1c], 0x1d4c1f7a
mov dword [esp + 0x20], 0x11561346
lea esi, [esp + 0x24]
mov dword [esp + 0x24], 0x1716
mov dword [esp + 0x90], 0
mov ecx, dword [esp + 0x90]
cmp ecx, 0x17
ja 0x422734
nop
nop
mov ecx, dword [esp + 0x90]
mov edi, dword [esp + 0x90]
movzx edi, byte [esp + edi + 0x10]
add ecx, 0x53f13908
xor ecx, edi
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x68]
add cl, 0xf6
mov edi, dword [esp + 0x90]
mov byte [esp + edi + 0x10], cl
inc dword [esp + 0x90]
mov ecx, dword [esp + 0x90]
cmp ecx, 0x18
jb 0x4226f0
lea ebx, [esp + 0x68]
lea ebp, [esp + 0x10]
mov ecx, 5
mov edi, ebx
xchg esi, ebp
rep movsd dword es:[edi], dword [esi]
xchg esi, ebp
lea edi, [esp + 0x7c]
mov ecx, 1
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], ebx
mov eax, dword [esp + 0x54]
add eax, 2
mov dword [esp + 0x8c], eax
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x88], 0
cmp ecx, 0xc
setne al
xor ecx, ecx
jmp dword [eax*4 + 0x4461bc]