Function at 0x1400443ac
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbp
mov rsi, r8
mov r14, rdx
mov r15, rcx
xor r12d, r12d
cmp qword [r8 + 0x10], r12
je 0x1400443f5
cmp byte [r8], r12b
je 0x1400443f5
lea ecx, [r12 + 0x57]
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_SetLastError]
xor eax, eax
jmp 0x1400446d4
mov ecx, 0xd0
call fcn.1400c1958
mov rdi, rax
mov qword [rsp + 0x80], rax
test rax, rax
je 0x14004449e
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_InitializeCriticalSectionEx]
lea rax, [0x1400f0e30]
mov qword [rdi + 0x28], rax
mov qword [rdi + 0x30], r12
mov dword [rdi + 0x38], r12d
mov qword [rdi + 0x40], rax
mov qword [rdi + 0x48], r12
mov qword [rdi + 0x50], rax
mov qword [rdi + 0x58], r12
mov dword [rdi + 0x60], r12d
mov dword [rdi + 0x70], 0x4e20
mov qword [rdi + 0x80], r12
lea rax, [0x1400f0e30]
mov qword [rdi + 0x78], rax
mov eax, 7
mov qword [rdi + 0xa8], rax
mov qword [rdi + 0xa0], r12
mov word [rdi + 0x90], r12w
mov qword [rdi + 0xc8], rax
mov qword [rdi + 0xc0], r12
mov word [rdi + 0xb0], r12w
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount64]
mov qword [rdi + 0x68], rax
jmp 0x1400444a1
mov rdi, r12
mov rbx, rdi
mov qword [rsp + 0x80], rbx
mov dword [rdi + 0x60], 1
mov rdx, qword [rsi + 8]
test rdx, rdx
je 0x140044540
mov r8, qword [rsi + 0x10]
mov rcx, rdi
call fcn.140045730
mov ebp, eax
test eax, eax
jns 0x140044540
cmp dword [0x140142444], 2
jb 0x1400444f3
mov r9d, eax
mov r8, qword [rsi + 0x10]
lea rdx, str.Failed_to_create_a_process_stop_event__S:_0x_x
mov ecx, 2
call fcn.14003929c
lea rax, section..data
mov rcx, qword [section..data]
cmp rcx, rax
je 0x1400446b8
test byte [rcx + 0x1c], 8
je 0x1400446b8
cmp byte [rcx + 0x19], 2
jb 0x1400446b8
mov edx, ntohs
mov dword [rsp + 0x20], ebp
mov r9, qword [rsi + 0x10]
lea r8, [0x1400ff638]
mov rcx, qword [rcx + 0x10]
call fcn.140029648
jmp 0x1400446b8
mov r9, rsi
mov r8, r14
mov rdx, r15
mov rcx, rdi
cmp qword [rsi + 0x28], r12
je 0x140044559
call fcn.140044cd4
jmp 0x14004456b
cmp qword [rsi + 0x10], r12
je 0x140044566
call fcn.140044764
jmp 0x14004456b
call fcn.140045384
mov esi, eax
test eax, eax
js 0x140044664
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r12d
mov r9, rdi
lea r8, [0x1400463b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_CreateThread]
mov rsi, rax
mov rcx, qword [rdi + 0x48]
cmp rax, rcx
je 0x1400445b9
test rcx, rcx
je 0x1400445b2
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_CloseHandle]
test eax, eax
je 0x1400446eb
mov qword [rdi + 0x48], rsi
mov rcx, rsi
test rcx, rcx
je 0x1400445c6
mov rbx, r12
jmp 0x1400446bb
mov rcx, rdi
call fcn.14004470c
mov edi, 0x80070000
cmp dword [0x140142444], 2
jb 0x14004460c
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_GetLastError]
movzx r8d, ax
or r8d, edi
test eax, eax
cmovle r8d, eax
mov eax, 0x80004005
test r8d, r8d
cmovns r8d, eax
lea rdx, [0x1400ff328]
mov ecx, 2
call fcn.14003929c
lea rax, section..data
mov rcx, qword [section..data]
cmp rcx, rax
je 0x1400446b8
test byte [rcx + 0x1c], 8
je 0x1400446b8
cmp byte [rcx + 0x19], 2
jb 0x1400446b8
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_GetLastError]
movzx r9d, ax
or r9d, edi
test eax, eax
cmovle r9d, eax
mov eax, 0x80004005
test r9d, r9d
cmovns r9d, eax
mov edx, 0xa
mov rcx, qword [section..data]
jmp 0x1400446a8
cmp dword [0x140142444], 2
jb 0x140044681
mov r8d, esi
lea rdx, str.Failed_to_create_new_process:_0x_x
mov ecx, 2
call fcn.14003929c
lea rax, section..data
mov rcx, qword [section..data]
cmp rcx, rax
je 0x1400446b8
test byte [rcx + 0x1c], 8
je 0x1400446b8
cmp byte [rcx + 0x19], 2
jb 0x1400446b8
mov edx, ntohs
mov r9d, esi
lea r8, [0x1400ff638]
mov rcx, qword [rcx + 0x10]
call fcn.140007608
mov rdi, r12
test rbx, rbx
je 0x1400446d1
mov rcx, rbx
call fcn.1400441f8
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
mov rax, rdi
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_GetLastError]
nop
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
call fcn.14002953c
int3