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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x4c8]
sub rsp, 0x5a0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x140346fc0]
xor rax, rsp
mov qword [rbp + 0x470], rax
mov rdi, rcx
mov qword [rsp + 0x68], rcx
xor esi, esi
mov dword [rsp + 0x44], esi
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
mov r12d, 1
mov dword [rsp + 0x44], r12d
lea rax, [rbp + 0x260]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x140034b9e
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], rsi
lea rax, [rbp + 0x260]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400345f0
lea rdx, [rbp + 0x260]
lea rcx, [rsp + 0x70]
call fcn.140025e20
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
mov r8d, 0x5c
lea rdx, str.92_77_111_122_105_108_108_97_92_70_105_114_101_102_111_120_92_80_114_111_102_105_108_101_115
lea rcx, [rsp + 0x48]
call fcn.140025e20
nop
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x50]
call fcn.140023cc0
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x140034687
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140034682
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140034c11
call fcn.140260e60
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova rdx, qword [rbp - 0x50]
mov r8, qword [rbp - 0x40]
add r8, rdx
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova rdx, qword [rbp - 0x50]
lea rcx, [rsp + 0x48]
call fcn.14005d8e0
nop
lea r8, [rsp + 0x70]
cmp qword [rbp - 0x78], 7
cmova r8, qword [rsp + 0x70]
mov r9, qword [rbp - 0x80]
mov rcx, rax
call fcn.14006c220
movups xmm7, xmmword [rax]
movups xmm6, xmmword [rax + 0x10]
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
or r12d, 8
mov dword [rsp + 0x44], r12d
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x140034731
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003472c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140034be1
call fcn.140260e60
movups xmmword [rsp + 0x70], xmm7
movups xmmword [rbp - 0x80], xmm6
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x14003477c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140034777
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140034be7
call fcn.140260e60
movabs rax, 0x7ffffffffffffffe
movq rcx, xmm6
sub rax, rcx
cmp rax, 2
jb 0x140034bed
lea r9, [rsp + 0x70]
cmp qword [rbp - 0x78], 7
cmova r9, qword [rsp + 0x70]
mov qword [rsp + 0x30], 2
lea rax, [0x1402f999c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r8, [rsp + 0x70]
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.14006c320
or r12d, 4
mov dword [rsp + 0x44], r12d
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
cmova rcx, qword [rsp + 0x48]
lea rdx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r13, rax
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x14003483f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003483a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140034bf3
call fcn.140260e60
movdqa xmm0, xmmword [0x1402fcf40]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], si
movzx ebx, byte [rsp + 0x40]
nop word [rax + rax]
test byte [rbp + 0x10], 0x10
je 0x140034b00
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], rsi
lea rax, [rbp + 0x3c]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140034884
lea rdx, [rbp + 0x3c]
lea rcx, [rbp - 0x30]
call fcn.140025e20
nop
lea r10, [rbp - 0x30]
mov r14, qword [rbp - 0x18]
cmp r14, 7
seta r15b
mov rsi, qword [rbp - 0x30]
cmova r10, rsi
mov rax, qword [rbp - 0x20]
cmp rax, 7
jb 0x140034ac4
add rax, 0xfffffffffffffffa
lea r11, [r10 + rax*2]
mov rax, r10
nop
mov rcx, r11
sub rcx, rax
sar rcx, 1
mov edx, 0
je 0x1400348fc
cmp word [rax], 0x64
je 0x1400348f9
cmp rcx, 1
je 0x1400348fc
dec rcx
add rax, 2
cmp word [rax], 0x64
jne 0x1400348e6
mov rdx, rax
mov rax, rdx
test rdx, rdx
je 0x140034ac4
mov r8d, 7
lea rcx, str.default
mov rdx, rcx
mov r9, rax
sub r9, rcx
nop
movzx ecx, word [r9 + rdx]
cmp cx, word [rdx]
jne 0x140034a01
add rdx, 2
sub r8, 1
jne 0x140034920
sub rax, r10
sar rax, 1
cmp rax, 0xffffffffffffffff
je 0x140034ac4
lea rax, [rbp + 0x3c]
mov rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], 0
jne 0x140034953
movabs rax, 0x7ffffffffffffffe
mov rdx, qword [rbp - 0x80]
sub rax, rdx
cmp rax, rcx
jb 0x140034c0b
lea r9, [rsp + 0x70]
cmp qword [rbp - 0x78], 7
cmova r9, qword [rsp + 0x70]
mov qword [rsp + 0x30], rcx
lea rax, [rbp + 0x3c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea r8, [rsp + 0x70]
movzx edx, bl
lea rcx, [rbp - 0x10]
call fcn.14006c320
or r12d, 2
mov dword [rsp + 0x44], r12d
lea rdx, [rbp - 0x10]
cmp qword [rbp + 8], 7
seta r8b
cmova rdx, qword [rbp - 0x10]
mov rax, qword [rbp]
lea r9, [rdx + rax*2]
lea rdx, [rbp - 0x10]
test r8b, r8b
cmovne rdx, qword [rbp - 0x10]
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xor eax, eax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
cmp rdx, r9
jne 0x140034a0a
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x70], al
jmp 0x140034a1a
add rax, 2
jmp 0x1400348d0
sub r9, rdx
sar r9, 1
lea rcx, [rbp - 0x70]
call fcn.140075aa0
nop
mov rax, qword [rdi + 8]
cmp rax, qword [rdi + 0x10]
je 0x140034a37
lea rdx, [rbp - 0x70]
mov rcx, rax
call fcn.140049840
add qword [rdi + 8], 0x20
jmp 0x140034a47
lea r8, [rbp - 0x70]
mov rdx, rax
mov rcx, rdi
call fcn.1400776b0
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x140034a83
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140034a7d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140034bff
call fcn.140260e60
nop
mov rdx, qword [rbp + 8]
cmp rdx, 7
jbe 0x140034ac4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140034abe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140034c05
call fcn.140260e60
nop
test r15b, r15b
je 0x140034afe
lea rdx, [r14*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140034af6
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140034c11
mov rcx, rsi
call fcn.140260e60
xor esi, esi
lea rdx, [rbp + 0x10]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140034860
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x140034b50
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140034b4b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140034bf9
call fcn.140260e60
movdqa xmm0, xmmword [0x1402fcf50]
movdqu xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x50], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x140034b9e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140034b99
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140034bdb
call fcn.140260e60
mov rax, rdi
mov rcx, qword [rbp + 0x470]
xor rcx, rsp
call fcn.140260e40
lea r11, [rsp + 0x5a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14027d5c0
nop
call fcn.14027d5c0
nop
call fcn.14027d5c0
int3
call fcn.140003620
int3
call fcn.14027d5c0
nop
call fcn.14027d5c0
nop
call fcn.14027d5c0
nop
call fcn.14027d5c0
int3
call fcn.140003620
nop
call fcn.14027d5c0
int3