Function at 0x140004b90
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x350
mov qword [rsp + 0xb8], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x14004b200]
xor rax, rsp
mov qword [rsp + 0x340], rax
mov rbp, rcx
mov qword [rsp + 0x88], rcx
mov rcx, qword [rcx + 0x260]
sub rcx, 0x18
call fcn.1400026b0
lea rsi, [rax + 0x18]
mov qword [rsp + 0x70], rsi
call fcn.14000ba9c
mov rdx, rax
xor r15d, r15d
mov ecx, r15d
test rax, rax
setne cl
test ecx, ecx
jne 0x140004c14
mov ecx, 0x80004005
call fcn.140001fe0
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x68], rax
mov rcx, qword [rbp + 0x260]
or r13, 0xffffffffffffffff
cmp dword [rcx - 0x10], 0
jle 0x140004d9f
lea edx, [r13 + 0x5d]
call fcn.140021e64
mov rdi, rax
test rax, rax
je 0x140004d9f
sub rdi, qword [rbp + 0x260]
sar rdi, 1
test edi, edi
js 0x140004d9f
lea r8d, [rdi + 1]
lea rdx, [rsp + 0xa8]
lea rcx, [rbp + 0x260]
call fcn.14000a640
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
add rsi, 0xffffffffffffffe8
cmp rcx, rsi
je 0x140004cd6
cmp dword [rsi + 0x10], 0
jl 0x140004cc7
mov rax, qword [rsi]
cmp qword [rcx], rax
jne 0x140004cc7
call fcn.1400026b0
mov r12, rax
mov ecx, r13d
lock xadd dword [rsi + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x140004cbb
mov rcx, qword [rsi]
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [r12 + 0x18]
mov qword [rsp + 0x70], rax
jmp 0x140004cd6
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x70]
call fcn.140001e30
nop
mov rdx, qword [rsp + 0xa8]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140004cf9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r8d, edi
lea rdx, [rsp + 0xb0]
lea rcx, [rbp + 0x260]
call fcn.14000a710
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rdi, qword [rsp + 0x68]
add rdi, 0xffffffffffffffe8
cmp rcx, rdi
je 0x140004d70
cmp dword [rdi + 0x10], 0
jl 0x140004d61
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x140004d61
call fcn.1400026b0
mov rbx, rax
mov ecx, r13d
lock xadd dword [rdi + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x140004d56
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rbx + 0x18]
mov qword [rsp + 0x68], rax
jmp 0x140004d70
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x68]
call fcn.140001e30
nop
mov rdx, qword [rsp + 0xb0]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140004d9a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rsi, qword [rsp + 0x70]
jmp 0x140004d9f
mov rsi, qword [rsp + 0x70]
mov r8d, 0x104
lea rdx, [rsp + 0x130]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call fcn.14000ba9c
mov rdx, rax
mov ecx, r15d
test rax, rax
setne cl
test ecx, ecx
jne 0x140004dd5
mov ecx, 0x80004005
call fcn.140001fe0
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x60], rax
xor eax, eax
mov rcx, r13
lea rdi, [0x14003f2d8]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [0x14003f2d8]
lea rcx, [rsp + 0x60]
call fcn.1400025a0
xor eax, eax
mov rcx, r13
lea rdi, [rsp + 0x130]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x60]
call fcn.1400025a0
xor eax, eax
mov rcx, r13
lea rdi, str.______
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, str.______
lea rcx, [rsp + 0x60]
call fcn.1400025a0
xor edx, edx
mov dword [rsp + 0x78], edx
mov r14, rdx
cmp qword [rbp + 0x2a8], rdx
jle 0x1400050b8
mov rbx, qword [rsp + 0x60]
nop dword [rax]
xor eax, eax
mov rcx, r13
lea rdi, [0x14003f2f4]
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rdi, rcx
lea r8, [0x14003f2f4]
mov qword [rsp + 0x80], r8
lea r12, [0x14003f2f4]
sub r12, rbx
sar r12, 1
mov r15d, dword [rbx - 0x10]
mov eax, edx
test ecx, ecx
setns al
test eax, eax
je 0x1400050ad
cmp ecx, ecx
cmovg edi, edi
mov eax, 0x7fffffff
sub eax, edi
mov ecx, edx
cmp eax, r15d
setge cl
test ecx, ecx
je 0x1400050a2
lea ebp, [r15 + rdi]
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, ebp
or eax, ecx
jge 0x140004f11
mov edx, ebp
lea rcx, [rsp + 0x60]
call fcn.140001dd0
mov rbx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x80]
cmp r12, r15
ja 0x140004f1a
lea r8, [rbx + r12*2]
movsxd rdx, edi
add rdx, rdx
lea rcx, [rbx + r15*2]
mov r9, rdx
call fcn.1400213d0
test ebp, ebp
js 0x140005097
cmp ebp, dword [rbx - 0xc]
jg 0x140005097
mov dword [rbx - 0x10], ebp
movsxd rax, ebp
xor ebp, ebp
mov word [rbx + rax*2], bp
test r14, r14
js 0x140005091
mov rax, qword [rsp + 0x88]
cmp r14, qword [rax + 0x2a8]
jge 0x140005091
mov rax, qword [rax + 0x2a0]
mov rdx, qword [rax + r14*8]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x60]
call fcn.1400025a0
xor eax, eax
mov rcx, r13
lea rdi, [0x14003f2d8]
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rdi, rcx
lea r8, [0x14003f2d8]
mov qword [rsp + 0x80], r8
lea r12, [0x14003f2d8]
mov rbx, qword [rsp + 0x60]
sub r12, rbx
sar r12, 1
mov r15d, dword [rbx - 0x10]
test ecx, ecx
setns al
test eax, eax
je 0x140005086
cmp ecx, ecx
cmovg edi, edi
mov eax, 0x7fffffff
sub eax, edi
mov ecx, ebp
cmp eax, r15d
setge cl
test ecx, ecx
je 0x14000507b
lea ebp, [r15 + rdi]
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, ebp
or eax, ecx
jge 0x140005014
mov edx, ebp
lea rcx, [rsp + 0x60]
call fcn.140001dd0
mov rbx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x80]
cmp r12, r15
ja 0x14000501d
lea r8, [rbx + r12*2]
movsxd rdx, edi
add rdx, rdx
lea rcx, [rbx + r15*2]
mov r9, rdx
call fcn.1400213d0
test ebp, ebp
js 0x140005070
cmp ebp, dword [rbx - 0xc]
jg 0x140005070
mov dword [rbx - 0x10], ebp
movsxd rax, ebp
xor r15d, r15d
mov word [rbx + rax*2], r15w
mov edx, dword [rsp + 0x78]
inc edx
mov dword [rsp + 0x78], edx
inc r14
movsxd rax, edx
mov rbp, qword [rsp + 0x88]
cmp rax, qword [rbp + 0x2a8]
mov rdx, r15
jl 0x140004e80
jmp 0x1400050bd
mov ecx, 0x80070057
call fcn.140001fe0
int3
mov ecx, 0x80070057
call fcn.140001fe0
int3
mov ecx, 0x80070057
call fcn.140001fe0
int3
call fcn.14000bdd0
int3
mov ecx, 0x80070057
call fcn.140001fe0
int3
mov ecx, 0x80070057
call fcn.140001fe0
int3
mov ecx, 0x80070057
call fcn.140001fe0
int3
mov rbx, qword [rsp + 0x60]
mov qword [rsp + 0x90], rdx
xor eax, eax
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], rax
xor edx, edx
lea r8d, [rax + 0x60]
lea rcx, [rsp + 0xc8]
call fcn.140022e00
mov dword [rsp + 0xc0], 0x68
lea rax, [rsp + 0x90]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x48], rax
xor r15d, r15d
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], 0x400
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 1]
mov r8, qword [rbp + 0x268]
mov rdx, qword [rsp + 0x68]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CreateProcessWithLogonW]
test eax, eax
jne 0x14000515b
lea rdx, [0x14003f300]
mov rcx, rbp
call fcn.140004ab0
int3
or edx, 0xffffffff
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rsp + 0x7c]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [rsp + 0x7c]
lea rdx, [rbx - 0x18]
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400051bb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400051dc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r13d
dec r13d
test r13d, r13d
jg 0x1400051fc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, edi
mov rcx, qword [rsp + 0x340]
xor rcx, rsp
call fcn.1400213b0
lea r11, [rsp + 0x350]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret