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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x113bb42
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x115f604]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1161d94]
mov edx, dword [eax + 0xc]
mov esi, ecx
xor ebx, ebx
mov ecx, 0x1161d94
mov dword [ebp - 0x13c], esi
mov dword [ebp - 0x120], ebx
call edx
add eax, 0x10
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x134], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x12c], ebx
mov dword [ebp - 0x134], ebx
mov dword [ebp - 0x138], 0x1015ad8
mov eax, dword [0x1161d94]
mov edx, dword [eax + 0xc]
mov ecx, 0x1161d94
mov byte [ebp - 4], 1
mov dword [ebp - 0x124], ebx
call edx
add eax, 0x10
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x144], ebx
mov dword [ebp - 0x140], ebx
push ebx
push 0x10168a8
lea eax, [ebp - 0x120]
push eax
push 0x1016828
lea ecx, [ebp - 0x11c]
push 2
push ecx
mov byte [ebp - 4], 3
call fcn.01075110
add esp, 0x18
cmp dword [0x100320c], ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [ebp - 4], 4
jne 0x10b7efc
lea edx, [ebp - 0x140]
push edx
push 1
push 0xf01ff
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
jne 0x10b7ff3
call edi
cmp eax, 0x3f0
jne 0x10b8009
lea ecx, [ebp - 0x128]
push ecx
lea edx, [esi + 0x10]
lea eax, [esi + 8]
push edx
push eax
mov ecx, esi
call fcn.010b7130
mov edx, dword [ebp - 0x128]
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x124]
push ecx
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_CredEnumerateW]
test eax, eax
jne 0x10b8085
call edi
cmp eax, 0x490
jne 0x10b803d
mov dword [ebp - 0x120], 0x80048887
call fcn.01127f00
test al, al
je 0x10b7f69
push 0x10167d0
push 0x1016750
push ebx
call fcn.01128b70
add esp, 0xc
mov eax, dword [ebp - 0x120]
lea ecx, [ebp - 0x11c]
mov esi, eax
mov byte [ebp - 4], 3
call fcn.01075230
lea ecx, [ebp - 0x144]
mov byte [ebp - 4], 2
call fcn.010b5490
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 1
call fcn.0109c040
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], bl
call fcn.010b5ef0
mov eax, dword [ebp - 0x128]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10b7fd5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.010840d6
mov esp, ebp
pop ebp
ret
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_SetThreadToken]
cmp eax, ebx
mov dword [ebp - 0x144], eax
jne 0x10b7efc
call edi
test eax, eax
jg 0x10b8013
call edi
jmp 0x10b801f
call edi
and eax, 0xffff
or eax, 0x80070000
cmp eax, ebx
mov dword [ebp - 0x120], eax
jl 0x10b7f6f
mov eax, 0x80070005
mov dword [ebp - 0x120], eax
jmp 0x10b7f6f
call edi
test eax, eax
jg 0x10b8047
call edi
jmp 0x10b8053
call edi
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x120], eax
call fcn.01127f00
test al, al
je 0x10b7f69
mov eax, dword [ebp - 0x120]
push eax
push 0x1016714
push 0x1016698
push ebx
call fcn.01128b70
add esp, 0x10
jmp 0x10b7f69
mov esi, dword [ebp - 0x12c]
cmp esi, ebx
je 0x10b7f69
cmp dword [ebp - 0x124], ebx
je 0x10b7f69
mov edx, dword [ebp - 0x138]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0x138]
call eax
xor edi, edi
cmp dword [ebp - 0x124], ebx
mov dword [ebp - 0x134], esi
jbe 0x10b810e
mov ecx, dword [ebp - 0x12c]
mov esi, dword [ecx + edi*4]
cmp esi, ebx
jne 0x10b80ec
call fcn.01127f00
test al, al
je 0x10b8103
push edi
push 0x1016628
push 0x10165a8
push ebx
call fcn.01128b70
add esp, 0x10
jmp 0x10b8103
mov edx, dword [esi + 0x30]
mov eax, dword [ebp - 0x13c]
push edx
add eax, 8
push eax
call fcn.01098b50
test al, al
jne 0x10b811e
add edi, 1
cmp edi, dword [ebp - 0x124]
jb 0x10b80c0
mov eax, 0x80048887
mov dword [ebp - 0x120], eax
jmp 0x10b7f6f
mov eax, dword [esi + 0x1c]
cmp eax, ebx
je 0x10b810e
mov ecx, dword [esi + 0x18]
shr ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x130]
call fcn.01076ac0
push 0x100f6f8
lea ecx, [ebp - 0x148]
call fcn.0107f6b0
mov ecx, dword [ebp - 0x13c]
lea edx, [ebp - 0x130]
push edx
push eax
mov byte [ebp - 4], 5
call fcn.010b7040
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x148]
add eax, 0xfffffff0
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10b7f69
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x10b7f69