Function at 0x1400a7eb8
Capabilities:
Create pipe
Create process on windows
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1010]
mov eax, 0x1110
call fcn.1400d1d00
sub rsp, rax
xor esi, esi
mov rbx, rcx
mov rdi, rdx
and qword [rbp - 0x78], rsi
and dword [rbp - 0x60], esi
lea rcx, [rbp - 0x58]
lea r8d, [rsi + 0x60]
xor edx, edx
mov dword [rbp - 0x80], reloc.ODBC32.dll_SQLAllocHandle
mov dword [rbp - 0x70], 1
call fcn.1400c6610
and qword [rsp + 0x68], rsi
xor eax, eax
mov rcx, rbx
and qword [rbp + 0x1048], rax
and qword [rsp + 0x60], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
call fcn.1400c2164
mov r14, rax
test rax, rax
je 0x1400a80dd
lea r8, [rbp - 0x80]
lea rdx, [rbp - 8]
lea rcx, [rbp + 0x1048]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x1400a80d5
mov rcx, qword [rbp + 0x1048]
lea edx, [rsi + 1]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
mov rax, qword [rbp - 8]
bts dword [rbp - 0x24], 8
mov qword [rbp], rax
mov dword [rbp - 0x60], 0x68
test rdi, rdi
je 0x1400a7fb2
lea rcx, [rsp + 0x60]
xor r8d, r8d
mov rdx, rdi
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
jne 0x1400a7fb2
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ERROR_kull_m_process_run_data___CreateEnvironmentBlock__0x_08x__n
mov edx, eax
call fcn.14000bce4
jmp 0x1400a80b9
lea rax, [rsp + 0x68]
xor r9d, r9d
mov r8, r14
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x60]
xor edx, edx
mov qword [rsp + 0x48], rax
and qword [rsp + 0x40], rsi
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x8000400
mov rcx, rdi
mov dword [rsp + 0x28], 1
and qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov esi, eax
test eax, eax
je 0x1400a8095
mov rcx, qword [rbp - 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rbp], 0
and qword [rbp - 8], 0
mov edi, 0x1000
jmp 0x1400a804a
mov eax, dword [rbp + 0x1040]
test eax, eax
je 0x1400a806f
xor ebx, ebx
test eax, eax
je 0x1400a804a
movzx edx, byte [rbp + rbx + 0x10]
lea rcx, [0x1400f7e00]
call fcn.14000bce4
inc ebx
cmp ebx, dword [rbp + 0x1040]
jb 0x1400a802f
mov rcx, qword [rbp + 0x1048]
and qword [rsp + 0x20], 0
lea r9, [rbp + 0x1040]
lea rdx, [rbp + 0x10]
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400a801f
mov rcx, qword [rsp + 0x68]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400a80a9
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ERROR_kull_m_process_run_data___CreateProcessAsUser__0x_08x__n
mov edx, eax
call fcn.14000bce4
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1400a80b9
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
mov rcx, qword [rbp + 0x1048]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x1400a80d5
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r14
call fcn.1400c2124
lea r11, [rsp + 0x1110]
mov eax, esi
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret