Function at 0x103f551
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 0x103f977
cmp dword [ebp + 0x30], ebx
je 0x103f977
cmp dword [ebp + 0x14], ebx
je 0x103f977
cmp dword [ebp + 0x1c], ebx
je 0x103f977
cmp edx, ebx
je 0x103f977
cmp ecx, ebx
je 0x103f977
cmp dword [esi + 0x18], ebx
mov eax, dword [ebp + 8]
je 0x103f5de
lea edi, [eax + 0x1104]
mov dword [ebp - 0x2c], edi
lea edi, [eax + 0x1204]
jmp 0x103f5ea
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 0x103f8b7
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x1002050
push dword [ebp + 0x14]
mov dword [ebp + 0x28], ebx
call edi
test eax, eax
je 0x103f678
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 0x103f77e
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 0x7a
mov dword [ebp + 0xc], eax
jne 0x103f9a7
push dword [ebp - 4]
call fcn.0104b68d
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x103f75f
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 0x103f77e
call edi
mov dword [ebp + 0xc], eax
jmp 0x103f9a7
push 0x1002050
push dword [ebp + 0xc]
call edi
test eax, eax
je 0x103f744
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 0x103f694
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.0104b68d
cmp eax, ebx
mov dword [ebp - 0x18], eax
je 0x103f75f
push dword [ebp + 0xc]
mov ecx, esi
push edi
push eax
call fcn.0103f4b9
cmp eax, ebx
mov dword [ebp - 0x14], eax
jge 0x103f6e4
movzx eax, ax
mov dword [ebp + 0xc], eax
jmp 0x103f9a2
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 0x103f77e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
mov dword [ebp + 0xc], eax
jne 0x103f9a2
push dword [ebp - 4]
call fcn.0104b68d
cmp eax, ebx
mov dword [ebp - 0x10], eax
jne 0x103f729
mov dword [ebp + 0xc], 8
jmp 0x103f9a2
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 0x103f77e
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x103f6dc
cmp dword [ebp + 0x3c], 1
jne 0x103f77e
push 0x28
pop eax
push eax
mov dword [ebp - 4], eax
call fcn.0104b68d
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0x10], edi
jne 0x103f76b
mov dword [ebp + 0xc], 8
jmp 0x103f9a7
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 0x103f9a2
cmp dword [ebp - 8], ebx
je 0x103f8a1
cmp dword [ebp - 0xc], ebx
je 0x103f8a1
push dword [ebp - 0xc]
mov ecx, esi
push dword [ebp - 8]
call fcn.0103eb65
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 0x103f8e8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x307
mov dword [ebp + 0x34], eax
je 0x103f833
mov eax, dword [section..data]
cmp eax, section..data
je 0x103f82b
test byte [eax + 0x1c], 2
je 0x103f82b
push dword [ebp + 0x34]
push 0x100a3d4
push 0x1f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01040e4a
mov eax, dword [ebp + 0x34]
jmp 0x103f6dc
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 0x103f89a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 0xc], eax
mov eax, dword [section..data]
cmp eax, section..data
je 0x103f9a2
test byte [eax + 0x1c], 2
je 0x103f9a2
push dword [ebp + 0xc]
push 0x100a3d4
push 0x20
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01040e4a
jmp 0x103f9a2
mov eax, dword [ebp + 0x38]
mov dword [eax], edi
jmp 0x103f8ed
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 0x103f9a2
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 0x103f8ed
push dword [ebp + 0x14]
mov ecx, esi
call fcn.0103eb1d
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.0103f2cf
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x14], esi
jge 0x103f937
mov eax, dword [section..data]
cmp eax, section..data
je 0x103f92f
test byte [eax + 0x1c], 2
je 0x103f92f
push esi
push 0x100a748
push 0x100a3d4
push 0x21
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01040e76
movzx eax, si
jmp 0x103f6dc
push dword [ebp + 0x30]
lea ecx, [ebp - 0x24]
call fcn.0103ebda
cmp eax, ebx
mov dword [ebp - 0x14], eax
jge 0x103f9b5
mov eax, dword [section..data]
cmp eax, section..data
je 0x103f9a2
test byte [eax + 0x1c], 2
je 0x103f9a2
push dword [ebp - 0x14]
push 0x100a710
push 0x100a3d4
push 0x22
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01040e76
jmp 0x103f9a2
mov eax, dword [section..data]
cmp eax, section..data
je 0x103f99b
test byte [eax + 0x1c], 2
je 0x103f99b
push 0x100a3d4
push 0x1e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010141a1
mov dword [ebp + 0xc], 0x57
cmp dword [ebp - 0x14], ebx
jge 0x103f9b5
cmp dword [ebp - 8], ebx
je 0x103f9b5
push dword [ebp - 8]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp dword [ebp - 0x10], ebx
je 0x103f9c2
push dword [ebp - 0x10]
call fcn.0104b6a5
cmp dword [ebp - 0x18], ebx
je 0x103f9cf
push dword [ebp - 0x18]
call fcn.0104b6a5
mov eax, dword [ebp - 0x24]
pop edi
pop esi
cmp eax, ebx
pop ebx
je 0x103f9e2
add eax, 0x14
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0xc]
leave
ret 0x38