Function at 0x100142f1
Capabilities:
Encode data using xor

Disassembly:
push 0x34
mov eax, 0x10086d28
call fcn.1006dd47
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x10]
push eax
push 0x1008bf6c
push 0x17
push ebx
push 0x100ba068
mov dword [ebp - 4], ebx
call dword [0x1008b394]
test eax, eax
jns 0x10014375
mov ecx, dword [0x100c57c0]
mov eax, ecx
imul eax, ecx
imul eax, ecx
push 9
cdq
pop esi
idiv esi
cmp edx, 4
jne 0x10014363
push 8
mov edx, ebx
pop esi
mov eax, edx
and eax, 1
dec eax
not eax
and eax, ecx
sar edx, 1
xor edx, eax
dec esi
jne 0x10014341
add ecx, edx
inc ebx
cmp ebx, 0x100
jl 0x1001433c
mov dword [0x100c57c0], ecx
mov ecx, dword [ebp + 8]
push 0x1008bd08
call fcn.1000158a
jmp 0x10014603
mov dword [ebp - 0x14], ebx
mov esi, dword [ebp - 0x10]
push str.rootcimv2
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.10008f2f
push 2
pop ecx
lea edx, [ebp - 0x14]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [eax]
mov byte [ebp - 4], cl
mov ecx, dword [esi]
push esi
call dword [ecx + 0xc]
push dword [ebp - 0x24]
mov edi, dword [0x1008b260]
mov esi, eax
mov byte [ebp - 4], 1
call edi
test esi, esi
jns 0x100143cb
mov ecx, dword [ebp + 8]
push 0x1008bd08
call fcn.1000158a
jmp 0x100145f3
mov dword [ebp - 0x18], ebx
push str.Select
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.10008efa
push dword [ebp + 0xc]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.10008efa
push dword [ebp - 0x24]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.1001366e
test eax, eax
jns 0x10014407
push eax
call fcn.1000167c
push dword [ebp - 0x24]
mov byte [ebp - 4], 4
call edi
push str._from
lea ecx, [ebp - 0x24]
call fcn.10008efa
push dword [ebp - 0x24]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.1001366e
test eax, eax
js 0x10014401
push dword [ebp - 0x24]
mov byte [ebp - 4], 4
call edi
push dword [ebp + 0x10]
lea ecx, [ebp - 0x24]
call fcn.10008efa
push dword [ebp - 0x24]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 7
call fcn.1001366e
test eax, eax
js 0x10014401
push dword [ebp - 0x24]
mov byte [ebp - 4], 4
call edi
mov edi, dword [ebp - 0x14]
push 0x1008bff8
lea ecx, [ebp - 0x24]
call fcn.10008efa
mov esi, dword [ebp - 0x20]
mov ecx, dword [edi]
lea edx, [ebp - 0x18]
push edx
push ebx
push 0x20
push esi
push dword [eax]
mov byte [ebp - 4], 8
push edi
call dword [ecx + 0x50]
push dword [ebp - 0x24]
mov edi, eax
mov byte [ebp - 4], 4
call dword [0x1008b260]
test edi, edi
jns 0x100144ca
call fcn.100149da
test al, al
jne 0x100144b8
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [0x1008b0ac]
push ebx
push ebx
call dword [0x1008b0b0]
mov ecx, dword [ebp + 8]
push 0x1008bd08
call fcn.1000158a
jmp 0x100145db
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x28]
mov ecx, dword [eax]
push edx
lea edx, [ebp - 0x1c]
push edx
push 1
push 0xffffffffffffffff
push eax
mov byte [ebp - 4], 9
call dword [ecx + 0x10]
test eax, eax
jns 0x100144ff
mov ecx, dword [ebp + 8]
push 0x1008bd08
call fcn.1000158a
jmp 0x100145ca
push 0x10
lea eax, [ebp - 0x40]
push ebx
push eax
call fcn.1006e5b0
add esp, 0xc
lea eax, [ebp - 0x40]
push eax
call dword [0x1008b25c]
push ebx
push ebx
push dword [ebp + 0xc]
call fcn.1006dc20
pop ecx
inc eax
push eax
push dword [ebp + 0xc]
push ebx
push ebx
call dword [0x1008b0a4]
push 0x100c87c0
xor ecx, ecx
push 2
pop edx
mov dword [ebp - 0x24], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100720c0
pop ecx
mov edi, eax
pop ecx
mov dword [ebp - 0x30], edi
mov byte [ebp - 4], 0xb
test edi, edi
jne 0x1001456a
mov ecx, dword [ebp + 8]
push 0x1008bd08
call fcn.1000158a
jmp 0x100145c0
push dword [ebp - 0x24]
push edi
push dword [ebp + 0xc]
call fcn.1006dc20
pop ecx
inc eax
push eax
push dword [ebp + 0xc]
push ebx
push ebx
call dword [0x1008b0a4]
mov eax, dword [ebp - 0x1c]
push ebx
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x40]
push edx
push ebx
push edi
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x100145ac
cmp dword [ebp - 0x38], 0
je 0x100145ac
push dword [ebp - 0x38]
mov ecx, dword [ebp + 8]
call fcn.1001356d
jmp 0x100145b9
mov ecx, dword [ebp + 8]
push 0x1008bd08
call fcn.1000158a
push edi
call fcn.1006ce3c
pop ecx
lea eax, [ebp - 0x40]
push eax
call dword [0x1008b26c]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 4
test eax, eax
je 0x100145db
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push esi
call dword [0x1008b260]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 1
test eax, eax
je 0x100145f3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], bl
test eax, eax
je 0x10014603
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x10014614
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, dword [ebp + 8]
call fcn.1006dd15
ret