Function at 0x4024f8
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0xf0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x004402a0]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov rsi, rcx
mov qword [rsp + 0x48], rcx
mov r8, rcx
lea rdx, str._start__
lea rcx, [rsp + 0x40]
call fcn.00405ed8
nop
lea r8, str.___y
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.00405d48
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
or r12, 0xffffffffffffffff
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
xor ebp, ebp
cmp eax, ebp
jg 0x402582
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call fcn.0040ba2c
mov rdx, rax
mov ecx, ebp
cmp rax, rbp
setne cl
cmp ecx, ebp
jne 0x4025a1
mov ecx, 0x80004005
call fcn.0040659c
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x20], rax
call fcn.0040ba2c
mov rdx, rax
mov ecx, ebp
cmp rax, rbp
setne cl
cmp ecx, ebp
jne 0x4025d2
mov ecx, 0x80004005
call fcn.0040659c
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0xd0]
mov rax, qword [0x004342a8]
mov qword [rcx], rax
mov eax, dword [0x004342b0]
mov dword [rcx + 8], eax
xor eax, eax
mov dword [rsp + 0xdc], eax
lea edi, [rax + 0x70]
mov r8, rdi
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.0041cbf0
mov dword [rsp + 0x60], edi
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x20]
lea edx, [rdi - 0x6f]
sub edx, dword [rcx - 8]
mov eax, dword [rcx - 0xc]
mov edi, 0x104
sub eax, edi
or eax, edx
jge 0x402655
mov edx, edi
lea rcx, [rsp + 0x20]
call fcn.00406554
mov rcx, qword [rsp + 0x20]
mov edx, edi
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov rcx, qword [rsp + 0x20]
movsxd rdx, dword [rcx - 0xc]
call fcn.0041b6d8
cmp eax, ebp
jl 0x40282e
mov rcx, qword [rsp + 0x20]
cmp eax, dword [rcx - 0xc]
jg 0x40282e
mov dword [rcx - 0x10], eax
movsxd rcx, eax
mov rax, qword [rsp + 0x20]
mov word [rax + rcx*2], bp
lea rcx, [rsp + 0x20]
call fcn.004053fc
mov rcx, rax
call fcn.004054b0
mov rdx, qword [rsp + 0x20]
cmp dword [rdx - 0x10], ebp
je 0x402700
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.00406124
lea rdx, str.net.exe
lea rcx, [rsp + 0x30]
call fcn.00406688
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x28]
call fcn.00401d7c
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
cmp eax, ebp
jg 0x402727
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x402727
xor eax, eax
mov rcx, r12
lea rdi, str.net.exe
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, str.net.exe
lea rcx, [rsp + 0x28]
call fcn.004065b4
mov rdi, qword [rsp + 0x28]
mov qword [rsp + 0x78], rdi
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x88], rax
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x64], 0x800440
mov dword [rsp + 0x90], ebp
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp ebx, ebp
je 0x4027ac
cmp dword [rsp + 0x98], 0x20
jl 0x4027ac
mov rcx, qword [rsp + 0xc8]
cmp rcx, rbp
je 0x4027a0
mov edx, 0x1000
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x4027ac
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
lea rdx, [rdi - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
cmp eax, ebp
jg 0x4027c9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
cmp eax, ebp
jg 0x4027eb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
cmp eax, ebp
jg 0x40280d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsi]
sub rdx, 0x18
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
cmp eax, ebp
jg 0x402839
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x402839
mov ecx, 0x80070057
call fcn.0040659c
nop
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.0041b030
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret