Function at 0x100084f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001b32e
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x10026008]
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 dword [ebp - 0x30], edx
mov edi, ecx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 1
mov ebx, dword [ebp + 0xc]
sub ebx, dword [ebp + 8]
push ebx
call fcn.1001a003
add esp, 4
mov edx, eax
xor ecx, ecx
mov dword [ebp - 0x2c], edx
test ebx, ebx
jle 0x10008561
nop
mov eax, dword [ebp + 8]
mov al, byte [eax + ecx]
xor al, byte [ebp - 0x30]
mov byte [ecx + edx], al
inc ecx
cmp ecx, ebx
jl 0x10008550
push 0
push 0x1001d9f3
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.100017e0
mov byte [ebp - 4], 2
add ebx, ebx
mov ecx, dword [ebp - 0x18]
cmp ebx, ecx
ja 0x100085a6
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ebx
cmovae eax, dword [ebp - 0x28]
mov byte [eax + ebx], 0
jmp 0x100085e9
mov edx, dword [ebp - 0x14]
sub ebx, ecx
mov eax, edx
sub eax, ecx
cmp ebx, eax
ja 0x100085d7
cmp edx, 0x10
lea esi, [ebp - 0x28]
push ebx
cmovae esi, dword [ebp - 0x28]
lea eax, [ecx + ebx]
add esi, ecx
mov dword [ebp - 0x18], eax
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov byte [esi + ebx], 0
jmp 0x100085e9
push ecx
push ebx
mov byte [ebp - 0x30], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x30]
push ebx
call fcn.10006320
mov ebx, dword [ebp - 0x2c]
xor esi, esi
movzx edx, byte [ebx]
cmp dword [ebp - 0x18], esi
jbe 0x10008654
mov ecx, edx
cmp edx, 0x9f
jbe 0x1000860b
shr ecx, 4
sub ecx, 9
or ecx, 0x40
jmp 0x10008614
or ecx, 0x300
shr ecx, 4
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
and edx, 0xf
mov byte [eax + esi], cl
cmp edx, 9
jbe 0x10008632
add edx, 0xfffffff7
or edx, 0x40
jmp 0x10008635
or edx, 0x30
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov byte [eax + esi + 1], dl
add esi, 2
mov eax, esi
shr eax, 1
movzx edx, byte [eax + ebx]
cmp esi, dword [ebp - 0x18]
jb 0x100085f6
push 0
push 0x1001d9f3
mov ecx, edi
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.100017e0
mov esi, dword [edi + 0x14]
mov eax, esi
mov ecx, dword [edi + 0x10]
sub eax, ecx
mov dword [ebp - 0x34], 1
cmp eax, 1
jb 0x100086aa
lea eax, [ecx + 1]
mov edx, edi
mov dword [edi + 0x10], eax
cmp esi, 0x10
jb 0x1000869b
mov edx, dword [edi]
mov al, byte [0x1001db5c]
mov byte [edx + ecx], al
mov byte [edx + ecx + 1], 0
jmp 0x100086c1
push 1
push 0x1001db5c
mov byte [ebp - 0x2c], 0
mov ecx, edi
push dword [ebp - 0x2c]
push 1
call fcn.10006480
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.100052e0
mov esi, dword [edi + 0x14]
mov eax, esi
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 1
jb 0x100086f9
lea eax, [ecx + 1]
mov edx, edi
mov dword [edi + 0x10], eax
cmp esi, 0x10
jb 0x100086ea
mov edx, dword [edi]
mov al, byte [0x1001db5c]
mov byte [edx + ecx], al
mov byte [edx + ecx + 1], 0
jmp 0x10008710
push 1
push 0x1001db5c
mov byte [ebp - 0x2c], 0
mov ecx, edi
push dword [ebp - 0x2c]
push 1
call fcn.10006480
push ebx
call fcn.10019ffe
mov ecx, dword [ebp - 0x14]
add esp, 4
cmp ecx, 0x10
jb 0x10008749
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000873f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000876f
push ecx
push edx
call fcn.10019c6a
add esp, 8
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x1000877f
mov edx, dword [ebp + 0x10]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x10008775
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10008775
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10019c6a
add esp, 8
mov eax, edi
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.10019709
mov esp, ebp
pop ebp
ret