Function at 0x1002eed0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10092e0c
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
push ebx
push esi
push edi
mov eax, dword [0x100bb084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
movzx eax, word [edi + 0x138]
xor ecx, ecx
movzx edx, word [edi + 0x136]
movaps xmm0, xmmword [0x100afaf0]
push eax
mov word [edi + 0x13e], dx
mov word [edi + 0x140], ax
push edx
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x3c], 0x3a77363b
mov byte [ebp - 0x38], 0
mov al, byte [ebp - 0x4c]
xor byte [ebp + ecx - 0x4b], al
inc ecx
cmp ecx, 0x13
jb 0x1002ef36
sub esp, 0x18
mov byte [ebp - 0x38], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x1002ef64
mov eax, dword [edx]
jmp 0x1002ef66
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x4b], 0
jne 0x1002ef73
xor ecx, ecx
jmp 0x1002ef89
lea ecx, [ebp - 0x4b]
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002ef80
sub ecx, esi
push ecx
lea eax, [ebp - 0x4b]
mov ecx, edx
push eax
call fcn.10004d00
lea eax, [ebp - 0xac]
push eax
call fcn.10004670
add esp, 0x24
mov edx, eax
mov dword [ebp - 4], 0
cmp dword [edx + 0x14], 0x10
jb 0x1002efb5
mov edx, dword [edx]
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x64], 0
cmp byte [edx], 0
jne 0x1002efd0
xor ecx, ecx
jmp 0x1002efde
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002efd5
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x64]
call fcn.10004d00
mov byte [ebp - 4], 1
mov esi, dword [edi + 0xc]
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test esi, esi
je 0x1002f00e
push 4
push esi
call ebx
test eax, eax
jne 0x1002f00e
lea eax, [ebp - 0x64]
mov ecx, esi
push eax
call dword [0x100adae4]
mov eax, dword [ebp - 0x50]
cmp eax, 0x10
jb 0x1002f023
inc eax
lea ecx, [ebp - 0x64]
push eax
push dword [ebp - 0x64]
call fcn.10004bb0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x64], 0
cmp eax, 0x10
jb 0x1002f05a
inc eax
lea ecx, [ebp - 0xac]
push eax
push dword [ebp - 0xac]
call fcn.10004bb0
lea ecx, [edi + 0x12a]
mov dword [ebp - 0x98], 0xf
mov edx, 3
mov dword [ebp - 0x9c], 0
mov byte [ebp - 0xac], 0
lea esi, [edi + 0x44]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], edx
nop dword [eax]
movzx eax, word [ecx - 6]
mov dword [esi], eax
mov ax, word [ecx]
mov word [esi + 4], ax
mov al, byte [edi + 0x13b]
mov byte [esi + 6], al
mov eax, dword [esi]
test eax, eax
je 0x1002f0b9
push eax
call dword [0x100ada3c]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
test eax, eax
je 0x1002f2ad
movzx eax, word [esi + 4]
mov cl, 0x1b
push eax
mov dword [ebp - 0x34], 0x756e531b
xor eax, eax
mov dword [ebp - 0x30], 0x3b363b6f
mov dword [ebp - 0x2c], 0x3b343b2b
mov word [ebp - 0x28], 0x7f3e
mov byte [ebp - 0x26], 0
nop dword [eax]
xor byte [ebp + eax - 0x33], cl
inc eax
cmp eax, 0xd
jae 0x1002f0ff
mov cl, byte [ebp - 0x34]
jmp 0x1002f0f0
sub esp, 0x18
mov byte [ebp - 0x26], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x1002f120
mov eax, dword [edx]
jmp 0x1002f122
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x33], 0
jne 0x1002f12f
xor ecx, ecx
jmp 0x1002f13e
lea ecx, [ebp - 0x33]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002f135
sub ecx, edi
push ecx
lea eax, [ebp - 0x33]
mov ecx, edx
push eax
call fcn.10004d00
lea eax, [ebp - 0xc4]
push eax
call fcn.10004670
add esp, 0x20
mov edx, eax
mov dword [ebp - 4], 2
cmp dword [edx + 0x14], 0x10
jb 0x1002f16a
mov edx, dword [edx]
mov dword [ebp - 0x68], 0xf
mov dword [ebp - 0x6c], 0
mov byte [ebp - 0x7c], 0
cmp byte [edx], 0
jne 0x1002f185
xor ecx, ecx
jmp 0x1002f199
mov ecx, edx
lea edi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002f190
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x7c]
call fcn.10004d00
mov byte [ebp - 4], 3
mov edi, dword [esi + 0xc]
test edi, edi
je 0x1002f1c3
push 4
push edi
call ebx
test eax, eax
jne 0x1002f1c3
lea eax, [ebp - 0x7c]
mov ecx, edi
push eax
call dword [0x100adae4]
mov eax, dword [ebp - 0x68]
cmp eax, 0x10
jb 0x1002f1d8
inc eax
lea ecx, [ebp - 0x7c]
push eax
push dword [ebp - 0x7c]
call fcn.10004bb0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x68], 0xf
mov dword [ebp - 0x6c], 0
mov byte [ebp - 0x7c], 0
cmp eax, 0x10
jb 0x1002f20f
inc eax
lea ecx, [ebp - 0xc4]
push eax
push dword [ebp - 0xc4]
call fcn.10004bb0
mov edi, dword [esi + 0xc]
mov dword [ebp - 0xb0], 0xf
mov dword [ebp - 0xb4], 0
mov byte [ebp - 0xc4], 0
test edi, edi
je 0x1002f244
push 4
push edi
call ebx
test eax, eax
jne 0x1002f244
push 0xffffffffffffffff
mov ecx, edi
call dword [0x100adaec]
movzx eax, word [esi + 4]
mov edi, dword [esi + 0x10]
mov dword [ebp - 0x1c], eax
test edi, edi
je 0x1002f4a3
push 4
push edi
call ebx
test eax, eax
jne 0x1002f4a3
push 4
lea ebx, [edi + 0x128]
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002f49d
lea eax, [edi + 0x124]
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002f49d
mov eax, dword [ebp - 0x1c]
mov ecx, edi
mov dword [ebx], 0
mov dword [edi + 0x124], eax
call dword [0x100adad0]
jmp 0x1002f49d
cmp dword [esi], 1
jne 0x1002f4ac
cmp byte [esi + 6], 0
je 0x1002f4ac
movzx eax, word [esi + 4]
mov dh, 6
push eax
mov cl, 0x26
mov byte [ebp - 0x24], dh
mov dl, 0x29
mov byte [ebp - 0x1d], 0
xor dl, dh
mov byte [ebp - 0x1d], 0
mov bl, cl
mov byte [ebp - 0x21], dl
mov al, 0x36
mov ah, 0x23
mov ch, 0x62
xor al, dh
xor cl, dh
mov byte [ebp - 0x23], al
xor bl, dh
mov byte [ebp - 0x22], cl
xor ah, dh
mov byte [ebp - 0x20], bl
xor ch, dh
mov byte [ebp - 0x1f], ah
sub esp, 0x18
mov byte [ebp - 0x1e], ch
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x1002f319
mov eax, dword [edx]
jmp 0x1002f31b
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x23], 0
jne 0x1002f328
xor ecx, ecx
jmp 0x1002f339
lea ecx, [ebp - 0x23]
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002f330
sub ecx, edi
push ecx
lea eax, [ebp - 0x23]
mov ecx, edx
push eax
call fcn.10004d00
lea eax, [ebp - 0xdc]
push eax
call fcn.10004670
add esp, 0x20
mov edx, eax
mov dword [ebp - 4], 4
cmp dword [edx + 0x14], 0x10
jb 0x1002f365
mov edx, dword [edx]
mov dword [ebp - 0x80], 0xf
mov dword [ebp - 0x84], 0
mov byte [ebp - 0x94], 0
cmp byte [edx], 0
jne 0x1002f386
xor ecx, ecx
jmp 0x1002f399
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002f390
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x94]
call fcn.10004d00
mov byte [ebp - 4], 5
mov edi, dword [esi + 0xc]
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test edi, edi
je 0x1002f3cf
push 4
push edi
call ebx
test eax, eax
jne 0x1002f3cf
lea eax, [ebp - 0x94]
mov ecx, edi
push eax
call dword [0x100adae4]
mov eax, dword [ebp - 0x80]
cmp eax, 0x10
jb 0x1002f3ea
inc eax
lea ecx, [ebp - 0x94]
push eax
push dword [ebp - 0x94]
call fcn.10004bb0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x80], 0xf
mov dword [ebp - 0x84], 0
mov byte [ebp - 0x94], 0
cmp eax, 0x10
jb 0x1002f427
inc eax
lea ecx, [ebp - 0xdc]
push eax
push dword [ebp - 0xdc]
call fcn.10004bb0
mov edi, dword [esi + 0xc]
mov dword [ebp - 0xc8], 0xf
mov dword [ebp - 0xcc], 0
mov byte [ebp - 0xdc], 0
test edi, edi
je 0x1002f45c
push 4
push edi
call ebx
test eax, eax
jne 0x1002f45c
push 0xffffffffffffffff
mov ecx, edi
call dword [0x100adaec]
movzx eax, word [esi + 4]
mov edi, dword [esi + 0x10]
mov dword [ebp - 0x1c], eax
test edi, edi
je 0x1002f4a3
push 4
push edi
call ebx
test eax, eax
jne 0x1002f4a3
push 4
lea ebx, [edi + 0x128]
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002f49d
lea eax, [edi + 0x124]
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x1002f291
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov edi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
add ecx, 2
add esi, 0x18
sub edx, 1
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], edx
jne 0x1002f090
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret