Function at 0x103f45f
Capabilities:
Prompt user for credentials

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
mov edx, dword [ebp + 0x18]
push ebx
xor ebx, ebx
push esi
push edi
xor eax, eax
cmp dword [ebp + 0x34], ebx
mov dword [ebp - 0x38], ebx
lea edi, [ebp - 0x34]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov esi, ecx
mov ecx, dword [ebp + 0x20]
stosd dword es:[edi], eax
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x14], 0x80004005
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x18], ebx
je 0x103f885
cmp dword [ebp + 0x30], ebx
je 0x103f885
cmp dword [ebp + 0x14], ebx
je 0x103f885
cmp dword [ebp + 0x1c], ebx
je 0x103f885
cmp edx, ebx
je 0x103f885
cmp ecx, ebx
je 0x103f885
cmp dword [esi + 0x18], ebx
mov eax, dword [ebp + 8]
je 0x103f4ec
lea edi, [eax + 0x1104]
mov dword [ebp - 0x2c], edi
lea edi, [eax + 0x1204]
jmp 0x103f4f8
lea edi, [eax + 4]
mov dword [ebp - 0x2c], edi
lea edi, [eax + 0x104]
cmp dword [esi + 0x18], ebx
mov eax, dword [eax]
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x38], 0x14
mov dword [ebp - 0x34], eax
je 0x103f7c5
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x1002048
push dword [ebp + 0x14]
mov dword [ebp + 0x28], ebx
call edi
test eax, eax
je 0x103f586
lea eax, [ebp - 4]
push eax
push ebx
push dword [ebp + 0x1c]
push dword [ebp + 0x14]
push ebx
call dword [esi + 0x20]
test eax, eax
jne 0x103f68c
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 0x7a
mov dword [ebp + 0xc], eax
jne 0x103f8b5
push dword [ebp - 4]
call fcn.0104b5f8
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x103f66d
lea ecx, [ebp - 4]
push ecx
push eax
push dword [ebp + 0x1c]
push dword [ebp + 0x14]
push ebx
call dword [esi + 0x20]
test eax, eax
jne 0x103f68c
call edi
mov dword [ebp + 0xc], eax
jmp 0x103f8b5
push 0x1002048
push dword [ebp + 0xc]
call edi
test eax, eax
je 0x103f652
mov eax, dword [ebp + 0xc]
mov word [ebp + 8], bx
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x103f5a2
sub eax, edx
sar eax, 1
lea edi, [eax + 2]
push 2
xor ecx, ecx
pop edx
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0104b5f8
cmp eax, ebx
mov dword [ebp - 0x18], eax
je 0x103f66d
push dword [ebp + 0xc]
mov ecx, esi
push edi
push eax
call fcn.0103f3c7
cmp eax, ebx
mov dword [ebp - 0x14], eax
jge 0x103f5f2
movzx eax, ax
mov dword [ebp + 0xc], eax
jmp 0x103f8b0
lea eax, [ebp - 4]
push eax
push ebx
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x18]
push ebx
call dword [esi + 0x20]
test eax, eax
jne 0x103f68c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
mov dword [ebp + 0xc], eax
jne 0x103f8b0
push dword [ebp - 4]
call fcn.0104b5f8
cmp eax, ebx
mov dword [ebp - 0x10], eax
jne 0x103f637
mov dword [ebp + 0xc], 8
jmp 0x103f8b0
lea ecx, [ebp - 4]
push ecx
push eax
push dword [ebp + 0x1c]
push dword [ebp - 0x18]
push ebx
call dword [esi + 0x20]
test eax, eax
jne 0x103f68c
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x103f5ea
cmp dword [ebp + 0x3c], 1
jne 0x103f68c
push 0x28
pop eax
push eax
mov dword [ebp - 4], eax
call fcn.0104b5f8
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0x10], edi
jne 0x103f679
mov dword [ebp + 0xc], 8
jmp 0x103f8b5
push dword [ebp - 4]
push ebx
push edi
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [edi], 0xd
push dword [ebp + 0x2c]
lea eax, [ebp - 0xc]
push dword [ebp + 0x24]
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
lea eax, [ebp + 0x28]
push dword [ebp - 0x10]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x38]
push eax
call dword [esi + 0x18]
cmp eax, ebx
mov dword [ebp + 0xc], eax
jne 0x103f8b0
cmp dword [ebp - 8], ebx
je 0x103f7af
cmp dword [ebp - 0xc], ebx
je 0x103f7af
push dword [ebp - 0xc]
mov ecx, esi
push dword [ebp - 8]
call fcn.0103eabf
mov ecx, dword [ebp + 0x34]
mov dword [ecx], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 0x1c]
lea eax, [ebp - 0x20]
push ebx
push ebx
push eax
push dword [ebp + 0x14]
xor edi, edi
push dword [ebp - 0xc]
inc edi
push dword [ebp - 8]
push edi
call dword [esi + 0x1c]
test eax, eax
jne 0x103f7f6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x307
mov dword [ebp + 0x34], eax
je 0x103f741
mov eax, dword [section..data]
cmp eax, section..data
je 0x103f739
test byte [eax + 0x1c], 2
je 0x103f739
push dword [ebp + 0x34]
push 0x100a34c
push 0x1f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101420b
mov eax, dword [ebp + 0x34]
jmp 0x103f5ea
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 0x1c]
lea eax, [ebp - 0x20]
push ebx
push ebx
push eax
push dword [ebp + 0x14]
push dword [ebp - 0xc]
push dword [ebp - 8]
push ebx
call dword [esi + 0x1c]
test eax, eax
jne 0x103f7a8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 0xc], eax
mov eax, dword [section..data]
cmp eax, section..data
je 0x103f8b0
test byte [eax + 0x1c], 2
je 0x103f8b0
push dword [ebp + 0xc]
push 0x100a34c
push 0x20
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101420b
jmp 0x103f8b0
mov eax, dword [ebp + 0x38]
mov dword [eax], edi
jmp 0x103f7fb
mov eax, dword [ebp + 0x14]
mov word [eax], bx
mov eax, dword [ebp + 0x1c]
mov word [eax], bx
mov eax, dword [ebp + 0x38]
mov dword [eax], ebx
jmp 0x103f8b0
push dword [ebp + 0x28]
lea eax, [ebp - 0x38]
push dword [ebp + 0x24]
push ecx
push dword [ebp + 0x1c]
push edx
push dword [ebp + 0x14]
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.credui.dll_CredUIPromptForCredentialsW]
cmp eax, ebx
mov dword [ebp + 0xc], eax
jne 0x103f7fb
push dword [ebp + 0x14]
mov ecx, esi
call fcn.0103ea77
mov ecx, dword [ebp + 0x34]
mov dword [ecx], eax
mov eax, dword [ebp + 0x38]
mov dword [eax], ebx
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0xc]
push dword [ebp - 8]
call fcn.0103f1dd
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x14], esi
jge 0x103f845
mov eax, dword [section..data]
cmp eax, section..data
je 0x103f83d
test byte [eax + 0x1c], 2
je 0x103f83d
push esi
push 0x100a6d0
push 0x100a34c
push 0x21
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01040d61
movzx eax, si
jmp 0x103f5ea
push dword [ebp + 0x30]
lea ecx, [ebp - 0x24]
call fcn.0103eae8
cmp eax, ebx
mov dword [ebp - 0x14], eax
jge 0x103f8c3
mov eax, dword [section..data]
cmp eax, section..data
je 0x103f8b0
test byte [eax + 0x1c], 2
je 0x103f8b0
push dword [ebp - 0x14]
push 0x100a698
push 0x100a34c
push 0x22
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01040d61
jmp 0x103f8b0
mov eax, dword [section..data]
cmp eax, section..data
je 0x103f8a9
test byte [eax + 0x1c], 2
je 0x103f8a9
push 0x100a34c
push 0x1e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010141c0
mov dword [ebp + 0xc], 0x57
cmp dword [ebp - 0x14], ebx
jge 0x103f8c3
cmp dword [ebp - 8], ebx
je 0x103f8c3
push dword [ebp - 8]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp dword [ebp - 0x10], ebx
je 0x103f8d0
push dword [ebp - 0x10]
call fcn.0104b610
cmp dword [ebp - 0x18], ebx
je 0x103f8dd
push dword [ebp - 0x18]
call fcn.0104b610
mov eax, dword [ebp - 0x24]
pop edi
pop esi
cmp eax, ebx
pop ebx
je 0x103f8f0
add eax, 0x14
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0xc]
leave
ret 0x38