Function at 0x1002ba8c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ce57d
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x100f7040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x47]
xorps xmm0, xmm0
mov word [ebp - 0x48], 0x34
mov byte [ebp - 0x47], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b8d0
sub ecx, edx
lea eax, [ebp - 0x47]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.10003370
mov eax, dword [ebp + 0xc]
add eax, 0xfffffffd
mov dword [ebp - 4], 0
cmp eax, 9
ja case.default.0x1002b8fc
jmp dword [eax*4 + 0x1002be3c]
movaps xmm0, xmmword [0x100eec50]
xor ecx, ecx
push 6
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0x131f03
nop dword [eax]
mov al, byte [ebp + ecx - 0x3f]
xor al, byte [ebp - 0x40]
mov byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x12
jb 0x1002b920
sub esp, 0x1c
mov byte [ebp - 0x2d], 0
mov edx, esp
lea ecx, [ebp - 0x3f]
xorps xmm0, xmm0
lea esi, [ecx + 1]
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b960
jmp 0x1002bd27
movaps xmm0, xmmword [0x100ee890]
xor ecx, ecx
push 7
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0x6b677b
mov al, byte [ebp + ecx - 0x3f]
xor al, byte [ebp - 0x40]
mov byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x12
jb 0x1002b982
sub esp, 0x1c
mov byte [ebp - 0x2d], 0
mov edx, esp
lea ecx, [ebp - 0x3f]
xorps xmm0, xmm0
lea esi, [ecx + 1]
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b9c0
jmp 0x1002bd27
movaps xmm0, xmmword [0x100ee9a0]
xor ecx, ecx
push 8
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0x636f73
mov al, byte [ebp + ecx - 0x3f]
xor al, byte [ebp - 0x40]
mov byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x12
jb 0x1002b9e2
sub esp, 0x1c
mov byte [ebp - 0x2d], 0
mov edx, esp
lea ecx, [ebp - 0x3f]
xorps xmm0, xmm0
lea esi, [ecx + 1]
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002ba20
jmp 0x1002bd27
movaps xmm0, xmmword [0x100ef380]
xor ecx, ecx
push 9
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0x262a36
mov al, byte [ebp + ecx - 0x3f]
xor al, byte [ebp - 0x40]
mov byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x12
jb 0x1002ba42
sub esp, 0x1c
mov byte [ebp - 0x2d], 0
mov edx, esp
lea ecx, [ebp - 0x3f]
xorps xmm0, xmm0
lea esi, [ecx + 1]
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002ba80
jmp 0x1002bd27
movaps xmm0, xmmword [0x100ee4f0]
xor ecx, ecx
push 0xa
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0x525e42
mov al, byte [ebp + ecx - 0x3f]
xor al, byte [ebp - 0x40]
mov byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x12
jb 0x1002baa2
sub esp, 0x1c
mov byte [ebp - 0x2d], 0
mov edx, esp
lea ecx, [ebp - 0x3f]
xorps xmm0, xmm0
lea esi, [ecx + 1]
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002bae0
jmp 0x1002bd27
movaps xmm0, xmmword [0x100eeed0]
xor ecx, ecx
push 0xb
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0x20e12
mov al, byte [ebp + ecx - 0x3f]
xor al, byte [ebp - 0x40]
mov byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x12
jb 0x1002bb02
sub esp, 0x1c
mov byte [ebp - 0x2d], 0
mov edx, esp
lea ecx, [ebp - 0x3f]
xorps xmm0, xmm0
lea esi, [ecx + 1]
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002bb40
jmp 0x1002bd27
movaps xmm0, xmmword [0x100eeaf0]
xor ecx, ecx
push 0xc
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0x191509
mov al, byte [ebp + ecx - 0x3f]
xor al, byte [ebp - 0x40]
mov byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x12
jb 0x1002bb62
sub esp, 0x1c
mov byte [ebp - 0x2d], 0
mov edx, esp
lea ecx, [ebp - 0x3f]
xorps xmm0, xmm0
lea esi, [ecx + 1]
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002bba0
jmp 0x1002bd27
movaps xmm0, xmmword [0x100ee980]
xor ecx, ecx
push 0xd
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0x626e72
mov al, byte [ebp + ecx - 0x3f]
xor al, byte [ebp - 0x40]
mov byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x12
jb 0x1002bbc2
sub esp, 0x1c
mov byte [ebp - 0x2d], 0
mov edx, esp
lea ecx, [ebp - 0x3f]
xorps xmm0, xmm0
lea esi, [ecx + 1]
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002bc00
jmp 0x1002bd27
movaps xmm0, xmmword [0x100ee9e0]
xor ecx, ecx
push 0xe
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0x606c70
mov al, byte [ebp + ecx - 0x3f]
xor al, byte [ebp - 0x40]
mov byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x12
jb 0x1002bc22
sub esp, 0x1c
mov byte [ebp - 0x2d], 0
mov edx, esp
lea ecx, [ebp - 0x3f]
xorps xmm0, xmm0
lea esi, [ecx + 1]
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002bc60
jmp 0x1002bd27
movaps xmm0, xmmword [0x100eef80]
xor ecx, ecx
push 0xf
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0x60a16
mov al, byte [ebp + ecx - 0x3f]
xor al, byte [ebp - 0x40]
mov byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x12
jb 0x1002bc82
sub esp, 0x1c
mov byte [ebp - 0x2d], 0
mov edx, esp
lea ecx, [ebp - 0x3f]
xorps xmm0, xmm0
lea esi, [ecx + 1]
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002bcc0
jmp 0x1002bd27
movaps xmm0, xmmword [0x100ef290]
xor ecx, ecx
push esi
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0x222e32
nop
mov al, byte [ebp + ecx - 0x3f]
xor al, byte [ebp - 0x40]
mov byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x12
jb 0x1002bce0
sub esp, 0x1c
mov byte [ebp - 0x2d], 0
mov edx, esp
lea ecx, [ebp - 0x3f]
xorps xmm0, xmm0
lea esi, [ecx + 1]
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002bd20
sub ecx, esi
lea eax, [ebp - 0x3f]
push ecx
push eax
mov ecx, edx
call fcn.10003370
lea eax, [ebp - 0x64]
push eax
call fcn.1002a0f0
mov esi, eax
add esp, 0x24
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x1002bd5a
mov ecx, eax
call fcn.10002f50
push esi
lea ecx, [ebp - 0x2c]
call fcn.10008460
lea ecx, [ebp - 0x64]
call fcn.10002f50
mov eax, dword [ebp - 0x64]
push 8
push eax
mov dword [ebp - 0x64], 0
call fcn.10089370
mov eax, dword [edi]
add esp, 8
mov dword [ebp - 0x44], eax
test eax, eax
je 0x1002be01
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002be01
cmp dword [ebp - 0x14], 0xf
lea ecx, [ebp - 0x28]
cmova ecx, dword [ebp - 0x28]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002bda3
sub ecx, edx
mov dword [ebp - 0x48], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.10089390
push esi
mov edi, eax
push 0
push edi
call fcn.1008c3c0
cmp dword [ebp - 0x14], 0xf
lea edx, [ebp - 0x28]
push dword [ebp - 0x48]
cmova edx, dword [ebp - 0x28]
lea esi, [edi + 0x20]
push edx
push esi
call fcn.1008be40
mov eax, dword [ebp - 0x48]
add esp, 0x1c
mov ecx, dword [ebp - 0x44]
mov dword [edi + 4], esi
mov dword [edi + 0x14], eax
push edi
mov dword [edi + 0x18], 0x1f
call dword [0x100ec63c]
push edi
call fcn.10089370
add esp, 4
lea ecx, [ebp - 0x2c]
call fcn.10002f50
mov eax, dword [ebp - 0x2c]
push 8
push eax
mov dword [ebp - 0x2c], 0
call fcn.10089370
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100892c0
mov esp, ebp
pop ebp
ret 8