Function at 0x103f42f
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 0x103f855
cmp dword [ebp + 0x30], ebx
je 0x103f855
cmp dword [ebp + 0x14], ebx
je 0x103f855
cmp dword [ebp + 0x1c], ebx
je 0x103f855
cmp edx, ebx
je 0x103f855
cmp ecx, ebx
je 0x103f855
cmp dword [esi + 0x18], ebx
mov eax, dword [ebp + 8]
je 0x103f4bc
lea edi, [eax + 0x1104]
mov dword [ebp - 0x2c], edi
lea edi, [eax + 0x1204]
jmp 0x103f4c8
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 0x103f795
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 0x103f556
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 0x103f65c
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 0x7a
mov dword [ebp + 0xc], eax
jne 0x103f885
push dword [ebp - 4]
call fcn.0104b5cb
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x103f63d
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 0x103f65c
call edi
mov dword [ebp + 0xc], eax
jmp 0x103f885
push 0x1002048
push dword [ebp + 0xc]
call edi
test eax, eax
je 0x103f622
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 0x103f572
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.0104b5cb
cmp eax, ebx
mov dword [ebp - 0x18], eax
je 0x103f63d
push dword [ebp + 0xc]
mov ecx, esi
push edi
push eax
call fcn.0103f397
cmp eax, ebx
mov dword [ebp - 0x14], eax
jge 0x103f5c2
movzx eax, ax
mov dword [ebp + 0xc], eax
jmp 0x103f880
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 0x103f65c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
mov dword [ebp + 0xc], eax
jne 0x103f880
push dword [ebp - 4]
call fcn.0104b5cb
cmp eax, ebx
mov dword [ebp - 0x10], eax
jne 0x103f607
mov dword [ebp + 0xc], 8
jmp 0x103f880
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 0x103f65c
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x103f5ba
cmp dword [ebp + 0x3c], 1
jne 0x103f65c
push 0x28
pop eax
push eax
mov dword [ebp - 4], eax
call fcn.0104b5cb
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0x10], edi
jne 0x103f649
mov dword [ebp + 0xc], 8
jmp 0x103f885
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 0x103f880
cmp dword [ebp - 8], ebx
je 0x103f77f
cmp dword [ebp - 0xc], ebx
je 0x103f77f
push dword [ebp - 0xc]
mov ecx, esi
push dword [ebp - 8]
call fcn.0103ea8f
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 0x103f7c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x307
mov dword [ebp + 0x34], eax
je 0x103f711
mov eax, dword [section..data]
cmp eax, section..data
je 0x103f709
test byte [eax + 0x1c], 2
je 0x103f709
push dword [ebp + 0x34]
push 0x100a2cc
push 0x1f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101420b
mov eax, dword [ebp + 0x34]
jmp 0x103f5ba
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 0x103f778
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 0xc], eax
mov eax, dword [section..data]
cmp eax, section..data
je 0x103f880
test byte [eax + 0x1c], 2
je 0x103f880
push dword [ebp + 0xc]
push 0x100a2cc
push 0x20
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101420b
jmp 0x103f880
mov eax, dword [ebp + 0x38]
mov dword [eax], edi
jmp 0x103f7cb
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 0x103f880
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 0x103f7cb
push dword [ebp + 0x14]
mov ecx, esi
call fcn.0103ea47
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.0103f1ad
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x14], esi
jge 0x103f815
mov eax, dword [section..data]
cmp eax, section..data
je 0x103f80d
test byte [eax + 0x1c], 2
je 0x103f80d
push esi
push 0x100a650
push 0x100a2cc
push 0x21
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01040d30
movzx eax, si
jmp 0x103f5ba
push dword [ebp + 0x30]
lea ecx, [ebp - 0x24]
call fcn.0103eab8
cmp eax, ebx
mov dword [ebp - 0x14], eax
jge 0x103f893
mov eax, dword [section..data]
cmp eax, section..data
je 0x103f880
test byte [eax + 0x1c], 2
je 0x103f880
push dword [ebp - 0x14]
push 0x100a618
push 0x100a2cc
push 0x22
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01040d30
jmp 0x103f880
mov eax, dword [section..data]
cmp eax, section..data
je 0x103f879
test byte [eax + 0x1c], 2
je 0x103f879
push 0x100a2cc
push 0x1e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010141c0
mov dword [ebp + 0xc], 0x57
cmp dword [ebp - 0x14], ebx
jge 0x103f893
cmp dword [ebp - 8], ebx
je 0x103f893
push dword [ebp - 8]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp dword [ebp - 0x10], ebx
je 0x103f8a0
push dword [ebp - 0x10]
call fcn.0104b5e3
cmp dword [ebp - 0x18], ebx
je 0x103f8ad
push dword [ebp - 0x18]
call fcn.0104b5e3
mov eax, dword [ebp - 0x24]
pop edi
pop esi
cmp eax, ebx
pop ebx
je 0x103f8c0
add eax, 0x14
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0xc]
leave
ret 0x38