Function at 0x10022000
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
push esi
push edi
mov al, 0x19
mov byte [esp + 0x16], 0
mov edi, ecx
mov byte [esp + 0x16], 0
mov cl, 0x7c
mov dword [esp + 0x34], 0xf
mov dh, 0x1b
mov byte [esp + 0x10], cl
mov ah, al
mov dword [esp + 0x30], 0
mov dl, 0x12
mov byte [esp + 0x20], 0
mov bl, 0x15
xor dh, cl
xor al, cl
mov byte [esp + 0x11], dh
xor dl, cl
mov byte [esp + 0x12], al
xor bl, cl
mov byte [esp + 0x13], dl
xor ah, cl
mov byte [esp + 0x14], bl
mov byte [esp + 0x15], ah
test dh, dh
jne 0x10022063
xor ecx, ecx
jmp 0x10022079
lea ecx, [esp + 0x11]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10022070
sub ecx, edx
push ecx
lea eax, [esp + 0x15]
push eax
lea ecx, [esp + 0x28]
call fcn.10002880
mov ecx, dword [edi + 8]
lea edx, [esp + 0x20]
call fcn.10016640
mov ecx, dword [esp + 0x34]
mov esi, eax
cmp ecx, 0x10
jb 0x100220ae
inc ecx
push ecx
push dword [esp + 0x24]
lea ecx, [esp + 0x28]
call fcn.10002760
mov dh, 0x39
mov byte [esp + 0x17], 0
mov ch, 0x58
mov byte [esp + 0x10], dh
mov al, 0x4d
mov byte [esp + 0x17], 0
mov cl, al
mov dword [esp + 0x34], 0xf
mov dl, ch
mov dword [esp + 0x30], 0
mov bl, 0x5a
mov byte [esp + 0x20], 0
mov ah, 0x52
xor ch, dh
xor al, dh
mov byte [esp + 0x11], ch
xor cl, dh
mov byte [esp + 0x12], al
xor dl, dh
mov byte [esp + 0x13], cl
xor bl, dh
mov byte [esp + 0x14], dl
xor ah, dh
mov byte [esp + 0x15], bl
mov byte [esp + 0x16], ah
test ch, ch
jne 0x1002210b
xor ecx, ecx
jmp 0x1002211b
lea ecx, [esp + 0x11]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10022112
sub ecx, edx
push ecx
lea eax, [esp + 0x15]
push eax
lea ecx, [esp + 0x28]
call fcn.10002880
lea edx, [esp + 0x20]
mov ecx, esi
call fcn.10016640
mov ecx, dword [esp + 0x34]
mov esi, eax
cmp ecx, 0x10
jb 0x1002214f
inc ecx
push ecx
push dword [esp + 0x24]
lea ecx, [esp + 0x28]
call fcn.10002760
movaps xmm0, xmmword [0x100b14c0]
xor ecx, ecx
movups xmmword [esp + 0x10], xmm0
nop dword [eax]
mov al, byte [esp + 0x10]
xor byte [esp + ecx + 0x11], al
inc ecx
cmp ecx, 0xe
jb 0x10022160
cmp byte [esp + 0x11], 0
mov byte [esp + 0x1f], 0
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
jne 0x10022193
xor ecx, ecx
jmp 0x100221a9
lea ecx, [esp + 0x11]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100221a0
sub ecx, edx
push ecx
lea eax, [esp + 0x15]
push eax
lea ecx, [esp + 0x28]
call fcn.10002880
lea edx, [esp + 0x20]
mov ecx, esi
call fcn.10016640
mov dword [edi], eax
mov eax, dword [esp + 0x34]
cmp eax, 0x10
jb 0x100221dd
inc eax
lea ecx, [esp + 0x20]
push eax
push dword [esp + 0x24]
call fcn.10002760
movaps xmm0, xmmword [0x100b1270]
xor ecx, ecx
movups xmmword [esp + 0x10], xmm0
nop dword [eax + eax]
mov al, byte [esp + 0x10]
xor byte [esp + ecx + 0x11], al
inc ecx
cmp ecx, 0xe
jb 0x100221f0
cmp byte [esp + 0x11], 0
mov byte [esp + 0x1f], 0
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
jne 0x10022223
xor ecx, ecx
jmp 0x10022239
lea ecx, [esp + 0x11]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10022230
sub ecx, edx
push ecx
lea eax, [esp + 0x15]
push eax
lea ecx, [esp + 0x28]
call fcn.10002880
lea edx, [esp + 0x20]
mov ecx, esi
call fcn.10016640
mov dword [edi + 4], eax
mov eax, dword [esp + 0x34]
cmp eax, 0x10
jb 0x1002226e
inc eax
lea ecx, [esp + 0x20]
push eax
push dword [esp + 0x24]
call fcn.10002760
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret