Function at 0x140025bd0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x238]
sub rsp, 0x338
mov rax, qword [0x14006c080]
xor rax, rsp
mov qword [rbp + 0x220], rax
mov qword [rbp - 0x48], r8
mov rdi, rcx
mov qword [rbp - 0x50], rdx
lea rcx, [rbp - 0x30]
xor r13d, r13d
mov qword [rbp - 0x40], r9
xor edx, edx
mov r8d, 0x250
mov r12d, r13d
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov dword [rsp + 0x58], r13d
mov esi, r13d
mov dword [rsp + 0x40], r13d
test rdi, rdi
je 0x140026220
cmp r13w, word [rdi]
je 0x140026220
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140025920
lea r14d, [r13 + 1]
test eax, eax
je 0x140025d1c
cmp dword [rsp + 0x40], r13d
je 0x140025d1c
mov ebx, dword [rbp + 0x2a0]
mov eax, ebx
and eax, 2
mov dword [rsp + 0x50], r13d
test al, al
jne 0x140025cbe
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140025b7c
test eax, eax
je 0x140025c97
cmp dword [rsp + 0x50], r13d
jne 0x140025d1c
and ebx, r14d
mov dword [rsp + 0x54], r13d
test bl, bl
jne 0x140025cbe
lea rdx, [rsp + 0x54]
mov rcx, rdi
call fcn.1400259d8
test eax, eax
je 0x140025cd4
cmp dword [rsp + 0x54], 0x80000008
je 0x140025d1c
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
mov eax, r14d
jmp 0x140026233
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
lea rdx, [rsp + 0x40]
mov rcx, rdi
mov ebx, eax
call fcn.140025920
test eax, eax
je 0x140025d1c
cmp dword [rsp + 0x40], r13d
je 0x140025d1c
mov r9d, ebx
lea r8, str.EnumeratePathEx:_Unable_to_get_reparse_tag_for_persistent_reparse_point__GLE__0x_x
mov edx, 0x2000000
lea rcx, [0x14006c908]
call fcn.140023424
mov ecx, ebx
jmp 0x140026225
or r14, 0xffffffffffffffff
mov r15d, r13d
mov rbx, r14
inc rbx
cmp word [rdi + rbx*2], r13w
jne 0x140025d26
mov edx, 0x5c
test ebx, ebx
je 0x140025d47
lea eax, [rbx - 1]
cmp dx, word [rdi + rax*2]
lea eax, [rdx - 0x5b]
cmovne r15d, eax
mov rcx, qword gs:[0x60]
lea eax, [r15 + 2]
add eax, ebx
mov edx, 8
mov qword [rbp - 0x38], rax
mov rcx, qword [rcx + 0x30]
lea r8, [rax + rax]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
xor ecx, ecx
mov r13, rax
test rax, rax
jne 0x140025d95
mov rax, qword gs:[0x30]
mov r13d, ecx
mov dword [rax + 0x68], 8
jmp 0x140026195
mov rdx, qword [rbp - 0x38]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov r8, rdi
lea rax, [rsp + 0x48]
mov r9d, ebx
mov rcx, r13
mov qword [rsp + 0x20], rax
call fcn.140025590
mov ebx, eax
test eax, eax
js 0x140026162
test r15d, r15d
je 0x140025dfc
mov rdx, qword [rsp + 0x60]
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
lea r8, [0x14005be20]
mov qword [rsp + 0x28], rax
mov r9d, 1
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call fcn.140025590
mov ebx, eax
xor r15d, r15d
test ebx, ebx
js 0x140026165
mov rdx, qword [rsp + 0x60]
lea r9d, [r15 + 1]
mov rcx, qword [rsp + 0x48]
lea r8, [0x14005fb08]
call 0x1400087d0
mov ebx, eax
test eax, eax
js 0x140026165
mov rax, qword gs:[0x30]
xor edx, edx
mov rcx, r13
mov dword [rax + 0x68], r15d
call fcn.1400240d8
mov r12, rax
test rax, rax
je 0x140026195
lea rdx, [rbp - 0x30]
mov rcx, rax
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindFirstFileW]
nop dword [rax + rax]
mov r15, rax
cmp rax, r14
je 0x140026101
xor edx, edx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x40]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
xor eax, eax
mov ebx, eax
cmp ax, word [rdi]
je 0x140025f31
mov dword [rbp - 0x74], eax
lea rdx, [rbp - 4]
mov qword [rbp - 0x68], rax
xorps xmm0, xmm0
mov eax, dword [rbp - 0x30]
mov rcx, rdi
mov dword [rsp + 0x70], eax
mov rax, qword [rbp - 0x2c]
mov qword [rsp + 0x74], rax
mov rax, qword [rbp - 0x24]
mov qword [rsp + 0x7c], rax
mov rax, qword [rbp - 0x1c]
mov qword [rbp - 0x7c], rax
mov eax, dword [rbp - 0x14]
mov dword [rsp + 0x4c], eax
mov eax, dword [rbp - 0x10]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x48]
mov qword [rbp - 0x70], rax
movdqa xmmword [rbp - 0x60], xmm0
call fcn.1400256bc
mov qword [rbp - 0x68], rax
test rax, rax
je 0x140025f25
mov edx, 0x5c
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_wcsrchr]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x68]
test rax, rax
je 0x140025f09
add rax, 2
jmp 0x140025f0c
mov rax, rcx
mov qword [rbp - 0x60], rax
call fcn.1400247c4
mov qword [rbp - 0x58], rax
test rax, rax
je 0x140025f25
mov ebx, 1
jmp 0x140025f42
lea rcx, [rsp + 0x70]
call fcn.140025894
jmp 0x140025f42
mov ecx, 0x57
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
xor eax, eax
lea ecx, [rax + 1]
cmp ebx, ecx
jne 0x140025ffa
test byte [rsp + 0x70], 0x10
je 0x140025fe0
cmp qword [rbp - 0x50], rax
je 0x140025ffa
mov rax, qword [rbp - 0x60]
lea r8, [0x14005ca5c]
mov edx, ecx
mov dword [rsp + 0x28], r14d
mov ecx, 0x409
mov qword [rsp + 0x20], rax
mov r9d, r14d
call qword [sym.imp.api_ms_win_core_string_l1_1_0.dll_CompareStringW]
nop dword [rax + rax]
cmp eax, 2
je 0x140025ffa
mov rax, qword [rbp - 0x60]
lea r8, [0x14005ca60]
mov dword [rsp + 0x28], r14d
mov r9d, r14d
mov edx, 1
mov qword [rsp + 0x20], rax
mov ecx, 0x409
call qword [sym.imp.api_ms_win_core_string_l1_1_0.dll_CompareStringW]
nop dword [rax + rax]
cmp eax, 2
je 0x140025ffa
mov r8, qword [rbp - 0x40]
lea rcx, [rsp + 0x70]
mov rdx, qword [rbp - 0x48]
mov rax, qword [rbp - 0x50]
call qword [0x14005b848]
jmp 0x140025ff8
mov rax, qword [rbp - 0x48]
test rax, rax
je 0x140025ffa
mov rdx, qword [rbp - 0x40]
lea rcx, [rsp + 0x70]
call qword [0x14005b848]
mov ebx, eax
xor eax, eax
cmp qword [rbp - 0x68], rax
je 0x140026034
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, qword [rbp - 0x68]
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x68]
test eax, eax
mov rax, rsi
cmovne rcx, rax
mov qword [rbp - 0x68], rcx
cmp qword [rbp - 0x58], rax
je 0x14002605b
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, qword [rbp - 0x58]
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
xor edx, edx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x40]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov eax, 1
cmp ebx, eax
jne 0x1400260c0
lea rdx, [rbp - 0x30]
mov rcx, r15
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindNextFileW]
nop dword [rax + rax]
mov ebx, 1
cmp eax, ebx
je 0x140025e7d
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x12
jne 0x1400260ab
mov dword [rsp + 0x58], ebx
jmp 0x1400260ed
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
lea r8, str.EnumeratePathEx:_Unable_to_enumerate___s___GLE__0x_x
jmp 0x1400260d3
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
lea r8, str.EnumeratePathEx:_Callback_requested_enumeration_interruption_or_hit_internal_enumeration_failure_on___s___GLE__0x_x
mov r9, r12
mov dword [rsp + 0x20], eax
mov edx, 0x2000000
lea rcx, [0x14006c908]
mov esi, eax
call fcn.140023424
mov rcx, r15
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindClose]
nop dword [rax + rax]
jmp 0x1400261c2
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov r9, r12
lea r8, str.EnumeratePathEx:_FindFirstFile_failed_for___s___GLE__0x_x
lea rcx, [0x14006c908]
mov dword [rsp + 0x20], eax
mov edx, 0x2000000
mov esi, eax
call fcn.140023424
xor eax, eax
inc r14
cmp word [r12 + r14*2], ax
jne 0x140026130
cmp r14, 0x104
jb 0x1400261c2
lea r8, str.EnumeratePathEx:_Failed_search_path_is___MAX_PATH_
mov edx, 0x3000000
lea rcx, [0x14006c908]
call fcn.140023424
mov esi, 0xce
jmp 0x1400261c2
xor r15d, r15d
mov rcx, qword gs:[0x60]
mov r8, r13
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov rax, qword gs:[0x30]
mov r13, r15
movzx ecx, bx
mov dword [rax + 0x68], ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov r9, rdi
lea r8, str.EnumeratePathEx:_Unable_to_construct_path_under___s___GLE__0x_x
lea rcx, [0x14006c908]
mov dword [rsp + 0x20], eax
mov edx, 0x2000000
mov esi, eax
call fcn.140023424
test r13, r13
je 0x1400261e7
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, r13
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
test r12, r12
je 0x14002620c
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, r12
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
mov ecx, esi
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
mov eax, dword [rsp + 0x58]
jmp 0x140026233
mov ecx, 0x57
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
xor eax, eax
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.1400582e0
add rsp, 0x338
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret