Function at 0x46c518
Capabilities:
Create process on windows
Delete file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x1298]
mov eax, 0x1380
call fcn.00422ec0
sub rsp, rax
xor ebx, ebx
mov rdi, rcx
cmp byte [rcx + 0x84a1], bl
jne 0x46c8b0
cmp byte [rcx + 0x84a0], bl
je 0x46c8b0
mov rax, qword [rcx + 0xa8]
cmp byte [rax + 0xc40], bl
jne 0x46c824
test byte [rax], 4
je 0x46c5ee
lea rax, [rbp + 0x278]
mov dword [rbp + 0x270], ebx
mov qword [rbp + 0x268], rax
lea r8, [rbp - 0x30]
lea rax, [0x0048e198]
mov dword [rbp + 0x274], 0x200
mov qword [rbp + 0x260], rax
mov word [rbp + 0x278], bx
call fcn.004530c8
lea r8, [rbp - 0x30]
lea rdx, str.https:__www.mql5.com__utm_campaignmql5.welcome.openutm_mediumspecialutm_sourceweb.installer_S
lea rcx, [rbp + 0x260]
call fcn.004012e8
mov r8, qword [rbp + 0x268]
lea rdx, str.open
xor r9d, r9d
mov dword [rsp + 0x28], 1
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rax, qword [rdi + 0xa8]
lea r9, str.__s_s_
or r14, 0xffffffffffffffff
mov esi, 0x400
mov r8, r14
mov edx, esi
lea rcx, [rax + 0x4a4]
add rax, 0x29c
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0xa80]
mov qword [rsp + 0x20], rax
call fcn.004020a8
mov ecx, dword [0x004bb17c]
test ecx, ecx
jg 0x46c673
xor edx, edx
lea rcx, [rbp - 0x2c]
mov r8d, pe_nt_image_headers64
call fcn.00424830
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x30], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x46c6b7
imul ecx, dword [rbp - 0x2c], 0x64
mov eax, dword [rbp - 0x24]
mov dword [0x004bb178], eax
add ecx, dword [rbp - 0x28]
mov dword [0x004bb17c], ecx
cmp ecx, 0x258
jl 0x46c6b7
mov rax, qword [rdi + 0xa8]
lea r9, [rbp + 0xa80]
add rax, 0x29c
mov dword [rsp + 0x28], 1
lea r8, str.explorer.exe
mov qword [rsp + 0x20], rax
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x46c824
movdqa xmm0, xmmword [0x00499eb0]
lea rax, [rbp + 0x278]
lea r15, [0x004837b8]
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmm0
movdqa xmmword [rsp + 0x70], xmm0
lea rdx, [rbp + 0xa80]
movdqa xmmword [rbp - 0x80], xmm0
lea rcx, [rbp + 0x260]
mov qword [rbp + 0x260], r15
mov qword [rbp + 0x268], rax
mov dword [rbp + 0x270], ebx
mov dword [rbp + 0x274], esi
mov word [rbp + 0x278], bx
call fcn.00403ec4
mov rdi, qword [rbp + 0x268]
lea rax, [0x0048d7f8]
mov qword [rbp + 0x260], rax
test rdi, rdi
je 0x46c7ac
cmp word [rdi], bx
je 0x46c7ac
xor edx, edx
lea rcx, [rbp + 0xf0]
lea r8d, [rdx + 0x68]
call fcn.00424830
xor eax, eax
mov dword [rbp - 0x48], 0x18
mov qword [rbp - 0x50], rax
xorps xmm0, xmm0
lea rax, [rbp - 0x60]
mov dword [rbp - 0x38], 1
mov qword [rsp + 0x48], rax
xor r9d, r9d
lea rax, [rbp + 0xf0]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov rdx, rdi
mov qword [rsp + 0x38], rbx
xor ecx, ecx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 8
mov dword [rsp + 0x20], ebx
movups xmmword [rbp - 0x60], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x46c7ac
mov rsi, qword [rbp - 0x60]
mov rdi, qword [rbp - 0x58]
jmp 0x46c7b6
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x70]
mov qword [rbp + 0x260], r15
mov qword [rbp + 0x268], rbx
mov dword [rbp + 0x270], ebx
cmp rcx, r14
je 0x46c7da
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x78]
cmp rcx, r14
je 0x46c7ea
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
cmp rcx, r14
je 0x46c7f9
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x78]
cmp rcx, r14
je 0x46c808
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp rsi, r14
je 0x46c816
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp rdi, r14
je 0x46c824
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdi, str.SOFTWAREMetaQuotes_Software
mov dword [rsp + 0x28], 0x100
mov rsi, 0xffffffff80000001
mov dword [rsp + 0x20], 0xfe
mov rdx, rdi
lea r9, [rbp + 0x160]
mov rcx, rsi
lea r8, str.Install.Time
call fcn.00404704
test al, al
jne 0x46c8f3
xor ecx, ecx
call fcn.004370d4
mov r9, rax
lea r8, str._I64d
mov edx, 0x7f
lea rcx, [rbp + 0x160]
call fcn.0040457c
mov rdx, rdi
mov rcx, rsi
call fcn.00404678
lea rax, [rbp + 0x160]
mov rdx, rdi
lea r8, str.Install.Time
mov qword [rsp + 0x20], rax
mov rcx, rsi
call fcn.004045c0
jmp 0x46c8f3
cmp byte [rcx + 0x84a2], bl
je 0x46c8cb
mov rdx, qword [rcx + 0xa8]
add rdx, 0x6ac
call fcn.00461fc4
cmp dword [rdi + 0x908], ebx
jbe 0x46c8f3
mov ecx, ebx
imul ecx, dword [rdi + 0x910]
add rcx, qword [rdi + 0x900]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
inc ebx
cmp ebx, dword [rdi + 0x908]
jb 0x46c8d3
lea r11, [rsp + 0x1380]
xor eax, eax
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret