Function at 0x1002f9f0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008f391
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc8
push esi
push edi
mov eax, dword [0x100ad040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x20], esi
xor cl, cl
mov byte [ebp - 0x15], cl
nop dword [eax + eax]
movzx edi, cl
lea eax, [edi + edi*2]
shl eax, 3
mov dword [ebp - 0x34], eax
mov ecx, dword [eax + esi + 0x44]
test ecx, ecx
je 0x1002fc52
push ecx
call dword [0x100a30f8]
test eax, eax
je 0x1002fc4f
movaps xmm0, xmmword [0x100a49a0]
lea eax, [edi + edi*2]
movzx eax, word [esi + eax*8 + 0x48]
xor ecx, ecx
push eax
movzx eax, word [esi + edi*2 + 0x130]
push eax
movups xmmword [ebp - 0x44], xmm0
mov al, byte [ebp - 0x44]
xor byte [ebp + ecx - 0x43], al
inc ecx
cmp ecx, 0xe
jb 0x1002fa86
sub esp, 0x18
mov byte [ebp - 0x35], 0
mov edx, esp
lea ecx, [ebp - 0x43]
xorps xmm0, xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0x14], eax
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002fac0
sub ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x43]
push ecx
push eax
mov ecx, edx
call fcn.100051e0
lea eax, [ebp - 0xa4]
push eax
call fcn.10004d80
add esp, 0x24
mov edx, eax
mov dword [ebp - 4], 0
cmp dword [edx + 0x14], 0xf
jbe 0x1002faf6
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x4c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x5c], xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0x14], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002fb13
sub ecx, dword [ebp - 0x14]
push ecx
push edx
lea ecx, [ebp - 0x5c]
call fcn.100051e0
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 1
mov eax, dword [eax + esi + 0x50]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1002fb53
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002fb53
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x5c]
push eax
call dword [0x100a31a0]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x1002fb8b
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002fb81
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003004a
push ecx
push edx
call fcn.10069bf1
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
cmp ecx, 0xf
jbe 0x1002fbde
mov edx, dword [ebp - 0xa4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002fbd4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003004a
push ecx
push edx
call fcn.10069bf1
add esp, 8
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
movzx esi, word [esi + edi*2 + 0x130]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov eax, dword [eax + ecx + 0x54]
mov byte [ebp - 0xa4], 0
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1002ffec
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002fe65
mov ecx, dword [ebp - 0x14]
sub esp, 0xc
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov dword [esp + 8], eax
mov dword [esp + 4], eax
movss dword [esp], xmm0
call dword [0x100a3190]
mov esi, dword [ebp - 0x20]
jmp 0x1002ffee
mov eax, dword [ebp - 0x34]
cmp dword [eax + esi + 0x44], 1
jne 0x1002fe6d
cmp byte [eax + esi + 0x4a], 0
je 0x1002fe6d
lea eax, [edi + edi*2]
mov byte [ebp - 0x30], 0xa
movzx eax, word [esi + eax*8 + 0x48]
mov dl, 0x2a
push eax
movzx eax, word [esi + edi*2 + 0x130]
mov cl, 0x6e
push eax
mov al, 0x2f
mov byte [ebp - 0x21], cl
mov dh, al
mov byte [ebp - 0x28], 0
xor al, byte [ebp - 0x30]
mov ch, dl
mov byte [ebp - 0x2f], al
mov ah, 0x25
mov al, byte [ebp - 0x30]
xorps xmm0, xmm0
xor cl, al
mov byte [ebp - 0x28], 0
xor dl, al
mov byte [ebp - 0x2e], cl
xor ch, al
mov byte [ebp - 0x2d], dl
xor dh, al
mov byte [ebp - 0x2b], ch
xor ah, al
mov byte [ebp - 0x2a], dh
mov al, byte [ebp - 0x21]
lea ecx, [ebp - 0x2f]
xor al, byte [ebp - 0x30]
sub esp, 0x18
mov edx, esp
mov byte [ebp - 0x2c], ah
mov byte [ebp - 0x29], al
lea eax, [ecx + 1]
mov dword [ebp - 0x14], eax
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002fce2
sub ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x2f]
push ecx
push eax
mov ecx, edx
call fcn.100051e0
lea eax, [ebp - 0xbc]
push eax
call fcn.10004d80
add esp, 0x24
mov edx, eax
mov dword [ebp - 4], 2
cmp dword [edx + 0x14], 0xf
jbe 0x1002fd18
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x64], 0
xorps xmm0, xmm0
mov dword [ebp - 0x60], 0
movups xmmword [ebp - 0x74], xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0x14], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002fd35
sub ecx, dword [ebp - 0x14]
push ecx
push edx
lea ecx, [ebp - 0x74]
call fcn.100051e0
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 3
mov eax, dword [esi + eax + 0x50]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1002fd75
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002fd75
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x74]
push eax
call dword [0x100a31a0]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x60]
cmp ecx, 0xf
jbe 0x1002fdad
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002fda3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003004a
push ecx
push edx
call fcn.10069bf1
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
cmp ecx, 0xf
jbe 0x1002fe00
mov edx, dword [ebp - 0xbc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002fdf6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003004a
push ecx
push edx
call fcn.10069bf1
add esp, 8
mov ecx, dword [ebp - 0x20]
lea eax, [edi + edi*2]
movzx esi, word [esi + edi*2 + 0x130]
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0xf
mov eax, dword [ecx + eax*8 + 0x54]
mov byte [ebp - 0xbc], 0
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1002ffec
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002fe65
mov ecx, dword [ebp - 0x14]
sub esp, 0xc
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov dword [esp + 8], eax
mov dword [esp + 4], eax
movss dword [esp], xmm0
call dword [0x100a3190]
mov esi, dword [ebp - 0x20]
jmp 0x1002ffee
lea eax, [edi + edi*2]
mov word [ebp - 0x1c], 5
movzx eax, word [esi + eax*8 + 0x48]
lea ecx, [ebp - 0x1b]
push eax
sub esp, 0x18
mov byte [ebp - 0x1b], 0
mov edx, esp
lea eax, [ecx + 1]
xorps xmm0, xmm0
mov dword [ebp - 0x14], eax
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002fea2
sub ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x1b]
push ecx
push eax
mov ecx, edx
call fcn.100051e0
lea eax, [ebp - 0xd4]
push eax
call fcn.10004d80
add esp, 0x20
mov edx, eax
mov dword [ebp - 4], 4
cmp dword [edx + 0x14], 0xf
jbe 0x1002fed8
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x7c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0
movups xmmword [ebp - 0x8c], xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0x14], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002fef8
sub ecx, dword [ebp - 0x14]
push ecx
push edx
lea ecx, [ebp - 0x8c]
call fcn.100051e0
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 5
mov eax, dword [esi + eax + 0x50]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1002ff3e
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002ff3e
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x8c]
push eax
call dword [0x100a31a0]
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x78]
cmp ecx, 0xf
jbe 0x1002ff79
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002ff6f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003004a
push ecx
push edx
call fcn.10069bf1
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
cmp ecx, 0xf
jbe 0x1002ffcf
mov edx, dword [ebp - 0xd4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002ffc5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003004a
push ecx
push edx
call fcn.10069bf1
add esp, 8
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0xf
mov byte [ebp - 0xd4], 0
jmp 0x1002ffee
mov esi, ecx
mov ax, word [esi + edi*2 + 0x130]
lea ecx, [edi + edi*2]
cmp ax, word [esi + ecx*8 + 0x48]
jb 0x10030025
lea eax, [edi + edi*2]
mov edi, dword [esi + eax*8 + 0x50]
test edi, edi
je 0x10030025
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10030025
push 0xff80ff00
mov ecx, edi
call dword [0x100a31a8]
mov cl, byte [ebp - 0x15]
inc cl
mov byte [ebp - 0x15], cl
cmp cl, 3
jb 0x1002fa40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1006f2c1
int3