Function at 0x10002f48
Capabilities:
Encode data using xor

Disassembly:
push 0x38
mov eax, 0x100778ed
call fcn.10040a5d
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
xor ebx, ebx
push 0x1008ae93
mov dword [ebp - 0x44], ebx
call fcn.10004181
mov dword [ebp - 4], ebx
mov edi, dword [0x100a6048]
test edi, edi
je case.0x10002e42.113
cmp byte [0x100a610a], bl
je 0x10002e2b
mov ecx, 0x10b8134
call fcn.10010043
mov ebx, eax
test ebx, ebx
je 0x10002e29
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10002e29
push 4
add ebx, 0x6e4
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10002e29
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.0x10002e42.113
movzx eax, byte [eax + 0x10003024]
jmp dword [eax*4 + 0x10003000]
mov cl, 0x52
mov dword [ebp - 0x40], 0x20331952
mov dword [ebp - 0x3c], 0x5722127
mov eax, ebx
mov dword [ebp - 0x38], 0x3b202033
mov word [ebp - 0x34], 0x203d
mov byte [ebp - 0x32], bl
xor byte [ebp + eax - 0x3f], cl
inc eax
cmp eax, 0xd
jae 0x10002e7a
mov cl, byte [ebp - 0x40]
jmp 0x10002e6b
mov byte [ebp - 0x32], bl
jmp 0x10002fbc
mov cl, 0x42
mov dword [ebp - 0x3c], 0x30230942
mov dword [ebp - 0x38], 0x10623137
mov eax, ebx
mov dword [ebp - 0x34], 0x2737252d
mov byte [ebp - 0x30], bl
xor byte [ebp + eax - 0x3b], cl
inc eax
cmp eax, 0xb
jae 0x10002ead
mov cl, byte [ebp - 0x3c]
jmp 0x10002e9e
mov byte [ebp - 0x30], bl
lea eax, [ebp - 0x3b]
push eax
call fcn.10004164
pop ecx
push eax
lea eax, [ebp - 0x3b]
jmp 0x10002fca
mov cl, 0x6e
mov dword [ebp - 0x3c], 0x1c0f256e
mov dword [ebp - 0x38], 0x234e1d1b
mov eax, ebx
mov dword [ebp - 0x34], 0xb090f
xor byte [ebp + eax - 0x3b], cl
inc eax
cmp eax, 0xa
jae 0x10002eeb
mov cl, byte [ebp - 0x3c]
jmp 0x10002edc
mov byte [ebp - 0x31], bl
jmp 0x10002eb0
mov cl, 0x10
mov dword [ebp - 0x3c], 0x62715b10
mov dword [ebp - 0x38], 0x40306365
mov eax, ebx
mov dword [ebp - 0x34], 0x63757962
mov word [ebp - 0x30], 0x64
xor byte [ebp + eax - 0x3b], cl
inc eax
cmp eax, 0xc
jae 0x10002f1e
mov cl, byte [ebp - 0x3c]
jmp 0x10002f0f
mov byte [ebp - 0x2f], bl
jmp 0x10002eb0
movaps xmm0, xmmword [0x10095b50]
mov ecx, ebx
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x30], 0x56
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x10
jb 0x10002f36
mov byte [ebp - 0x2f], bl
jmp 0x10002fbc
movaps xmm0, xmmword [0x10094ff0]
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 0x10002f55
mov byte [ebp - 0x31], bl
jmp 0x10002fbc
mov cl, 0x6a
mov dword [ebp - 0x40], 0x4a062f6a
mov dword [ebp - 0x3c], 0xb180527
mov eax, ebx
mov dword [ebp - 0x38], 0xb274a0e
mov word [ebp - 0x34], 0xf0d
mov byte [ebp - 0x32], bl
xor byte [ebp + eax - 0x3f], cl
inc eax
cmp eax, 0xd
jae 0x10002e7a
mov cl, byte [ebp - 0x40]
jmp 0x10002f89
movaps xmm0, xmmword [0x10095320]
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 0x10002fac
mov byte [ebp - 0x30], bl
lea eax, [ebp - 0x3f]
push eax
call fcn.10004164
pop ecx
push eax
lea eax, [ebp - 0x3f]
push eax
lea ecx, [ebp - 0x2c]
call fcn.100040eb
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.10003bd0
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.10004036
mov eax, esi
call fcn.10040a07
ret 4