Function at 0x140033480
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 [0x140342fc0]
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 0x140033ade
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 0x140033530
lea rdx, [rbp + 0x260]
lea rcx, [rsp + 0x70]
call fcn.140039770
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.140039770
nop
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x50]
call fcn.140031450
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x1400335c7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400335c2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140033b51
call fcn.14025e770
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.14005b140
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.140069d00
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 0x140033671
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003366c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140033b21
call fcn.14025e770
movups xmmword [rsp + 0x70], xmm7
movups xmmword [rbp - 0x80], xmm6
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x1400336bc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400336b7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140033b27
call fcn.14025e770
movabs rax, 0x7ffffffffffffffe
movq rcx, xmm6
sub rax, rcx
cmp rax, 2
jb 0x140033b2d
lea r9, [rsp + 0x70]
cmp qword [rbp - 0x78], 7
cmova r9, qword [rsp + 0x70]
mov qword [rsp + 0x30], 2
lea rax, [0x1402f65ac]
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.140046c50
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 0x14003377f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003377a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140033b33
call fcn.14025e770
movdqa xmm0, xmmword [0x1402f99c0]
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 0x140033a40
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 0x1400337c4
lea rdx, [rbp + 0x3c]
lea rcx, [rbp - 0x30]
call fcn.140039770
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 0x140033a04
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 0x14003383c
cmp word [rax], 0x64
je 0x140033839
cmp rcx, 1
je 0x14003383c
dec rcx
add rax, 2
cmp word [rax], 0x64
jne 0x140033826
mov rdx, rax
mov rax, rdx
test rdx, rdx
je 0x140033a04
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 0x140033941
add rdx, 2
sub r8, 1
jne 0x140033860
sub rax, r10
sar rax, 1
cmp rax, 0xffffffffffffffff
je 0x140033a04
lea rax, [rbp + 0x3c]
mov rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], 0
jne 0x140033893
movabs rax, 0x7ffffffffffffffe
mov rdx, qword [rbp - 0x80]
sub rax, rdx
cmp rax, rcx
jb 0x140033b4b
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.140046c50
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 0x14003394a
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x70], al
jmp 0x14003395a
add rax, 2
jmp 0x140033810
sub r9, rdx
sar r9, 1
lea rcx, [rbp - 0x70]
call fcn.1400734a0
nop
mov rax, qword [rdi + 8]
cmp rax, qword [rdi + 0x10]
je 0x140033977
lea rdx, [rbp - 0x70]
mov rcx, rax
call fcn.140047470
add qword [rdi + 8], 0x20
jmp 0x140033987
lea r8, [rbp - 0x70]
mov rdx, rax
mov rcx, rdi
call fcn.1400750b0
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x1400339c3
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400339bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140033b3f
call fcn.14025e770
nop
mov rdx, qword [rbp + 8]
cmp rdx, 7
jbe 0x140033a04
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400339fe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140033b45
call fcn.14025e770
nop
test r15b, r15b
je 0x140033a3e
lea rdx, [r14*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140033a36
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140033b51
mov rcx, rsi
call fcn.14025e770
xor esi, esi
lea rdx, [rbp + 0x10]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400337a0
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x140033a90
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140033a8b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140033b39
call fcn.14025e770
movdqa xmm0, xmmword [0x1402f99d0]
movdqu xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x50], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x140033ade
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140033ad9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140033b1b
call fcn.14025e770
mov rax, rdi
mov rcx, qword [rbp + 0x470]
xor rcx, rsp
call fcn.14025e750
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.14027aed0
nop
call fcn.14027aed0
nop
call fcn.14027aed0
int3
call fcn.1400034c0
int3
call fcn.14027aed0
nop
call fcn.14027aed0
nop
call fcn.14027aed0
nop
call fcn.14027aed0
int3
call fcn.1400034c0
nop
call fcn.14027aed0
int3