Function at 0x100084d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001925e
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x10024008]
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.10017f27
add esp, 4
mov edx, eax
xor ecx, ecx
mov dword [ebp - 0x2c], edx
test ebx, ebx
jle 0x10008541
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 0x10008530
push 0
push 0x1001b9d3
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 0x10008586
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 0x100085c9
mov edx, dword [ebp - 0x14]
sub ebx, ecx
mov eax, edx
sub eax, ecx
cmp ebx, eax
ja 0x100085b7
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 0x100085c9
push ecx
push ebx
mov byte [ebp - 0x30], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x30]
push ebx
call fcn.10006300
mov ebx, dword [ebp - 0x2c]
xor esi, esi
movzx edx, byte [ebx]
cmp dword [ebp - 0x18], esi
jbe 0x10008634
mov ecx, edx
cmp edx, 0x9f
jbe 0x100085eb
shr ecx, 4
sub ecx, 9
or ecx, 0x40
jmp 0x100085f4
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 0x10008612
add edx, 0xfffffff7
or edx, 0x40
jmp 0x10008615
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 0x100085d6
push 0
push 0x1001b9d3
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 0x1000868a
lea eax, [ecx + 1]
mov edx, edi
mov dword [edi + 0x10], eax
cmp esi, 0x10
jb 0x1000867b
mov edx, dword [edi]
mov al, byte [0x1001bb38]
mov byte [edx + ecx], al
mov byte [edx + ecx + 1], 0
jmp 0x100086a1
push 1
push 0x1001bb38
mov byte [ebp - 0x2c], 0
mov ecx, edi
push dword [ebp - 0x2c]
push 1
call fcn.10006460
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.100052c0
mov esi, dword [edi + 0x14]
mov eax, esi
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 1
jb 0x100086d9
lea eax, [ecx + 1]
mov edx, edi
mov dword [edi + 0x10], eax
cmp esi, 0x10
jb 0x100086ca
mov edx, dword [edi]
mov al, byte [0x1001bb38]
mov byte [edx + ecx], al
mov byte [edx + ecx + 1], 0
jmp 0x100086f0
push 1
push 0x1001bb38
mov byte [ebp - 0x2c], 0
mov ecx, edi
push dword [ebp - 0x2c]
push 1
call fcn.10006460
push ebx
call fcn.10017f22
mov ecx, dword [ebp - 0x14]
add esp, 4
cmp ecx, 0x10
jb 0x10008729
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000871f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000874f
push ecx
push edx
call fcn.10017b8e
add esp, 8
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x1000875f
mov edx, dword [ebp + 0x10]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x10008755
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10008755
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10017b8e
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.1001762d
mov esp, ebp
pop ebp
ret