Function at 0x18004ac40
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x18021a280]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rsi, rcx
xor r13d, r13d
lea rdx, [rcx + 0x80]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 7
jbe 0x18004ac93
mov rdx, qword [rdx]
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x38], r13
lea rcx, [rbp - 0x50]
call fcn.180008f40
nop
mov r8d, 3
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x60]
call fcn.180024ac0
movsd xmm0, qword [rax]
movsd qword [rsp + 0x50], xmm0
mov ecx, dword [rax + 8]
mov dword [rsp + 0x60], ecx
lea rax, [0x18021b290]
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp], xmm0
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x18004ade7
cmp eax, 1
sete bl
mov rdx, qword [rbp - 0x38]
cmp rdx, 7
jbe 0x18004ad39
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004ad34
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004b2c3
call fcn.18008a530
xorps xmm0, xmm0
test bl, bl
je 0x18004ae75
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], r13
mov r8d, Ordinal_26
lea rdx, str.____Miner_file_not_exist
lea rcx, [rsp + 0x70]
call fcn.180008f40
nop
lea rbx, [rsi + 0x10]
mov qword [rsp + 0x50], rbx
mov rcx, rbx
call fcn.180089748
test eax, eax
jne 0x18004b2c9
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
je 0x18004b2d4
lea rcx, [rsi + 0x60]
lea rax, [rsp + 0x70]
mov rsi, qword [rbp - 0x78]
cmp rcx, rax
je 0x18004adff
lea r9, [rsp + 0x70]
cmp rsi, 7
cmova r9, qword [rsp + 0x70]
mov rax, qword [rcx + 0x18]
mov rdx, qword [rbp - 0x80]
cmp rdx, rax
ja 0x18004adf6
mov r14, rcx
cmp rax, 7
jbe 0x18004adca
mov r14, qword [rcx]
mov qword [rcx + 0x10], rdx
lea rdi, [rdx + rdx]
mov r8, rdi
mov rdx, r9
mov rcx, r14
call fcn.1800b9680
mov word [rdi + r14], r13w
jmp 0x18004adff
mov bl, 1
test ecx, ecx
jne 0x18004b2a8
jmp 0x18004acf9
call fcn.180029400
mov rsi, qword [rbp - 0x78]
mov rcx, rbx
call fcn.180089750
nop
cmp rsi, 7
jbe 0x18004ae45
lea rdx, [rsi*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004ae40
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004b2bd
call fcn.18008a530
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.18008a510
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
xor eax, eax
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
movups xmmword [rbp + 0x80], xmm0
mov qword [rbp + 0x90], rax
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rax
mov dword [rbp + 0x30], Ordinal_106
mov r15d, 1
mov dword [rbp + 0x6c], r15d
mov word [rbp + 0x70], r13w
lea rax, str.cmd.exe__c__
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], Ordinal_21
lea rdx, [rsi + 0xa0]
cmp qword [rsi + 0xb8], 7
jbe 0x18004aee4
mov rdx, qword [rsi + 0xa0]
mov rax, qword [rsi + 0xb0]
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], rax
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rbp - 0x40], xmm0
movabs rax, 0xc000000000000000
mov qword [rbp - 0x50], rax
lea rdx, [rsi + 0xe0]
cmp qword [rsi + 0xf8], 7
jbe 0x18004af24
mov rdx, qword [rsi + 0xe0]
mov rax, qword [rsi + 0xf0]
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], rax
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rbp - 0x30], xmm0
movabs rax, 0xc000000000000010
mov qword [rbp - 0x48], rax
mov qword [rsp + 0x60], 2
lea rax, [rbp - 0x50]
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp], xmm0
movaps xmm1, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x60], xmm1
lea r8, [rbp]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.18000a600
nop
lea rax, [rsi + 0xc0]
cmp qword [rax + 0x18], 7
jbe 0x18004af97
mov rax, qword [rax]
lea rdx, [rbp + 0x10]
cmp qword [rbp + 0x28], 7
cmova rdx, qword [rbp + 0x10]
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp + 0x30]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], Ordinal_21
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x18004b0cd
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.____Miner_process_can_not_be_created:_
mov qword [rbp], rcx
mov qword [rbp + 8], Ordinal_47
mov dword [rsp + 0x68], eax
movabs rax, 0x2000000000000000
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x50], r15
lea rax, [rsp + 0x60]
mov qword [rsp + 0x58], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
movaps xmm1, xmmword [rbp]
movdqa xmmword [rbp], xmm1
lea r8, [rsp + 0x50]
lea rdx, [rbp]
lea rcx, [rbp - 0x50]
call fcn.18000a600
nop
lea rbx, [rsi + 0x10]
mov qword [rsp + 0x50], rbx
mov rcx, rbx
call fcn.180089748
test eax, eax
jne 0x18004b2e4
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
je 0x18004b2ef
lea rcx, [rsi + 0x60]
lea rdx, [rbp - 0x50]
call fcn.1800285f0
nop
mov rcx, rbx
call fcn.180089750
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 7
jbe 0x18004b25e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004b0c3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004b2ff
call fcn.18008a530
jmp 0x18004b25e
mov edx, 0x3e8
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, r15d
xchg byte [rsi + 0x119], al
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x58], r13
mov r8d, 3
lea rdx, [0x1801fdc30]
lea rcx, [rbp - 0x70]
call fcn.180008f40
nop
lea rbx, [rsi + 0x10]
mov qword [rsp + 0x50], rbx
mov rcx, rbx
call fcn.180089748
test eax, eax
jne 0x18004b305
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
je 0x18004b310
lea rcx, [rsi + 0x60]
lea rax, [rbp - 0x70]
mov r14, qword [rbp - 0x58]
cmp rcx, rax
je 0x18004b1a3
lea r9, [rbp - 0x70]
cmp r14, 7
cmova r9, qword [rbp - 0x70]
mov rax, qword [rcx + 0x18]
mov rdx, qword [rbp - 0x60]
cmp rdx, rax
ja 0x18004b19a
mov r12, rcx
cmp rax, 7
jbe 0x18004b17d
mov r12, qword [rcx]
mov qword [rcx + 0x10], rdx
lea rdi, [rdx + rdx]
mov r8, rdi
mov rdx, r9
mov rcx, r12
call fcn.1800b9680
mov word [r12 + rdi], r13w
jmp 0x18004b1a3
call fcn.180029400
mov r14, qword [rbp - 0x58]
mov rcx, rbx
call fcn.180089750
nop
cmp r14, 7
jbe 0x18004b1e8
lea rdx, [r14*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004b1e3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004b2a2
call fcn.18008a530
cmp byte [reloc.LIBPQ.dll_Ordinal_1], 0
je 0x18004b25e
lea rcx, [rsp + 0x50]
call fcn.180049df0
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], rax
movabs rdx, 0x7ffffffed5fa0dff
cmp rax, rdx
je 0x18004b236
mov ecx, 0xff
cmovl r15d, ecx
test r15b, r15b
jns 0x18004b236
movabs rcx, 0x12a05f200
add rcx, rax
mov qword [rsp + 0x50], rcx
jmp 0x18004b245
movabs rax, 0x7fffffffffffffff
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x50]
call fcn.18004bb10
mov rcx, rsi
call fcn.18004b320
mov byte [reloc.LIBPQ.dll_Ordinal_1], 0
mov rdx, qword [rbp + 0x28]
cmp rdx, 7
jbe 0x18004ae45
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004ae40
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004b2bd
jmp 0x18004ae40
call fcn.1800997f4
nop
lea r8, [rbp - 0x50]
lea rdx, [rbp]
lea rcx, str.exists
call fcn.180024030
nop
call fcn.1800997f4
int3
call fcn.1800997f4
nop
mov ecx, 5
call fcn.180089700
int3
dec eax
mov dword [rbx + 0x4c], eax
mov ecx, 6
call fcn.180089700
nop
mov ecx, 5
call fcn.180089700
int3
dec eax
mov dword [rbx + 0x4c], eax
mov ecx, 6
call fcn.180089700
nop
call fcn.1800997f4
nop
mov ecx, 5
call fcn.180089700
int3
dec eax
mov dword [rbx + 0x4c], eax
mov ecx, 6
call fcn.180089700
int3