Function at 0x140010530
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
push rsi
sub rsp, 0x470
mov rsi, rcx
lea rdx, [rsp + 0x50]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov rcx, rsi
call fcn.1400020f0
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x140035120
mov eax, dword [0x1400c0398]
test eax, eax
je 0x140035142
mov qword [rsp + 0x480], rbx
mov qword [rsp + 0x490], rdi
xor dil, dil
lea rcx, [0x1400c2360]
cmp eax, 1
je 0x14003515d
lea r9, [rsp + 0x488]
lea r8, [0x1400c0398]
lea rdx, [0x1400c03c0]
mov byte [rsp + 0x488], dil
call fcn.1400132d0
test al, al
je 0x140035187
movzx eax, byte [0x1400c2360]
movzx ebx, byte [0x1400c2361]
lea r9, [0x1400c0390]
lea r8, [rsp + 0x260]
lea rcx, [0x1400c03c0]
mov edx, 0x104
mov byte [0x1400c039c], al
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
movzx edi, byte [rsp + 0x488]
mov edx, dword [0x1400c0398]
lea rcx, [0x1400c03c0]
call fcn.140001470
test eax, eax
jne 0x140035196
cmp bl, 1
je 0x1400351bc
call fcn.140013c40
call fcn.140013b60
cmp byte [0x1400c039c], 0
jne 0x14001063d
lea rcx, [0x1400c0fc0]
call fcn.140010a50
lea rcx, [0x1400c05d0]
mov edx, 1
call fcn.1400070d0
cmp byte [0x1400c039c], 0
jne 0x140010663
lea rcx, [0x1400c0fc0]
call fcn.140010b80
lea rcx, [0x1400c2360]
call fcn.140011a10
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov rbx, qword [rsp + 0x480]
mov rdi, qword [rsp + 0x490]
add rsp, 0x470
pop rsi
ret
lea r8, [0x140094e32]
lea rdx, str.This_is_a_compiled_AutoIt_script._AV_researchers_please_email_avsupport_autoitscript.com_for_support.
mov r9d, reloc.WSOCK32.dll_recv
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
nop
jmp 0x14001068a
lea rcx, [rsp + 0x50]
mov dword [0x1400af8f4], 0xffffffff
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
nop
jmp 0x14001068a
mov r8, qword [0x1400c03a0]
or r9d, 0xffffffff
xor bl, bl
lea edx, [r9 + 2]
call fcn.140002720
movzx r11d, byte [0x1400af8e8]
mov byte [0x1400c2363], r11b
jmp 0x1400105fb
mov dword [0x1400af8f4], 1
jmp 0x14001066f
lea rcx, [0x1400c2360]
call fcn.140011a10
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [0x1400af8f4], 1
jmp 0x14001067a
call fcn.14003a7c0
test al, al
jne 0x14001061e
lea rdx, [rsp + 0x260]
mov r8d, 0x104
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test dil, dil
je 0x140035260
lea rdx, [0x140094ea8]
lea rcx, [rsp + 0x30]
call fcn.140001ce0
lea rdx, [0x1400c03c0]
lea rcx, [rsp + 0x30]
call fcn.14000fa60
lea rdx, [0x140094ea8]
lea rcx, [rsp + 0x30]
call fcn.14000fa60
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r9, qword [rsp + 0x30]
mov rcx, rax
lea rax, [rsp + 0x50]
lea r8, [rsp + 0x260]
lea rdx, str.runas
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
lea rcx, [rsp + 0x30]
call fcn.140002530
nop
jmp 0x140010663
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea r8, [rsp + 0x260]
lea rdx, str.runas
mov rcx, rax
lea rax, [rsp + 0x50]
mov r9, rsi
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
nop
jmp 0x140010663