Function at 0x1400f9b80
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 [0x140415a10]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rdi, rcx
lea rcx, str.iphlpapi.dll
call fcn.140147cd0
mov rbx, rax
lea rdx, str.AllocateAndGetTcpExTableFromStack
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140428be8], rax
lea rdx, str.AllocateAndGetUdpExTableFromStack
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140428bf0], rax
lea rdx, str.GetExtendedTcpTable
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140428bf8], rax
lea rcx, str.srclient.dll
call fcn.140147cd0
test rax, rax
je 0x1400f9c5c
lea rdx, str.SRSetRestorePointW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140428c00], 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 0x1400f9c57
cmp eax, 0x80010106
jne 0x1400f9c5c
call fcn.1400fa1e0
mov edx, 0x104
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r8, [0x140345f98]
mov edx, 0x104
lea rcx, [rsp + 0x60]
call fcn.1402b9308
lea rax, [rsp + 0x60]
or r14, 0xffffffffffffffff
mov rsi, r14
nop
inc rsi
cmp word [rax + rsi*2], 0
jne 0x1400f9c90
xor ebx, ebx
mov qword [rsp + 0x38], rbx
lea r12, [0x140346ce0]
test esi, esi
jne 0x1400f9cb3
mov qword [rsp + 0x30], r12
jmp 0x1400f9cda
mov edx, esi
lea rcx, [rsp + 0x30]
call fcn.1401fcb40
movsxd r9, esi
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r8, [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
call fcn.1402ba94c
mov edx, esi
lea rcx, [rsp + 0x30]
call fcn.1401fde50
nop
movzx eax, byte [0x14042918a]
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x30]
lea rdx, [rsp + 0x40]
lea rcx, [rdi + 0x658]
call fcn.1400e8550
nop
cmp dword [rsp + 0x38], 0
jle 0x1400f9d1a
mov rcx, qword [rsp + 0x30]
call fcn.1402b7350
lea r8, [0x14034d7d0]
mov edx, 0x104
lea rcx, [rsp + 0x60]
call fcn.1402b9308
lea rax, [rsp + 0x60]
mov rsi, r14
nop dword [rax + rax]
inc rsi
cmp word [rax + rsi*2], 0
jne 0x1400f9d40
mov qword [rsp + 0x38], rbx
test esi, esi
jne 0x1400f9d5a
mov qword [rsp + 0x30], r12
jmp 0x1400f9d81
mov edx, esi
lea rcx, [rsp + 0x30]
call fcn.1401fcb40
movsxd r9, esi
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r8, [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
call fcn.1402ba94c
mov edx, esi
lea rcx, [rsp + 0x30]
call fcn.1401fde50
nop
movzx eax, byte [0x14042918a]
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x30]
lea rdx, [rsp + 0x40]
lea rcx, [rdi + 0x658]
call fcn.1400e8550
nop
cmp dword [rsp + 0x38], 0
jle 0x1400f9dc1
mov rcx, qword [rsp + 0x30]
call fcn.1402b7350
mov edx, 0x104
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea r8, [0x140345f98]
mov edx, 0x104
lea rcx, [rsp + 0x60]
call fcn.1402b9308
lea rax, [rsp + 0x60]
mov rsi, r14
nop
inc rsi
cmp word [rax + rsi*2], 0
jne 0x1400f9df0
mov qword [rsp + 0x38], rbx
test esi, esi
jne 0x1400f9e0a
mov qword [rsp + 0x30], r12
jmp 0x1400f9e31
mov edx, esi
lea rcx, [rsp + 0x30]
call fcn.1401fcb40
movsxd r9, esi
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r8, [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
call fcn.1402ba94c
mov edx, esi
lea rcx, [rsp + 0x30]
call fcn.1401fde50
nop
movzx eax, byte [0x14042918a]
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x30]
lea rdx, [rsp + 0x40]
lea rcx, [rdi + 0x658]
call fcn.1400e8550
nop
cmp dword [rsp + 0x38], 0
jle 0x1400f9e71
mov rcx, qword [rsp + 0x30]
call fcn.1402b7350
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.1402ba31c
test rax, rax
je 0x1400f9ed0
mov edx, 0x5c
lea rcx, [rsp + 0x60]
call fcn.1402ba31c
test rax, rax
je 0x1400f9ed0
mov word [rax], bx
mov edx, 0x5c
lea rcx, [rsp + 0x60]
call fcn.1402ba31c
test rax, rax
je 0x1400f9ed0
mov word [rax + 2], bx
lea rax, [rsp + 0x60]
inc r14
cmp word [rax + r14*2], 0
jne 0x1400f9ed5
mov qword [rsp + 0x38], rbx
test r14d, r14d
jne 0x1400f9ef1
mov qword [rsp + 0x30], r12
jmp 0x1400f9f19
mov edx, r14d
lea rcx, [rsp + 0x30]
call fcn.1401fcb40
movsxd r9, r14d
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r8, [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
call fcn.1402ba94c
mov edx, r14d
lea rcx, [rsp + 0x30]
call fcn.1401fde50
nop
movzx eax, byte [0x14042918a]
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x30]
lea rdx, [rsp + 0x40]
lea rcx, [rdi + 0x658]
call fcn.1400e8550
nop
cmp dword [rsp + 0x38], 0
jle 0x1400f9f5a
mov rcx, qword [rsp + 0x30]
call fcn.1402b7350
mov ecx, 0xd0
call fcn.1402b6dbc
test rax, rax
je 0x1400f9f76
mov rdx, rdi
mov rcx, rax
call fcn.1401c2ae0
jmp 0x1400f9f79
mov rax, rbx
mov qword [rdi + 0x418], rax
mov ecx, 0xe8
call fcn.1402b6dbc
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400f9fa1
mov rdx, rdi
mov rcx, rax
call fcn.14000bad0
jmp 0x1400f9fa4
mov rax, rbx
mov qword [rdi + 0x420], rax
mov ecx, 0xb0
call fcn.1402b6dbc
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400f9fcc
mov rdx, rdi
mov rcx, rax
call fcn.1401cdb80
jmp 0x1400f9fcf
mov rax, rbx
mov qword [rdi + 0x430], rax
mov ecx, 0x178
call fcn.1402b6dbc
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400f9ff7
mov rdx, rdi
mov rcx, rax
call fcn.1401be9d0
jmp 0x1400f9ffa
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 [0x140428c88], rax
mov rcx, rdi
call fcn.14015baf0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
mov r9, rdi
lea r8, [0x14015ea40]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x140428c70], rax
cmp dword [rdi + 0x10], 1
ja 0x1400fa0be
mov ecx, 0x260
call fcn.1402b6dbc
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400fa072
mov rdx, rdi
mov rcx, rax
call fcn.1401c67a0
jmp 0x1400fa075
mov rax, rbx
mov qword [rdi + 0x428], rax
mov ecx, 0xa0
call fcn.1402b6dbc
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400fa09e
mov rdx, rdi
mov rcx, rax
call fcn.1400e4300
mov rbx, rax
mov qword [0x140428b48], rbx
mov rcx, rdi
call fcn.1400fa130
test al, al
je 0x1400fa0be
lea rcx, [0x140428af0]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
cmp byte [rdi + 0x1d], 0
jne 0x1400fa0d0
cmp dword [rdi + 0x10], 0
jne 0x1400fa0f4
cmp byte [rdi + 0x19], 0
jne 0x1400fa0f4
lea rcx, str.SeBackupPrivilege
call fcn.1400fe3d0
lea rcx, str.SeRestorePrivilege
call fcn.1400fe3d0
lea rcx, [rdi + 0x4b8]
call fcn.140175fd0
mov byte [rdi + 0x224], 1
mov al, 1
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1402b6d40
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