Function at 0x10015fe0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov byte [ebp - 0x18], 0x37
mov al, 0x55
xor al, byte [ebp - 0x18]
mov dl, 0x43
push esi
mov esi, ecx
mov byte [ebp - 0x17], al
mov al, byte [ebp - 0x18]
mov bl, 0x59
xor dl, al
mov byte [ebp - 1], 0x52
xor bl, al
mov byte [ebp - 0x16], dl
mov cl, 0x68
mov byte [ebp - 0xe], 0
xor cl, al
mov byte [ebp - 0x15], bl
mov ch, 0x5b
mov byte [ebp - 0x14], cl
xor ch, al
mov byte [ebp - 0xe], 0
mov dh, 0x58
mov byte [ebp - 0x12], ch
xor dh, al
mov bh, 0x44
xor bh, al
mov byte [ebp - 0x11], dh
mov ah, 0x54
mov byte [ebp - 0x10], bh
xor ah, al
lea edx, [ebp - 0x17]
mov al, byte [ebp - 1]
lea ebx, [edx + 1]
xor al, byte [ebp - 0x18]
xorps xmm0, xmm0
push edi
mov edi, dword [esi + 0x20]
sub esp, 0x18
mov ecx, esp
mov byte [ebp - 0x13], ah
mov byte [ebp - 0xf], al
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov al, byte [edx]
inc edx
test al, al
jne 0x10016062
sub edx, ebx
lea eax, [ebp - 0x17]
push edx
push eax
call fcn.10002130
mov ecx, edi
call fcn.100110a0
mov edi, dword [esi + 0x20]
mov cl, 0x45
mov dword [esi], eax
mov ch, cl
mov byte [ebp - 0x18], 0x31
mov al, 0x53
xor al, byte [ebp - 0x18]
mov dl, 0x5f
mov byte [ebp - 0x17], al
mov bl, 0x6e
mov al, byte [ebp - 0x18]
mov dh, 0x50
mov byte [ebp - 1], ch
xor cl, al
xor ch, al
mov byte [ebp - 0x16], cl
mov bh, 0x43
mov byte [ebp - 0x12], ch
xor dl, al
mov byte [ebp - 0xe], 0
xor bl, al
mov byte [ebp - 0x15], dl
xor dh, al
mov byte [ebp - 0x14], bl
xor bh, al
mov byte [ebp - 0x11], dh
mov ecx, esp
mov byte [ebp - 0x10], bh
mov ah, 0x42
mov byte [ebp - 0xe], 0
xor ah, al
lea edx, [ebp - 0x17]
mov al, byte [ebp - 1]
lea ebx, [edx + 1]
xor al, byte [ebp - 0x18]
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov byte [ebp - 0x13], ah
mov byte [ebp - 0xf], al
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov al, byte [edx]
inc edx
test al, al
jne 0x100160f1
sub edx, ebx
lea eax, [ebp - 0x17]
push edx
push eax
call fcn.10002130
mov ecx, edi
call fcn.100110a0
mov edi, dword [esi + 0x20]
mov cl, 0x76
mov dword [esi + 4], eax
mov ch, cl
mov byte [ebp - 0x18], 2
mov al, 0x60
xor al, byte [ebp - 0x18]
mov dl, 0x6c
mov byte [ebp - 0x17], al
mov dh, 0x6d
mov al, byte [ebp - 0x18]
mov bl, 0x5d
xor cl, al
mov byte [ebp - 0xf], 0
xor ch, al
mov byte [ebp - 0x16], cl
xor dl, al
mov byte [ebp - 0x12], ch
mov ecx, esp
mov byte [ebp - 0x15], dl
xor dh, al
mov byte [ebp - 0xf], 0
mov ah, 0x71
mov byte [ebp - 0x11], dh
mov bh, 0x72
lea edx, [ebp - 0x17]
xor bl, al
xor ah, al
xor bh, al
mov byte [ebp - 0x14], bl
xorps xmm0, xmm0
mov byte [ebp - 0x10], bh
movups xmmword [ecx], xmm0
mov byte [ebp - 0x13], ah
lea ebx, [edx + 1]
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov al, byte [edx]
inc edx
test al, al
jne 0x10016175
sub edx, ebx
lea eax, [ebp - 0x17]
push edx
push eax
call fcn.10002130
mov ecx, edi
call fcn.100110a0
movaps xmm0, xmmword [0x1007c680]
add esp, 0x18
mov ebx, dword [esi + 0x20]
xor ecx, ecx
mov dword [esi + 8], eax
movups xmmword [ebp - 0x20], xmm0
mov word [ebp - 0x10], 0x6260
mov byte [ebp - 0xe], 0
nop
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0x11
jb 0x100161b0
sub esp, 0x18
mov byte [ebp - 0xe], 0
mov ecx, esp
lea edx, [ebp - 0x1f]
xorps xmm0, xmm0
lea edi, [edx + 1]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov al, byte [edx]
inc edx
test al, al
jne 0x100161e0
sub edx, edi
lea eax, [ebp - 0x1f]
push edx
push eax
call fcn.10002130
mov ecx, ebx
call fcn.100110a0
mov ebx, dword [esi + 0x20]
add esp, 0x18
mov dword [esi + 0xc], eax
mov cl, 0x45
mov dword [ebp - 0x1c], 0x2b312745
xor eax, eax
mov dword [ebp - 0x18], 0x2a31361a
mov dword [ebp - 0x14], 0x2c1a2e26
mov word [ebp - 0x10], 0x2b2b
mov byte [ebp - 0xe], 0
xor byte [ebp + eax - 0x1b], cl
inc eax
cmp eax, 0xd
jae 0x10016235
mov cl, byte [ebp - 0x1c]
jmp 0x10016226
sub esp, 0x18
mov byte [ebp - 0xe], 0
mov ecx, esp
lea edx, [ebp - 0x1b]
xorps xmm0, xmm0
lea edi, [edx + 1]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov al, byte [edx]
inc edx
test al, al
jne 0x10016258
sub edx, edi
lea eax, [ebp - 0x1b]
push edx
push eax
call fcn.10002130
mov ecx, ebx
call fcn.100110a0
mov edi, dword [esi + 0x20]
mov cl, 0x21
mov dword [esi + 0x10], eax
mov ch, 0x30
mov byte [ebp - 0x18], 0x55
mov al, 0x37
xor al, byte [ebp - 0x18]
mov dh, 0x39
mov byte [ebp - 0x17], al
mov bh, dh
mov al, byte [ebp - 0x18]
mov dl, 0x3b
xor cl, al
mov byte [ebp - 0xf], 0
xor ch, al
mov byte [ebp - 0x16], cl
mov bl, 0xa
mov byte [ebp - 0x12], ch
mov ecx, esp
mov byte [ebp - 0xf], 0
xor dl, al
xor dh, al
mov ah, 0x26
mov byte [ebp - 0x15], dl
xor bl, al
mov byte [ebp - 0x11], dh
xor ah, al
mov byte [ebp - 0x14], bl
xor bh, al
mov byte [ebp - 0x13], ah
xorps xmm0, xmm0
mov byte [ebp - 0x10], bh
movups xmmword [ecx], xmm0
lea edx, [ebp - 0x17]
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
lea ebx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x100162e0
sub edx, ebx
lea eax, [ebp - 0x17]
push edx
push eax
call fcn.10002130
mov ecx, edi
call fcn.100110a0
movaps xmm0, xmmword [0x1007c3b0]
add esp, 0x18
mov ebx, dword [esi + 0x20]
xor ecx, ecx
mov dword [esi + 0x14], eax
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x10], 0x504a514b
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 0x10016320
sub esp, 0x18
mov byte [ebp - 0xc], 0
mov ecx, esp
lea edx, [ebp - 0x1f]
xorps xmm0, xmm0
lea edi, [edx + 1]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov al, byte [edx]
inc edx
test al, al
jne 0x10016350
sub edx, edi
lea eax, [ebp - 0x1f]
push edx
push eax
call fcn.10002130
mov ecx, ebx
call fcn.100110a0
mov edi, eax
add esp, 0x18
mov dword [esi + 0x18], edi
test edi, edi
je 0x1001639a
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push edi
call esi
test eax, eax
jne 0x1001639a
push 4
add edi, 0x128
push edi
call esi
test eax, eax
jne 0x1001639a
mov dword [edi], 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret