Function at 0x140003c00
Capabilities:
Check if file exists
Create thread
Get file attributes
Resume thread

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2b0
mov rax, qword [0x14000b1c8]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov esi, r9d
mov dword [rsp + 0x60], r9d
mov rbx, r8
mov qword [rsp + 0x70], rbx
mov r13, rdx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x80], rcx
xor r14d, r14d
test rdx, rdx
jne 0x140003cf9
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
call qword [sym.imp.WDSCORE.dll_CurrentIP]
nop dword [rax + rax]
mov rbx, rax
lea rdx, str.MigHost:_CMigPluginSurrogate::LoadDllServer:_Invalid_argument:_BinaryPath__NULL.
mov ecx, 0x200085d
call fcn.14000351c
mov rcx, rax
mov dword [rsp + 0x50], r14d
mov qword [rsp + 0x48], r14
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x38], rbx
lea r15, str.CMigPluginSurrogate::LoadDllServer
mov qword [rsp + 0x30], r15
lea r12, str.base_ntsetupmigrationmigcoremighost_surrogate.cpp
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 0x182
xor r9d, r9d
lea r8, [0x140008628]
mov edx, 0x80000
call qword [sym.imp.WDSCORE.dll_WdsSetupLogMessageW]
nop dword [rax + rax]
mov eax, 0x80070057
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.140005930
add rsp, 0x2b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
cmp eax, 0xffffffff
jne 0x140003db3
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
call qword [sym.imp.WDSCORE.dll_CurrentIP]
nop dword [rax + rax]
mov rbx, rax
mov r8, r13
lea rdx, str.MigHost:_CMigPluginSurrogate::LoadDllServer:_Invalid_argument:_BinaryPath__s__does_not_exist.
mov ecx, 0x200085e
call fcn.14000351c
mov rcx, rax
mov dword [rsp + 0x50], r14d
mov qword [rsp + 0x48], r14
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x38], rbx
lea r15, str.CMigPluginSurrogate::LoadDllServer
mov qword [rsp + 0x30], r15
lea r12, str.base_ntsetupmigrationmigcoremighost_surrogate.cpp
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 0x18c
xor r9d, r9d
lea r8, [0x140008628]
mov edx, 0x80000
call qword [sym.imp.WDSCORE.dll_WdsSetupLogMessageW]
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ecx, eax
movzx eax, ax
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
jmp 0x140003cd5
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x90]
call sub.msvcrt.dll_memset
mov r8d, 0x104
lea rdx, [rsp + 0x90]
mov rcx, rbx
call qword [sym.imp.ole32.dll_StringFromGUID2]
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
call qword [sym.imp.WDSCORE.dll_CurrentIP]
nop dword [rax + rax]
mov rbx, rax
mov dword [rsp + 0x20], esi
lea r9, [rsp + 0x90]
mov r8, r13
lea rdx, str.MigHost:_CMigPluginSurrogate::LoadDllServer_in_progress:_BinaryPath__s___CLSID__s___ApartmentThreadingModel__d_.
mov ecx, 0x4000000
call fcn.14000351c
mov rcx, rax
mov dword [rsp + 0x50], r14d
mov qword [rsp + 0x48], r14
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x38], rbx
lea r15, str.CMigPluginSurrogate::LoadDllServer
mov qword [rsp + 0x30], r15
lea r12, str.base_ntsetupmigrationmigcoremighost_surrogate.cpp
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 0x19c
xor r9d, r9d
lea r8, [0x140008628]
mov edx, 0x80000
call qword [sym.imp.WDSCORE.dll_WdsSetupLogMessageW]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x68]
lea rax, [rbx + 0x60]
mov qword [rsp + 0x78], rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
nop
mov rax, rbx
lea rcx, [rbx + 8]
neg rax
sbb rsi, rsi
and rsi, rcx
lea r14, [rbx + 0x30]
mov rdx, r13
mov rcx, r14
call fcn.140002c70
mov rax, qword [rsp + 0x70]
movups xmm0, xmmword [rax]
movdqu xmmword [rbx + 0x38], xmm0
mov eax, dword [rsp + 0x60]
mov dword [rbx + 0x50], eax
lea rdi, [rbx + 0x4c]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 4
mov r9, rsi
lea r8, [0x140004ae0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop dword [rax + rax]
mov rbx, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
nop dword [rax + rax]
mov rdx, qword [rsi]
mov rcx, rsi
mov rax, qword [rdx + 0x30]
call qword [0x1400075b0]
mov rdx, qword [rsi]
mov rcx, rsi
mov rax, qword [rdx + 0x10]
call qword [0x1400075b0]
mov esi, eax
lea rdx, [0x14000862c]
mov rcx, r14
call fcn.140002c70
xorps xmm0, xmm0
mov rcx, qword [rsp + 0x68]
movups xmmword [rcx + 0x38], xmm0
xor r14d, r14d
mov dword [rcx + 0x48], r14d
mov dword [rdi], r14d
mov dword [rcx + 0x50], 1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
nop
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
call qword [sym.imp.WDSCORE.dll_CurrentIP]
nop dword [rax + rax]
mov rbx, rax
mov r8d, esi
lea rdx, str.MigHost:_CMigPluginSurrogate::LoadDllServer_finished:_Result_0x_x_.
mov ecx, 0x4000000
call fcn.14000351c
mov rcx, rax
mov dword [rsp + 0x50], r14d
mov qword [rsp + 0x48], r14
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 0x1d2
xor r9d, r9d
lea r8, [0x140008628]
mov edx, 0x80000
call qword [sym.imp.WDSCORE.dll_WdsSetupLogMessageW]
nop dword [rax + rax]
mov eax, esi
jmp 0x140003cd5