Function at 0x10022e40
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, 0x36
mov byte [esp + 0x16], 0
mov edi, ecx
mov byte [esp + 0x16], 0
mov cl, 0x53
mov dword [esp + 0x34], 0xf
mov dh, 0x34
mov byte [esp + 0x10], cl
mov ah, al
mov dword [esp + 0x30], 0
mov dl, 0x3d
mov byte [esp + 0x20], 0
mov bl, 0x3a
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 0x10022ea3
xor ecx, ecx
jmp 0x10022eb9
lea ecx, [esp + 0x11]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10022eb0
sub ecx, edx
push ecx
lea eax, [esp + 0x15]
push eax
lea ecx, [esp + 0x28]
call fcn.10002710
mov ecx, dword [edi + 8]
lea edx, [esp + 0x20]
call fcn.10016fe0
mov ecx, dword [esp + 0x34]
mov esi, eax
cmp ecx, 0x10
jb 0x10022eee
inc ecx
push ecx
push dword [esp + 0x24]
lea ecx, [esp + 0x28]
call fcn.100025f0
mov dh, 0x5e
mov byte [esp + 0x17], 0
mov ch, 0x3f
mov byte [esp + 0x10], dh
mov al, 0x2a
mov byte [esp + 0x17], 0
mov cl, al
mov dword [esp + 0x34], 0xf
mov dl, ch
mov dword [esp + 0x30], 0
mov bl, 0x3d
mov byte [esp + 0x20], 0
mov ah, 0x35
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 0x10022f4b
xor ecx, ecx
jmp 0x10022f5b
lea ecx, [esp + 0x11]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10022f52
sub ecx, edx
push ecx
lea eax, [esp + 0x15]
push eax
lea ecx, [esp + 0x28]
call fcn.10002710
lea edx, [esp + 0x20]
mov ecx, esi
call fcn.10016fe0
mov ecx, dword [esp + 0x34]
mov esi, eax
cmp ecx, 0x10
jb 0x10022f8f
inc ecx
push ecx
push dword [esp + 0x24]
lea ecx, [esp + 0x28]
call fcn.100025f0
movaps xmm0, xmmword [0x10098900]
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 0x10022fa0
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 0x10022fd3
xor ecx, ecx
jmp 0x10022fe9
lea ecx, [esp + 0x11]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10022fe0
sub ecx, edx
push ecx
lea eax, [esp + 0x15]
push eax
lea ecx, [esp + 0x28]
call fcn.10002710
lea edx, [esp + 0x20]
mov ecx, esi
call fcn.10016fe0
mov dword [edi], eax
mov eax, dword [esp + 0x34]
cmp eax, 0x10
jb 0x1002301d
inc eax
lea ecx, [esp + 0x20]
push eax
push dword [esp + 0x24]
call fcn.100025f0
movaps xmm0, xmmword [str.DRHyHIRyGRRGEM]
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 0x10023030
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 0x10023063
xor ecx, ecx
jmp 0x10023079
lea ecx, [esp + 0x11]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10023070
sub ecx, edx
push ecx
lea eax, [esp + 0x15]
push eax
lea ecx, [esp + 0x28]
call fcn.10002710
lea edx, [esp + 0x20]
mov ecx, esi
call fcn.10016fe0
mov dword [edi + 4], eax
mov eax, dword [esp + 0x34]
cmp eax, 0x10
jb 0x100230ae
inc eax
lea ecx, [esp + 0x20]
push eax
push dword [esp + 0x24]
call fcn.100025f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret