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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov rax, qword [0x140076000]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov rbx, rcx
mov qword [rsp + 0x30], rcx
xor edi, edi
lea rdx, [rbp + 0xe0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
lea rax, [rbp + 0xe0]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], dil
jne 0x140004683
lea rdx, [rbp + 0xe0]
lea rcx, [rsp + 0x38]
call fcn.14000aac0
nop
mov r8d, 1
lea rdx, [0x14006bcb0]
lea rcx, [rsp + 0x38]
call fcn.1400092d0
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x140004723
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000471e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004972
call fcn.14002f840
movdqa xmm0, xmmword [0x14006bfc0]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], 0
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0xf
cmova rcx, qword [rsp + 0x58]
lea rdx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov r12, rax
mov qword [rsp + 0x28], rax
cmp rax, 0xffffffffffffffff
je 0x1400048b2
test byte [rbp - 0x60], 0x10
je 0x140004894
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x70], rdi
lea rax, [rbp - 0x34]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140004790
lea rdx, [rbp - 0x34]
lea rcx, [rsp + 0x78]
call fcn.14000aac0
mov rsi, qword [rbx + 0x10]
mov r14, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400047b9
mov r14, qword [rbx]
lea r15, [rsp + 0x78]
mov r13, qword [rbp - 0x70]
cmp r13, 0xf
seta byte [rsp + 0x20]
mov rdi, qword [rsp + 0x78]
cmova r15, rdi
mov rax, qword [rbp - 0x78]
cmp rsi, rax
ja 0x14000485a
sub rax, rsi
test rsi, rsi
je 0x140004929
lea r12, [rax + r15]
movsx edx, byte [r14]
lea r8, [r12 + 1]
sub r8, r15
mov rcx, r15
call fcn.140057ff0
mov rbx, rax
test rax, rax
je 0x140004850
nop dword [rax]
mov r8, rsi
mov rdx, r14
mov rcx, rbx
call fcn.140058090
test eax, eax
je 0x140004843
inc rbx
lea r8, [r12 + 1]
sub r8, rbx
movsx edx, byte [r14]
mov rcx, rbx
call fcn.140057ff0
mov rbx, rax
test rax, rax
jne 0x140004810
jmp 0x140004850
sub rbx, r15
cmp rbx, 0xffffffffffffffff
jne 0x140004924
mov rbx, qword [rsp + 0x30]
mov r12, qword [rsp + 0x28]
cmp byte [rsp + 0x20], 0
je 0x140004892
lea rdx, [r13 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14000488a
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000496c
mov rcx, rdi
call fcn.14002f840
xor edi, edi
lea rdx, [rbp - 0x60]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x140004763
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindClose]
xor bl, bl
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x1400048f1
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400048ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004978
call fcn.14002f840
movzx eax, bl
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.14002f820
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov r12, qword [rsp + 0x28]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp r13, 0xf
jbe 0x140004965
lea rdx, [r13 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14000495d
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000496c
mov rcx, rdi
call fcn.14002f840
mov bl, 1
jmp 0x1400048b4
call fcn.140038478
int3
call fcn.140038478
nop
call fcn.140038478
int3