Function at 0x1400379c0
Capabilities:
Create process on windows
Self delete

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x130
mov qword [rsp + 0xf8], 0
mov qword [rsp + 0xe8], 0
mov qword [rsp + 0x50], 0
lea rdx, str.InitializeProcThreadAttributeList
mov rcx, qword [rsp + 0x148]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xf8], rax
lea rdx, str.DeleteProcThreadAttributeList
mov rcx, qword [rsp + 0x148]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xe8], rax
lea rdx, str.UpdateProcThreadAttribute
mov rcx, qword [rsp + 0x148]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0xf8], 0
je 0x140037a6f
cmp qword [rsp + 0xe8], 0
je 0x140037a6f
cmp qword [rsp + 0x50], 0
jne 0x140037a81
mov ecx, 0x80004003
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x140037dc0
cmp qword [rsp + 0x150], 0
jne 0x140037a9e
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x140037dc0
mov r8, qword [rsp + 0x158]
mov rdx, qword [rsp + 0x150]
mov rcx, qword [rsp + 0x140]
call fcn.140037750
mov qword [rsp + 0xe0], rax
cmp qword [rsp + 0xe0], 0
jne 0x140037ad5
xor eax, eax
jmp 0x140037dc0
mov dword [rsp + 0xf4], 0
mov dword [rsp + 0x58], 0xffffffff
mov dword [rsp + 0x70], 0
lea rdi, [rsp + 0x78]
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
mov dword [rsp + 0x70], 0x70
lea r9, [rsp + 0x100]
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [rsp + 0xf8]
test eax, eax
jne 0x140037b6a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xf4], eax
cmp dword [rsp + 0xf4], 0x7a
je 0x140037b6a
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x108], rax
mov rcx, qword [rsp + 0x108]
call sub.mfc90u.dll_CStatusBar::CStatusBar
mov qword [rsp + 0xe0], 0
xor eax, eax
jmp 0x140037dc0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x100]
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0xd8], rax
cmp qword [rsp + 0xd8], 0
jne 0x140037bd8
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x110], rax
mov rcx, qword [rsp + 0x110]
call sub.mfc90u.dll_CStatusBar::CStatusBar
mov qword [rsp + 0xe0], 0
xor eax, eax
jmp 0x140037dc0
lea r9, [rsp + 0x100]
xor r8d, r8d
mov edx, 1
mov rcx, qword [rsp + 0xd8]
call qword [rsp + 0xf8]
test eax, eax
jne 0x140037c38
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xf4], eax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x118], rax
mov rcx, qword [rsp + 0x118]
call sub.mfc90u.dll_CStatusBar::CStatusBar
mov qword [rsp + 0xe0], 0
xor eax, eax
jmp 0x140037dc0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 4
lea r9, [rsp + 0x58]
mov r8d, 0x2000b
xor edx, edx
mov rcx, qword [rsp + 0xd8]
call qword [rsp + 0x50]
test eax, eax
jne 0x140037cad
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xf4], eax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x120], rax
mov rcx, qword [rsp + 0x120]
call sub.mfc90u.dll_CStatusBar::CStatusBar
mov qword [rsp + 0xe0], 0
xor eax, eax
jmp 0x140037dc0
mov ecx, dword [rsp + 0x178]
or ecx, 0x80000
or ecx, 0x40000
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ecx
mov eax, dword [rsp + 0x170]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x168]
mov r8, qword [rsp + 0x160]
mov rdx, qword [rsp + 0xe0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [rsp + 0xf0], eax
cmp dword [rsp + 0xf0], 0
jne 0x140037d3e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xf4], eax
cmp qword [rsp + 0xd8], 0
je 0x140037d79
mov rcx, qword [rsp + 0xd8]
call qword [rsp + 0xe8]
mov r8, qword [rsp + 0xd8]
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rsp + 0xd8], 0
cmp dword [rsp + 0xf0], 0
jne 0x140037d90
mov ecx, dword [rsp + 0xf4]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsp + 0xe0]
mov qword [rsp + reloc.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____], rax
mov rcx, qword [rsp + reloc.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____]
call sub.mfc90u.dll_CStatusBar::CStatusBar
mov qword [rsp + 0xe0], 0
mov eax, dword [rsp + 0xf0]
add rsp, 0x130
pop rdi
ret