Function at 0x10023170
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov byte [ebp - 0x18], 0x11
mov al, 0x73
xor al, byte [ebp - 0x18]
mov dl, 0x65
push esi
mov esi, ecx
mov byte [ebp - 0x17], al
mov al, byte [ebp - 0x18]
mov dh, 0x72
xor dl, al
mov byte [ebp - 1], 0x74
xor dh, al
mov byte [ebp - 0x16], dl
mov cl, 0x7e
mov byte [ebp - 0x13], dh
xor cl, al
mov byte [ebp - 0xe], 0
mov ch, 0x62
mov byte [ebp - 0x11], cl
xor ch, al
mov byte [ebp - 0xe], 0
mov bl, 0x7f
mov byte [ebp - 0x10], ch
xor bl, al
lea ecx, [ebp - 0x17]
mov ah, 0x4e
mov byte [ebp - 0x15], bl
xor ah, al
mov bh, 0x7d
xor bh, al
mov byte [ebp - 0x14], ah
mov al, byte [ebp - 1]
xorps xmm0, xmm0
xor al, byte [ebp - 0x18]
push edi
sub esp, 0x18
mov byte [ebp - 0x12], bh
mov edx, esp
mov byte [ebp - 0xf], al
lea edi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100231f0
sub ecx, edi
lea eax, [ebp - 0x17]
push ecx
push eax
mov ecx, edx
call fcn.10005220
mov ecx, dword [esi + 0x20]
call fcn.100138b0
mov dword [esi], eax
mov cl, 0x34
mov byte [ebp - 0x18], 0x40
mov al, 0x22
xor al, byte [ebp - 0x18]
mov dl, 0x2e
mov byte [ebp - 0x17], al
mov dh, 0x21
mov al, byte [ebp - 0x18]
mov ch, cl
xor dl, al
mov byte [ebp - 1], ch
xor dh, al
mov byte [ebp - 0x15], dl
xor cl, al
mov byte [ebp - 0x11], dh
xor ch, al
mov byte [ebp - 0x16], cl
mov edx, esp
mov byte [ebp - 0x12], ch
mov bl, 0x1f
mov byte [ebp - 0xe], 0
mov ah, 0x33
mov byte [ebp - 0xe], 0
mov bh, 0x32
lea ecx, [ebp - 0x17]
xor bl, al
lea edi, [ecx + 1]
xor ah, al
mov byte [ebp - 0x14], bl
xor bh, al
mov byte [ebp - 0x13], ah
mov al, byte [ebp - 1]
xorps xmm0, xmm0
xor al, byte [ebp - 0x18]
movups xmmword [edx], xmm0
mov byte [ebp - 0x10], bh
mov byte [ebp - 0xf], al
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10023280
sub ecx, edi
lea eax, [ebp - 0x17]
push ecx
push eax
mov ecx, edx
call fcn.10005220
mov ecx, dword [esi + 0x20]
call fcn.100138b0
mov dword [esi + 4], eax
mov dl, 0x45
mov byte [ebp - 0x18], 0x2b
mov al, 0x49
xor al, byte [ebp - 0x18]
mov dh, 0x44
mov byte [ebp - 0x17], al
mov cl, 0x5f
mov al, byte [ebp - 0x18]
mov ch, cl
xor dl, al
mov byte [ebp - 0xf], 0
xor dh, al
mov byte [ebp - 0x15], dl
xor cl, al
mov byte [ebp - 0x11], dh
mov edx, esp
mov byte [ebp - 0x16], cl
xor ch, al
mov byte [ebp - 0xf], 0
mov bl, 0x74
mov byte [ebp - 0x12], ch
mov ah, 0x58
lea ecx, [ebp - 0x17]
mov bh, 0x5b
lea edi, [ecx + 1]
xor bl, al
xor ah, al
xorps xmm0, xmm0
mov byte [ebp - 0x14], bl
xor bh, al
mov byte [ebp - 0x13], ah
movups xmmword [edx], xmm0
mov byte [ebp - 0x10], bh
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10023304
sub ecx, edi
lea eax, [ebp - 0x17]
push ecx
push eax
mov ecx, edx
call fcn.10005220
mov ecx, dword [esi + 0x20]
call fcn.100138b0
movaps xmm0, xmmword [0x10077560]
add esp, 0x18
mov dword [esi + 8], eax
xor ecx, ecx
movups xmmword [ebp - 0x20], xmm0
mov word [ebp - 0x10], 0x797b
mov byte [ebp - 0xe], 0
nop
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0x11
jb 0x10023340
sub esp, 0x18
mov byte [ebp - 0xe], 0
mov edx, esp
lea ecx, [ebp - 0x1f]
xorps xmm0, xmm0
lea edi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10023370
sub ecx, edi
lea eax, [ebp - 0x1f]
push ecx
push eax
mov ecx, edx
call fcn.10005220
mov ecx, dword [esi + 0x20]
call fcn.100138b0
add esp, 0x18
mov dword [esi + 0xc], eax
mov cl, 0x51
mov dword [ebp - 0x1c], 0x3f253351
mov dword [ebp - 0x18], 0x3e25220e
xor eax, eax
mov dword [ebp - 0x14], 0x380e3a32
mov word [ebp - 0x10], 0x3f3f
mov byte [ebp - 0xe], 0
xor byte [ebp + eax - 0x1b], cl
inc eax
cmp eax, 0xd
jae 0x100233c5
mov cl, byte [ebp - 0x1c]
jmp 0x100233b6
sub esp, 0x18
mov byte [ebp - 0xe], 0
mov edx, esp
lea ecx, [ebp - 0x1b]
xorps xmm0, xmm0
lea edi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100233e8
sub ecx, edi
lea eax, [ebp - 0x1b]
push ecx
push eax
mov ecx, edx
call fcn.10005220
mov ecx, dword [esi + 0x20]
call fcn.100138b0
mov dword [esi + 0x10], eax
mov dh, 0x77
mov byte [ebp - 0x18], 0x1b
mov al, 0x79
xor al, byte [ebp - 0x18]
mov dl, 0x75
mov bh, dh
mov byte [ebp - 0x17], al
mov al, byte [ebp - 0x18]
mov cl, 0x6f
xor dl, al
mov byte [ebp - 0xf], 0
xor dh, al
mov byte [ebp - 0x15], dl
mov ch, 0x7e
mov byte [ebp - 0x11], dh
mov edx, esp
mov byte [ebp - 0xf], 0
xor cl, al
xor ch, al
mov bl, 0x44
mov byte [ebp - 0x16], cl
mov ah, 0x68
mov byte [ebp - 0x12], ch
xor bl, al
lea ecx, [ebp - 0x17]
xor ah, al
mov byte [ebp - 0x14], bl
xorps xmm0, xmm0
mov byte [ebp - 0x13], ah
xor bh, al
lea edi, [ecx + 1]
movups xmmword [edx], xmm0
mov byte [ebp - 0x10], bh
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10023470
sub ecx, edi
lea eax, [ebp - 0x17]
push ecx
push eax
mov ecx, edx
call fcn.10005220
mov ecx, dword [esi + 0x20]
call fcn.100138b0
movaps xmm0, xmmword [0x10077440]
add esp, 0x18
mov dword [esi + 0x14], eax
xor ecx, ecx
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x10], 0x7c667d67
mov byte [ebp - 0xc], 0
nop dword [eax + eax]
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0x13
jb 0x100234b0
sub esp, 0x18
mov byte [ebp - 0xc], 0
mov edx, esp
lea ecx, [ebp - 0x1f]
xorps xmm0, xmm0
lea edi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100234e0
sub ecx, edi
lea eax, [ebp - 0x1f]
push ecx
push eax
mov ecx, edx
call fcn.10005220
mov ecx, dword [esi + 0x20]
call fcn.100138b0
mov edi, eax
add esp, 0x18
mov dword [esi + 0x18], edi
test edi, edi
je 0x1002352d
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push edi
call esi
test eax, eax
jne 0x1002352d
push 4
add edi, 0x128
push edi
call esi
test eax, eax
jne 0x1002352d
mov dword [edi], 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret