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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1494
call fcn.004133a0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, edi
call fcn.00410bd9
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.0040d308
cmp dword [ebp + 0xc], esi
pop ecx
mov esi, 0x104
jne 0x4110b9
push ebx
mov eax, esi
lea edi, [esp + 0x8a4]
call fcn.0040c901
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 0x4110d7
mov dword [edi + 0x1870], 1
jmp 0x41110f
mov eax, dword [ebp + 0xc]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x4110dd
sub eax, edx
sar eax, 1
add eax, 0x11
cmp eax, esi
jae 0x411104
mov ecx, dword [ebp + 0xc]
push 0x4144fc
mov eax, ebx
call fcn.0040d37e
pop ecx
jmp 0x411108
and word [ebx], 0
and dword [edi + 0x1870], 0
cmp dword [edi + 0x1870], 0
jne 0x411143
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x41111d
sub eax, edx
sar eax, 1
add eax, 7
cmp eax, esi
jae 0x411143
push str.Config
mov eax, edi
mov ecx, ebx
call fcn.0040d37e
pop ecx
jmp 0x411147
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 0x411154
sub ecx, edi
sar ecx, 1
add ecx, 0x12
cmp ecx, esi
jae 0x411178
push str.MicrosoftProtect
mov ecx, ebx
call fcn.0040d37e
pop ecx
jmp 0x41117c
and word [eax], 0
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp dword [eax + 0x1870], ebx
je 0x4111ac
mov edi, eax
push 0x1a
lea ebx, [edi + 0x1250]
pop eax
call fcn.00401db9
push 0x1c
lea ebx, [edi + 0x145a]
pop eax
call fcn.00401db9
jmp 0x411521
lea eax, [esp + 0xab0]
call fcn.0040b504
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 0x4111fb
sub eax, ecx
sar eax, 1
add eax, 6
cmp eax, esi
jae 0x411226
push str.Users
lea eax, [esp + 0x234]
mov ecx, edi
call fcn.0040d37e
pop ecx
jmp 0x41122e
mov word [esp + 0x230], bx
lea eax, [esp + 0x230]
push eax
call fcn.0040c793
test eax, eax
pop ecx
jne 0x41127c
mov eax, edi
mov dword [esp + 0x10], ebx
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x411249
sub eax, edx
sar eax, 1
add eax, 0x17
cmp eax, esi
jae 0x411274
push str.Documents_And_Settings
lea eax, [esp + 0x234]
mov ecx, edi
call fcn.0040d37e
pop ecx
jmp 0x41127c
mov word [esp + 0x230], bx
lea eax, [esp + 0x230]
push eax
push 0x414590
lea eax, [esp + 0xab8]
call fcn.0040b98e
xor ebx, ebx
xor eax, eax
lea edi, [esp + 0x1c]
mov dword [esp + 0x18], ebx
stosd dword es:[edi], eax
jmp 0x411420
lea ecx, [esp + 0xab0]
call fcn.0040b729
test eax, eax
je 0x411420
lea eax, [esp + 0xd6c]
push 0x414594
push eax
call sub.msvcrt.dll__wcsicmp
test eax, eax
pop ecx
pop ecx
je 0x411420
lea eax, [esp + 0xd6c]
push str.LocalService
push eax
call sub.msvcrt.dll__wcsicmp
test eax, eax
pop ecx
pop ecx
je 0x411420
lea eax, [esp + 0xd6c]
push str.All_Users
push eax
call sub.msvcrt.dll__wcsicmp
test eax, eax
pop ecx
pop ecx
je 0x411420
lea eax, [esp + 0xd6c]
push str.NetworkService
push eax
call sub.msvcrt.dll__wcsicmp
test eax, eax
pop ecx
pop ecx
je 0x411420
lea eax, [esp + 0xd6c]
push str.Default_User
push eax
call sub.msvcrt.dll__wcsicmp
test eax, eax
pop ecx
pop ecx
je 0x411420
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 0x41136f
sub eax, edx
sar eax, 1
add eax, 0xb
cmp eax, esi
jae 0x41139f
push str.ntuser.dat
lea eax, [esp + 0x694]
lea ecx, [esp + 0xf94]
call fcn.0040d37e
pop ecx
jmp 0x4113a7
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.0040bdc6
test eax, eax
pop ecx
pop ecx
je 0x411420
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x458]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jle 0x411420
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.0040c901
pop ecx
lea eax, [esp + 0xab0]
call fcn.0040b8d2
test eax, eax
jne 0x4112a7
cmp word [esp + 0x20], bx
je 0x41150d
mov edi, dword [ebp + 8]
cmp dword [esp + 0x10], ebx
lea ecx, [esp + 0x20]
lea eax, [ecx + 2]
lea ebx, [edi + 0x1250]
je 0x4114aa
mov dx, word [ecx]
inc ecx
inc ecx
test dx, dx
jne 0x411455
sub ecx, eax
sar ecx, 1
add ecx, 0x10
cmp ecx, esi
jae 0x41147d
push str.AppDataRoaming
mov eax, ebx
lea ecx, [esp + 0x24]
call fcn.0040d37e
pop ecx
jmp 0x411481
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 0x41148e
sub ecx, edi
sar ecx, 1
add ecx, 0xe
cmp ecx, esi
jae 0x411509
push str.AppDataLocal
jmp 0x4114fd
mov dx, word [ecx]
inc ecx
inc ecx
test dx, dx
jne 0x4114aa
sub ecx, eax
sar ecx, 1
add ecx, 0x11
cmp ecx, esi
jae 0x4114d2
push str.Application_Data
mov eax, ebx
lea ecx, [esp + 0x24]
call fcn.0040d37e
pop ecx
jmp 0x4114d6
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 0x4114e3
sub ecx, edi
sar ecx, 1
add ecx, 0x20
cmp ecx, esi
jae 0x411509
push str.Local_SettingsApplication_Data
lea ecx, [esp + 0x24]
call fcn.0040d37e
pop ecx
jmp 0x41150d
and word [eax], 0
lea esi, [esp + 0xab0]
call fcn.0040b4d9
mov edi, dword [ebp + 8]
mov esi, 0x104
lea ebx, [edi + 0x1250]
cmp word [ebx], 0
je 0x41159f
mov ecx, ebx
lea edx, [ecx + 2]
lea eax, [edi + 0x20a]
mov dword [esp + 0x10], edx
mov dx, word [ecx]
inc ecx
inc ecx
test dx, dx
jne 0x41153c
sub ecx, dword [esp + 0x10]
sar ecx, 1
add ecx, 0x12
cmp ecx, esi
jae 0x411562
push str.MicrosoftProtect
mov ecx, ebx
call fcn.0040d37e
pop ecx
jmp 0x411566
and word [eax], 0
mov ecx, ebx
lea edx, [ecx + 2]
lea eax, [edi + 0xa28]
mov dword [esp + 0x10], edx
mov dx, word [ecx]
inc ecx
inc ecx
test dx, dx
jne 0x411575
sub ecx, dword [esp + 0x10]
sar ecx, 1
add ecx, 0x16
cmp ecx, esi
jae 0x41159b
push str.MicrosoftCredentials
mov ecx, ebx
call fcn.0040d37e
pop ecx
jmp 0x41159f
and word [eax], 0
lea ecx, [edi + 0x145a]
cmp word [ecx], 0
je 0x4115e2
mov edx, ecx
lea ebx, [edx + 2]
lea eax, [edi + 0xc32]
mov dword [esp + 0x10], ebx
mov bx, word [edx]
inc edx
inc edx
test bx, bx
jne 0x4115ba
sub edx, dword [esp + 0x10]
sar edx, 1
add edx, 0x16
cmp edx, esi
jae 0x4115de
push str.MicrosoftCredentials
call fcn.0040d37e
pop ecx
jmp 0x4115e2
and word [eax], 0
mov eax, dword [esp + 0x14]
add edi, 0xe3c
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x4115ef
sub eax, edx
sar eax, 1
add eax, 0x39
cmp eax, esi
jae 0x411617
mov ecx, dword [esp + 0x14]
push str.config_systemprofileAppDataLocalMicrosoftCredentials
mov eax, edi
call fcn.0040d37e
pop ecx
jmp 0x41161b
and word [edi], 0
push edi
call fcn.0040c793
test eax, eax
pop ecx
jne 0x411629
and word [edi], ax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8