Function at 0x1400048bc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov r13, r8
mov rsi, rdx
mov r14, rcx
mov dword [rax - 0x58], 0x80004005
xor r15d, r15d
mov qword [rax - 0x48], r15
mov qword [rax - 0x50], r15
mov dword [rax + 0x20], r15d
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, qword [r14]
movabs r10, 0xe2c01efc7cd9b970
mov rcx, r14
mov rax, qword [r8]
call qword [vtable._SEHALA.0]
mov r8, rax
lea rdx, str.MigHost:_CMigPluginSurrogate::LoadAndRegisterServerInThreadContext:_Loaded_server__s_
mov ecx, 0x4000000
call fcn.1400037c8
mov dword [rsp + 0x50], r15d
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x38], rbx
lea rcx, str.CMigPluginSurrogate::LoadAndRegisterServerInThreadContext
mov qword [rsp + 0x30], rcx
lea rcx, str.base_ntsetupmigrationmigcoremighost_surrogate.cpp
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x2c7
xor r9d, r9d
lea r8, [0x1400086f8]
mov edx, 0x80000
mov rcx, rax
call qword [sym.imp.WDSCORE.dll_WdsSetupLogMessageW]
nop dword [rax + rax]
nop
mov rax, qword [r14]
movabs r10, 0xe2c01efc7cd9b970
mov rcx, r14
mov rax, qword [rax]
call qword [vtable._SEHALA.0]
mov rcx, rax
xor edx, edx
lea r8d, [r15 + 8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
nop dword [rax + rax]
mov r12, rax
mov qword [rsp + 0x70], rax
test rax, rax
jne 0x140004b59
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx r15d, ax
or r15d, 0x80070000
test eax, eax
cmovle r15d, eax
mov dword [rsp + 0x60], r15d
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov esi, eax
call qword [sym.imp.WDSCORE.dll_CurrentIP]
nop dword [rax + rax]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [r14]
mov rax, qword [rcx]
movabs r10, 0xe2c01efc7cd9b970
mov rcx, r14
call qword [vtable._SEHALA.0]
mov r9d, ebx
mov r8, rax
lea rdx, str.MigHost:_CMigPluginSurrogate::LoadAndRegisterServerInThreadContext:_LoadLibraryExW__s__LOAD_WITH_ALTERED_SEARCH_PATH__failed_gle0x_x.
mov ecx, 0x200085f
call fcn.1400037c8
and dword [rsp + 0x50], r12d
and qword [rsp + 0x48], r12
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x38], rdi
lea rcx, str.CMigPluginSurrogate::LoadAndRegisterServerInThreadContext
mov qword [rsp + 0x30], rcx
lea rcx, str.base_ntsetupmigrationmigcoremighost_surrogate.cpp
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x2d9
xor r9d, r9d
lea r8, [0x1400086f8]
mov esi, 0x80000
mov edx, esi
mov rcx, rax
call qword [sym.imp.WDSCORE.dll_WdsSetupLogMessageW]
nop dword [rax + rax]
mov rax, qword [r14]
movabs r10, 0xe2c01efc7cd9b970
mov rcx, r14
mov rax, qword [rax]
call qword [vtable._SEHALA.0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
cmp eax, 0xffffffff
je 0x140004e02
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::LoadAndRegisterServerInThreadContext:_File_is_present__most_likely_it_does_not_load_on_the_current_OS_version
mov ecx, 0x4000000
call fcn.1400037c8
and dword [rsp + 0x50], r12d
and qword [rsp + 0x48], r12
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x38], rbx
lea rcx, str.CMigPluginSurrogate::LoadAndRegisterServerInThreadContext
mov qword [rsp + 0x30], rcx
lea rcx, str.base_ntsetupmigrationmigcoremighost_surrogate.cpp
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x2e0
mov edx, esi
lea r8, [0x1400086f8]
xor r9d, r9d
mov rcx, rax
call qword [sym.imp.WDSCORE.dll_WdsSetupLogMessageW]
nop dword [rax + rax]
jmp 0x140004e02
lea rdx, str.DllGetClassObject
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
jne 0x140004c36
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx r15d, ax
or r15d, 0x80070000
test eax, eax
cmovle r15d, eax
mov dword [rsp + 0x60], r15d
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov esi, eax
call qword [sym.imp.WDSCORE.dll_CurrentIP]
nop dword [rax + rax]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [r14]
mov rax, qword [rcx]
movabs r10, 0xe2c01efc7cd9b970
mov rcx, r14
call qword [vtable._SEHALA.0]
mov r9d, ebx
mov r8, rax
lea rdx, str.MigHost:_CMigPluginSurrogate::LoadAndRegisterServerInThreadContext:_GetProcAddress__s__DllGetClassObject__failed_gle0x_x.
mov ecx, 0x2000860
call fcn.1400037c8
and dword [rsp + 0x50], 0
and qword [rsp + 0x48], 0
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x38], rdi
lea rcx, str.CMigPluginSurrogate::LoadAndRegisterServerInThreadContext
mov qword [rsp + 0x30], rcx
lea rcx, str.base_ntsetupmigrationmigcoremighost_surrogate.cpp
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x2f1
mov edx, 0x80000
jmp 0x140004b3b
mov rax, qword [r14]
movabs r10, 0x8b4096cb52dcfb70
mov rcx, r14
mov rax, qword [rax + 8]
call qword [vtable._SEHALA.0]
mov rcx, rax
movabs r10, 0xec353fca7ada1b70
lea r8, [rsp + 0x68]
lea rdx, [0x1400077d0]
mov rax, rbx
call qword [vtable._SEHALA.0]
mov r15d, eax
mov dword [rsp + 0x60], eax
test eax, eax
jns 0x140004d25
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 rcx, qword [r14]
mov rax, qword [rcx]
movabs r10, 0xe2c01efc7cd9b970
mov rcx, r14
call qword [vtable._SEHALA.0]
mov r8, rax
mov r9d, r15d
lea rdx, str.MigHost:_CMigPluginSurrogate::LoadAndRegisterServerInThreadContext:_DllGetClassObject__s__failed_hr0x_x.
mov ecx, 0x2000861
call fcn.1400037c8
and dword [rsp + 0x50], 0
and qword [rsp + 0x48], 0
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x38], rbx
lea rcx, str.CMigPluginSurrogate::LoadAndRegisterServerInThreadContext
mov qword [rsp + 0x30], rcx
lea rcx, str.base_ntsetupmigrationmigcoremighost_surrogate.cpp
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x304
xor r9d, r9d
lea r8, [0x1400086f8]
mov edx, 0x80000
mov rcx, rax
call qword [sym.imp.WDSCORE.dll_WdsSetupLogMessageW]
nop dword [rax + rax]
jmp 0x140004e0a
mov rbx, qword [rsp + 0x68]
mov rax, qword [r14]
movabs r10, 0x8b4096cb52dcfb70
mov rcx, r14
mov rax, qword [rax + 8]
call qword [vtable._SEHALA.0]
lea rcx, [rsp + 0xd8]
mov qword [rsp + 0x20], rcx
mov r9d, 1
lea r8d, [r9 + 3]
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.ole32.dll_CoRegisterClassObject]
nop dword [rax + rax]
mov r15d, eax
mov dword [rsp + 0x60], eax
test eax, eax
jns 0x140004e0a
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 rcx, qword [r14]
mov rax, qword [rcx]
movabs r10, 0xe2c01efc7cd9b970
mov rcx, r14
call qword [vtable._SEHALA.0]
mov r8, rax
mov r9d, r15d
lea rdx, str.MigHost:_CMigPluginSurrogate::LoadAndRegisterServerInThreadContext:_CoRegisterClassObject__s__failed_hr0x_x.
mov ecx, 0x2000a6c
call fcn.1400037c8
and dword [rsp + 0x50], 0
and qword [rsp + 0x48], 0
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x38], rbx
lea rcx, str.CMigPluginSurrogate::LoadAndRegisterServerInThreadContext
mov qword [rsp + 0x30], rcx
lea rcx, str.base_ntsetupmigrationmigcoremighost_surrogate.cpp
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x316
jmp 0x140004d02
mov rsi, qword [rsp + 0xc8]
test r15d, r15d
js 0x140004ed1
mov r9d, dword [rsp + 0xd8]
mov dword [rsi], r9d
test r13, r13
je 0x140004e2c
mov rax, qword [rsp + 0x68]
mov qword [r13], rax
mov rax, qword [r14]
movabs r10, 0xccb19e2d50dcab70
mov r8, r12
mov rdx, qword [rsp + 0x68]
mov rcx, r14
mov rax, qword [rax + 0x30]
call qword [vtable._SEHALA.0]
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 rdx, qword [r14]
movabs r10, 0xe2c01efc7cd9b970
mov rcx, r14
mov rax, qword [rdx]
call qword [vtable._SEHALA.0]
mov r8, rax
lea rdx, str.MigHost:_CMigPluginSurrogate::LoadAndRegisterServerInThreadContext:_Successfully_loaded_and_registered_server__s_
mov ecx, 0x4000000
call fcn.1400037c8
and dword [rsp + 0x50], 0
and qword [rsp + 0x48], 0
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x38], rbx
lea rcx, str.CMigPluginSurrogate::LoadAndRegisterServerInThreadContext
mov qword [rsp + 0x30], rcx
lea rcx, str.base_ntsetupmigrationmigcoremighost_surrogate.cpp
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x32d
jmp 0x140004fa1
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140004ef2
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [vtable._SEHALA.0]
test r12, r12
je 0x140004fbf
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop dword [rax + rax]
test eax, eax
jne 0x140004fbf
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov esi, eax
call qword [sym.imp.WDSCORE.dll_CurrentIP]
nop dword [rax + rax]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [r14]
mov rax, qword [rcx]
movabs r10, 0xe2c01efc7cd9b970
mov rcx, r14
call qword [vtable._SEHALA.0]
mov r9d, ebx
mov r8, rax
lea rdx, str.MigHost:_CMigPluginSurrogate::LoadAndRegisterServerInThreadContext:_FreeLibrary__s__failed_gle0x_x.
mov ecx, 0x3000950
call fcn.1400037c8
and dword [rsp + 0x50], 0
and qword [rsp + 0x48], 0
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x38], rdi
lea rcx, str.CMigPluginSurrogate::LoadAndRegisterServerInThreadContext
mov qword [rsp + 0x30], rcx
lea rcx, str.base_ntsetupmigrationmigcoremighost_surrogate.cpp
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x33e
xor r9d, r9d
lea r8, [0x1400086f8]
mov edx, 0x80000
mov rcx, rax
call qword [sym.imp.WDSCORE.dll_WdsSetupLogMessageW]
nop dword [rax + rax]
mov rax, qword [r14]
movabs r10, 0xc66ca73a5ad47870
mov edx, r15d
mov rcx, r14
mov rax, qword [rax + 0x40]
call qword [vtable._SEHALA.0]
mov eax, r15d
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret