Function at 0x14002acf0
Capabilities:
Create process on windows
Read .ini file
Read file via mapping

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x310]
sub rsp, 0x410
mov rax, qword [0x1401ef010]
xor rax, rsp
mov qword [rbp + 0x300], rax
lea rcx, [rbp - 0x50]
call fcn.140021a40
lea r9, [rbp - 0x50]
xor r8d, r8d
lea rdx, str.rdpmode
lea rcx, str.admin
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edi, eax
mov dword [rsp + 0x34], eax
xor edx, edx
xor ecx, ecx
call fcn.14002aae0
mov r13d, Ordinal_102
mov qword [0x1401f2d70], 0
mov byte [0x1401f2b0f], 0
xor bl, bl
mov byte [rsp + 0x30], bl
xor r14d, r14d
mov qword [rsp + 0x60], r14
lea r8, str.GlobalSessionEventUltra
xor edx, edx
mov ecx, 0x1f0003
call qword [sym.imp.KERNEL32.dll_OpenEventA]
mov qword [0x1401f2b30], rax
test rax, rax
je 0x14002adca
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [0x1401f2b30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x1401f2b0f], bl
je 0x14002ad81
lea r9, str.GlobalSessionEventUltra
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov rsi, rax
mov qword [rsp + 0x70], rax
lea r9, str.GlobalSessionEventUltraCad
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov r15, rax
mov qword [rsp + 0x50], rax
lea r9, str.GlobalSessionEventUltraPreConnect
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rsp + 0x68], rax
lea r9, str.GlobalEndSessionEvent
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [0x1401f2d88], rax
lea rax, str.GlobalSessionUltraPreConnect
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor edx, edx
lea rcx, [rdx - 1]
lea r8d, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov r12, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x14002ae8a
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 6]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov r14, rax
mov qword [rsp + 0x60], rax
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [0x1401f2d88]
mov qword [rbp + 0xc0], rcx
mov qword [rbp + 0xc8], r15
mov rax, qword [rsp + 0x68]
mov qword [rbp + 0xd0], rax
mov qword [rsp + 0x78], rcx
mov qword [rbp - 0x80], r15
cmp byte [0x1401f2b0f], bl
jne 0x14002b4b1
mov r15d, 1
cmp dword [0x1401f2c44], 4
jne 0x14002b4a7
mov r9d, 0x3e8
xor r8d, r8d
test edi, edi
je 0x14002aef8
lea rdx, [rbp + 0xc0]
lea ecx, [r8 + 3]
jmp 0x14002af02
lea rdx, [rsp + 0x78]
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
je 0x14002b4a0
sub eax, 1
je 0x14002b384
sub eax, 1
je 0x14002b2a3
cmp eax, 0x100
jne 0x14002b48d
test edi, edi
je 0x14002b1d8
call fcn.14002a930
test al, al
je 0x14002b1d8
cmp qword [0x1401f2d70], 0
jne 0x14002afb9
call fcn.14002a930
test al, al
je 0x14002af6f
xor r8d, r8d
mov dl, 1
xor ecx, ecx
call fcn.14002b5a0
xor r13d, r13d
xor bl, bl
mov byte [rsp + 0x30], bl
jmp 0x14002b48d
xor ebx, ebx
mov r13d, 0xffffffff
cmp byte [0x1401f2b0f], 0
jne 0x14002afa1
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
mov r13d, eax
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0xa
jg 0x14002afa1
cmp r13d, 0xffffffff
je 0x14002af77
xor r8d, r8d
xor edx, edx
mov ecx, r13d
call fcn.14002b5a0
xor bl, bl
mov byte [rsp + 0x30], bl
jmp 0x14002b48d
cmp bl, 1
jne 0x14002b130
xor ebx, ebx
mov edi, ebx
mov qword [rbp - 0x78], rbx
lea rcx, str.wtsapi32
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r15, rax
mov qword [rbp - 0x70], rax
test rax, rax
je 0x14002affa
lea rdx, [0x1401c77f0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
mov qword [rbp - 0x78], rax
mov r12, rbx
mov qword [rbp - 0x68], rbx
lea rcx, str.wtsapi32
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r14, rax
mov qword [rbp - 0x60], rax
test rax, rax
je 0x14002b031
lea rdx, [0x1401c7818]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
mov qword [rbp - 0x68], rax
test rdi, rdi
je 0x14002b0ff
test r12, r12
je 0x14002b0ff
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x38], ebx
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
call rdi
test eax, eax
je 0x14002b0db
xor esi, esi
mov r8, qword [rsp + 0x48]
cmp dword [rsp + 0x38], esi
jbe 0x14002b0d0
test ebx, ebx
jne 0x14002b0d0
lea rcx, [rsi + rsi*2]
lea rdi, [rcx*8]
lea rdx, str.Console
mov rcx, qword [rdi + r8 + 8]
call fcn.140149a48
mov r8, qword [rsp + 0x48]
test eax, eax
jne 0x14002b0ab
cmp dword [rdi + r8], r13d
jne 0x14002b0c8
lea ebx, [rax + 1]
jmp 0x14002b0c8
cmp dword [rdi + r8], r13d
jne 0x14002b0c8
mov eax, dword [rdi + r8 + 0x10]
test eax, 0xfffffffc
jne 0x14002b0c8
cmp eax, 1
mov eax, 1
cmovne ebx, eax
inc esi
cmp esi, dword [rsp + 0x38]
jb 0x14002b076
mov rcx, r8
call r12
mov rsi, qword [rsp + 0x70]
test r14, r14
je 0x14002b0ea
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
test r15, r15
je 0x14002b0f9
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
test ebx, ebx
je 0x14002b11d
jmp 0x14002b126
test r14, r14
je 0x14002b10e
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
test r15, r15
je 0x14002b11d
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov r15d, 1
mov edi, dword [rsp + 0x34]
mov dword [rsp + 0x40], 0
lea rdx, [rsp + 0x40]
mov rcx, qword [0x1401f2d70]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x14002b1ae
mov rcx, qword [0x1401f2d70]
test rcx, rcx
je 0x14002b160
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x1401f2d78]
test rcx, rcx
je 0x14002b172
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
movdqu xmmword [0x1401f2d70], xmm0
lea r9, [rbp - 0x50]
xor r8d, r8d
lea rdx, str.rdpmode
lea rcx, str.admin
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edi, eax
mov dword [rsp + 0x34], eax
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14002b488
cmp dword [rsp + 0x40], 0x103
je 0x14002b488
mov rcx, qword [0x1401f2d70]
test rcx, rcx
je 0x14002b160
mov edx, 0x3a98
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x14002b14e
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
mov ebx, eax
cmp r13d, eax
je 0x14002b1ee
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetEvent]
cmp ebx, 0xffffffff
je 0x14002b488
mov dword [rsp + 0x44], 0
mov rcx, qword [0x1401f2d70]
test rcx, rcx
jne 0x14002b21f
xor r8d, r8d
xor edx, edx
mov ecx, ebx
call fcn.14002b5a0
mov r13d, ebx
jmp 0x14002b488
lea rdx, [rsp + 0x44]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x14002b24e
cmp dword [rsp + 0x44], 0x103
je 0x14002b488
mov edx, 0x3a98
mov rcx, qword [0x1401f2d70]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x1401f2d70]
test rcx, rcx
je 0x14002b260
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x1401f2d78]
test rcx, rcx
je 0x14002b272
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
movdqu xmmword [0x1401f2d70], xmm0
lea r9, [rbp - 0x50]
xor r8d, r8d
lea rdx, str.rdpmode
lea rcx, str.admin
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edi, eax
mov dword [rsp + 0x34], eax
jmp 0x14002b488
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov r13d, dword [r14]
mov dword [rsp + 0x3c], 0x103
nop word [rax + rax]
mov rcx, qword [0x1401f2d70]
test rcx, rcx
je 0x14002b337
cmp byte [0x1401f2b0f], 0
jne 0x14002b337
lea rdx, [rsp + 0x3c]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [rsp + 0x3c], 0x103
je 0x14002b322
mov edx, 0x3a98
mov rcx, qword [0x1401f2d70]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x1401f2d70]
test rcx, rcx
je 0x14002b30e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x1401f2d78]
test rcx, rcx
je 0x14002b32d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14002b32d
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [rsp + 0x3c], 0x103
je 0x14002b2c0
xor ebx, ebx
nop dword [rax]
cmp byte [0x1401f2b0f], 0
jne 0x14002b368
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
mov edi, eax
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0xa
jg 0x14002b368
cmp edi, 0xffffffff
je 0x14002b340
mov r8b, 1
xor edx, edx
mov ecx, r13d
call fcn.14002b5a0
mov bl, 1
mov byte [rsp + 0x30], bl
mov edi, dword [rsp + 0x34]
jmp 0x14002b48d
lea rcx, str.sas.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
lea rdx, str.SendSAS
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14002b3b2
xor ecx, ecx
call rax
jmp 0x14002b47a
mov r8d, 0x104
lea rdx, [rbp + 0x1f0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x14002b3e8
mov edx, 0x5c
lea rcx, [rbp + 0x1f0]
call fcn.140133228
test rax, rax
je 0x14002b564
mov byte [rax], 0
lea r8, [0x14019526c]
mov edx, 0x104
lea rcx, [rbp + 0xe0]
call fcn.140139fd0
lea r8, [rbp + 0x1f0]
mov edx, 0x104
lea rcx, [rbp + 0xe0]
call fcn.14013a030
lea r8, [0x1401c3128]
mov edx, 0x104
lea rcx, [rbp + 0xe0]
call fcn.14013a030
lea r8, str.cad.exe
mov edx, 0x104
lea rcx, [rbp + 0xe0]
call fcn.14013a030
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], 0
lea r9, [0x14019526c]
lea r8, [rbp + 0xe0]
lea rdx, str.open
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
test rbx, rbx
je 0x14002b488
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
movzx ebx, byte [rsp + 0x30]
cmp byte [0x1401f2b0f], 0
jne 0x14002b4a7
mov r14, qword [rsp + 0x60]
jmp 0x14002aed1
mov byte [0x1401f2b0f], 1
mov r15, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
test rsi, rsi
je 0x14002b4bf
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [0x1401f2d70]
test rcx, rcx
je 0x14002b505
mov edx, 0x3a98
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x1401f2d70]
test rcx, rcx
je 0x14002b4e8
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x1401f2d78]
test rcx, rcx
je 0x14002b4fa
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
movdqu xmmword [0x1401f2d70], xmm0
test rsi, rsi
je 0x14002b513
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r15, r15
je 0x14002b521
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x14002b534
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x1401f2d88]
test rcx, rcx
je 0x14002b546
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14002b556
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
test r12, r12
je 0x14002b564
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x300]
xor rcx, rsp
call fcn.1401312c0
lea r11, [rsp + 0x410]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret