Function at 0x1400fc110
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 [0x14041da10]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rdi, rcx
lea rcx, str.iphlpapi.dll
call fcn.14014a9e0
mov rbx, rax
lea rdx, str.AllocateAndGetTcpExTableFromStack
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140430cc0], rax
lea rdx, str.AllocateAndGetUdpExTableFromStack
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140430cc8], rax
lea rdx, str.GetExtendedTcpTable
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140430cd0], rax
lea rcx, str.srclient.dll
call fcn.14014a9e0
test rax, rax
je 0x1400fc1ec
lea rdx, str.SRSetRestorePointW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140430cd8], 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 0x1400fc1e7
cmp eax, 0x80010106
jne 0x1400fc1ec
call fcn.1400fc770
mov edx, 0x104
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r8, [0x14034c088]
mov edx, 0x104
lea rcx, [rsp + 0x60]
call fcn.1402bf098
lea rax, [rsp + 0x60]
or r14, 0xffffffffffffffff
mov rsi, r14
nop
inc rsi
cmp word [rax + rsi*2], 0
jne 0x1400fc220
xor ebx, ebx
mov qword [rsp + 0x38], rbx
lea r12, [0x14034d1a0]
test esi, esi
jne 0x1400fc243
mov qword [rsp + 0x30], r12
jmp 0x1400fc26a
mov edx, esi
lea rcx, [rsp + 0x30]
call fcn.1402028a0
movsxd r9, esi
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r8, [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
call fcn.1402c06dc
mov edx, esi
lea rcx, [rsp + 0x30]
call fcn.140203bb0
nop
movzx eax, byte [0x14043124a]
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x30]
lea rdx, [rsp + 0x40]
lea rcx, [rdi + 0x660]
call fcn.1400eac70
nop
cmp dword [rsp + 0x38], 0
jle 0x1400fc2aa
mov rcx, qword [rsp + 0x30]
call fcn.1402bd0e0
lea r8, [0x1403535d0]
mov edx, 0x104
lea rcx, [rsp + 0x60]
call fcn.1402bf098
lea rax, [rsp + 0x60]
mov rsi, r14
nop dword [rax + rax]
inc rsi
cmp word [rax + rsi*2], 0
jne 0x1400fc2d0
mov qword [rsp + 0x38], rbx
test esi, esi
jne 0x1400fc2ea
mov qword [rsp + 0x30], r12
jmp 0x1400fc311
mov edx, esi
lea rcx, [rsp + 0x30]
call fcn.1402028a0
movsxd r9, esi
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r8, [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
call fcn.1402c06dc
mov edx, esi
lea rcx, [rsp + 0x30]
call fcn.140203bb0
nop
movzx eax, byte [0x14043124a]
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x30]
lea rdx, [rsp + 0x40]
lea rcx, [rdi + 0x660]
call fcn.1400eac70
nop
cmp dword [rsp + 0x38], 0
jle 0x1400fc351
mov rcx, qword [rsp + 0x30]
call fcn.1402bd0e0
mov edx, 0x104
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea r8, [0x14034c088]
mov edx, 0x104
lea rcx, [rsp + 0x60]
call fcn.1402bf098
lea rax, [rsp + 0x60]
mov rsi, r14
nop
inc rsi
cmp word [rax + rsi*2], 0
jne 0x1400fc380
mov qword [rsp + 0x38], rbx
test esi, esi
jne 0x1400fc39a
mov qword [rsp + 0x30], r12
jmp 0x1400fc3c1
mov edx, esi
lea rcx, [rsp + 0x30]
call fcn.1402028a0
movsxd r9, esi
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r8, [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
call fcn.1402c06dc
mov edx, esi
lea rcx, [rsp + 0x30]
call fcn.140203bb0
nop
movzx eax, byte [0x14043124a]
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x30]
lea rdx, [rsp + 0x40]
lea rcx, [rdi + 0x660]
call fcn.1400eac70
nop
cmp dword [rsp + 0x38], 0
jle 0x1400fc401
mov rcx, qword [rsp + 0x30]
call fcn.1402bd0e0
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.1402c00ac
test rax, rax
je 0x1400fc460
mov edx, 0x5c
lea rcx, [rsp + 0x60]
call fcn.1402c00ac
test rax, rax
je 0x1400fc460
mov word [rax], bx
mov edx, 0x5c
lea rcx, [rsp + 0x60]
call fcn.1402c00ac
test rax, rax
je 0x1400fc460
mov word [rax + 2], bx
lea rax, [rsp + 0x60]
inc r14
cmp word [rax + r14*2], 0
jne 0x1400fc465
mov qword [rsp + 0x38], rbx
test r14d, r14d
jne 0x1400fc481
mov qword [rsp + 0x30], r12
jmp 0x1400fc4a9
mov edx, r14d
lea rcx, [rsp + 0x30]
call fcn.1402028a0
movsxd r9, r14d
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r8, [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
call fcn.1402c06dc
mov edx, r14d
lea rcx, [rsp + 0x30]
call fcn.140203bb0
nop
movzx eax, byte [0x14043124a]
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x30]
lea rdx, [rsp + 0x40]
lea rcx, [rdi + 0x660]
call fcn.1400eac70
nop
cmp dword [rsp + 0x38], 0
jle 0x1400fc4ea
mov rcx, qword [rsp + 0x30]
call fcn.1402bd0e0
mov ecx, 0xd0
call fcn.1402bcb4c
test rax, rax
je 0x1400fc506
mov rdx, rdi
mov rcx, rax
call fcn.1401c6300
jmp 0x1400fc509
mov rax, rbx
mov qword [rdi + 0x420], rax
mov ecx, 0xe8
call fcn.1402bcb4c
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400fc531
mov rdx, rdi
mov rcx, rax
call fcn.14000bad0
jmp 0x1400fc534
mov rax, rbx
mov qword [rdi + 0x428], rax
mov ecx, 0xb0
call fcn.1402bcb4c
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400fc55c
mov rdx, rdi
mov rcx, rax
call fcn.1401d13a0
jmp 0x1400fc55f
mov rax, rbx
mov qword [rdi + 0x438], rax
mov ecx, 0x178
call fcn.1402bcb4c
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400fc587
mov rdx, rdi
mov rcx, rax
call fcn.1401c21f0
jmp 0x1400fc58a
mov rax, rbx
mov qword [rdi + 0x440], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x140430d30], rax
mov rcx, rdi
call fcn.14015e7d0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
mov r9, rdi
lea r8, [0x140161720]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x140430d38], rax
cmp dword [rdi + 0x10], 1
ja 0x1400fc64e
mov ecx, 0x260
call fcn.1402bcb4c
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400fc602
mov rdx, rdi
mov rcx, rax
call fcn.1401c9fc0
jmp 0x1400fc605
mov rax, rbx
mov qword [rdi + 0x430], rax
mov ecx, 0xa0
call fcn.1402bcb4c
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400fc62e
mov rdx, rdi
mov rcx, rax
call fcn.1400e57f0
mov rbx, rax
mov qword [0x140430c08], rbx
mov rcx, rdi
call fcn.1400fc6c0
test al, al
je 0x1400fc64e
lea rcx, [0x140430bb0]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
cmp byte [rdi + 0x1e], 0
jne 0x1400fc660
cmp dword [rdi + 0x10], 0
jne 0x1400fc684
cmp byte [rdi + 0x1a], 0
jne 0x1400fc684
lea rcx, str.SeBackupPrivilege
call fcn.140100af0
lea rcx, str.SeRestorePrivilege
call fcn.140100af0
lea rcx, [rdi + 0x4c0]
call fcn.140178fe0
mov byte [rdi + 0x22c], 1
mov al, 1
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1402bcad0
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