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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6eb3d8
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x82f084]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x88], ebx
mov eax, dword [ebp + 8]
mov edi, 4
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x34], 0
push eax
push 0
push 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_CredEnumerateW]
test eax, eax
je 0x50b64b
xor ecx, ecx
mov dword [ebp - 0x84], ecx
cmp ecx, dword [ebp - 0x30]
jae 0x50b945
mov eax, dword [ebp - 0x34]
mov esi, dword [eax + ecx*4]
xor eax, eax
mov edx, dword [esi + 8]
mov ecx, edx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x50b2e3
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.0042fe00
mov ebx, dword [ebp - 0x68]
mov eax, ebx
mov byte [ebp - 4], 1
cmp dword [ebx + 0x14], 8
jb 0x50b30d
mov eax, dword [ebx]
push dword [ebx + 0x10]
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x2c]
push eax
push 0
call fcn.00438ac0
add esp, 0xc
cmp eax, 0xffffffff
je 0x50b633
push 0
push 1
push dword [esi + 8]
call dword [sym.imp.ADVAPI32.dll_CredDeleteW]
test eax, eax
je 0x50b34a
xor edi, edi
jmp 0x50b633
push 0x856764
call fcn.00681256
add esp, 4
test eax, eax
jne 0x50b985
push eax
push 0x762e6f
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], al
call fcn.00430160
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x80]
push 0
push 0x762e6f
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
call fcn.00430160
mov edi, dword [ebp - 0x88]
mov byte [ebp - 4], 3
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov edx, dword [edi + 4]
mov ecx, edx
mov byte [ebp - 0x4c], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x50b3c3
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x4c]
call fcn.00430160
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 4
push eax
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0x4c]
call fcn.005fa030
add esp, 4
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x38]
test eax, eax
setne bl
cmp edx, 0x10
jb 0x50b429
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x50b41f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50b98b
push edx
push ecx
call fcn.0067d8e3
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
cmp edx, 0x10
jb 0x50b473
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x50b469
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50b98b
push edx
push ecx
call fcn.0067d8e3
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x50]
cmp edx, 0x10
jb 0x50b4ab
mov ecx, dword [ebp - 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x50b4a1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50b98b
push edx
push ecx
call fcn.0067d8e3
add esp, 8
test bl, bl
je 0x50b61b
push 0
push 0x762e6f
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
call fcn.00430160
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x64]
push 0
push 0x762e6f
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
call fcn.00430160
mov byte [ebp - 4], 6
mov edx, dword [edi + 4]
mov ecx, edx
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x50b517
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x4c]
call fcn.00430160
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 7
push eax
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x4c]
call fcn.005fa030
mov edi, eax
add esp, 4
mov esi, dword [edi]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.ClearUserStorageHavingInputKey
push str._s_error_Credentaial_delete_Failed_with_return_val__lu_.
push 0x762e6f
push edi
call dword [esi + 0x24]
mov byte [ebp - 4], 6
add esp, 0x14
mov edx, dword [ebp - 0x38]
cmp edx, 0x10
jb 0x50b599
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x50b58f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50b990
push edx
push ecx
call fcn.0067d8e3
add esp, 8
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
cmp edx, 0x10
jb 0x50b5e3
mov ecx, dword [ebp - 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x50b5d9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50b990
push edx
push ecx
call fcn.0067d8e3
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x6c]
cmp edx, 0x10
jb 0x50b61b
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x50b611
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50b990
push edx
push ecx
call fcn.0067d8e3
add esp, 8
push 0x856764
call fcn.0068127b
add esp, 4
test eax, eax
jne 0x50b995
lea edi, [eax + 1]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.0042fd70
mov ecx, dword [ebp - 0x84]
inc ecx
jmp 0x50b2b2
push 0x856764
call fcn.00681256
add esp, 4
test eax, eax
jne 0x50b99b
call fcn.005f9e00
push 0
push 0x762e6f
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.00430160
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x64]
push 0
push 0x762e6f
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
call fcn.00430160
mov byte [ebp - 4], 9
mov edx, dword [ebx + 4]
mov ecx, edx
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x50b6d0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x4c]
call fcn.00430160
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
push eax
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x4c]
call fcn.005fa030
add esp, 4
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x38]
test eax, eax
setne bl
cmp edx, 0x10
jb 0x50b736
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x50b72c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50b9a1
push edx
push ecx
call fcn.0067d8e3
add esp, 8
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
cmp edx, 0x10
jb 0x50b780
mov ecx, dword [ebp - 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x50b776
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50b9a1
push edx
push ecx
call fcn.0067d8e3
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x50b7b8
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x50b7ae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50b9a1
push edx
push ecx
call fcn.0067d8e3
add esp, 8
test bl, bl
je 0x50b934
call fcn.005f9e00
push 0
push 0x762e6f
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.00430160
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x64]
push 0
push 0x762e6f
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
call fcn.00430160
mov edx, dword [ebp - 0x88]
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov edx, dword [edx + 4]
mov ecx, edx
mov byte [ebp - 0x80], 0
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x50b830
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x80]
call fcn.00430160
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xd
push eax
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x80]
call fcn.005fa030
mov ebx, eax
add esp, 4
mov esi, dword [ebx]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.ClearUserStorageHavingInputKey
push str._s_Error:_Credentaial_Enumerate_Failed_with_return_val:__lu
push 0x762e6f
push ebx
call dword [esi + 0x24]
mov byte [ebp - 4], 0xc
add esp, 0x14
mov edx, dword [ebp - 0x6c]
cmp edx, 0x10
jb 0x50b8b2
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x50b8a8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50b9a6
push edx
push ecx
call fcn.0067d8e3
add esp, 8
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
cmp edx, 0x10
jb 0x50b8fc
mov ecx, dword [ebp - 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x50b8f2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50b9a6
push edx
push ecx
call fcn.0067d8e3
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x50b934
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x50b92a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50b9a6
push edx
push ecx
call fcn.0067d8e3
add esp, 8
push 0x856764
call fcn.0068127b
add esp, 4
test eax, eax
jne 0x50b9ab
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x50b965
push eax
call dword [sym.imp.ADVAPI32.dll_CredFree]
jmp 0x50b965
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0067d651
mov esp, ebp
pop ebp
ret 8
push eax
call fcn.00681548
call fcn.00692c65
call fcn.00692c65
push eax
call fcn.00681548
push eax
call fcn.00681548
call fcn.00692c65
call fcn.00692c65
push eax
call fcn.00681548
int3