Function at 0x180071190
Capabilities:
Acquire credentials from windows credential manager
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x4a0]
sub rsp, 0x5a0
mov rax, qword [0x1800a74e0]
xor rax, rsp
mov qword [rbp + 0x490], rax
mov eax, ecx
mov qword [rbp - 0x80], rdx
lea r12d, [rcx + 0x70]
mov dword [rsp + 0x34], ecx
mov rdi, rdx
mov qword [rsp + 0x48], r8
xor edx, edx
mov esi, ecx
lea rcx, [0x180000000]
mov r13, r9
cmp eax, r12d
jae 0x18007154b
mov r14, qword [rbp + 0x1d0]
mov edx, 0x20
mov rbx, qword [rbp + 0x1d0]
mov r10d, 0x6176
mov r15, qword [rbp + 0x1d0]
mov r11d, 0x7325
lea r9d, [rdx + 0x42]
nop word [rax + rax]
cmp esi, 0x133
ja 0x1800714e9
je 0x18007149d
lea eax, [rsi - 0x32]
cmp eax, 0xfa
ja case.default.0x180071259
movzx eax, byte [rcx + rax + 0x71b18]
mov ecx, dword [rcx + rax*4 + 0x71ae0]
lea rax, [0x180000000]
add rcx, rax
jmp rcx
mov byte [rbp + 0x210], 0
jmp case.0x180071259.63
mov word [rbp + 0x1f0], r10w
jmp case.0x180071259.63
mov word [rbp + 0x209], dx
mov word [rbp + 0x20a], r11w
mov byte [rbp + 0x20c], 0
jmp case.0x180071259.63
lea rbx, [rbp + 0x1e0]
mov edi, 3
nop dword [rax + rax]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x60], rbx
mov r8, r14
mov qword [rbp - 0x78], rbx
mov edx, 0xf5
lea rcx, [rbp - 0x78]
call fcn.18005b000
add rbx, 4
sub rdi, 1
jne 0x1800712a0
lea r8d, [rdi + 0x4f]
mov rdx, r14
xor ecx, ecx
call fcn.18005fbd0
mov r9d, 0xc5
xor r8d, r8d
mov rdx, rax
xor ecx, ecx
mov rbx, rax
call fcn.18005e170
mov rdi, qword [rbp - 0x80]
jmp 0x180071517
mov r8d, 1
lea rdx, [0x1800979b8]
lea rcx, [rbp + 0x210]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
mov r8d, 7
lea rdx, str.SAStar
lea rcx, [rbp + 0x211]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov eax, 0x74
lea rdx, [0x18009877c]
lea rcx, [rbp + 0x210]
mov word [rbp + 0x217], ax
lea r8d, [rax - 0x72]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
jmp 0x180071517
lea rcx, [0x180000000]
test r8, r8
je case.default.0x180071259
mov rax, qword [r13]
mov qword [r8], rax
jmp case.default.0x180071259
mov eax, 0x6872
mov word [rbp + 0x206], dx
mov word [rbp + 0x207], ax
jmp case.0x180071259.63
lea rax, [0x1800859d0]
mov dword [rbp + 0x1d0], 1
mov dword [rbp + 0x1d4], 2
lea rcx, [rsp + 0x78]
movsd xmm0, qword [rbp + 0x1d0]
xor r9d, r9d
xor r8d, r8d
movsd qword [rbp + 0x1e0], xmm0
mov edx, 0xcd
mov dword [rbp + 0x1e8], 3
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x20], 0
call fcn.180020590
mov r14, rax
jmp 0x180071517
movdqu xmm0, xmmword [r13]
lea r9, [rbp - 0x50]
mov qword [rsp + 0x20], 0
mov edx, 0x118
lea rcx, [rbp - 0x40]
movdqu xmmword [rbp - 0x50], xmm0
call fcn.18007d4e0
movdqu xmm0, xmmword [rax]
movdqu xmmword [rdi], xmm0
jmp 0x180071517
mov eax, 0x65
mov word [rbp + 0x1f7], ax
jmp case.0x180071259.63
mov dword [rbp + 0x1f2], 0x616972
mov eax, 0x6c
mov word [rbp + 0x1f5], r9w
mov word [rbp + 0x1f6], ax
jmp case.0x180071259.63
mov word [rbp + 0x1f8], dx
mov eax, 0x69
mov word [rbp + 0x1f9], r9w
mov word [rbp + 0x1fa], ax
mov dword [rbp + 0x1fb], 0x617274
jmp case.0x180071259.63
mov eax, 0x52
mov dword [rbp + 0x1fe], 0x206574
mov word [rbp + 0x205], ax
mov dword [rbp + 0x201], 0x4256202d
jmp case.0x180071259.63
lea r8, [rsp + 0x40]
mov dword [rsp + 0x40], 0
mov edx, 0x40
mov rcx, rbx
call fcn.18007b7b0
mov r9d, 0xc5
xor r8d, r8d
mov rdx, rax
xor ecx, ecx
call fcn.18005e170
lea r8, [rsp + 0x40]
mov dword [rsp + 0x40], 1
mov edx, 0x40
mov rcx, rbx
call fcn.18007b7b0
mov r15, rax
jmp 0x180071517
mov eax, esi
sub eax, 0x13a
je 0x180071504
cmp eax, 7
jne case.default.0x180071259
mov rdx, r14
lea ecx, [rax + 0x52]
call fcn.180048560
jmp 0x180071517
mov r9d, 0xc5
xor r8d, r8d
mov rdx, r15
xor ecx, ecx
call fcn.18005e170
mov r8, qword [rsp + 0x48]
mov r9d, 0x62
mov r11d, 0x7325
mov r10d, 0x6176
lea edx, [r9 - 0x42]
lea rcx, [0x180000000]
add esi, 7
cmp esi, r12d
jb 0x180071220
mov eax, dword [rsp + 0x34]
xor edx, edx
lea ebx, [rax - 0xf]
mov dword [rsp + 0x38], ebx
cmp eax, ebx
movzx ebx, byte [rsp + 0x30]
jbe case.0x1800715af.0
mov esi, dword [rsp + 0x5c]
lea edi, [rax - 0xcf]
mov r14d, dword [rsp + 0x40]
mov r11d, 0x77
movzx r12d, byte [rsp + 0x30]
mov r15d, dword [rsp + 0x54]
mov r13d, dword [rsp + 0x54]
mov eax, dword [rsp + 0x38]
lea r10d, [r11 - 0x45]
mov ecx, dword [rsp + 0x34]
mov dword [rsp + 0x50], edi
cmp edi, 0xe
ja case.default.0x1800715af
lea r9, [0x180000000]
mov ecx, dword [r9 + rdi*4 + 0x71c14]
add rcx, r9
jmp rcx
xorps xmm0, xmm0
mov qword [rbp - 0x70], rdx
movups xmmword [rbp - 8], xmm0
mov dword [rsp + 0x58], edx
movups xmmword [rbp + 8], xmm0
mov qword [rsp + 0x68], rdx
movups xmmword [rbp + 0x18], xmm0
jmp 0x180071a88
mov dword [rbp + 0x220], 0x730077
jmp 0x180071a88
movzx eax, byte [rsp + 0x3c]
test esi, esi
mov ecx, edx
cmove ecx, eax
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x3c], cl
test r14d, r14d
mov ecx, edx
cmovne ecx, eax
mov byte [rsp + 0x30], cl
jmp 0x180071a88
mov dword [rbp - 0x80], 7
jmp 0x180071a88
mov word [rbp + 0x224], r10w
jmp 0x180071a88
mov rdx, r8
mov ecx, 0x17
call fcn.18001b580
test al, al
jne 0x180071a7e
mov edi, 0xb
nop word [rax + rax]
cmp edi, 0xb
ja case.default.0x18007165c
lea rdx, [0x180000000]
mov eax, edi
mov ecx, dword [rdx + rax*4 + 0x71c50]
add rcx, rdx
jmp rcx
lea r9, [rbp - 0x68]
mov dword [rsp + 0x70], 0
lea r8, [rsp + 0x70]
xor edx, edx
lea rcx, [rbp + 0x238]
call qword [sym.imp.ADVAPI32.dll_CredEnumerateW]
mov dword [rsp + 0x74], eax
jmp case.default.0x18007165c
mov eax, 0x65
mov dword [rbp + 0x26e], eax
jmp case.default.0x18007165c
movsd xmm0, qword [str.Cach]
movzx eax, word [0x180098788]
mov dword [rbp + 0x254], 0x66
movsd qword [rbp + 0x256], xmm0
mov word [rbp + 0x25e], ax
jmp case.default.0x18007165c
xor ecx, ecx
movzx eax, r12b
cmp dword [rsp + 0x74], ecx
cmovne ecx, eax
movzx r12d, cl
test cl, cl
je case.default.0x18007165c
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.ADVAPI32.dll_CredFree]
jmp case.default.0x18007165c
mov r8d, 4
lea rdx, str.atil
lea rcx, [rbp + 0x238]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat]
jmp case.default.0x18007165c
mov eax, dword [0x18009879c]
mov dword [rbp + 0x244], eax
movzx eax, word [0x1800987a0]
mov word [rbp + 0x248], ax
lea rax, [rbp + 0x238]
sub rax, 2
cmp word [rax + 2], 0
lea rax, [rax + 2]
jne 0x180071730
mov ecx, dword [0x1800987a4]
mov dword [rax], ecx
movzx ecx, word [0x1800987a8]
mov word [rax + 4], cx
mov dword [rbp + 0x24c], 0x6b
jmp case.default.0x18007165c
mov r8d, 4
lea rdx, [0x1800987b0]
lea rcx, [rbp + 0x24e]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
jmp case.default.0x18007165c
mov r12b, 1
jmp case.default.0x18007165c
xor bl, bl
jmp case.default.0x18007165c
mov r8d, 2
lea rdx, [0x180096e1c]
lea rcx, [rbp + 0x25e]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
movabs rax, 0x6c006f0056
mov qword [rbp + 0x260], rax
jmp case.default.0x18007165c
lea rax, [rbp + 0x238]
mov dword [rbp + 0x238], PathYetAnotherMakeUniqueName
sub rax, 2
mov dword [rbp + 0x23a], 0x72
nop word [rax + rax]
cmp word [rax + 2], 0
lea rax, [rax + 2]
jne 0x1800717e0
movsd xmm0, qword [0x1800987b8]
lea rcx, [rbp + 0x238]
movsd qword [rax], xmm0
sub rcx, 2
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x180071802
mov eax, dword [0x1800987c0]
mov dword [rcx], eax
dec edi
lea eax, [rdi + 0xc8]
cmp eax, 0xc7
ja 0x180071640
mov edi, dword [rsp + 0x50]
jmp 0x180071a7e
mov dword [rbp + 0x22c], 0x64002e
jmp 0x180071a88
lea rax, [rbp + 0x1f0]
mov r15, 0xffffffffffffffff
nop
inc r15
cmp byte [rax + r15], 0
jne 0x180071850
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x10], rax
movups xmmword [rbp - 0x20], xmm0
jmp 0x180071a88
lea r8, [rbp + 0x210]
mov ecx, 0x3d
lea rdx, [rbp + 0x220]
call fcn.18004d9b0
mov qword [rbp - 0x60], rax
jmp 0x180071a7e
mov dword [rbp + 0x230], 0x6c006c
mov word [rbp + 0x234], dx
mov byte [rsp + 0x3c], 1
jmp 0x180071a88
mov dword [rbp + 0x226], 0x33005f
mov word [rbp + 0x22a], r10w
jmp 0x180071a88
mov ecx, 0x202
lea rdx, [rbp + 0x30]
call qword [rbp - 0x60]
test eax, eax
je 0x18007196b
mov edi, 0x10b
nop dword [rax]
mov eax, edi
sub eax, 0x108
je 0x180071aac
sub eax, 1
je 0x18007192b
sub eax, 1
je 0x180071924
cmp eax, 1
jne 0x180071959
xor esi, esi
mov dword [rsp + 0x78], 0x36
xor r8d, r8d
mov qword [rbp + 0x1d0], rsi
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateWaitableTimerA]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x50], rsi
jmp 0x180071959
xor eax, eax
mov r13d, eax
jmp 0x180071959
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8, qword [rbp - 0x50]
lea rax, [rbp + 0x280]
mov edx, dword [rsp + 0x78]
mov r9d, r13d
mov rcx, qword [rbp + 0x1d0]
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
dec edi
cmp edi, 0x107
ja 0x1800718e0
mov edi, dword [rsp + 0x50]
lea r8, [rsp + 0x54]
mov dword [rbp - 8], 0x30
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorGroup]
lea r9, [rsp + 0x68]
mov edx, r15d
lea r8, [rsp + 0x58]
mov dword [rsp + 0x40], eax
lea rcx, [rbp + 0x1f0]
mov r14d, eax
call sub.RPCRT4.dll_MesEncodeFixedBufferHandleCreate
mov esi, eax
mov dword [rsp + 0x5c], eax
jmp 0x180071a7e
mov byte [rsp + 0x30], 1
jmp 0x180071a88
mov ecx, dword [rbp - 0x80]
lea rdx, [rbp - 8]
call qword [sym.imp.SHELL32.dll_SHAppBarMessage]
cmp byte [rsp + 0x3c], 0
je 0x180071a57
mov rcx, qword [rsp + 0x68]
mov ebx, 0xa9
mov r14d, dword [rsp + 0x60]
mov esi, dword [rbp - 0x78]
cmp ebx, 0xa9
je 0x180071a30
cmp ebx, 0x137
jne 0x180071a38
xor eax, eax
lea r9, [rsp + 0x60]
mov qword [rsp + 0x60], rax
mov r8d, esi
lea rax, [rsp + 0x58]
mov edx, r14d
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
call sub.RPCRT4.dll_MesBufferHandleReset
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x180071a38
call sub.RPCRT4.dll_MesHandleFree
mov rcx, qword [rsp + 0x68]
jmp 0x180071a38
xor eax, eax
mov esi, eax
lea r14d, [rax + 1]
add ebx, 0x8e
cmp ebx, 0x1c5
jb 0x1800719e4
mov dword [rbp - 0x78], esi
mov esi, dword [rsp + 0x5c]
mov dword [rsp + 0x60], r14d
mov r14d, dword [rsp + 0x40]
cmp byte [rsp + 0x30], 0
je 0x180071a71
mov r8d, dword [rsp + 0x54]
lea rcx, [rbp - 0x30]
mov rdx, qword [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorGroup]
mov ecx, 0x9d
call fcn.1800704e0
movzx ebx, al
mov r10d, 0x32
lea r11d, [r10 + 0x45]
mov ecx, dword [rsp + 0x34]
mov eax, dword [rsp + 0x38]
dec ecx
dec edi
mov dword [rsp + 0x34], ecx
mov dword [rsp + 0x50], edi
cmp ecx, eax
jbe case.0x1800715af.0
mov r8, qword [rsp + 0x48]
xor edx, edx
jmp 0x180071594
xor al, al
jmp 0x180071ab3
movzx eax, bl
mov rcx, qword [rbp + 0x490]
xor rcx, rsp
call fcn.1800864a0
mov rbx, qword [rsp + 0x5e0]
add rsp, 0x5a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret