Function at 0x140004450
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x4a0
mov rax, qword [0x140011010]
xor rax, rsp
mov qword [rsp + 0x490], rax
lea r8, str.xmrig.exe
lea rdx, [0x140011850]
lea rcx, [rsp + 0x168]
call fcn.140006f40
nop
lea rcx, [rsp + 0x168]
call fcn.140004190
mov byte [rsp + 0x50], al
call fcn.1400040d0
movzx eax, al
test eax, eax
jne 0x1400044ef
movzx eax, byte [rsp + 0x50]
test eax, eax
jne 0x1400044ef
mov r9d, 0x30
lea r8, [0x14000d8b4]
lea rdx, [0x14000db80]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov dword [rsp + 0x54], 0
lea rcx, [rsp + 0x168]
call fcn.140004df0
mov eax, dword [rsp + 0x54]
jmp 0x1400047ef
call fcn.1400040d0
movzx eax, al
test eax, eax
je 0x140004500
call fcn.140003e30
lea rcx, [rsp + 0xc0]
call fcn.1400038f0
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0x1e8]
mov rcx, qword [rsp + 0x70]
call fcn.1400027c0
nop
lea rcx, [rsp + 0xc0]
call fcn.1400028e0
mov r8d, 0x104
lea rdx, [rsp + 0x280]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, [rsp + 0x280]
lea rcx, [rsp + 0x1c8]
call fcn.140004ea0
nop
xor r8d, r8d
lea rdx, [rsp + 0x1c8]
lea rcx, [rsp + 0x100]
call fcn.140006c50
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
lea rdx, [rsp + 0xe0]
mov rcx, qword [rsp + 0x88]
call fcn.140002800
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xa0], rax
lea rdx, [rsp + 0x1a8]
mov rcx, qword [rsp + 0xa0]
call fcn.1400027c0
nop
lea rcx, [rsp + 0xe0]
call fcn.1400028e0
nop
lea rcx, [rsp + 0x100]
call fcn.1400028e0
lea r8, str.ResourcesManaged_
lea rdx, [rsp + 0x1e8]
lea rcx, [rsp + 0x120]
call fcn.140006f40
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xb0], rax
lea r8, [rsp + 0x1a8]
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x188]
call fcn.140007060
nop
lea rcx, [rsp + 0x120]
call fcn.140004df0
lea rax, [rsp + 0x210]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
mov dword [rsp + 0x210], 0x68
lea rax, [rsp + 0x140]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
xor edx, edx
lea rcx, [rsp + 0x188]
call fcn.140004be0
lea rcx, [rsp + 0x140]
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x210]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x140004752
lea rdx, str.CreateProcess_failed__
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.140007180
mov qword [rsp + 0xb8], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x58], eax
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int____ptr64]
lea rdx, [0x14000dc00]
mov rcx, rax
call fcn.140007180
mov rcx, qword [rsp + 0x140]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x148]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [0x1400041e0]
lea rcx, [rsp + 0x158]
call fcn.140007bd0
nop
lea rcx, [rsp + 0x158]
call fcn.1400039b0
mov dword [rsp + 0x5c], 0
lea rcx, [rsp + 0x158]
call fcn.140003950
nop
lea rcx, [rsp + 0x188]
call fcn.140004df0
nop
lea rcx, [rsp + 0x1a8]
call fcn.140004df0
nop
lea rcx, [rsp + 0x1c8]
call fcn.140004df0
nop
lea rcx, [rsp + 0x1e8]
call fcn.140004df0
nop
lea rcx, [rsp + 0x168]
call fcn.140004df0
mov eax, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.14000b240
add rsp, 0x4a0
pop rdi
ret