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

Disassembly:
push rbp
push rbx
push r14
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [0x18012a010]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov r14, rcx
mov ecx, 0x104
call fcn.1800d7fd4
mov rbx, rax
test rax, rax
je 0x180092c22
xor r9d, r9d
mov qword [rsp + 0x2c8], r12
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r9 + 0x1a]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
xor r12d, r12d
mov qword [rbp + 8], 0xf
xor r8d, r8d
mov qword [rbp], r12
lea rdx, [0x18010e0f0]
mov byte [rbp - 0x10], r12b
lea rcx, [rbp - 0x10]
call fcn.1800c2b50
mov r8, 0xffffffffffffffff
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], r12b
nop word [rax + rax]
inc r8
cmp byte [rbx + r8], r12b
jne 0x1800925c0
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.1800c2b50
lea rdx, [0x18012cc58]
lea rcx, [rbp - 0x50]
call fcn.1800c2490
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.18008b110
cmp qword [rbp - 0x18], 0x10
lea r8, [rbp - 0x30]
mov r9, qword [rbp - 0x20]
mov rcx, rax
cmovae r8, qword [rbp - 0x30]
call fcn.1800c7240
mov rdx, qword [rbp - 0x18]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], r12b
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rsp + 0x30], xmm1
movups xmmword [rbp + 0x20], xmm1
cmp rdx, 0x10
jb 0x180092678
mov rcx, qword [rbp - 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180092669
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180092c43
call fcn.1800cf9b0
movups xmm0, xmmword [rsp + 0x50]
movups xmm1, xmmword [rsp + 0x30]
mov rdx, qword [rbp - 0x58]
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm1
cmp rdx, 0x10
jb 0x1800926bb
mov rcx, qword [rbp - 0x70]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800926b6
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180092c43
call fcn.1800cf9b0
mov rbx, qword [rbp + 0x20]
mov qword [rsp + 0x280], r15
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], 0xf
lea rdx, [rbx + 2]
mov byte [rsp + 0x70], r12b
cmp rdx, 0x10
jb 0x1800926f0
lea rcx, [rsp + 0x70]
call fcn.1800c8f90
mov qword [rbp - 0x80], r12
cmp qword [rbp + 0x28], 0x10
lea rdx, [rbp - 0x30]
mov r8, rbx
lea rcx, [rsp + 0x70]
cmovae rdx, qword [rbp + 0x10]
call fcn.1800c22c0
mov r8d, 2
lea rdx, [0x180118e88]
lea rcx, [rsp + 0x70]
call fcn.1800c22c0
cmp qword [rbp - 0x78], 0x10
lea rcx, [rsp + 0x70]
lea rdx, [rbp + 0x30]
cmovae rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rdx, qword [rbp - 0x78]
mov r15, rax
cmp rdx, 0x10
jb 0x18009277b
mov rcx, qword [rsp + 0x70]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180092776
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180092c49
call fcn.1800cf9b0
mov qword [rsp + 0x288], r13
movabs r13, 0x7fffffffffffffff
mov qword [rsp + 0x2b8], rsi
mov qword [rsp + 0x2c0], rdi
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], r12b
nop
test byte [rbp + 0x30], 0x10
je 0x180092b11
mov qword [rbp + 0x20], r12
lea rax, [rbp + 0x5c]
mov qword [rbp + 0x28], 0xf
mov r8, 0xffffffffffffffff
mov byte [rbp + 0x10], r12b
inc r8
cmp byte [rax + r8], r12b
jne 0x1800927d5
lea rdx, [rbp + 0x5c]
lea rcx, [rbp + 0x10]
call fcn.1800c2b50
cmp qword [0x18012d550], 0x10
lea rsi, [0x18012d538]
mov rdi, qword [0x18012d548]
cmovae rsi, qword [0x18012d538]
cmp rdi, 0x10
jae 0x180092820
movups xmm0, xmmword [rsi]
mov qword [rbp - 0x58], 0xf
movups xmmword [rbp - 0x70], xmm0
jmp 0x180092890
mov rbx, rdi
or rbx, 0xf
cmp rbx, r13
cmova rbx, r13
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x18009286a
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180092c55
mov rcx, rax
call fcn.1800cf9b8
mov rcx, rax
test rax, rax
je 0x180092c3d
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x180092879
test rcx, rcx
je 0x180092876
call fcn.1800cf9b8
jmp 0x180092879
mov rax, r12
lea r8, [rdi + 1]
mov qword [rbp - 0x70], rax
mov rdx, rsi
mov rcx, rax
call fcn.1800d3040
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x60], rdi
lea rcx, [rbp + 0x5c]
mov qword [rsp + 0x40], r12
mov rax, 0xffffffffffffffff
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], r12b
cmp byte [rcx + rax + 1], r12b
lea rax, [rax + 1]
jne 0x1800928b2
mov rbx, qword [rbp - 0x20]
lea rdx, [rax + rbx]
cmp rdx, 0x10
jb 0x1800928da
lea rcx, [rsp + 0x30]
call fcn.1800c8f90
mov qword [rsp + 0x40], r12
cmp qword [rbp - 0x18], 0x10
lea rdx, [rbp - 0x30]
mov r8, rbx
lea rcx, [rsp + 0x30]
cmovae rdx, qword [rbp - 0x30]
call fcn.1800c22c0
lea rax, [rbp + 0x5c]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r12b
jne 0x180092900
lea rdx, [rbp + 0x5c]
lea rcx, [rsp + 0x30]
call fcn.1800c22c0
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x50]
call fcn.18008b110
mov rcx, qword [rsp + 0x48]
mov rdx, rax
mov r9, qword [rsp + 0x40]
mov r8, qword [rax + 0x10]
mov rax, rcx
sub rax, r9
cmp r8, rax
jbe 0x180092965
mov rax, qword [rdx + 0x18]
sub rax, r8
cmp rax, r9
jb 0x180092965
cmp rcx, 0x10
lea r8, [rsp + 0x30]
mov rcx, rdx
cmovae r8, qword [rsp + 0x30]
call fcn.1800c7240
jmp 0x180092979
cmp qword [rdx + 0x18], 0x10
jb 0x18009296f
mov rdx, qword [rdx]
lea rcx, [rsp + 0x30]
call fcn.1800c22c0
mov qword [rsp + 0x60], r12
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x68], r12
lea rdx, [0x180118d80]
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov byte [rax], r12b
mov qword [rax + 0x18], 0xf
mov qword [rax + 0x10], r12
cmp qword [rsp + 0x68], 0x10
cmovae rcx, qword [rsp + 0x50]
call fcn.1800db8c8
test rax, rax
je 0x1800929d1
mov rcx, rax
call fcn.1800db958
mov bl, 1
jmp 0x1800929d3
xor bl, bl
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x180092a10
mov rcx, qword [rsp + 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180092a0b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180092c3d
call fcn.1800cf9b0
mov rdx, qword [rsp + 0x48]
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], r12b
cmp rdx, 0x10
jb 0x180092a60
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180092a5b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180092c3d
call fcn.1800cf9b0
mov rdx, qword [rbp - 0x38]
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], r12b
cmp rdx, 0x10
jb 0x180092aae
mov rcx, qword [rbp - 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180092aa9
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180092c3d
call fcn.1800cf9b0
test bl, bl
je 0x180092ad6
lea rax, [rbp + 0x5c]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], r12b
jne 0x180092ac0
lea rdx, [rbp + 0x5c]
lea rcx, [rbp - 0x10]
call fcn.1800c2b50
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x180092b11
mov rcx, qword [rbp + 0x10]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180092b0c
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180092c4f
call fcn.1800cf9b0
lea rdx, [rbp + 0x30]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1800927b0
mov rbx, qword [rbp - 0x20]
mov rdi, qword [rbp]
mov qword [r14 + 0x10], r12
mov qword [r14 + 0x18], 0xf
mov byte [r14], r12b
lea rdx, [rbx + rdi]
cmp rdx, 0x10
jb 0x180092b53
mov rcx, r14
call fcn.1800c8f90
mov qword [r14 + 0x10], r12
cmp qword [rbp - 0x18], 0x10
lea rdx, [rbp - 0x30]
mov r8, rbx
mov rcx, r14
cmovae rdx, qword [rbp - 0x30]
call fcn.1800c22c0
cmp qword [rbp + 8], 0x10
lea rdx, [rbp - 0x10]
mov r8, rdi
mov rcx, r14
cmovae rdx, qword [rbp - 0x10]
call fcn.1800c22c0
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x180092bc0
mov rcx, qword [rbp - 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180092bbb
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180092c4f
call fcn.1800cf9b0
mov rdx, qword [rbp + 8]
cmp rdx, 0x10
jb 0x180092bf7
mov rcx, qword [rbp - 0x10]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180092bf2
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180092c4f
call fcn.1800cf9b0
mov rsi, qword [rsp + 0x2b8]
mov rax, r14
mov rdi, qword [rsp + 0x2c0]
mov r13, qword [rsp + 0x288]
mov r15, qword [rsp + 0x280]
mov r12, qword [rsp + 0x2c8]
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1800cf6f0
add rsp, 0x290
pop r14
pop rbx
pop rbp
ret
call fcn.1800dec10
int3
call fcn.1800dec10
int3
call fcn.1800dec10
int3
call fcn.1800dec10
int3
call fcn.1800892e0
int3