Function at 0x1400123f0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
lea rbp, [rsp - 0x450]
sub rsp, 0x550
mov rax, qword [0x1400213f8]
xor rax, rsp
mov qword [rbp + 0x440], rax
mov r8, 0xffffffffffffffff
lea r14, [rcx + 0x410]
mov rdi, rcx
mov rax, r8
mov ebx, edx
lea rcx, [0x140022e84]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140012436
not eax
inc r8
cmp word [rdi + r8*2], 0
jne 0x140012442
add eax, r8d
mov qword [rsp + 0x28], rdi
lea r8, str._s_.s_up.bat
mov dword [rsp + 0x20], eax
mov r9, r14
lea rcx, [rbp + 0x30]
mov edx, 0x100
call fcn.1400021e0
lea rdx, [rbp]
lea rcx, [rbp + 0x30]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wstat64i32]
cmp eax, 0xffffffff
je 0x14001269a
mov qword [rsp + 0x578], rsi
test ebx, ebx
jne 0x1400124b3
mov ecx, 0x4dc
call fcn.140003b60
mov rcx, qword [rdi + 0xd60]
mov r8, rax
mov edx, 0xa1
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
lea rax, [rdi + 0x208]
mov edx, 0x104
lea r9, [0x140022ea4]
mov qword [rsp + 0x20], rax
lea r8, str._s_s_up.log
lea rcx, [rbp + 0x230]
call fcn.1400021e0
xor ebx, ebx
mov qword [rsp + 0x58], 0x18
mov qword [rsp + 0x30], rbx
lea r9, [rsp + 0x58]
mov dword [rsp + 0x28], 0x80
lea rcx, [rbp + 0x230]
mov edx, 0x40000000
mov qword [rsp + 0x68], 1
lea r8d, [rbx + 3]
mov qword [rsp + 0x60], rbx
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
xorps xmm0, xmm0
lea rcx, [rbp - 0x70]
mov rsi, rax
xor eax, eax
mov qword [rbp - 0x10], rax
mov qword [rbp - 0x80], rax
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rsp + 0x70], xmm0
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov rcx, qword [rdi + 0xd88]
mov eax, 0xa
mov dword [rbp - 0x70], 0x68
mov dword [rbp - 0x34], 0x100
mov word [rbp - 0x30], ax
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], rsi
test rcx, rcx
je 0x140012597
call fcn.140002b10
mov rdi, rax
jmp 0x14001259a
mov rdi, rbx
cmp dword [0x1400234d0], ebx
lea rdx, [rbp + 0x30]
mov eax, 0x8000400
mov ecx, 0x410
cmovne eax, ecx
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x48], rcx
xor r9d, r9d
lea rcx, [rbp - 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rcx
xor ecx, ecx
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x140012608
lea rdx, [rbp + 0x30]
mov ecx, 0x4de
call fcn.140003f10
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140012692
mov edx, dword [0x1400234d4]
test edx, edx
je 0x140012665
js 0x14001265b
nop dword [rax]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x70]
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x1400126c8
mov edx, dword [rsp + 0x50]
cmp edx, 0x103
jne 0x1400126bd
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [0x1400234d4]
inc ebx
cmp ebx, edx
jle 0x140012620
mov ecx, 0x4e1
call fcn.140003f10
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rsi, rsi
je 0x140012692
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x578]
mov rcx, qword [rbp + 0x440]
xor rcx, rsp
call fcn.140016590
mov rbx, qword [rsp + 0x580]
add rsp, 0x550
pop r14
pop rdi
pop rbp
ret
test edx, edx
je 0x140012665
mov ecx, 0x4e0
jmp 0x140012660
lea rdx, [rbp + 0x30]
mov ecx, 0x4df
call fcn.140003f10
jmp 0x140012665