Function at 0x10002e66
Capabilities:
Encode data using xor

Disassembly:
push 0x38
mov eax, 0x10021e7d
call fcn.100215d1
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
xor ebx, ebx
push 0x10028d6c
mov dword [ebp - 0x44], ebx
call fcn.10004090
mov dword [ebp - 4], ebx
mov edi, dword [0x10031080]
test edi, edi
je case.0x10002d87.113
cmp byte [0x100310b9], bl
je 0x10002d70
mov ecx, 0x10b8134
call fcn.1000939a
mov ebx, eax
test ebx, ebx
je 0x10002d6e
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10002d6e
push 4
add ebx, 0x6e4
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10002d6e
mov ax, word [ebx]
mov word [edi + 0x3e], ax
xor ebx, ebx
movzx eax, word [edi + 0x3e]
add eax, 0xffffff9b
cmp eax, 0x6f
ja case.0x10002d87.113
movzx eax, byte [eax + 0x10002f65]
jmp dword [eax*4 + 0x10002f41]
mov cl, 0x7a
mov dword [ebp - 0x40], 0x81b317a
mov dword [ebp - 0x3c], 0x2d5a090f
mov eax, ebx
mov dword [ebp - 0x38], 0x1308081b
mov word [ebp - 0x34], 0x815
mov byte [ebp - 0x32], bl
xor byte [ebp + eax - 0x3f], cl
inc eax
cmp eax, 0xd
jae 0x10002dbf
mov cl, byte [ebp - 0x40]
jmp 0x10002db0
mov byte [ebp - 0x32], bl
jmp 0x10002eff
mov cl, 0x58
mov dword [ebp - 0x3c], 0x2a391358
mov dword [ebp - 0x38], 0xa782b2d
mov eax, ebx
mov dword [ebp - 0x34], 0x3d2d3f37
mov byte [ebp - 0x30], bl
xor byte [ebp + eax - 0x3b], cl
inc eax
cmp eax, 0xb
jae 0x10002df2
mov cl, byte [ebp - 0x3c]
jmp 0x10002de3
mov byte [ebp - 0x30], bl
lea ecx, [ebp - 0x3b]
call fcn.10004078
push eax
lea eax, [ebp - 0x3b]
jmp 0x10002f0b
mov cl, 0x3f
mov dword [ebp - 0x3c], 0x4d5e743f
mov dword [ebp - 0x38], 0x721f4c4a
mov eax, ebx
mov dword [ebp - 0x34], 0x5a585e
xor byte [ebp + eax - 0x3b], cl
inc eax
cmp eax, 0xa
jae 0x10002e2e
mov cl, byte [ebp - 0x3c]
jmp 0x10002e1f
mov byte [ebp - 0x31], bl
jmp 0x10002df5
mov cl, 0x6c
mov dword [ebp - 0x3c], 0x1e0d276c
mov dword [ebp - 0x38], 0x3c4c1f19
mov eax, ebx
mov dword [ebp - 0x34], 0x1f09051e
mov word [ebp - 0x30], 0x18
xor byte [ebp + eax - 0x3b], cl
inc eax
cmp eax, 0xc
jae 0x10002e61
mov cl, byte [ebp - 0x3c]
jmp 0x10002e52
mov byte [ebp - 0x2f], bl
jmp 0x10002df5
movaps xmm0, xmmword [0x1002a6f0]
mov ecx, ebx
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x30], 0x66
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x10
jb 0x10002e79
mov byte [ebp - 0x2f], bl
jmp 0x10002eff
movaps xmm0, xmmword [str.e__tE__n]
mov ecx, ebx
movups xmmword [ebp - 0x40], xmm0
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0xe
jb 0x10002e98
mov byte [ebp - 0x31], bl
jmp 0x10002eff
mov cl, 0x36
mov dword [ebp - 0x40], 0x165a7336
mov dword [ebp - 0x3c], 0x5744597b
mov eax, ebx
mov dword [ebp - 0x38], 0x577b1652
mov word [ebp - 0x34], 0x5351
mov byte [ebp - 0x32], bl
xor byte [ebp + eax - 0x3f], cl
inc eax
cmp eax, 0xd
jae 0x10002dbf
mov cl, byte [ebp - 0x40]
jmp 0x10002ecc
movaps xmm0, xmmword [0x1002a4b0]
mov ecx, ebx
movups xmmword [ebp - 0x40], xmm0
mov byte [ebp - 0x30], bl
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0xf
jb 0x10002eef
mov byte [ebp - 0x30], bl
lea ecx, [ebp - 0x3f]
call fcn.10004078
push eax
lea eax, [ebp - 0x3f]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10004009
lea eax, [ebp - 0x2c]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov ecx, esi
push eax
mov byte [esi], bl
call fcn.10003b00
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.10003f3c
mov eax, esi
call fcn.1002157b
ret 4