Function at 0x1401e6cd0
Capabilities:
Get common file path
Query environment variable

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rdi, rdx
mov rsi, rcx
mov qword [rcx + 0x18], rdx
mov dword [rcx + 0x10], 0x2000
xor ebp, ebp
mov qword [rcx + 0x20], rbp
mov qword [rcx + 0x38], rdx
mov qword [rcx + 0x48], rcx
mov dword [rcx + 0x30], 0x2000
mov qword [rcx + 0x40], rbp
lea rax, vtable.CSASScanner.0
mov qword [rcx], rax
lea rax, vtable.CSASScanner.1.0
mov qword [rcx + 8], rax
lea rax, vtable.CSASScanner.2.0
mov qword [rcx + 0x28], rax
lea rax, vtable.CSASScanner.3.0
mov qword [rcx + 0x50], rax
lea rbx, [rcx + 0x58]
mov qword [rsp + 0x68], rbx
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.14000b0b0
mov qword [rbx], rax
lea rbx, [rsi + 0x68]
mov qword [rsp + 0x68], rbx
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.14000b0b0
mov qword [rbx], rax
lea rcx, [rsi + 0xa0]
call fcn.14000cf90
nop
lea rax, vtable.CSABTimer.0
mov qword [rsi + 0x12e8], rax
mov qword [rsi + 0x1310], rbp
mov dword [rsi + 0x1318], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
mov rbx, rax
lea rcx, [rsi + 0x12f8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
nop
lea rbx, [rsi + 0x1320]
mov qword [rsp + 0x68], rbx
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.14002ae60
mov qword [rbx], rax
lea rbx, [rsi + 0x1330]
mov qword [rsp + 0x68], rbx
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.140025b70
mov qword [rbx], rax
lea rbx, [rsi + 0x1340]
mov qword [rsp + 0x68], rbx
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1400b28e0
mov qword [rbx], rax
lea rbx, [rsi + 0x1350]
mov qword [rsp + 0x68], rbx
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1400b28e0
mov qword [rbx], rax
lea rbx, [rsi + 0x1360]
mov qword [rsp + 0x68], rbx
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.140025b70
mov qword [rbx], rax
lea rbx, [rsi + 0x1370]
mov qword [rsp + 0x68], rbx
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.140038c00
mov qword [rbx], rax
lea rbx, [rsi + 0x1380]
mov qword [rsp + 0x68], rbx
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.140025b70
mov qword [rbx], rax
lea rbx, [rsi + 0x1390]
mov qword [rsp + 0x68], rbx
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.140025b70
mov qword [rbx], rax
lea rbx, [rsi + 0x13a0]
mov qword [rsp + 0x68], rbx
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.140025b70
mov qword [rbx], rax
lea rbx, [rsi + 0x13b0]
mov qword [rsp + 0x68], rbx
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.140025b70
mov qword [rbx], rax
lea rbx, [rsi + 0x13c0]
mov qword [rsp + 0x68], rbx
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1400b28e0
mov qword [rbx], rax
lea rbx, vtable.CSABString.0
mov qword [rsi + 0x14f8], rbx
mov qword [rsi + 0x1500], rbp
mov dword [rsi + 0x1508], ebp
lea ecx, [rbp + 0x10]
call fcn.140247068
mov qword [rsi + 0x1500], rax
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov dword [rsi + 0x150c], 1
mov qword [rsi + 0x1510], rbx
mov qword [rsi + 0x1518], rbp
mov dword [rsi + 0x1520], ebp
lea ecx, [rbp + 0x10]
call fcn.140247068
mov qword [rsi + 0x1518], rax
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov dword [rsi + 0x1524], 1
mov qword [rsi + 0x1528], rbx
mov qword [rsi + 0x1530], rbp
mov dword [rsi + 0x1538], ebp
lea ecx, [rbp + 0x10]
call fcn.140247068
mov qword [rsi + 0x1530], rax
xor edx, edx
mov qword [rax], rdx
mov qword [rax + 8], rdx
mov dword [rsi + 0x153c], 1
mov qword [rsi + 0x1540], rbx
mov qword [rsi + 0x1548], rbp
mov dword [rsi + 0x1550], ebp
lea ecx, [rbp + 0x10]
call fcn.140247068
mov qword [rsi + 0x1548], rax
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov dword [rsi + 0x1554], 1
mov qword [rsi + 0x1558], rdi
lea rbx, [rsi + 0x1568]
mov qword [rsp + 0x68], rbx
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1401fb9c0
mov qword [rbx], rax
lea rdi, [rsi + 0x1578]
mov qword [rsp + 0x68], rdi
lea rax, vtable.CSASScanner::CValidateMSModule.0
mov qword [rdi], rax
lea rax, [rdi + 8]
mov qword [rsp + 0x70], rax
lea rcx, vtable.CSASScanner::CValidateMSModule::CPathSearchManager.0
mov qword [rax], rcx
lea r14, [rax + 8]
mov qword [rsp + 0x70], r14
lea rax, vtable.CSASScanner::CValidateMSModule::CPathSearch.0
mov qword [r14], rax
lea rbx, [r14 + 0x10]
mov qword [rsp + 0x78], rbx
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
mov rcx, rbx
call fcn.14003f240
mov qword [rbx], rax
lea ecx, [rbp + 0x30]
call fcn.14018ef40
mov rbx, rax
mov qword [rsp + 0x70], rax
test rax, rax
je 0x1401e70e9
lea rax, vtable.CSABCriticalSectionContainer.0
mov qword [rbx], rax
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
jmp 0x1401e70ec
mov rbx, rbp
mov qword [r14 + 8], rbx
lea rcx, [rdi + 0x448]
call fcn.14000cf90
mov edx, 0x410
lea rcx, [rdi + 0x34]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea rcx, [rdi + 0x34]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rdi + rax + 0x34], 0
jne 0x1401e7120
mov dword [rdi + 0x30], eax
lea rcx, [rdi + 0x34]
call fcn.140250f2c
nop
lea rdi, [rsi + 0x22f0]
mov qword [rdi + 0x218], rbp
mov qword [rdi + 0x220], rbp
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.14018ef40
mov qword [rsp + 0x68], rax
test rax, rax
je 0x1401e7174
lea rcx, vtable.CSABSDKFunctions.0
mov qword [rax], rcx
mov qword [rax + 8], rbp
mov qword [rax + 0x10], rbp
jmp 0x1401e7177
mov rax, rbp
mov qword [rdi + 0x218], rax
xor r8d, r8d
mov edx, 0x1000
mov rcx, rax
call fcn.140011040
mov qword [rdi + 0x220], rax
mov rcx, qword [rdi + 0x218]
mov qword [rcx + 0x10], rax
mov ecx, 0x38
call fcn.14018ef40
mov qword [rsp + 0x68], rax
test rax, rax
je 0x1401e71c5
mov rdx, qword [rdi + 0x218]
mov rcx, rax
call fcn.140069340
jmp 0x1401e71c8
mov rax, rbp
mov qword [rdi + 0x228], rax
mov r8d, 0x104
mov rdx, rdi
lea rcx, [0x14028c088]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov qword [rdi + 0x208], rdi
mov qword [rdi + 0x210], rbp
mov r8, rdi
mov edx, 0x104
lea rcx, [rdi + 0x230]
call fcn.140251ec0
lea r8, str.System32RUNDLL32.EXE
mov edx, 0x104
lea rcx, [rdi + 0x230]
call fcn.140251e40
mov dword [rsi + 0x127c], ebp
mov qword [rsi + 0x12c8], rbp
mov qword [rsi + 0x1288], rbp
mov qword [rsi + 0x12d8], rbp
mov qword [rsi + 0x12b8], rbp
mov dword [rsi + 0x14e0], ebp
lea rcx, [rsi + 0x13e8]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, str.Kernel32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsi + 0x90], rax
lea rcx, [0x140287ec8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsi + 0x98], rax
lea rdx, [0x1402ce2b8]
mov rcx, qword [rsi + 0x90]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x80], rax
lea rdx, str.GetModuleFileNameExW
mov rcx, qword [rsi + 0x98]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x88], rax
lea rcx, [rsi + 0x9c8]
mov dword [rcx], SysAllocStringByteLen
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
xor edx, edx
mov r8d, 0x410
lea rcx, [rsi + 0xa5c]
call fcn.140249b10
xor edx, edx
mov r8d, 0x410
lea rcx, [rsi + 0xe6c]
call fcn.140249b10
mov edx, 0x410
lea rcx, [rsi + 0xa5c]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea rcx, [rsi + 0xa5c]
call qword [sym.imp.SHLWAPI.dll_PathRemoveBackslashA]
mov edx, 0x410
lea rcx, [rsi + 0xe6c]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea rcx, [rsi + 0xe6c]
call qword [sym.imp.SHLWAPI.dll_PathRemoveBackslashA]
xor r9d, r9d
mov edx, 1
xor ecx, ecx
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rsi + 0x1290], rax
mov dword [rsi + 0x1298], ebp
lea rcx, [rsi + 0x1410]
xor edx, edx
mov r8d, 0xd0
call fcn.140249b10
mov qword [rsi + 0x1560], rbp
mov qword [rsi + 0x22e8], rsi
mov rax, rsi
add rsp, 0x30
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret