Function at 0x1800504d0
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 [0x1801d0100]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rsi, rcx
xor r14d, r14d
lea rdx, [rcx + 0x88]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 7
jbe 0x180050523
mov rdx, qword [rdx]
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], r14
lea rcx, [rbp - 0x50]
call fcn.180007ce0
nop
mov r8d, 3
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x60]
call fcn.180020930
movsd xmm0, qword [rax]
movsd qword [rsp + 0x50], xmm0
mov ecx, dword [rax + 8]
mov dword [rsp + 0x60], ecx
lea rax, [0x1801d1130]
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp], xmm0
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x180050677
cmp eax, 1
sete bl
mov rdx, qword [rbp - 0x38]
cmp rdx, 7
jbe 0x1800505c9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800505c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180050b8f
call fcn.18007bb20
xorps xmm0, xmm0
test bl, bl
je 0x180050720
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], r14
mov r8d, Ordinal_26
lea rdx, str.____Miner_file_not_exist
lea rcx, [rsp + 0x70]
call fcn.180007ce0
nop
lea rbx, [rsi + 0x10]
mov qword [rsp + 0x50], rbx
mov rcx, rbx
call fcn.18007b0b8
test eax, eax
jne 0x180050b95
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
je 0x180050ba0
lea rcx, [rsi + 0x60]
lea rax, [rsp + 0x70]
mov r15, qword [rbp - 0x78]
cmp rcx, rax
je 0x18005068f
lea r9, [rsp + 0x70]
cmp r15, 7
cmova r9, qword [rsp + 0x70]
mov rax, qword [rcx + 0x18]
mov rdx, qword [rbp - 0x80]
cmp rdx, rax
ja 0x180050686
mov r12, rcx
cmp rax, 7
jbe 0x18005065a
mov r12, qword [rcx]
mov qword [rcx + 0x10], rdx
lea rdi, [rdx + rdx]
mov r8, rdi
mov rdx, r9
mov rcx, r12
call fcn.1800ab3c0
mov word [rdi + r12], r14w
jmp 0x18005068f
mov bl, 1
test ecx, ecx
jne 0x180050b7a
jmp 0x180050589
call fcn.1800252d0
mov r15, qword [rbp - 0x78]
mov rcx, rbx
call fcn.18007b0c0
nop
cmp r15, 7
jbe 0x1800506d5
lea rdx, [r15*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800506d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180050b74
call fcn.18007bb20
movzx eax, byte [rsi + 0x120]
test al, al
je 0x180050b44
xchg byte [rsi + 0x120], r14b
mov rcx, rsi
call fcn.180050c00
cmp dword [rsi + 8], 0
je 0x180050bb0
movups xmm0, xmmword [rsi]
movaps xmmword [rbp], xmm0
lea rcx, [rbp]
call fcn.18007b308
test eax, eax
jne 0x180050bb0
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
jmp 0x180050b44
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 r12d, 1
mov dword [rbp + 0x6c], r12d
mov word [rbp + 0x70], r14w
lea rax, str.cmd.exe__c__
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], Ordinal_21
lea rdx, [rsi + 0xa8]
cmp qword [rsi + 0xc0], 7
jbe 0x18005078f
mov rdx, qword [rsi + 0xa8]
mov rax, qword [rsi + 0xb8]
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 + 0xe8]
cmp qword [rsi + 0x100], 7
jbe 0x1800507cf
mov rdx, qword [rsi + 0xe8]
mov rax, qword [rsi + 0xf8]
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.1800093a0
nop
lea rax, [rsi + 0xc8]
cmp qword [rax + 0x18], 7
jbe 0x180050842
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], r14
mov dword [rsp + 0x28], Ordinal_21
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x180050978
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], r12
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.1800093a0
nop
lea rbx, [rsi + 0x10]
mov qword [rsp + 0x50], rbx
mov rcx, rbx
call fcn.18007b0b8
test eax, eax
jne 0x180050bbb
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
je 0x180050bc6
lea rcx, [rsi + 0x60]
lea rdx, [rbp - 0x50]
call fcn.180024470
nop
mov rcx, rbx
call fcn.18007b0c0
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 7
jbe 0x180050b08
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005096e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180050bd6
call fcn.18007bb20
jmp 0x180050b08
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, r12d
xchg byte [rsi + 0x121], al
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], r14
mov r8d, 3
lea rdx, [0x1801b7f78]
lea rcx, [rbp - 0x70]
call fcn.180007ce0
nop
lea rbx, [rsi + 0x10]
mov qword [rsp + 0x50], rbx
mov rcx, rbx
call fcn.18007b0b8
test eax, eax
jne 0x180050bdc
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
je 0x180050be7
lea rcx, [rsi + 0x60]
lea rax, [rbp - 0x70]
mov r15, qword [rbp - 0x58]
cmp rcx, rax
je 0x180050a4e
lea r9, [rbp - 0x70]
cmp r15, 7
cmova r9, qword [rbp - 0x70]
mov rax, qword [rcx + 0x18]
mov rdx, qword [rbp - 0x60]
cmp rdx, rax
ja 0x180050a45
mov r13, rcx
cmp rax, 7
jbe 0x180050a28
mov r13, qword [rcx]
mov qword [rcx + 0x10], rdx
lea rdi, [rdx + rdx]
mov r8, rdi
mov rdx, r9
mov rcx, r13
call fcn.1800ab3c0
mov word [rdi + r13], r14w
jmp 0x180050a4e
call fcn.1800252d0
mov r15, qword [rbp - 0x58]
mov rcx, rbx
call fcn.18007b0c0
nop
cmp r15, 7
jbe 0x180050a93
lea rdx, [r15*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180050a8e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180050bf7
call fcn.18007bb20
cmp byte [reloc.LIBPQ.dll_Ordinal_1], 0
je 0x180050b08
lea rcx, [rsp + 0x50]
call fcn.180025f90
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], rax
movabs rdx, 0x7ffffffed5fa0dff
cmp rax, rdx
je 0x180050ae0
mov ecx, 0xff
cmovge ecx, r12d
test cl, cl
jns 0x180050ae0
movabs rcx, 0x12a05f200
add rcx, rax
mov qword [rsp + 0x50], rcx
jmp 0x180050aef
movabs rax, 0x7fffffffffffffff
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x50]
call fcn.18002dca0
mov rcx, rsi
call fcn.180050c00
mov byte [reloc.LIBPQ.dll_Ordinal_1], 0
mov rdx, qword [rbp + 0x28]
cmp rdx, 7
jbe 0x180050b44
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180050b3f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180050b74
call fcn.18007bb20
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.18007bb00
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
call fcn.18008a6e4
nop
lea r8, [rbp - 0x50]
lea rdx, [rbp]
lea rcx, [0x1800e3338]
call fcn.18001fea0
nop
call fcn.18008a6e4
nop
mov ecx, 5
call fcn.18007b070
int3
dec eax
mov dword [rbx + 0x4c], eax
mov ecx, 6
call fcn.18007b070
nop
mov ecx, 1
call fcn.18007b070
nop
mov ecx, 5
call fcn.18007b070
int3
dec eax
mov dword [rbx + 0x4c], eax
mov ecx, 6
call fcn.18007b070
nop
call fcn.18008a6e4
nop
mov ecx, 5
call fcn.18007b070
int3
dec eax
mov dword [rbx + 0x4c], eax
mov ecx, 6
call fcn.18007b070
nop
call fcn.18008a6e4
int3