Function at 0x100d79e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019b757
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x101f6e00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [0x10297f7c]
mov dword [ebp - 0xb8], eax
mov edx, dword [edi + 8]
mov ecx, dword [edi + 0x18]
sub ecx, dword [edi + 0x14]
lea eax, [edx + 1]
cmp eax, ecx
jbe 0x100d7a2f
xor al, al
jmp 0x100d7a3a
push edx
lea ecx, [edi + 0x10]
call fcn.1004f3b0
mov al, byte [eax]
inc dword [edi + 8]
mov edx, dword [edi + 8]
movzx eax, al
cmp eax, 6
ja case.0x100d7a4c.2
jmp dword [eax*4 + 0x100d8480]
mov eax, dword [ebp - 0xb8]
cmp dword [eax + 0x474], 0
je case.0x100d7a4c.2
mov eax, dword [0x10297f7c]
mov esi, dword [eax + 0x524]
test esi, esi
jne 0x100d7a8c
push dword [esi + 0x10]
call fcn.100e10c0
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x100d7a8c
push 1
call dword [0x101d64b8]
mov eax, dword [0x10297f7c]
mov ecx, dword [eax + 0x524]
test ecx, ecx
je case.0x100d7a4c.2
mov ecx, dword [ecx + 0x10]
test ecx, ecx
je case.0x100d7a4c.2
push 1
call dword [0x101d64b8]
jmp case.0x100d7a4c.2
mov ecx, dword [edi + 0x18]
lea eax, [edx + 2]
sub ecx, dword [edi + 0x14]
cmp eax, ecx
jbe 0x100d7ac8
xor eax, eax
jmp 0x100d7ad4
push edx
lea ecx, [edi + 0x10]
call fcn.1004f3b0
movzx eax, word [eax]
add dword [edi + 8], 2
xor ecx, ecx
cmp cx, ax
jae case.0x100d7a4c.2
movzx eax, ax
mov dword [ebp - 0xac], eax
nop dword [eax]
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0
push 8
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
call fcn.1013ca30
lea ecx, [ebp - 0x64]
mov dword [eax], ecx
mov dword [eax + 4], 0
mov dword [ebp - 0x64], eax
mov al, byte [0x101d8e3c]
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], al
mov byte [ebp - 0x5f], 0
mov word [ebp - 0x48], 0xffff
mov byte [ebp - 0x46], 0xff
mov dword [ebp - 4], 2
xorps xmm0, xmm0
push 8
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.1013ca30
lea ecx, [ebp - 0x44]
add esp, 8
mov dword [eax + 4], 0
mov dword [ebp - 0x44], eax
mov dword [eax], ecx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 3
push eax
mov eax, ecx
mov byte [edi + 4], 1
push eax
mov ecx, edi
call fcn.10084df0
mov ecx, eax
call fcn.10084df0
mov esi, eax
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x18]
inc eax
sub ecx, dword [esi + 0x14]
cmp eax, ecx
jbe 0x100d7bc5
xor al, al
jmp 0x100d7bd2
push dword [esi + 8]
lea ecx, [esi + 0x10]
call fcn.1004f3b0
mov al, byte [eax]
inc dword [esi + 8]
mov byte [ebp - 0x48], al
mov edx, dword [esi + 8]
mov ecx, dword [esi + 0x18]
sub ecx, dword [esi + 0x14]
lea eax, [edx + 1]
cmp eax, ecx
jbe 0x100d7bec
xor al, al
jmp 0x100d7bf7
push edx
lea ecx, [esi + 0x10]
call fcn.1004f3b0
mov al, byte [eax]
inc dword [esi + 8]
mov byte [ebp - 0x47], al
mov edx, dword [esi + 8]
mov ecx, dword [esi + 0x18]
sub ecx, dword [esi + 0x14]
lea eax, [edx + 1]
cmp eax, ecx
jbe 0x100d7c11
xor al, al
jmp 0x100d7c1c
push edx
lea ecx, [esi + 0x10]
call fcn.1004f3b0
mov al, byte [eax]
inc dword [esi + 8]
sub esp, 0x20
mov esi, esp
mov byte [ebp - 0x46], al
lea eax, [ebp - 0x64]
mov dword [ebp - 0xb0], esp
mov ecx, esi
mov dword [ebp - 0xa8], esi
push eax
call fcn.10046cb0
movzx eax, byte [ebp - 0x48]
mov byte [esi + 0x1c], al
movzx eax, byte [ebp - 0x47]
mov byte [esi + 0x1d], al
movzx eax, byte [ebp - 0x46]
mov byte [esi + 0x1e], al
sub esp, 0x1c
mov byte [ebp - 4], 4
lea eax, [ebp - 0x44]
mov ecx, esp
push eax
call fcn.10046cb0
mov ecx, dword [ebp - 0xb8]
mov byte [ebp - 4], 3
call fcn.100d7480
lea ecx, [ebp - 0x44]
call fcn.100477d0
mov eax, dword [ebp - 0x44]
push 8
push eax
mov dword [ebp - 0x44], 0
call fcn.1013c8d0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.100477d0
mov eax, dword [ebp - 0x64]
push 8
push eax
mov dword [ebp - 0x64], 0
call fcn.1013c8d0
add esp, 8
sub dword [ebp - 0xac], 1
jne 0x100d7af0
jmp case.0x100d7a4c.2
xorps xmm0, xmm0
mov dword [ebp - 0x84], 0
lea eax, [ebp - 0xa1]
mov dword [ebp - 0x70], 0
push 8
movups xmmword [ebp - 0x80], xmm0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0xb0], eax
call fcn.1013ca30
lea ecx, [ebp - 0x84]
mov dword [eax], ecx
mov dword [eax + 4], 0
mov dword [ebp - 0x84], eax
mov al, byte [0x101d8e3c]
mov dword [ebp - 0x70], 1
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], al
mov byte [ebp - 0x7f], 0
mov dword [ebp - 0xb4], 0
mov word [ebp - 0x68], 0xffff
mov byte [ebp - 0x66], 0xff
mov dword [ebp - 4], 7
xorps xmm0, xmm0
push 8
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.1013ca30
lea ecx, [ebp - 0x44]
add esp, 8
mov dword [eax + 4], 0
mov dword [ebp - 0x44], eax
mov dword [eax], ecx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 8
mov edx, dword [edi + 8]
mov byte [edi + 4], 1
mov ecx, dword [edi + 0x18]
sub ecx, dword [edi + 0x14]
lea eax, [edx + 1]
cmp eax, ecx
jbe 0x100d7dab
mov byte [ebp - 0xa1], 0
jmp 0x100d7dbc
push edx
lea ecx, [edi + 0x10]
call fcn.1004f3b0
mov al, byte [eax]
mov byte [ebp - 0xa1], al
inc dword [edi + 8]
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
call fcn.10084df0
mov ecx, eax
call fcn.10084df0
mov esi, eax
mov edx, dword [esi + 8]
mov ecx, dword [esi + 0x18]
sub ecx, dword [esi + 0x14]
lea eax, [edx + 1]
cmp eax, ecx
jbe 0x100d7dee
xor al, al
jmp 0x100d7df9
push edx
lea ecx, [esi + 0x10]
call fcn.1004f3b0
mov al, byte [eax]
inc dword [esi + 8]
mov byte [ebp - 0x68], al
mov edx, dword [esi + 8]
mov ecx, dword [esi + 0x18]
sub ecx, dword [esi + 0x14]
lea eax, [edx + 1]
cmp eax, ecx
jbe 0x100d7e13
xor al, al
jmp 0x100d7e1e
push edx
lea ecx, [esi + 0x10]
call fcn.1004f3b0
mov al, byte [eax]
inc dword [esi + 8]
mov byte [ebp - 0x67], al
mov edx, dword [esi + 8]
mov ecx, dword [esi + 0x18]
sub ecx, dword [esi + 0x14]
lea eax, [edx + 1]
cmp eax, ecx
jbe 0x100d7e38
xor al, al
jmp 0x100d7e43
push edx
lea ecx, [esi + 0x10]
call fcn.1004f3b0
mov al, byte [eax]
inc dword [esi + 8]
cmp byte [ebp - 0xa1], 0
mov byte [ebp - 0x66], al
jne 0x100d7f89
movaps xmm0, xmmword [0x101ddb80]
xor ecx, ecx
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x481a1a0c
mov byte [ebp - 0x14], 0
nop
mov al, byte [ebp + ecx - 0x27]
xor al, byte [ebp - 0x28]
mov byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x13
jb 0x100d7e70
sub esp, 0x1c
mov byte [ebp - 0x14], 0
mov edx, esp
lea ecx, [ebp - 0x27]
xorps xmm0, xmm0
lea esi, [ecx + 1]
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d7eb0
sub ecx, esi
lea eax, [ebp - 0x27]
push ecx
push eax
mov ecx, edx
call fcn.100484d0
lea eax, [ebp - 0x60]
push eax
call fcn.10052ec0
add esp, 0x20
mov byte [ebp - 4], 9
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0xf
mov dword [ebp - 0xac], ecx
jbe 0x100d7eec
mov ecx, dword [ecx]
mov dword [ebp - 0xac], ecx
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d7ef0
sub ecx, edx
mov dword [ebp - 0xa8], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.1013d380
push esi
mov edi, eax
push 0
push edi
mov dword [ebp - 0xb0], edi
call fcn.1013f8f0
push dword [ebp - 0xa8]
lea esi, [edi + 0x20]
push dword [ebp - 0xac]
push esi
call fcn.1013f190
mov eax, dword [ebp - 0xa8]
add esp, 0x1c
mov dword [edi + 0x14], eax
mov dword [edi + 4], esi
mov dword [edi + 0x18], 0x1f
mov ecx, dword ds:[0xf3690c]
push 0
push 0xa30000
push dword [ebp - 0xb0]
mov eax, dword [0x101d63dc]
call eax
push edi
call fcn.1013c8d0
add esp, 4
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x60]
call fcn.100477d0
mov eax, dword [ebp - 0x60]
push 8
push eax
mov dword [ebp - 0x60], 0
call fcn.1013c8d0
add esp, 8
sub esp, 0x20
lea eax, [ebp - 0x84]
mov esi, esp
mov dword [ebp - 0xb0], esp
mov ecx, esi
mov dword [ebp - 0xa8], esi
push eax
call fcn.10046cb0
movzx eax, byte [ebp - 0x68]
mov byte [esi + 0x1c], al
movzx eax, byte [ebp - 0x67]
mov byte [esi + 0x1d], al
movzx eax, byte [ebp - 0x66]
mov byte [esi + 0x1e], al
sub esp, 0x1c
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x44]
mov ecx, esp
push eax
call fcn.10046cb0
mov ecx, dword [ebp - 0xb8]
mov byte [ebp - 4], 8
call fcn.100d7480
push 3
lea ecx, [ebp - 0xb0]
call fcn.10139310
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x100d800d
mov eax, dword [ecx + 4]
mov dword [ecx + 4], 0
test eax, eax
je 0x100d800d
mov dword [eax], 0
mov eax, dword [eax + 4]
test eax, eax
jne 0x100d8000
lea ecx, [ebp - 0xb0]
call fcn.101393c0
mov eax, dword [ebp - 0x2c]
cmp eax, 0xf
jbe 0x100d807b
mov edi, dword [ebp - 0x40]
lea esi, [eax + 1]
test edi, edi
jne 0x100d8071
test esi, esi
je 0x100d8071
push str.null_pointer_cannot_point_to_a_block_of_non_zero_size
push 0x101d467c
push edi
push 0x3b4
push 0x101d4680
push 2
call fcn.10143d00
add esp, 0x18
cmp eax, 1
jne 0x100d8053
int3
push 0
push 0x3b4
push str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.40.33807includexmemory
push 0x101d47ac
push str._null_pointer_cannot_point_to_a_block_of_non_zero_size_
call fcn.10152640
add esp, 0x14
push esi
push edi
call fcn.10048760
add esp, 8
mov eax, dword [ebp - 0x44]
push 8
push eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
call fcn.1013c8d0
add esp, 8
lea ecx, [ebp - 0x84]
call fcn.100477d0
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x84], 0
jmp 0x100d8458
movaps xmm0, xmmword [0x101ddb90]
xor ecx, ecx
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x18], 0x4417
mov byte [ebp - 0x16], 0
nop dword [eax]
mov al, byte [ebp + ecx - 0x27]
xor al, byte [ebp - 0x28]
mov byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x11
jb 0x100d80e0
sub esp, 0x1c
mov byte [ebp - 0x16], 0
mov edx, esp
lea ecx, [ebp - 0x27]
xorps xmm0, xmm0
lea esi, [ecx + 1]
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d8120
sub ecx, esi
lea eax, [ebp - 0x27]
push ecx
push eax
mov ecx, edx
call fcn.100484d0
lea eax, [ebp - 0x60]
push eax
call fcn.10052ec0
add esp, 0x20
mov dword [ebp - 4], 0xb
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0xf
mov dword [ebp - 0xa8], ecx
jbe 0x100d815f
mov ecx, dword [ecx]
mov dword [ebp - 0xa8], ecx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d8162
sub ecx, edx
mov dword [ebp - 0xac], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.1013d380
push esi
mov edi, eax
push 0
push edi
mov dword [ebp - 0xb0], edi
call fcn.1013f8f0
push dword [ebp - 0xac]
lea esi, [edi + 0x20]
push dword [ebp - 0xa8]
push esi
call fcn.1013f190
mov eax, dword [ebp - 0xac]
add esp, 0x1c
mov dword [edi + 0x14], eax
mov dword [edi + 4], esi
mov dword [edi + 0x18], 0x1f
mov ecx, dword ds:[0xf3690c]
push 0
push 0xa30000
push dword [ebp - 0xb0]
mov eax, dword [0x101d63dc]
call eax
push edi
call fcn.1013c8d0
add esp, 4
lea ecx, [ebp - 0x60]
call fcn.100477d0
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x60], 0
jmp 0x100d8458
movaps xmm0, xmmword [0x101dee80]
xor ecx, ecx
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x356d7075
mov byte [ebp - 0x14], 0
nop dword [eax]
mov al, byte [ebp + ecx - 0x27]
xor al, byte [ebp - 0x28]
mov byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x13
jb 0x100d8210
sub esp, 0x1c
mov byte [ebp - 0x14], 0
mov edx, esp
lea ecx, [ebp - 0x27]
xorps xmm0, xmm0
lea esi, [ecx + 1]
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d8250
sub ecx, esi
lea eax, [ebp - 0x27]
push ecx
push eax
mov ecx, edx
call fcn.100484d0
lea eax, [ebp - 0x60]
push eax
call fcn.10052ec0
add esp, 0x20
mov dword [ebp - 4], 0xc
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0xf
mov dword [ebp - 0xa8], ecx
jbe 0x100d828f
mov ecx, dword [ecx]
mov dword [ebp - 0xa8], ecx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d8292
sub ecx, edx
mov dword [ebp - 0xac], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.1013d380
push esi
mov edi, eax
push 0
push edi
mov dword [ebp - 0xb0], edi
call fcn.1013f8f0
push dword [ebp - 0xac]
lea esi, [edi + 0x20]
push dword [ebp - 0xa8]
push esi
call fcn.1013f190
mov eax, dword [ebp - 0xac]
add esp, 0x1c
mov dword [edi + 0x14], eax
mov dword [edi + 4], esi
mov dword [edi + 0x18], 0x1f
mov ecx, dword ds:[0xf3690c]
push 0
push 0xa30000
push dword [ebp - 0xb0]
mov eax, dword [0x101d63dc]
call eax
push edi
call fcn.1013c8d0
add esp, 4
lea ecx, [ebp - 0x60]
call fcn.100477d0
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x60], 0
jmp 0x100d8458
movaps xmm0, xmmword [0x101dea10]
xor ecx, ecx
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x1e525a4b
mov byte [ebp - 0x14], 0
nop dword [eax]
mov al, byte [ebp + ecx - 0x27]
xor al, byte [ebp - 0x28]
mov byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x13
jb 0x100d8340
sub esp, 0x1c
mov byte [ebp - 0x14], 0
mov edx, esp
lea ecx, [ebp - 0x27]
xorps xmm0, xmm0
lea esi, [ecx + 1]
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d8380
sub ecx, esi
lea eax, [ebp - 0x27]
push ecx
push eax
mov ecx, edx
call fcn.100484d0
lea eax, [ebp - 0xa0]
push eax
call fcn.10052ec0
add esp, 0x20
mov dword [ebp - 4], 0xd
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0xf
mov dword [ebp - 0xa8], ecx
jbe 0x100d83c2
mov ecx, dword [ecx]
mov dword [ebp - 0xa8], ecx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d83c5
sub ecx, edx
mov dword [ebp - 0xac], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.1013d380
push esi
mov edi, eax
push 0
push edi
mov dword [ebp - 0xb0], edi
call fcn.1013f8f0
push dword [ebp - 0xac]
lea esi, [edi + 0x20]
push dword [ebp - 0xa8]
push esi
call fcn.1013f190
mov eax, dword [ebp - 0xac]
add esp, 0x1c
mov dword [edi + 0x14], eax
mov dword [edi + 4], esi
mov dword [edi + 0x18], 0x1f
mov ecx, dword ds:[0xf3690c]
push 0
push 0xa30000
push dword [ebp - 0xb0]
mov eax, dword [0x101d63dc]
call eax
push edi
call fcn.1013c8d0
add esp, 4
lea ecx, [ebp - 0xa0]
call fcn.100477d0
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xa0], 0
push 8
push eax
call fcn.1013c8d0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1013c8c0
mov esp, ebp
pop ebp
ret 4