Function at 0x10003660
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 0x10008940
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x318
mov eax, dword [0x1000b008]
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.9A_]
xor ecx, ecx
movups xmmword [ebp - 0x2f0], xmm0
mov dword [ebp - 0x2e0], 0xd1beb8e7
mov word [ebp - 0x2dc], 0x100
lea eax, [ecx + 0x7a]
xor byte [ebp + ecx - 0x2f0], al
inc ecx
cmp ecx, 0x14
jb 0x100036c4
push 0x14
lea eax, [ebp - 0x2f0]
mov byte [ebp - 0x2db], 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.10006710
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.10007158
mov edx, eax
lea ecx, [ebp - 0x2f0]
call fcn.10002070
add esp, 8
lea eax, [ebp - 0x2f0]
xor esi, esi
lea ecx, [ebp - 0x2a8]
xor edi, edi
mov dword [ebp - 0x2b4], esi
mov dword [ebp - 0x2b8], edi
push esi
push eax
call fcn.100031d0
cmp byte [ebp - 0x3c], 0
je 0x10003788
push 0x50
call fcn.10007621
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 - 0x2b8], edi
call fcn.100034e0
push dword [ebp - 0x290]
mov esi, dword [ebp - 0x38]
call fcn.100072ed
mov ecx, dword [ebp - 0x294]
cmp ecx, 8
jb 0x100037d8
mov edx, dword [ebp - 0x2a8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100037ce
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100037ce
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10007a85
add esp, 8
test esi, esi
jne 0x10003d18
mov ecx, dword [ebp - 0x2dc]
cmp ecx, 8
jb 0x10003822
mov edx, dword [ebp - 0x2f0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10003818
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10003818
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10007a85
add esp, 8
mov esi, dword [ebp - 0x2b4]
test esi, esi
je 0x10003830
lock inc dword [esi + 4]
mov ecx, esi
mov dword [ebp - 0x2b0], ecx
test esi, esi
je 0x10003870
lock inc dword [esi + 4]
test esi, esi
je 0x10003870
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x10003870
mov eax, dword [esi]
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x10003863
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x2b0]
nop dword [eax]
mov dword [ebp - 0x2d8], ecx
test edi, edi
je 0x10003c70
lea eax, [ebp - 0x31c]
mov ecx, edi
push eax
call fcn.10003110
mov eax, dword [eax]
cmp eax, 1
je 0x10003b30
test eax, eax
je 0x10003b30
lea eax, [ebp - 0x324]
mov ecx, edi
push eax
call fcn.10003110
cmp dword [eax], 3
je 0x10003b30
mov eax, dword [0x1000b5ac]
mov ecx, dword [0x1000b5b0]
mov dword [ebp - 0x2d4], eax
mov dword [ebp - 0x2f8], ecx
cmp eax, ecx
je 0x10003b30
lea ecx, [edi + 0x20]
mov dword [ebp - 0x2fc], ecx
nop
cmp dword [ecx + 0x14], 8
mov eax, ecx
jb 0x100038ea
mov eax, dword [ecx]
push dword [ecx + 0x10]
lea ecx, [ebp - 0x2d0]
push eax
call fcn.10006ea0
mov ecx, dword [ebp - 0x2c0]
add esp, 8
mov eax, dword [ebp - 0x1c]
xorps xmm0, xmm0
mov dword [ebp - 0x304], 0
mov dword [ebp - 0x300], 0
movups xmmword [ebp - 0x314], xmm0
cmp ecx, eax
jb 0x10003d2b
mov edx, dword [ebp - 0x2bc]
sub ecx, eax
mov edi, dword [ebp - 0x2d0]
or esi, 0xffffffff
cmp ecx, 0xffffffff
cmovb esi, ecx
cmp edx, 0x10
lea ecx, [ebp - 0x2d0]
cmovae ecx, edi
cmp esi, 0x10
jb 0x100039c1
test eax, eax
je 0x10003970
add eax, ecx
push esi
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
mov edx, dword [ebp - 0x2bc]
add esp, 0xc
mov edi, dword [ebp - 0x2d0]
cmp edx, 0x10
mov dword [ebp - 0x2c0], esi
lea eax, [ebp - 0x2d0]
cmovae eax, edi
mov byte [eax + esi], 0
movups xmm0, xmmword [ebp - 0x2d0]
mov byte [ebp - 0x2d0], 0
movups xmmword [ebp - 0x314], xmm0
movq xmm0, qword [ebp - 0x2c0]
movq qword [ebp - 0x304], xmm0
mov dword [ebp - 0x2c0], 0
mov dword [ebp - 0x2bc], 0xf
jmp 0x100039d0
add eax, ecx
lea ecx, [ebp - 0x314]
push esi
push eax
call fcn.10006710
mov edi, dword [ebp - 0x2d4]
lea eax, [ebp - 0x314]
cmp dword [ebp - 0x300], 0x10
mov edx, edi
mov ecx, dword [ebp - 0x314]
cmovae eax, ecx
mov dword [ebp - 0x2f4], ecx
cmp dword [edi + 0x14], 0x10
mov esi, dword [edi + 0x10]
jb 0x100039ff
mov edx, dword [edi]
cmp esi, dword [ebp - 0x304]
jne 0x10003a67
sub esi, 4
jb 0x10003a21
nop dword [eax]
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x10003a26
add edx, 4
add eax, 4
sub esi, 4
jae 0x10003a10
cmp esi, 0xfffffffc
je 0x10003a5a
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x10003a53
cmp esi, 0xfffffffd
je 0x10003a5a
mov cl, byte [edx + 1]
cmp cl, byte [eax + 1]
jne 0x10003a53
cmp esi, 0xfffffffe
je 0x10003a5a
mov cl, byte [edx + 2]
cmp cl, byte [eax + 2]
jne 0x10003a53
cmp esi, 0xffffffff
je 0x10003a5a
mov cl, byte [edx + 3]
cmp cl, byte [eax + 3]
je 0x10003a5a
sbb eax, eax
or eax, 1
jmp 0x10003a5c
xor eax, eax
mov byte [ebp - 0x2a9], 1
test eax, eax
je 0x10003a6e
mov byte [ebp - 0x2a9], 0
mov eax, dword [ebp - 0x300]
cmp eax, 0x10
jb 0x10003aaa
mov edx, dword [ebp - 0x2f4]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x10003aa0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100037c8
push ecx
push edx
call fcn.10007a85
add esp, 8
mov ecx, dword [ebp - 0x2bc]
cmp ecx, 0x10
jb 0x10003ae4
mov edx, dword [ebp - 0x2d0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003ada
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100037c8
push ecx
push edx
call fcn.10007a85
add esp, 8
cmp byte [ebp - 0x2a9], 0
mov dword [ebp - 0x2c0], 0
mov dword [ebp - 0x2bc], 0xf
mov byte [ebp - 0x2d0], 0
jne 0x10003be1
mov ecx, dword [ebp - 0x2fc]
add edi, 0x18
mov dword [ebp - 0x2d4], edi
cmp edi, dword [ebp - 0x2f8]
jne 0x100038e0
mov edi, dword [ebp - 0x2b8]
nop dword [eax]
lea eax, [ebp - 0x288]
push eax
push dword [edi + 0x38]
call fcn.100072cc
cmp eax, 0x12
je 0x10003b85
test eax, eax
jne 0x10003d30
cmp word [ebp - 0x25c], 0x2e
jne 0x10003b72
mov ax, word [ebp - 0x25a]
test ax, ax
je 0x10003b30
cmp ax, 0x2e
jne 0x10003b72
cmp word [ebp - 0x258], 0
je 0x10003b30
lea eax, [ebp - 0x288]
mov ecx, edi
push eax
call fcn.10003360
jmp 0x10003863
mov edx, dword [ebp - 0x2d8]
xor edi, edi
mov esi, dword [ebp - 0x2b0]
xor ecx, ecx
mov dword [ebp - 0x2b8], edi
mov dword [ebp - 0x2b0], ecx
test edx, edx
je 0x10003870
or eax, 0xffffffff
lock xadd dword [edx + 4], eax
jne 0x10003870
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov ecx, dword [ebp - 0x2d8]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
mov ecx, edi
jne 0x10003870
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, edi
jmp 0x10003870
mov esi, dword [ebp - 0x2b0]
or edi, 0xffffffff
test esi, esi
je 0x10003c0d
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10003c0d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x10003c0d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0x2b4]
test esi, esi
je 0x10003c35
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10003c35
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x10003c35
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x10003c69
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003c5f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003ce8
push ecx
push edx
call fcn.10007a85
add esp, 8
mov al, 1
jmp 0x10003cfa
or edi, 0xffffffff
test ecx, ecx
je 0x10003c9a
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x10003c9a
mov eax, dword [ecx]
call dword [eax]
mov esi, dword [ebp - 0x2b0]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x10003c9a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0x2b4]
test esi, esi
je 0x10003cc2
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10003cc2
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x10003cc2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x10003cf8
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003cee
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10003cee
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10007a85
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.10007613
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
lea eax, [ebp - 0x2f0]
mov edx, esi
push eax
mov ecx, str.directory_iterator::directory_iterator
call fcn.10002f60
call fcn.10005bc0
mov edx, eax
call fcn.10002e20
int3