Function at 0x140042664
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
mov r11, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x930
mov qword [r11 - 0x6d8], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov rax, qword [0x1401620b0]
xor rax, rsp
mov qword [rsp + 0x920], rax
mov r13, rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [r11 - 0x248]
call fcn.1400b6460
mov edx, 0x104
lea rcx, [rsp + 0x710]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xor r12d, r12d
test eax, eax
je 0x140042f69
lea rdx, [rsp + 0x710]
lea rcx, [rsp + 0x3f8]
call fcn.140009898
nop
lea r8d, [r12 + 0x1e]
lea rdx, str.PerformanceWinSATDataStore_
lea rcx, [rsp + 0x3f8]
call fcn.140004c90
lea rdx, [rsp + 0x3f8]
lea rcx, [rsp + 0x3d8]
call fcn.140004d88
nop
lea r8d, [r12 + 3]
lea rdx, [0x14011eb88]
lea rcx, [rsp + 0x3d8]
call fcn.140004c90
xor edx, edx
mov r8d, 0x250
lea rcx, [rsp + 0x4c0]
call fcn.1400b6460
lea rcx, [rsp + 0x3d8]
cmp qword [rsp + 0x3f0], 8
cmovae rcx, qword [rsp + 0x3d8]
lea rdx, [rsp + 0x4c0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140042796
lea rcx, [rsp + 0x3d8]
call fcn.140005cfc
nop
lea rcx, [rsp + 0x3f8]
call fcn.140005cfc
nop
jmp 0x140042f69
mov qword [rsp + 0x3c8], r12
mov qword [rsp + 0x3d0], r12
mov qword [rsp + 0x3c8], r12
mov qword [rsp + 0x3d0], 7
mov word [rsp + 0x3b8], r12w
mov rbx, r12
mov esi, 6
lea rdx, [rsp + 0x3f8]
lea rcx, [rsp + 0x398]
call fcn.140004d88
nop
lea rax, [rsp + 0x4ec]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r12w
jne 0x1400427ed
lea rdx, [rsp + 0x4ec]
lea rcx, [rsp + 0x398]
call fcn.140004c90
test byte [rsp + 0x4c0], 0x10
jne 0x1400428da
lea rcx, [rsp + 0x398]
cmp qword [rsp + 0x3b0], 8
cmovae rcx, qword [rsp + 0x398]
mov qword [rsp + 0x20], rsi
lea r9, str.Formal
xor r8d, r8d
mov rdx, qword [rsp + 0x3a8]
call fcn.14000f51c
cmp rax, 0xffffffffffffffff
je 0x1400428da
lea rcx, [rsp + 0x398]
cmp qword [rsp + 0x3b0], 8
cmovae rcx, qword [rsp + 0x398]
lea r8, [rsp + 0x418]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x1400428da
mov eax, dword [rsp + 0x424]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x428]
mov dword [rsp + 0x34], eax
cmp qword [rsp + 0x30], rbx
jle 0x1400428da
mov rbx, qword [rsp + 0x30]
lea rdx, [rsp + 0x398]
cmp qword [rsp + 0x3b0], 8
cmovae rdx, qword [rsp + 0x398]
mov r8, qword [rsp + 0x3a8]
lea rcx, [rsp + 0x3b8]
call fcn.140005dd4
nop
lea rcx, [rsp + 0x398]
call fcn.140005cfc
nop
lea rdx, [rsp + 0x4c0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400427cb
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
lea rcx, [rsp + 0x3b8]
call fcn.1400eca78
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x288], rcx
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0xa8], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0xb0], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r12
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x78]
call fcn.1400ed4d8
mov r15, r12
mov qword [rsp + 0x90], r12
mov rcx, r12
mov rax, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
sub rax, rdx
sar rax, 3
cmp rcx, rax
jae 0x140042e66
mov rdi, qword [rdx + r15*8]
lea rdx, [rsp + 0x440]
mov rcx, rdi
call fcn.1400ed4f8
nop
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0xc8], rsi
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0xd0], rcx
cmp qword [rax + 0x18], 8
jb 0x1400429cc
mov rax, qword [rax]
mov qword [rsp + 0xd8], rax
cmp rcx, rsi
jne 0x140042a1f
mov rdx, rsi
lea r8, str.WinSPR
mov ecx, r12d
mov dword [rsp + 0x3c], ecx
movzx r9d, word [r8]
cmp word [rax], r9w
jae 0x140042a03
or ecx, 0xffffffff
mov dword [rsp + 0x3c], ecx
test ecx, ecx
jne 0x140042a1f
mov bl, 1
jmp 0x140042a22
jbe 0x140042a0c
mov ecx, 1
jmp 0x1400429f7
cmp rdx, 1
je 0x1400429fb
dec rdx
add rax, 2
add r8, 2
jmp 0x1400429ea
mov bl, r12b
mov byte [rsp + 0x38], bl
xor bl, 1
mov byte [rsp + 0x39], bl
lea rcx, [rsp + 0x440]
call fcn.140005cfc
nop
test bl, bl
je 0x140042a44
jmp 0x140042e53
lea rax, [rsp + 0x40]
mov qword [rsp + 0xe0], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0xe8], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r12
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.1400ed4d8
mov r14, r12
mov qword [rsp + 0xa0], r12
mov rcx, r12
mov rax, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
sub rax, rdx
sar rax, 3
cmp rcx, rax
jae 0x140042da3
mov rsi, qword [rdx + r14*8]
lea rdx, [rsp + 0x460]
mov rcx, rsi
call fcn.1400ed5d8
nop
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0xf8], rax
mov rbx, qword [rax + 0x10]
mov qword [rsp + 0x100], rbx
test rbx, rbx
sete byte [rsp + 0x3a]
test rbx, rbx
setne byte [rsp + 0x3b]
lea rcx, [rsp + 0x460]
call fcn.140005cfc
nop
test rbx, rbx
je 0x140042d90
mov ecx, 0x40
call fcn.140097464
mov qword [rsp + 0x108], rax
mov qword [rsp + 0x110], rax
mov qword [rsp + 0x118], rax
mov qword [rsp + 0x120], rax
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], r12
mov qword [rsp + 0x128], rax
mov qword [rsp + 0x130], rax
mov qword [rax + 0x10], r12
mov edx, 7
mov qword [rax + 0x18], rdx
mov word [rsp + 0x70], r12w
mov word [rax], r12w
lea rcx, [rax + 0x20]
mov qword [rsp + 0x138], rcx
mov qword [rsp + 0x140], rcx
mov qword [rcx + 0x10], r12
mov qword [rcx + 0x18], r12
mov qword [rsp + 0x148], rcx
mov qword [rsp + 0x150], rcx
mov qword [rcx + 0x10], r12
mov qword [rcx + 0x18], rdx
mov word [rsp + 0x72], r12w
mov word [rcx], r12w
mov qword [rsp + 0x158], rax
mov qword [rsp + 0x160], rax
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x168], rcx
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x480]
mov rcx, rsi
call fcn.1400ed4f8
mov rbx, rax
mov rdi, qword [rsp + 0x30]
mov qword [rsp + 0x170], rdi
mov qword [rsp + 0x178], rax
cmp rdi, rax
je 0x140042c4b
mov rcx, rdi
call fcn.140005cfc
mov qword [rsp + 0x180], rbx
mov qword [rsp + 0x188], rbx
mov qword [rsp + 0x190], rdi
mov qword [rsp + 0x198], rdi
mov qword [rsp + 0x1a0], rdi
mov qword [rsp + 0x1a8], rbx
movups xmm0, xmmword [rbx]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rsp + 0x1b0], rbx
mov qword [rsp + 0x1b8], rbx
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 7
mov word [rsp + 0x74], r12w
mov word [rbx], r12w
lea rcx, [rsp + 0x480]
call fcn.140005cfc
nop
lea rdx, [rsp + 0x4a0]
mov rcx, rsi
call fcn.1400ed5d8
mov rbx, rax
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x1c0], rcx
lea rdi, [rcx + 0x20]
mov qword [rsp + 0x1c8], rax
cmp rdi, rax
je 0x140042cf6
mov rcx, rdi
call fcn.140005cfc
mov qword [rsp + 0x1d0], rbx
mov qword [rsp + 0x1d8], rbx
mov qword [rsp + 0x1e0], rdi
mov qword [rsp + 0x1e8], rdi
mov qword [rsp + 0x1f0], rdi
mov qword [rsp + 0x1f8], rbx
movups xmm0, xmmword [rbx]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rsp + 0x200], rbx
mov qword [rsp + 0x208], rbx
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 7
mov word [rsp + 0x76], r12w
mov word [rbx], r12w
lea rcx, [rsp + 0x4a0]
call fcn.140005cfc
nop
lea rcx, [r13 + 0x2288]
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x210], rax
mov qword [rsp + 0x80], rax
mov rdx, qword [rcx + 8]
lea r8, [rsp + 0x80]
cmp qword [rcx + 0x10], rdx
je 0x140042d4c
mov qword [rsp + 0x218], r8
mov qword [rsp + 0x220], rdx
mov qword [rdx], rax
add qword [rcx + 8], 8
jmp 0x140042d51
call fcn.14003f96c
mov qword [rsp + 0x30], r12
mov rbx, qword [rsp + 0x30]
mov qword [rsp + 0x228], rbx
test rbx, rbx
je 0x140042d90
mov qword [rsp + 0x230], rbx
lea rcx, [rbx + 0x20]
call fcn.140005cfc
nop
mov rcx, rbx
call fcn.140005cfc
nop
mov edx, 0x40
mov rcx, rbx
call fcn.1400974a0
inc r14
mov qword [rsp + 0xa0], r14
mov rcx, r14
jmp 0x140042a87
lea rax, [rsp + 0x40]
mov qword [rsp + 0x238], rax
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x240], rcx
test rcx, rcx
je 0x140042e4e
mov rax, qword [rsp + 0x50]
sub rax, rcx
sar rax, 3
mov qword [rsp + 0x248], rax
mov rdx, rax
shl rdx, 3
mov qword [rsp + 0x88], rdx
cmp rdx, 0x1000
jb 0x140042e3b
lfence
mov rdx, qword [rsp + 0x88]
add rdx, 0x27
mov qword [rsp + 0x88], rdx
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x250], rax
mov rcx, qword [rax - 8]
sub rax, rcx
mov qword [rsp + 0x258], rax
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140042f98
mov r15, qword [rsp + 0x90]
call fcn.1400974a0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r12
mov esi, 6
inc r15
mov qword [rsp + 0x90], r15
mov rcx, r15
jmp 0x14004296f
lea rax, [rsp + 0x58]
mov qword [rsp + 0x260], rax
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x268], rcx
test rcx, rcx
je 0x140042ef5
mov rax, qword [rsp + 0x68]
sub rax, rcx
sar rax, 3
mov qword [rsp + 0x270], rax
mov rdx, rax
shl rdx, 3
mov qword [rsp + 0x98], rdx
cmp rdx, 0x1000
jb 0x140042ee2
lfence
mov rdx, qword [rsp + 0x98]
add rdx, 0x27
mov qword [rsp + 0x98], rdx
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax - 8]
sub rax, rcx
sub rax, 8
cmp rax, 0x1f
ja 0x140042f9e
call fcn.1400974a0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r12
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140042f11
mov rax, qword [rcx]
mov edx, 1
mov rax, qword [rax]
call qword [case.0x14007ca24.0]
nop
lea rcx, [rsp + 0x3b8]
call fcn.140005cfc
nop
lea rcx, [rsp + 0x3d8]
call fcn.140005cfc
nop
lea rcx, [rsp + 0x3f8]
call fcn.140005cfc
nop
mov al, 1
jmp 0x140042f6b
xor al, al
mov rcx, qword [rsp + 0x920]
xor rcx, rsp
call fcn.140097440
lea r11, [rsp + 0x930]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.1400bd1c0
nop
call fcn.1400bd1c0
int3