Function at 0x1400fab30
Capabilities:
Create thread
Get common file path

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x1a8]
sub rsp, 0x280
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x140418a10]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rdi, rcx
lea rcx, str.iphlpapi.dll
call fcn.140148f90
mov rbx, rax
lea rdx, str.AllocateAndGetTcpExTableFromStack
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14042bb78], rax
lea rdx, str.AllocateAndGetUdpExTableFromStack
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14042bb80], rax
lea rdx, str.GetExtendedTcpTable
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14042bb88], rax
lea rcx, str.srclient.dll
call fcn.140148f90
test rax, rax
je 0x1400fac0c
lea rdx, str.SRSetRestorePointW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14042bb90], rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov edx, 0x80000000
lea ecx, [rax + rdx]
test edx, ecx
jne 0x1400fac07
cmp eax, 0x80010106
jne 0x1400fac0c
call fcn.1400fb190
mov edx, 0x104
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r8, [0x140347f58]
mov edx, 0x104
lea rcx, [rsp + 0x60]
call fcn.1402bbbd8
lea rax, [rsp + 0x60]
or r14, 0xffffffffffffffff
mov rsi, r14
nop
inc rsi
cmp word [rax + rsi*2], 0
jne 0x1400fac40
xor ebx, ebx
mov qword [rsp + 0x38], rbx
lea r12, [0x140348ca0]
test esi, esi
jne 0x1400fac63
mov qword [rsp + 0x30], r12
jmp 0x1400fac8a
mov edx, esi
lea rcx, [rsp + 0x30]
call fcn.1401ff260
movsxd r9, esi
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r8, [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
call fcn.1402bd21c
mov edx, esi
lea rcx, [rsp + 0x30]
call fcn.140200570
nop
movzx eax, byte [0x14042c16a]
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x30]
lea rdx, [rsp + 0x40]
lea rcx, [rdi + 0x658]
call fcn.1400e97f0
nop
cmp dword [rsp + 0x38], 0
jle 0x1400facca
mov rcx, qword [rsp + 0x30]
call fcn.1402b9c20
lea r8, [0x14034f7b8]
mov edx, 0x104
lea rcx, [rsp + 0x60]
call fcn.1402bbbd8
lea rax, [rsp + 0x60]
mov rsi, r14
nop dword [rax + rax]
inc rsi
cmp word [rax + rsi*2], 0
jne 0x1400facf0
mov qword [rsp + 0x38], rbx
test esi, esi
jne 0x1400fad0a
mov qword [rsp + 0x30], r12
jmp 0x1400fad31
mov edx, esi
lea rcx, [rsp + 0x30]
call fcn.1401ff260
movsxd r9, esi
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r8, [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
call fcn.1402bd21c
mov edx, esi
lea rcx, [rsp + 0x30]
call fcn.140200570
nop
movzx eax, byte [0x14042c16a]
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x30]
lea rdx, [rsp + 0x40]
lea rcx, [rdi + 0x658]
call fcn.1400e97f0
nop
cmp dword [rsp + 0x38], 0
jle 0x1400fad71
mov rcx, qword [rsp + 0x30]
call fcn.1402b9c20
mov edx, 0x104
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea r8, [0x140347f58]
mov edx, 0x104
lea rcx, [rsp + 0x60]
call fcn.1402bbbd8
lea rax, [rsp + 0x60]
mov rsi, r14
nop
inc rsi
cmp word [rax + rsi*2], 0
jne 0x1400fada0
mov qword [rsp + 0x38], rbx
test esi, esi
jne 0x1400fadba
mov qword [rsp + 0x30], r12
jmp 0x1400fade1
mov edx, esi
lea rcx, [rsp + 0x30]
call fcn.1401ff260
movsxd r9, esi
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r8, [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
call fcn.1402bd21c
mov edx, esi
lea rcx, [rsp + 0x30]
call fcn.140200570
nop
movzx eax, byte [0x14042c16a]
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x30]
lea rdx, [rsp + 0x40]
lea rcx, [rdi + 0x658]
call fcn.1400e97f0
nop
cmp dword [rsp + 0x38], 0
jle 0x1400fae21
mov rcx, qword [rsp + 0x30]
call fcn.1402b9c20
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x19]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edx, 0x5c
lea rcx, [rsp + 0x60]
call fcn.1402bcbec
test rax, rax
je 0x1400fae80
mov edx, 0x5c
lea rcx, [rsp + 0x60]
call fcn.1402bcbec
test rax, rax
je 0x1400fae80
mov word [rax], bx
mov edx, 0x5c
lea rcx, [rsp + 0x60]
call fcn.1402bcbec
test rax, rax
je 0x1400fae80
mov word [rax + 2], bx
lea rax, [rsp + 0x60]
inc r14
cmp word [rax + r14*2], 0
jne 0x1400fae85
mov qword [rsp + 0x38], rbx
test r14d, r14d
jne 0x1400faea1
mov qword [rsp + 0x30], r12
jmp 0x1400faec9
mov edx, r14d
lea rcx, [rsp + 0x30]
call fcn.1401ff260
movsxd r9, r14d
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r8, [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
call fcn.1402bd21c
mov edx, r14d
lea rcx, [rsp + 0x30]
call fcn.140200570
nop
movzx eax, byte [0x14042c16a]
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x30]
lea rdx, [rsp + 0x40]
lea rcx, [rdi + 0x658]
call fcn.1400e97f0
nop
cmp dword [rsp + 0x38], 0
jle 0x1400faf0a
mov rcx, qword [rsp + 0x30]
call fcn.1402b9c20
mov ecx, 0xd0
call fcn.1402b968c
test rax, rax
je 0x1400faf26
mov rdx, rdi
mov rcx, rax
call fcn.1401c4100
jmp 0x1400faf29
mov rax, rbx
mov qword [rdi + 0x418], rax
mov ecx, 0xe8
call fcn.1402b968c
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400faf51
mov rdx, rdi
mov rcx, rax
call fcn.14000bad0
jmp 0x1400faf54
mov rax, rbx
mov qword [rdi + 0x420], rax
mov ecx, 0xb0
call fcn.1402b968c
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400faf7c
mov rdx, rdi
mov rcx, rax
call fcn.1401cf1a0
jmp 0x1400faf7f
mov rax, rbx
mov qword [rdi + 0x430], rax
mov ecx, 0x178
call fcn.1402b968c
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400fafa7
mov rdx, rdi
mov rcx, rax
call fcn.1401bfff0
jmp 0x1400fafaa
mov rax, rbx
mov qword [rdi + 0x438], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x14042bc50], rax
mov rcx, rdi
call fcn.14015cd80
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
mov r9, rdi
lea r8, [0x14015fcd0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x14042bc58], rax
cmp dword [rdi + 0x10], 1
ja 0x1400fb06e
mov ecx, 0x260
call fcn.1402b968c
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400fb022
mov rdx, rdi
mov rcx, rax
call fcn.1401c7dc0
jmp 0x1400fb025
mov rax, rbx
mov qword [rdi + 0x428], rax
mov ecx, 0xa0
call fcn.1402b968c
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400fb04e
mov rdx, rdi
mov rcx, rax
call fcn.1400e4370
mov rbx, rax
mov qword [0x14042bb28], rbx
mov rcx, rdi
call fcn.1400fb0e0
test al, al
je 0x1400fb06e
lea rcx, [0x14042bad0]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
cmp byte [rdi + 0x1e], 0
jne 0x1400fb080
cmp dword [rdi + 0x10], 0
jne 0x1400fb0a4
cmp byte [rdi + 0x1a], 0
jne 0x1400fb0a4
lea rcx, str.SeBackupPrivilege
call fcn.1400ff510
lea rcx, str.SeRestorePrivilege
call fcn.1400ff510
lea rcx, [rdi + 0x4b8]
call fcn.1401773a0
mov byte [rdi + 0x224], 1
mov al, 1
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1402b9610
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret