Function at 0x1003c160
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esi]
test edi, edi
je 0x1003c18b
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003c18b
mov eax, dword [0x1009f604]
mov ecx, edi
call eax
mov edi, eax
jmp 0x1003c18d
xor edi, edi
mov ebx, dword [esi]
or edi, 0x20
test ebx, ebx
je 0x1003c1ac
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003c1ac
push edi
mov ecx, ebx
call dword [0x1009f608]
mov edi, dword [esi]
mov al, 0x68
mov byte [ebp - 0x14], 0xa
mov cl, 0x7e
xor al, byte [ebp - 0x14]
mov dl, 0x64
mov byte [ebp - 0x13], al
mov bl, 0x55
mov al, byte [ebp - 0x14]
mov ch, 0x66
xor cl, al
mov byte [ebp - 1], 0x6f
xor dl, al
mov byte [ebp - 0x12], cl
xor bl, al
mov byte [ebp - 0x11], dl
xor ch, al
mov byte [ebp - 0xa], 0
mov dh, 0x65
mov byte [ebp - 0xe], ch
xor dh, al
mov byte [ebp - 0x10], bl
mov bh, 0x79
mov byte [ebp - 0xd], dh
xor bh, al
mov byte [ebp - 0xa], 0
mov ah, 0x69
mov byte [ebp - 0xc], bh
xor ah, al
lea edx, [ebp - 0x13]
mov al, byte [ebp - 1]
lea ebx, [edx + 1]
xor al, byte [ebp - 0x14]
xorps xmm0, xmm0
sub esp, 0x18
mov byte [ebp - 0xf], ah
mov ecx, esp
mov byte [ebp - 0xb], 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 0x1003c222
sub edx, ebx
lea eax, [ebp - 0x13]
push edx
push eax
call fcn.100048a0
mov ecx, edi
call fcn.10015920
mov ebx, dword [esi]
add esp, 0x18
mov dword [esi + 4], eax
mov cl, 0x1a
mov dword [ebp - 0x18], 0x746e781a
xor eax, eax
mov dword [ebp - 0x14], 0x687b6d45
mov dword [ebp - 0x10], 0x68757368
mov byte [ebp - 0xc], 0
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 0xb
jae 0x1003c270
mov cl, byte [ebp - 0x18]
jmp 0x1003c261
sub esp, 0x18
mov byte [ebp - 0xc], 0
mov ecx, esp
lea edx, [ebp - 0x17]
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 0x1003c293
sub edx, edi
lea eax, [ebp - 0x17]
push edx
push eax
call fcn.100048a0
mov ecx, ebx
call fcn.10015920
mov edi, dword [esi]
mov cl, 0x61
mov dword [esi + 8], eax
mov ch, 0x7a
mov byte [ebp - 0x14], 0x15
mov al, 0x77
xor al, byte [ebp - 0x14]
mov dl, 0x7b
mov byte [ebp - 0x13], al
mov bl, 0x4a
mov al, byte [ebp - 0x14]
mov dh, 0x72
xor cl, al
mov byte [ebp - 1], 0x70
xor ch, al
mov byte [ebp - 0x12], cl
mov bh, 0x60
mov byte [ebp - 0xe], ch
xor dl, al
mov byte [ebp - 0xa], 0
xor bl, al
mov byte [ebp - 0x11], dl
xor dh, al
mov byte [ebp - 0x10], bl
xor bh, al
mov byte [ebp - 0xd], dh
mov ecx, esp
mov byte [ebp - 0xc], bh
mov ah, 0x67
mov byte [ebp - 0xa], 0
xor ah, al
lea edx, [ebp - 0x13]
mov al, byte [ebp - 1]
lea ebx, [edx + 1]
xor al, byte [ebp - 0x14]
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov byte [ebp - 0xf], ah
mov byte [ebp - 0xb], al
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov al, byte [edx]
inc edx
test al, al
jne 0x1003c323
sub edx, ebx
lea eax, [ebp - 0x13]
push edx
push eax
call fcn.100048a0
mov ecx, edi
call fcn.10015920
mov edi, dword [esi]
mov cl, 0x12
mov dword [esi + 0xc], eax
mov ch, 7
mov byte [ebp - 0x14], 0x66
mov al, 4
xor al, byte [ebp - 0x14]
mov dl, 8
mov byte [ebp - 0x13], al
mov dh, 1
mov al, byte [ebp - 0x14]
mov bl, 0x39
xor cl, al
mov byte [ebp - 0xb], 0
xor ch, al
mov byte [ebp - 0x12], cl
xor dl, al
mov byte [ebp - 0xe], ch
mov ecx, esp
mov byte [ebp - 0x11], dl
xor dh, al
mov byte [ebp - 0xb], 0
mov ah, 0xb
mov byte [ebp - 0xd], dh
mov bh, 3
lea edx, [ebp - 0x13]
xor bl, al
xor ah, al
xor bh, al
mov byte [ebp - 0x10], bl
xorps xmm0, xmm0
mov byte [ebp - 0xc], bh
movups xmmword [ecx], xmm0
mov byte [ebp - 0xf], 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 0x1003c3a6
sub edx, ebx
lea eax, [ebp - 0x13]
push edx
push eax
call fcn.100048a0
mov ecx, edi
call fcn.10015920
mov edi, dword [esi]
mov cl, 0x1a
mov dword [esi + 0x10], eax
xor dl, dl
mov byte [ebp - 2], cl
mov al, 0xc
mov byte [ebp - 0x14], 0x6e
mov ch, 0x1c
xor al, byte [ebp - 0x14]
mov bl, 0x31
xor cl, byte [ebp - 0x14]
mov dh, 7
mov byte [ebp - 0x13], al
mov bh, 0xb
mov byte [ebp - 0x12], cl
mov ah, 0x1e
mov cl, byte [ebp - 0x14]
xorps xmm0, xmm0
mov byte [ebp - 1], 0x1d
xor bl, cl
mov al, byte [ebp - 1]
xor ch, cl
xor al, cl
mov byte [ebp - 9], dl
xor dl, cl
mov byte [ebp - 0xb], al
mov al, byte [ebp - 2]
xor dh, cl
xor bh, cl
mov byte [ebp - 0xe], ch
xor ah, cl
mov byte [ebp - 0x11], dl
xor al, cl
mov byte [ebp - 0xd], dh
mov ecx, esp
mov byte [ebp - 0x10], bl
lea edx, [ebp - 0x13]
mov byte [ebp - 0xc], bh
mov byte [ebp - 0xf], ah
lea ebx, [edx + 1]
mov byte [ebp - 0xa], al
movups xmmword [ecx], xmm0
mov byte [ebp - 9], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov al, byte [edx]
inc edx
test al, al
jne 0x1003c440
sub edx, ebx
lea eax, [ebp - 0x13]
push edx
push eax
call fcn.100048a0
mov ecx, edi
call fcn.10015920
movaps xmm0, xmmword [0x100a12a0]
add esp, 0x18
mov ebx, dword [esi]
xor ecx, ecx
mov dword [esi + 0x14], eax
movups xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 0xc], 0x464e4a
mov al, byte [ebp - 0x1c]
xor byte [ebp + ecx - 0x1b], al
inc ecx
cmp ecx, 0x12
jb 0x1003c476
sub esp, 0x18
mov byte [ebp - 9], 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 0x1003c4a6
sub edx, edi
lea eax, [ebp - 0x1b]
push edx
push eax
call fcn.100048a0
mov ecx, ebx
call fcn.10015920
movaps xmm0, xmmword [0x100a0f10]
add esp, 0x18
mov ebx, dword [esi]
xor ecx, ecx
mov dword [esi + 0x18], eax
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x10], 0x219030f
mov word [ebp - 0xc], 0x18
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0x14
jb 0x1003c4e2
sub esp, 0x18
mov byte [ebp - 0xb], 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 0x1003c512
sub edx, edi
lea eax, [ebp - 0x1f]
push edx
push eax
call fcn.100048a0
mov ecx, ebx
call fcn.10015920
movaps xmm0, xmmword [0x100a0e30]
add esp, 0x18
mov ebx, dword [esi]
xor ecx, ecx
mov dword [esi + 0x1c], eax
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x10], 0x2f231f2c
mov dword [ebp - 0xc], 0x342e35
nop
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0x16
jb 0x1003c550
sub esp, 0x18
mov byte [ebp - 9], 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 0x1003c580
sub edx, edi
lea eax, [ebp - 0x1f]
push edx
push eax
call fcn.100048a0
mov ecx, ebx
call fcn.10015920
add esp, 0x18
mov dword [esi + 0x20], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret