Function at 0x641a90
Capabilities:
Prompt user for credentials

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x707031
mov eax, dword fs:[0]
push eax
sub esp, 0x940
mov eax, dword [0x82d084]
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 edi, edx
mov eax, dword [ebp + 0x10]
mov edx, ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x914]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x930], eax
mov dword [ebp - 0x8e4], 0x202
mov dword [ebp - 0x8dc], 0x202
mov dword [ebp - 0x8e0], 0x152
mov dword [ebp - 0x92c], 0x14
mov dword [ebp - 0x928], 0
call fcn.00641870
push esi
lea ecx, [ebp - 0x8fc]
mov dword [ebp - 4], 0
call fcn.0042fc50
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x948]
push 3
xor eax, eax
mov dword [ebp - 0x938], 0
push 0x761594
mov dword [ebp - 0x934], 7
mov word [ebp - 0x948], ax
call fcn.0042fe00
lea eax, [ebp - 0x914]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x948]
lea ecx, [ebp - 0x8fc]
call fcn.00617ec0
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x948]
call fcn.0042fd70
cmp dword [ebp - 0x8e8], 8
lea eax, [ebp - 0x8fc]
cmovae eax, dword [ebp - 0x8fc]
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x924], eax
jb 0x641ba4
mov edi, dword [edi]
mov dword [ebp - 0x920], edi
lea eax, [ebp - 0x624]
mov dword [ebp - 0x91c], 0
mov ecx, 0x404
mov dword [ebp - 0x8d4], 0
nop dword [eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x641bd0
mov ecx, 0x202
lea eax, [ebp - 0x21c]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x641be6
push 1
lea eax, [ebp - 0x8d4]
mov dword [ebp - 0x8d8], ecx
push eax
lea eax, [ebp - 0x8d0]
mov dword [ebp - 0x918], ecx
push eax
lea eax, [ebp - 0x918]
mov dword [ebp - 0x8d0], ecx
push eax
push ecx
push ecx
lea eax, [ebp - 0x8d8]
push eax
push ecx
lea eax, [ebp - 0x92c]
push eax
call dword [sym.imp.credui.dll_CredUIPromptForWindowsCredentialsW]
test eax, eax
jne 0x641d3f
lea eax, [ebp - 0x8dc]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x8e0]
push eax
lea eax, [ebp - 0x8cc]
push eax
lea eax, [ebp - 0x8e4]
push eax
lea eax, [ebp - 0x624]
push eax
push dword [ebp - 0x8d0]
push dword [ebp - 0x918]
push 0
call dword [sym.imp.credui.dll_CredUnPackAuthenticationBufferW]
test eax, eax
je 0x641d3f
mov ecx, dword [ebp - 0x8d0]
mov eax, dword [ebp - 0x918]
test ecx, ecx
je 0x641ca1
nop
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x641c90
mov eax, dword [ebp - 0x918]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea edx, [ebp - 0x624]
mov dword [ebp - 0x918], 0
lea esi, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x641cc0
sub edx, esi
lea eax, [ebp - 0x624]
sar edx, 1
mov ecx, ebx
push edx
push eax
call fcn.0042fe00
lea edx, [ebp - 0x21c]
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x641ce7
mov ecx, dword [ebp - 0x930]
lea eax, [ebp - 0x21c]
sub edx, esi
sar edx, 1
push edx
push eax
call fcn.0042fe00
mov ecx, 0x404
lea eax, [ebp - 0x624]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x641d14
mov ecx, 0x202
lea eax, [ebp - 0x21c]
nop word [eax + eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x641d30
mov bl, 1
jmp 0x641d41
xor bl, bl
lea ecx, [ebp - 0x8fc]
call fcn.0042fd70
lea ecx, [ebp - 0x914]
call fcn.0042fd70
mov al, bl
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.0067ba01
mov esp, ebp
pop ebp
ret