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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1145f3d
mov eax, dword fs:[0]
push eax
sub esp, 0x178
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 esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x148], ebx
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x148], ebx
mov dword [ebp - 0x14c], 0x1015ad8
push 0x30
lea eax, [ebp - 0x180]
push ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x184], ebx
call fcn.01084910
add esp, 0xc
mov dword [ebp - 0x138], ebx
mov dword [ebp - 0x13c], ebx
mov dword [ebp - 0x134], ebx
push esi
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 1
call fcn.0107f6b0
push ebx
push 0x1063ba0
lea ecx, [ebp - 0x120]
push ecx
push 0x1063b30
lea edx, [ebp - 0x11c]
push 2
push edx
mov byte [ebp - 4], 2
call fcn.01075110
add esp, 0x18
lea eax, [ebp - 0x148]
push eax
push ebx
push 4
push 0x1063b10
call dword [sym.imp.ADVAPI32.dll_CredReadW]
test eax, eax
je 0x111b987
mov ecx, dword [ebp - 0x148]
mov eax, dword [ecx + 0x20]
cmp eax, 2
je 0x111b916
cmp eax, 3
jne 0x111b987
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 2
call fcn.01075230
mov eax, dword [ebp - 0x130]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x111b94b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x138]
cmp eax, ebx
je 0x111b962
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x138], ebx
lea ecx, [ebp - 0x14c]
mov dword [ebp - 0x13c], ebx
mov dword [ebp - 0x134], ebx
mov dword [ebp - 4], 0xffffffff
call fcn.010b5ef0
xor eax, eax
jmp 0x111bd32
cmp edi, ebx
je 0x111b9a3
mov eax, dword [ebp + 0x10]
cmp eax, ebx
jbe 0x111b9a3
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x168], edi
jmp 0x111bc53
mov dword [ebp - 0x128], ebx
mov dword [ebp - 0x128], ebx
mov dword [ebp - 0x12c], 0x1015ad8
push 0x1033950
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 4
xor edi, edi
mov dword [ebp - 0x144], ebx
call fcn.0107f6b0
cmp esi, ebx
mov byte [ebp - 4], 5
mov dword [ebp - 0x150], ebx
je 0x111b9f6
cmp word [esi], bx
je 0x111b9f6
push esi
lea ecx, [ebp - 0x124]
call fcn.0109f810
jmp 0x111ba08
push 1
push 0x100f8d0
lea ecx, [ebp - 0x124]
call fcn.0109dbe0
mov eax, dword [ebp - 0x124]
lea ecx, [ebp - 0x144]
push ecx
lea edx, [ebp - 0x150]
push edx
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_CredEnumerateW]
test eax, eax
jne 0x111baa0
call fcn.01127f00
test al, al
je 0x111ba44
push 0x1063ae4
push 0x1063a70
push ebx
call fcn.01128b70
add esp, 0xc
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x111ba54
call esi
jmp 0x111ba60
call esi
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x124]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [ebp - 4], 4
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x111ba8c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 3
call fcn.010b5ef0
jmp 0x111bcc0
mov esi, dword [ebp - 0x144]
cmp esi, ebx
jne 0x111bad2
call fcn.01127f00
test al, al
je 0x111bac6
push 0x1063a3c
push 0x10639c8
push ebx
call fcn.01128b70
add esp, 0xc
mov dword [ebp - 0x120], 0x80070057
jmp 0x111ba66
mov edx, dword [ebp - 0x12c]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0x12c]
call eax
mov edx, dword [ebp - 0x150]
xor eax, eax
cmp edx, ebx
mov dword [ebp - 0x128], esi
jbe 0x111bb19
mov esi, dword [ebp - 0x144]
jmp 0x111bb00
mov ecx, dword [esi + eax*4]
cmp dword [ecx + 0x1c], ebx
je 0x111bb0e
cmp edi, ebx
jne 0x111bb48
mov edi, ecx
add eax, 1
cmp eax, edx
jb 0x111bb00
cmp edi, ebx
jne 0x111bb77
mov dword [ebp - 0x120], 0x80070057
call fcn.01127f00
test al, al
je 0x111ba66
push 0x1063994
push 0x1063920
push ebx
call fcn.01128b70
add esp, 0xc
jmp 0x111ba66
mov dword [ebp - 0x120], 0x80070057
call fcn.01127f00
test al, al
je 0x111ba66
push 0x10638d8
push 0x1063860
push ebx
call fcn.01128b70
add esp, 0xc
jmp 0x111ba66
mov ecx, dword [edi + 0x1c]
cmp ecx, ebx
je 0x111bc1e
mov eax, dword [edi + 0x18]
cmp eax, ebx
je 0x111bc1e
push 0x1161d94
shr eax, 1
push eax
push ecx
lea ecx, [ebp - 0x140]
call fcn.01097a30
mov edx, dword [ebp - 0x140]
lea ecx, [ebp - 0x13c]
push ecx
push edx
mov byte [ebp - 4], 6
call fcn.0112e7d0
cmp eax, ebx
mov dword [ebp - 0x120], eax
jge 0x111bbec
lea ecx, [ebp - 0x140]
call fcn.0111cdb0
lea ecx, [ebp - 0x124]
call fcn.0111cdb0
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 3
call fcn.010b5ef0
jmp 0x111bcc0
mov eax, dword [edi + 0x30]
push eax
lea ecx, [ebp - 0x130]
call fcn.0107f660
mov ecx, dword [ebp - 0x13c]
mov edx, dword [ebp - 0x138]
mov dword [ebp - 0x16c], ecx
lea ecx, [ebp - 0x140]
mov dword [ebp - 0x168], edx
call fcn.0111cdb0
mov eax, dword [ebp - 0x124]
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 0x111bc44
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 3
call fcn.010b5ef0
mov ecx, dword [ebp - 0x130]
push ebx
lea edx, [ebp - 0x184]
push edx
push 0x116148c
mov dword [ebp - 0x180], 4
mov dword [ebp - 0x17c], 0x1063b10
mov dword [ebp - 0x178], 0x1063850
mov dword [ebp - 0x164], 1
mov dword [ebp - 0x154], ecx
call dword [sym.imp.ADVAPI32.dll_CredWriteDomainCredentialsW]
test eax, eax
jne 0x111bcc0
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x111bcae
call esi
jmp 0x111bcba
call esi
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x120], eax
mov esi, dword [ebp - 0x120]
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 2
call fcn.01075230
mov eax, dword [ebp - 0x130]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x111bcfb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x138]
cmp eax, ebx
je 0x111bd12
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x138], ebx
lea ecx, [ebp - 0x14c]
mov dword [ebp - 0x13c], ebx
mov dword [ebp - 0x134], ebx
mov dword [ebp - 4], 0xffffffff
call fcn.010b5ef0
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 0xc