Function at 0x100080f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001bc6e
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x10028008]
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.1001a923
add esp, 4
mov edx, eax
xor ecx, ecx
mov dword [ebp - 0x2c], edx
test ebx, ebx
jle 0x10008161
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 0x10008150
push 0
push 0x1001e9f3
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.10001de0
mov byte [ebp - 4], 2
add ebx, ebx
mov ecx, dword [ebp - 0x18]
cmp ebx, ecx
ja 0x100081a6
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 0x100081e9
mov edx, dword [ebp - 0x14]
sub ebx, ecx
mov eax, edx
sub eax, ecx
cmp ebx, eax
ja 0x100081d7
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 0x100081e9
push ecx
push ebx
mov byte [ebp - 0x30], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x30]
push ebx
call fcn.100064f0
mov ebx, dword [ebp - 0x2c]
xor esi, esi
movzx edx, byte [ebx]
cmp dword [ebp - 0x18], esi
jbe 0x10008254
mov ecx, edx
cmp edx, 0x9f
jbe 0x1000820b
shr ecx, 4
sub ecx, 9
or ecx, 0x40
jmp 0x10008214
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 0x10008232
add edx, 0xfffffff7
or edx, 0x40
jmp 0x10008235
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 0x100081f6
push 0
push 0x1001e9f3
mov ecx, edi
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.10001de0
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 0x100082aa
lea eax, [ecx + 1]
mov edx, edi
mov dword [edi + 0x10], eax
cmp esi, 0x10
jb 0x1000829b
mov edx, dword [edi]
mov al, byte [0x1001f1f0]
mov byte [edx + ecx], al
mov byte [edx + ecx + 1], 0
jmp 0x100082c1
push 1
push 0x1001f1f0
mov byte [ebp - 0x2c], 0
mov ecx, edi
push dword [ebp - 0x2c]
push 1
call fcn.10006650
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.100059b0
mov esi, dword [edi + 0x14]
mov eax, esi
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 1
jb 0x100082f9
lea eax, [ecx + 1]
mov edx, edi
mov dword [edi + 0x10], eax
cmp esi, 0x10
jb 0x100082ea
mov edx, dword [edi]
mov al, byte [0x1001f1f0]
mov byte [edx + ecx], al
mov byte [edx + ecx + 1], 0
jmp 0x10008310
push 1
push 0x1001f1f0
mov byte [ebp - 0x2c], 0
mov ecx, edi
push dword [ebp - 0x2c]
push 1
call fcn.10006650
push ebx
call fcn.1001a91e
mov ecx, dword [ebp - 0x14]
add esp, 4
cmp ecx, 0x10
jb 0x10008349
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000833f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000836f
push ecx
push edx
call fcn.1001a58a
add esp, 8
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x1000837f
mov edx, dword [ebp + 0x10]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x10008375
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10008375
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001a58a
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.1001a029
mov esp, ebp
pop ebp
ret