Function at 0x18004ab70
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x180223280]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rdi, rcx
xor r15d, r15d
lea rdx, [rcx + 0x80]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 7
jbe 0x18004abbf
mov rdx, qword [rdx]
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x38], r15
lea rcx, [rbp - 0x50]
call fcn.180008f10
nop
mov r8d, 3
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x50]
call fcn.180024a60
movsd xmm0, qword [rax]
movsd qword [rsp + 0x60], xmm0
mov ecx, dword [rax + 8]
mov dword [rsp + 0x50], ecx
lea rax, [0x180224290]
mov qword [rsp + 0x58], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp], xmm0
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x18004ad13
cmp eax, 1
sete bl
mov rdx, qword [rbp - 0x38]
cmp rdx, 7
jbe 0x18004ac65
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004ac60
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004b163
call fcn.18008ef10
xorps xmm0, xmm0
test bl, bl
je 0x18004ad9d
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], r15
mov r8d, Ordinal_26
lea rdx, str.____Miner_file_not_exist
lea rcx, [rsp + 0x70]
call fcn.180008f10
nop
lea rbx, [rdi + 0x10]
mov qword [rsp + 0x60], rbx
mov rcx, rbx
call fcn.18008e128
test eax, eax
jne 0x18004b169
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
je 0x18004b174
lea rcx, [rdi + 0x60]
lea rax, [rsp + 0x70]
mov rsi, qword [rbp - 0x78]
cmp rcx, rax
je 0x18004ad2b
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 0x18004ad22
mov r14, rcx
cmp rax, 7
jbe 0x18004acf6
mov r14, qword [rcx]
mov qword [rcx + 0x10], rdx
lea rdi, [rdx + rdx]
mov r8, rdi
mov rdx, r9
mov rcx, r14
call fcn.1800c07f0
mov word [r14 + rdi], r15w
jmp 0x18004ad2b
mov bl, 1
test ecx, ecx
jne 0x18004b142
jmp 0x18004ac25
call fcn.1800293a0
mov rsi, qword [rbp - 0x78]
mov rcx, rbx
call fcn.18008e130
nop
cmp rsi, 7
jbe 0x18004ad71
lea rdx, [rsi*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004ad6c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004b15d
call fcn.18008ef10
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.18008eef0
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
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 ebx, 1
mov dword [rbp + 0x6c], ebx
mov word [rbp + 0x70], r15w
lea rax, str.cmd.exe__c__
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], Ordinal_21
lea rdx, [rdi + 0xa0]
cmp qword [rdi + 0xb8], 7
jbe 0x18004ae0a
mov rdx, qword [rdi + 0xa0]
mov rax, qword [rdi + 0xb0]
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x58], rax
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rbp - 0x40], xmm0
movabs rax, 0xc000000000000000
mov qword [rbp - 0x50], rax
lea rdx, [rdi + 0xe0]
cmp qword [rdi + 0xf8], 7
jbe 0x18004ae4a
mov rdx, qword [rdi + 0xe0]
mov rax, qword [rdi + 0xf0]
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x58], rax
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rbp - 0x30], xmm0
movabs rax, 0xc000000000000010
mov qword [rbp - 0x48], rax
mov qword [rsp + 0x50], 2
lea rax, [rbp - 0x50]
mov qword [rsp + 0x58], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp], xmm0
movaps xmm1, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x50], xmm1
lea r8, [rbp]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x10]
call fcn.18000a610
nop
lea rax, [rdi + 0xc0]
cmp qword [rax + 0x18], 7
jbe 0x18004aebd
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], r15
mov dword [rsp + 0x28], Ordinal_21
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x18004aff2
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 + 0x58], eax
movabs rax, 0x2000000000000000
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x60], rbx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
movaps xmm1, xmmword [rbp]
movdqa xmmword [rbp], xmm1
lea r8, [rsp + 0x60]
lea rdx, [rbp]
lea rcx, [rbp - 0x50]
call fcn.18000a610
nop
lea rbx, [rdi + 0x10]
mov qword [rsp + 0x60], rbx
mov rcx, rbx
call fcn.18008e128
test eax, eax
jne 0x18004b184
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
je 0x18004b18f
lea rcx, [rdi + 0x60]
lea rdx, [rbp - 0x50]
call fcn.180028590
nop
mov rcx, rbx
call fcn.18008e130
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 7
jbe 0x18004b0f8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004b0f2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004b157
jmp 0x18004b0f2
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xchg byte [rdi + 0x119], bl
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], r15
mov r8d, 3
lea rdx, [0x180205a10]
lea rcx, [rbp - 0x70]
call fcn.180008f10
nop
lea rbx, [rdi + 0x10]
mov qword [rsp + 0x60], rbx
mov rcx, rbx
call fcn.18008e128
test eax, eax
jne 0x18004b19f
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
je 0x18004b1aa
lea rcx, [rdi + 0x60]
lea rax, [rbp - 0x70]
mov rsi, qword [rbp - 0x58]
cmp rcx, rax
je 0x18004b0b6
lea r9, [rbp - 0x70]
cmp rsi, 7
cmova r9, qword [rbp - 0x70]
mov rax, qword [rcx + 0x18]
mov rdx, qword [rbp - 0x60]
cmp rdx, rax
ja 0x18004b0ad
mov r14, rcx
cmp rax, 7
jbe 0x18004b090
mov r14, qword [rcx]
mov qword [rcx + 0x10], rdx
lea rdi, [rdx + rdx]
mov r8, rdi
mov rdx, r9
mov rcx, r14
call fcn.1800c07f0
mov word [r14 + rdi], r15w
jmp 0x18004b0b6
call fcn.1800293a0
mov rsi, qword [rbp - 0x58]
mov rcx, rbx
call fcn.18008e130
nop
cmp rsi, 7
jbe 0x18004b0f8
lea rdx, [rsi*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004b0f2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004b13c
call fcn.18008ef10
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, 7
jbe 0x18004ad71
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004ad6c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004b15d
jmp 0x18004ad6c
call fcn.18009e1e4
nop
lea r8, [rbp - 0x50]
lea rdx, [rbp]
lea rcx, str.exists
call fcn.180023fd0
nop
call fcn.18009e1e4
nop
call fcn.18009e1e4
int3
call fcn.18009e1e4
nop
mov ecx, 5
call fcn.18008e0e0
int3
dec eax
mov dword [rbx + 0x4c], eax
mov ecx, 6
call fcn.18008e0e0
nop
mov ecx, 5
call fcn.18008e0e0
int3
dec eax
mov dword [rbx + 0x4c], eax
mov ecx, 6
call fcn.18008e0e0
nop
mov ecx, 5
call fcn.18008e0e0
int3
dec eax
mov dword [rbx + 0x4c], eax
mov ecx, 6
call fcn.18008e0e0
int3