Function at 0x4024d0
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.00405eb0
nop
lea r8, str.___y
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.00405d20
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 0x40255a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call fcn.0040b984
mov rdx, rax
mov ecx, ebp
cmp rax, rbp
setne cl
cmp ecx, ebp
jne 0x402579
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.0040b984
mov rdx, rax
mov ecx, ebp
cmp rax, rbp
setne cl
cmp ecx, ebp
jne 0x4025aa
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 [0x00434278]
mov qword [rcx], rax
mov eax, dword [0x00434280]
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.0041cbe0
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 0x40262d
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.0041b638
cmp eax, ebp
jl 0x402806
mov rcx, qword [rsp + 0x20]
cmp eax, dword [rcx - 0xc]
jg 0x402806
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.004053d4
mov rcx, rax
call fcn.00405488
mov rdx, qword [rsp + 0x20]
cmp dword [rdx - 0x10], ebp
je 0x4026d8
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.004060fc
lea rdx, str.net.exe
lea rcx, [rsp + 0x30]
call fcn.00406688
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x28]
call fcn.00401d54
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 0x4026ff
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x4026ff
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 0x402784
cmp dword [rsp + 0x98], 0x20
jl 0x402784
mov rcx, qword [rsp + 0xc8]
cmp rcx, rbp
je 0x402778
mov edx, 0x1000
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x402784
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 0x4027a1
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 0x4027c3
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 0x4027e5
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 0x402811
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x402811
mov ecx, 0x80070057
call fcn.0040659c
nop
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.0041af90
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret