Function at 0x1002c100
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10096278
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x100be084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
movzx ecx, word [ebp + 0xc]
movzx eax, word [ebp + 8]
movzx edx, word [ebp + 0x14]
mov dword [ebp - 0x4c], ecx
movzx ecx, word [ebp + 0x10]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x44], 0
mov dword [ebp - 4], 1
test ax, ax
je 0x1002c49d
test cx, cx
je 0x1002c49d
cmp dword [esi + 0x2c], 0
ja 0x1002c49d
cmp dword [ebp + 0x2c], 0x10
lea eax, [ebp + 0x18]
lea ecx, [ebp - 0x28]
cmovae eax, dword [ebp + 0x18]
push eax
call fcn.100056d0
mov byte [ebp - 4], 2
mov edi, dword [esi + 4]
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test edi, edi
je 0x1002c1b3
push 4
push edi
call ebx
test eax, eax
jne 0x1002c1b3
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call dword [0x100b0938]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1002c1cc
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10005480
cmp dword [ebp + 0x44], 0x10
lea eax, [ebp + 0x30]
lea ecx, [ebp - 0x28]
cmovae eax, dword [ebp + 0x30]
push eax
call fcn.100056d0
mov byte [ebp - 4], 3
mov edi, dword [esi + 8]
test edi, edi
je 0x1002c200
push 4
push edi
call ebx
test eax, eax
jne 0x1002c200
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call dword [0x100b0938]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1002c219
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10005480
mov edi, dword [esi + 0xc]
test edi, edi
je 0x1002c232
push 4
push edi
call ebx
test eax, eax
jne 0x1002c232
push eax
mov ecx, edi
call dword [0x100b093c]
mov edi, dword [esi + 0x10]
test edi, edi
je 0x1002c24b
push 4
push edi
call ebx
test eax, eax
jne 0x1002c24b
push eax
mov ecx, edi
call dword [0x100b093c]
mov edi, dword [ebp - 0x84]
cmp di, 0xffff
je 0x1002c483
cmp word [ebp - 0x48], 0xffff
je 0x1002c483
push str.symbol_
mov edx, 0x100c7330
lea ecx, [ebp - 0x28]
call fcn.10015630
add esp, 4
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 4], 4
test ax, ax
jne 0x1002c2cb
movaps xmm0, xmmword [0x100b2bc0]
xor ecx, ecx
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x58], 0x511b5e47
mov word [ebp - 0x54], 0x414d
mov byte [ebp - 0x52], al
mov al, byte [ebp - 0x68]
xor byte [ebp + ecx - 0x67], al
inc ecx
cmp ecx, 0x15
jb 0x1002c2a4
lea eax, [ebp - 0x67]
mov byte [ebp - 0x52], 0
push eax
lea ecx, [ebp - 0xc8]
call fcn.100056d0
mov ebx, 1
jmp 0x1002c302
cmp dword [ebp - 0x14], 0x10
cwde
push eax
movsx eax, di
push eax
push 1
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
sub esp, 0x18
mov ecx, esp
push str._ss__d__d__d.dxt
call fcn.100056d0
lea eax, [ebp - 0xb0]
push eax
call fcn.10004f40
add esp, 0x2c
mov ebx, 2
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x44], ebx
call fcn.10004ec0
mov dword [ebp - 4], 6
test bl, 2
je 0x1002c32b
and ebx, 0xfffffffd
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x44], ebx
call fcn.10005060
mov byte [ebp - 4], 7
test bl, 1
je 0x1002c345
and ebx, 0xfffffffe
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0x44], ebx
call fcn.10005060
mov ecx, dword [esi + 0x14]
lea edx, [ebp - 0x40]
call fcn.10015ee0
mov ecx, dword [esi + 0x14]
sub esp, 0x1c
call fcn.10015f10
mov eax, dword [ebp - 0x50]
add esp, 0x1c
test ax, ax
jne 0x1002c3a8
movaps xmm0, xmmword [0x100b2d50]
xor ecx, ecx
movups xmmword [ebp - 0x80], xmm0
mov dword [ebp - 0x70], 0x602a6f76
mov word [ebp - 0x6c], 0x707c
mov byte [ebp - 0x6a], al
mov al, byte [ebp - 0x80]
xor byte [ebp + ecx - 0x7f], al
inc ecx
cmp ecx, 0x15
jb 0x1002c383
lea eax, [ebp - 0x7f]
mov byte [ebp - 0x6a], 0
push eax
lea ecx, [ebp - 0xf8]
call fcn.100056d0
or ebx, 4
jmp 0x1002c41d
cmp dword [ebp - 0x14], 0x10
movaps xmm0, xmmword [0x100b2dc0]
cwde
push eax
mov eax, dword [ebp - 0x48]
cwde
push eax
lea eax, [ebp - 0x28]
mov word [ebp - 0x88], 0x6b
cmovae eax, dword [ebp - 0x28]
xor ecx, ecx
push 1
push eax
movups xmmword [ebp - 0x98], xmm0
nop word [eax + eax]
mov al, byte [ebp - 0x98]
xor byte [ebp + ecx - 0x97], al
inc ecx
cmp ecx, 0x10
jb 0x1002c3e0
sub esp, 0x18
mov byte [ebp - 0x87], 0
lea eax, [ebp - 0x97]
mov ecx, esp
push eax
call fcn.100056d0
lea eax, [ebp - 0xe0]
push eax
call fcn.10004f40
add esp, 0x2c
or ebx, 8
push eax
lea ecx, [ebp - 0x40]
call fcn.10010a20
test bl, 8
je 0x1002c439
lea ecx, [ebp - 0xe0]
and ebx, 0xfffffff7
call fcn.10005060
mov dword [ebp - 4], 7
test bl, 4
je 0x1002c450
lea ecx, [ebp - 0xf8]
call fcn.10005060
mov ecx, dword [esi + 0x18]
lea edx, [ebp - 0x40]
call fcn.10015ee0
mov ecx, dword [esi + 0x18]
sub esp, 0x1c
call fcn.10015f10
add esp, 0x1c
lea ecx, [ebp - 0x40]
call fcn.10005060
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.10005060
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov esi, dword [esi + 0x34]
test esi, esi
je 0x1002c49d
push 4
push esi
call ebx
test eax, eax
jne 0x1002c49d
push 1
mov ecx, esi
call dword [0x100b08d4]
mov eax, dword [ebp + 0x2c]
cmp eax, 0x10
jb 0x1002c4b2
inc eax
lea ecx, [ebp + 0x18]
push eax
push dword [ebp + 0x18]
call fcn.10005480
mov eax, dword [ebp + 0x44]
mov dword [ebp + 0x2c], 0xf
mov dword [ebp + 0x28], 0
mov byte [ebp + 0x18], 0
cmp eax, 0x10
jb 0x1002c4d9
inc eax
lea ecx, [ebp + 0x30]
push eax
push dword [ebp + 0x30]
call fcn.10005480
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005cea0
mov esp, ebp
pop ebp
ret 0x40