Function at 0x10003520
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10008ac0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x300
mov eax, dword [0x1000b004]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movaps xmm0, xmmword [str._:0]
xor ecx, ecx
movups xmmword [ebp - 0x2d0], xmm0
mov dword [ebp - 0x2c0], 0x2b444619
mov word [ebp - 0x2bc], pe_nt_image_headers32
lea eax, [ecx + 0x64]
xor byte [ebp + ecx - 0x2d0], al
inc ecx
cmp ecx, 0x14
jb 0x10003584
push 0x14
lea eax, [ebp - 0x2d0]
mov byte [ebp - 0x2bb], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
call fcn.10006750
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x2d0]
push eax
mov byte [ebp - 0x2b8], 0
push dword [ebp - 0x2b8]
call fcn.100070e0
add esp, 0xc
lea eax, [ebp - 0x2d0]
xor esi, esi
lea ecx, [ebp - 0x2a8]
xor edi, edi
mov dword [ebp - 0x2b4], esi
mov dword [ebp - 0x2d4], edi
push esi
push eax
call fcn.10003090
cmp byte [ebp - 0x3c], 0
je 0x1000364e
push 0x50
call fcn.100077bf
mov esi, eax
lea eax, [ebp - 0x2a8]
push eax
mov dword [ebp - 0x2b4], esi
lea edi, [esi + 0x10]
mov dword [esi + 4], 1
mov ecx, edi
mov dword [esi + 8], 1
mov dword [esi], vtable.std::_Ref_count_obj2_struct_std::filesystem::_Dir_enum_impl_.0
mov dword [ebp - 0x2d4], edi
call fcn.100033a0
push dword [ebp - 0x290]
mov esi, dword [ebp - 0x38]
call fcn.1000748b
mov ecx, dword [ebp - 0x294]
cmp ecx, 8
jb 0x1000369e
mov edx, dword [ebp - 0x2a8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10003694
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10003694
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10007c23
add esp, 8
test esi, esi
jne 0x10003bc8
mov ecx, dword [ebp - 0x2bc]
cmp ecx, 8
jb 0x100036e8
mov edx, dword [ebp - 0x2d0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100036de
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100036de
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10007c23
add esp, 8
mov esi, dword [ebp - 0x2b4]
test esi, esi
je 0x100036f6
lock inc dword [esi + 4]
mov ecx, esi
mov dword [ebp - 0x2b0], ecx
test esi, esi
je 0x10003730
lock inc dword [esi + 4]
test esi, esi
je 0x10003730
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x10003730
mov eax, dword [esi]
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x10003729
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x2b0]
nop
mov dword [ebp - 0x2b8], ecx
test edi, edi
je 0x10003b20
lea eax, [ebp - 0x304]
mov ecx, edi
push eax
call fcn.10002fd0
mov eax, dword [eax]
cmp eax, 1
je 0x100039e0
test eax, eax
je 0x100039e0
lea eax, [ebp - 0x30c]
mov ecx, edi
push eax
call fcn.10002fd0
cmp dword [eax], 3
je 0x100039e0
mov eax, dword [0x100efdac]
mov ecx, dword [0x100efdb0]
mov dword [ebp - 0x2f0], eax
mov dword [ebp - 0x2f8], ecx
cmp eax, ecx
je 0x100039e0
lea eax, [edi + 0x20]
mov dword [ebp - 0x2fc], eax
nop
push ecx
lea ecx, [ebp - 0x2ec]
push ecx
mov ecx, eax
call fcn.10005ce0
mov ecx, dword [ebp - 0x2dc]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c0], 0
mov dword [ebp - 0x2bc], 0
movups xmmword [ebp - 0x2d0], xmm0
cmp ecx, eax
jb 0x10003bdb
mov edx, dword [ebp - 0x2d8]
sub ecx, eax
mov edi, dword [ebp - 0x2ec]
or esi, 0xffffffff
cmp ecx, 0xffffffff
cmovb esi, ecx
cmp edx, 0x10
lea ecx, [ebp - 0x2ec]
cmovae ecx, edi
cmp esi, 0x10
jb 0x10003874
test eax, eax
je 0x10003823
add eax, ecx
push esi
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
mov edx, dword [ebp - 0x2d8]
add esp, 0xc
mov edi, dword [ebp - 0x2ec]
cmp edx, 0x10
mov dword [ebp - 0x2dc], esi
lea eax, [ebp - 0x2ec]
cmovae eax, edi
mov byte [eax + esi], 0
movups xmm0, xmmword [ebp - 0x2ec]
mov byte [ebp - 0x2ec], 0
movups xmmword [ebp - 0x2d0], xmm0
movq xmm0, qword [ebp - 0x2dc]
movq qword [ebp - 0x2c0], xmm0
mov dword [ebp - 0x2dc], 0
mov dword [ebp - 0x2d8], 0xf
jmp 0x10003883
add eax, ecx
lea ecx, [ebp - 0x2d0]
push esi
push eax
call fcn.10006750
mov edi, dword [ebp - 0x2f0]
lea eax, [ebp - 0x2d0]
cmp dword [ebp - 0x2bc], 0x10
mov edx, edi
mov ecx, dword [ebp - 0x2d0]
cmovae eax, ecx
mov dword [ebp - 0x2f4], ecx
cmp dword [edi + 0x14], 0x10
mov esi, dword [edi + 0x10]
jb 0x100038b2
mov edx, dword [edi]
cmp esi, dword [ebp - 0x2c0]
jne 0x10003917
sub esi, 4
jb 0x100038d1
nop
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x100038d6
add edx, 4
add eax, 4
sub esi, 4
jae 0x100038c0
cmp esi, 0xfffffffc
je 0x1000390a
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x10003903
cmp esi, 0xfffffffd
je 0x1000390a
mov cl, byte [edx + 1]
cmp cl, byte [eax + 1]
jne 0x10003903
cmp esi, 0xfffffffe
je 0x1000390a
mov cl, byte [edx + 2]
cmp cl, byte [eax + 2]
jne 0x10003903
cmp esi, 0xffffffff
je 0x1000390a
mov cl, byte [edx + 3]
cmp cl, byte [eax + 3]
je 0x1000390a
sbb eax, eax
or eax, 1
jmp 0x1000390c
xor eax, eax
mov byte [ebp - 0x2a9], 1
test eax, eax
je 0x1000391e
mov byte [ebp - 0x2a9], 0
mov eax, dword [ebp - 0x2bc]
cmp eax, 0x10
jb 0x1000395a
mov edx, dword [ebp - 0x2f4]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x10003950
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000368e
push ecx
push edx
call fcn.10007c23
add esp, 8
mov ecx, dword [ebp - 0x2d8]
cmp ecx, 0x10
jb 0x10003994
mov edx, dword [ebp - 0x2ec]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000398a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000368e
push ecx
push edx
call fcn.10007c23
add esp, 8
cmp byte [ebp - 0x2a9], 0
mov dword [ebp - 0x2dc], 0
mov dword [ebp - 0x2d8], 0xf
mov byte [ebp - 0x2ec], 0
jne 0x10003a91
mov eax, dword [ebp - 0x2fc]
add edi, 0x18
mov dword [ebp - 0x2f0], edi
cmp edi, dword [ebp - 0x2f8]
jne 0x100037a0
mov edi, dword [ebp - 0x2d4]
nop dword [eax]
lea eax, [ebp - 0x288]
push eax
push dword [edi + 0x38]
call fcn.1000746a
cmp eax, 0x12
je 0x10003a35
test eax, eax
jne 0x10003be0
cmp word [ebp - 0x25c], 0x2e
jne 0x10003a22
mov ax, word [ebp - 0x25a]
test ax, ax
je 0x100039e0
cmp ax, 0x2e
jne 0x10003a22
cmp word [ebp - 0x258], 0
je 0x100039e0
lea eax, [ebp - 0x288]
mov ecx, edi
push eax
call fcn.10003220
jmp 0x10003729
mov edx, dword [ebp - 0x2b8]
xor edi, edi
mov esi, dword [ebp - 0x2b0]
xor ecx, ecx
mov dword [ebp - 0x2d4], edi
mov dword [ebp - 0x2b0], ecx
test edx, edx
je 0x10003730
or eax, 0xffffffff
lock xadd dword [edx + 4], eax
jne 0x10003730
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov ecx, dword [ebp - 0x2b8]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
mov ecx, edi
jne 0x10003730
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, edi
jmp 0x10003730
mov esi, dword [ebp - 0x2b0]
or edi, 0xffffffff
test esi, esi
je 0x10003abd
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10003abd
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x10003abd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0x2b4]
test esi, esi
je 0x10003ae5
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10003ae5
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x10003ae5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x10003b19
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003b0f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003b98
push ecx
push edx
call fcn.10007c23
add esp, 8
mov al, 1
jmp 0x10003baa
or edi, 0xffffffff
test ecx, ecx
je 0x10003b4a
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x10003b4a
mov eax, dword [ecx]
call dword [eax]
mov esi, dword [ebp - 0x2b0]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x10003b4a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0x2b4]
test esi, esi
je 0x10003b72
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10003b72
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x10003b72
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x10003ba8
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003b9e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10003b9e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10007c23
add esp, 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100077b1
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
lea eax, [ebp - 0x2d0]
mov edx, esi
push eax
mov ecx, str.directory_iterator::directory_iterator
call fcn.10002e20
call fcn.10005bc0
mov edx, eax
call fcn.10002ce0
int3