Function at 0x1400f02b0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
xorps xmm0, xmm0
mov qword [rbp - 0x58], rdx
lea rax, [0x1401b2860]
mov qword [rbp - 0x68], r9
mov qword [rbp - 0x50], rax
mov r14, r9
mov qword [rbp - 0x60], rax
mov r13, r8
xor eax, eax
mov dword [rbp], 0x68
mov dword [rbp + 0x64], eax
mov r15, rdx
mov r12, rcx
xor edi, edi
movdqu xmmword [rsp + 0x50], xmm0
movups xmmword [rbp + 4], xmm0
movups xmmword [rbp + 0x14], xmm0
movups xmmword [rbp + 0x24], xmm0
movups xmmword [rbp + 0x34], xmm0
movups xmmword [rbp + 0x44], xmm0
movups xmmword [rbp + 0x54], xmm0
call fcn.14011eaf0
mov rsi, rax
test rax, rax
je 0x1400f0615
lea rax, [rbp - 0x80]
mov qword [rsp + 0x1d0], rbx
mov qword [rsp + 0x48], rax
xor r9d, r9d
lea rax, [rbp]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov rdx, rsi
mov qword [rsp + 0x38], rdi
xor ecx, ecx
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], Ordinal_26
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov rcx, rsi
mov ebx, eax
call fcn.14011eb74
test ebx, ebx
je 0x1400f05ee
mov rbx, qword [rbp - 0x80]
lea edx, [rdi + 0x10]
lea ecx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x58], rax
test rax, rax
je 0x1400f05d0
lea edx, [rdi + 8]
mov dword [rax], 1
lea ecx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rcx, rax
mov rax, qword [rsp + 0x58]
mov qword [rax + 8], rcx
test rcx, rcx
je 0x1400f05c5
mov qword [rcx], rbx
mov rbx, qword [rsp + 0x58]
cmp dword [rbx], 1
jne 0x1400f03fd
mov rax, qword [rbx + 8]
mov rcx, qword [rax]
lea rax, [rbp - 0x48]
mov qword [rsp + 0x60], rax
lea rax, [0x1401b2860]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x78], rbx
jmp 0x1400f042f
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, dword [rbx]
mov rcx, rax
mov qword [rsp + 0x78], rbx
lea rax, [rbp - 0x48]
mov qword [rsp + 0x60], rax
lea rax, [0x1401b2860]
mov qword [rsp + 0x68], rax
test edx, edx
je 0x1400f0493
cmp edx, 1
jne 0x1400f055e
lea rax, [rbp + 0xd8]
mov r9d, 0x30
lea r8, [rbp + 0x70]
mov qword [rsp + 0x20], rax
xor edx, edx
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x1400f055e
cmp dword [rbp + 0xd8], 0x30
jne 0x1400f055e
mov rax, qword [rbp + 0x78]
test rax, rax
je 0x1400f055e
mov r8d, Ordinal_36
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x60]
call fcn.14000a6f0
test eax, eax
je 0x1400f055e
jmp 0x1400f04a8
call qword [sym.imp.ntdll.dll_RtlGetCurrentPeb]
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x38], xmm1
mov rax, qword [rbp - 0x38]
lea rdx, [rbp + 0xd8]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x50], rax
call fcn.14000c430
test eax, eax
je 0x1400f055e
mov rax, qword [rsp + 0x58]
lea r9, [rbp - 0x68]
mov rbx, qword [rbp + 0xd8]
lea rdx, [rbp - 0x58]
mov qword [rbp - 0x20], rax
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x40], rdi
mov r8, r13
mov dword [rsp + 0x38], edi
mov rax, qword [rbx + 0x30]
mov qword [rbp - 0x28], rax
mov eax, dword [rbx + 0x50]
mov qword [rbp - 0x18], rax
mov rax, qword [rbp + 0xf0]
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
call fcn.14000afc0
mov edi, eax
test eax, eax
je 0x1400f0541
mov rcx, qword [rbp - 0x10]
mov r9, r14
mov qword [rsp + 0x20], rcx
mov r8, r15
lea rcx, str.Patch_OK_for__s_from__s_to__s____p_n
mov rdx, r12
call fcn.14000afb0
jmp 0x1400f0555
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR_kuhl_m_misc_generic_nogpo_patch___kull_m_patch__0x_08x__n
call fcn.14000afb0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x1400f05d0
mov ecx, dword [rbx]
sub ecx, 1
je 0x1400f05b6
sub ecx, 1
je 0x1400f058d
sub ecx, 1
je 0x1400f05b6
cmp ecx, 3
jne 0x1400f05c0
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rbx
jmp 0x1400f05ca
mov rsi, qword [rbx + 8]
test rsi, rsi
je 0x1400f05c0
mov rsi, qword [rsi]
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x1400f05a8
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400f05b6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rbx
jmp 0x1400f05ca
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ntdll.dll_NtResumeProcess]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x1d0]
mov eax, edi
lea r11, [rsp + 0x1a0]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov eax, edi
jmp 0x1400f05f8