Function at 0x140158360
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0xd8
mov rcx, qword [str.dbgcore.dll]
call sym.SystemInformer.exe_QiGetDllHandle
test rax, rax
je 0x14015839f
mov rcx, qword [str.dbghelp.dll]
nop
call sym.SystemInformer.exe_QiGetDllHandle
test rax, rax
je 0x14015839f
mov rcx, qword [str.symsrv.dll]
call sym.SystemInformer.exe_QiGetDllHandle
test rax, rax
jne 0x140158f85
mov rcx, qword [0x1402c0bc0]
mov qword ss:[rsp + 0xf8], rbx
mov qword ss:[rsp + 0xd0], rbp
mov qword [rsp + 0xc8], rsi
lea eax, [rcx + 2]
mov qword [rsp + 0xc0], rdi
mov qword [rsp + 0xb0], r13
xor r13d, r13d
mov word [rsp + 0x32], ax
mov esi, r13d
mov rax, qword [str.SoftwareMicrosoftWindows_KitsInstalled_Roots]
mov qword [rsp + 0xa0], r15
mov r15d, r13d
mov qword [rsp + 0x38], rax
mov word [rsp + 0x30], cx
cmp rcx, 0xfffe
ja 0x140158797
lea rax, [rsp + 0xf0]
xor r8d, r8d
lea r9, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x30]
lea rcx, [r13 - 3]
call fcn.140167940
test eax, eax
js 0x140158797
lea r8, [rsp + 0x70]
mov edx, 0x20019
lea rcx, [rsp + 0xe8]
call qword [sym.imp.ntdll.dll_NtOpenKey]
mov rcx, qword [rsp + 0xf0]
mov ebx, eax
test rcx, rcx
je 0x140158466
nop
call qword [sym.imp.ntdll.dll_NtClose]
test ebx, ebx
js 0x140158797
mov rcx, qword [rsp + 0xe8]
lea rax, str.KitsRoot10
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], 0x14
call sym.SystemInformer.exe_QiQueryRegistryString
mov rbx, rax
mov rdi, rax
mov ebp, 0xffffffff
test rax, rax
je 0x1401584aa
cmp qword [rax], rsi
jne 0x1401584f3
mov rcx, qword [rsp + 0xe8]
lea rax, str.KitsRoot81
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], 0x14
call sym.SystemInformer.exe_QiQueryRegistryString
mov rdi, rax
test rbx, rbx
je 0x1401584ee
lea rcx, [rbx - 0x10]
mov edx, ebp
lock xadd dword [rcx + 8], edx
cmp edx, 1
jne 0x1401584ee
call fcn.14013fb00
test rdi, rdi
je 0x1401584f8
cmp qword [rdi], rsi
jne 0x14015853f
mov rcx, qword [rsp + 0xe8]
lea rax, str.KitsRoot
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x60], 0x10
call sym.SystemInformer.exe_QiQueryRegistryString
mov rcx, rdi
mov rdi, rax
test rcx, rcx
je 0x14015853f
add rcx, 0xfffffffffffffff0
mov eax, ebp
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14015853f
call fcn.14013fb00
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.ntdll.dll_NtClose]
test rdi, rdi
je 0x140158797
mov rbx, qword [rdi]
mov rdx, qword [0x1402c4fb8]
add rbx, 0x1e
mov qword [rsp + 0xb8], r12
mov qword [rsp + 0xa8], r14
lea rcx, [rbx + 0x12]
call sym.SystemInformer.exe_QiCreateObject
mov r14, rax
mov qword [rax], rbx
lea rcx, [rax + 0x10]
mov qword [rax + 8], rcx
mov word [rcx + rbx], r13w
mov r8, qword [rdi]
mov rdx, qword [rdi + 8]
mov rcx, qword [rax + 8]
call fcn.1402074d0
mov rcx, qword [rdi]
movups xmm0, xmmword [str.Debuggersx64_]
mov rdx, qword [r14 + 8]
movups xmmword [rdx + rcx], xmm0
movsd xmm0, qword [0x140285bc8]
movsd qword [rdx + rcx + 0x10], xmm0
mov eax, dword [0x140285bd0]
mov dword [rdx + rcx + 0x18], eax
movzx eax, word [0x140285bd4]
mov word [rdx + rcx + 0x1c], ax
lea rcx, [rdi - 0x10]
mov eax, ebp
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1401585f0
call fcn.14013fb00
mov rbx, qword [0x1402c0b80]
add rbx, qword [r14]
mov rdx, qword [0x1402c4fb8]
lea rcx, [rbx + 0x12]
call sym.SystemInformer.exe_QiCreateObject
mov rdi, rax
mov qword [rax], rbx
lea rcx, [rax + 0x10]
mov qword [rax + 8], rcx
mov word [rcx + rbx], r13w
mov r8, qword [r14]
mov rdx, qword [r14 + 8]
mov rcx, qword [rax + 8]
call fcn.1402074d0
mov rcx, qword [r14]
add rcx, qword [rdi + 8]
mov r8, qword [0x1402c0b80]
mov rdx, qword [str.dbgcore.dll]
call fcn.1402074d0
mov rcx, qword [rdi + 8]
call sym.SystemInformer.exe_QiLoadLibrary
mov r12, rax
lea rcx, [rdi - 0x10]
mov edx, ebp
lock xadd dword [rcx + 8], edx
cmp edx, 1
jne 0x14015866a
call fcn.14013fb00
mov rbx, qword [0x1402c0c10]
add rbx, qword ds:[r14]
mov rdx, qword [0x1402c4fb8]
lea rcx, [rbx + 0x12]
call sym.SystemInformer.exe_QiCreateObject
mov rdi, rax
mov qword [rax], rbx
lea rcx, [rax + 0x10]
mov qword [rax + 8], rcx
mov word [rcx + rbx], r13w
mov r8, qword [r14]
mov rdx, qword [r14 + 8]
mov rcx, qword [rax + 8]
call fcn.1402074d0
mov rcx, qword ds:[r14]
add rcx, qword [rdi + 8]
mov r8, qword [0x1402c0c10]
mov rdx, qword [str.dbghelp.dll]
call fcn.1402074d0
mov rcx, qword [rdi + 8]
call sym.SystemInformer.exe_QiLoadLibrary
mov rsi, rax
lea rcx, [rdi - 0x10]
mov edx, ebp
lock xadd dword [rcx + 8], edx
cmp edx, 1
jne 0x1401586ea
call fcn.14013fb00
mov rbx, qword [0x1402c0c20]
add rbx, qword ds:[r14]
mov rdx, qword [0x1402c4fb8]
lea rcx, [rbx + 0x12]
call sym.SystemInformer.exe_QiCreateObject
mov rdi, rax
mov qword [rax], rbx
lea rcx, [rax + 0x10]
mov qword [rax + 8], rcx
mov word [rcx + rbx], r13w
mov r8, qword [r14]
mov rdx, qword [r14 + 8]
mov rcx, qword [rax + 8]
call fcn.1402074d0
mov rcx, qword ds:[r14]
add rcx, qword [rdi + 8]
mov r8, qword [0x1402c0c20]
mov rdx, qword [str.symsrv.dll]
call fcn.1402074d0
mov rcx, qword [rdi + 8]
call sym.SystemInformer.exe_QiLoadLibrary
mov r15, rax
lea rcx, [rdi - 0x10]
mov edx, ebp
lock xadd dword [rcx + 8], edx
cmp edx, 1
jne 0x14015876a
call fcn.14013fb00
lea rcx, ds:[r14 - 0x10]
lock xadd dword [rcx + 8], ebp
mov r14, qword [rsp + 0xa8]
cmp ebp, 1
jne 0x14015878a
call fcn.14013fb00
test r12, r12
mov r12, qword [rsp + 0xb8]
jne 0x1401587e6
xor edx, edx
lea rcx, str.dbgcore.dll
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test rax, rax
jne 0x1401587e6
xor edx, edx
lea rcx, str.dbgcore.dll
mov r8d, 0x200
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test rax, rax
jne 0x1401587e6
cmp dword [0x1402baf40], 0x3e
jae 0x1401587e6
xor r8d, r8d
lea rcx, str.dbgcore.dll
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rbp, qword [rsp + 0xd0]
test rsi, rsi
jne 0x140158854
xor edx, edx
lea rcx, str.dbghelp.dll
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
test rax, rax
jne 0x140158854
xor edx, edx
lea rcx, str.dbghelp.dll
mov r8d, 0x200
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
test rax, rax
jne 0x140158854
cmp dword [0x1402baf40], 0x3e
jae 0x140158851
xor r8d, r8d
lea rcx, str.dbghelp.dll
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
test rax, rax
jne 0x140158854
mov rsi, r13
test r15, r15
mov r15, qword [rsp + 0xa0]
jne 0x1401588b1
xor edx, edx
lea rcx, str.symsrv.dll
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test rax, rax
jne 0x1401588b1
xor edx, edx
lea rcx, str.symsrv.dll
mov r8d, 0x200
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test rax, rax
jne 0x1401588b1
cmp dword [0x1402baf40], 0x3e
jae 0x1401588b1
xor r8d, r8d
lea rcx, str.symsrv.dll
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test rsi, rsi
je 0x140158f65
mov edi, 0x5a4d
lea rbx, [rsi + 0x3c]
cmp word [rsi], di
jne 0x14015890e
mov ecx, dword [rbx]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x14015890e
cmp dword [rcx + rsi], 0x4550
jne 0x14015890e
lea rdx, [rsi + 0x88]
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14015890e
cmp dword [rdx + 4], r13d
je 0x14015890e
lea r8, [rsi + rax]
mov word [rsp + 0x20], r13w
lea r9, str.SymInitializeW
mov rcx, rsi
call fcn.140177a80
jmp 0x140158911
mov rax, r13
mov qword [0x1402c5170], rax
cmp word [rsi], di
jne 0x140158967
mov ecx, dword [rbx]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x140158967
cmp dword [rcx + rsi], 0x4550
jne 0x140158967
lea rdx, ds:[rsi + 0x88]
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140158967
cmp dword [rdx + 4], r13d
je 0x140158967
lea r8, ds:[rsi + rax]
mov word [rsp + 0x20], r13w
lea r9, str.SymCleanup
mov rcx, rsi
call fcn.140177a80
jmp 0x14015896a
mov rax, r13
mov qword [0x1402c5180], rax
cmp word [rsi], di
jne 0x1401589c7
mov ecx, dword ds:[rbx]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x1401589c7
cmp dword [rcx + rsi], 0x4550
jne 0x1401589c7
lea rdx, ds:[rsi + 0x88]
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x1401589c7
cmp dword [rdx + 4], r13d
je 0x1401589c7
lea r8, ds:[rsi + rax]
mov word [rsp + 0x20], r13w
lea r9, str.SymFromAddrW
mov rcx, rsi
call fcn.140177a80
jmp 0x1401589ca
mov rax, r13
mov qword [0x1402c51d0], rax
cmp word [rsi], di
jne 0x140158a27
mov ecx, dword ds:[rbx]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x140158a27
cmp dword [rcx + rsi], 0x4550
jne 0x140158a27
lea rdx, ds:[rsi + 0x88]
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140158a27
cmp dword [rdx + 4], r13d
je 0x140158a27
lea r8, ds:[rsi + rax]
mov word [rsp + 0x20], r13w
lea r9, str.SymFromNameW
mov rcx, rsi
call fcn.140177a80
jmp 0x140158a2a
mov rax, r13
mov qword [0x1402c5188], rax
cmp word [rsi], di
jne 0x140158a87
mov ecx, dword ds:[rbx]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x140158a87
cmp dword [rcx + rsi], 0x4550
jne 0x140158a87
lea rdx, ds:[rsi + 0x88]
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140158a87
cmp dword [rdx + 4], r13d
je 0x140158a87
lea r8, ds:[rsi + rax]
mov word [rsp + 0x20], r13w
lea r9, str.SymGetLineFromAddrW64
mov rcx, rsi
call fcn.140177a80
jmp 0x140158a8a
mov rax, r13
mov qword [0x1402c5190], rax
cmp word [rsi], di
jne 0x140158ae7
mov ecx, dword ds:[rbx]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x140158ae7
cmp dword [rcx + rsi], 0x4550
jne 0x140158ae7
lea rdx, ds:[rsi + 0x88]
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140158ae7
cmp dword [rdx + 4], r13d
je 0x140158ae7
lea r8, ds:[rsi + rax]
mov word [rsp + 0x20], r13w
lea r9, str.SymLoadModuleExW
mov rcx, rsi
call fcn.140177a80
jmp 0x140158aea
mov rax, r13
mov qword [0x1402c5198], rax
cmp word [rsi], di
jne 0x140158b47
mov ecx, dword ds:[rbx]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x140158b47
cmp dword [rcx + rsi], 0x4550
jne 0x140158b47
lea rdx, ds:[rsi + 0x88]
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140158b47
cmp dword [rdx + 4], r13d
je 0x140158b47
lea r8, ds:[rsi + rax]
mov word [rsp + 0x20], r13w
lea r9, str.SymGetOptions
mov rcx, rsi
call fcn.140177a80
jmp 0x140158b4a
mov rax, r13
mov qword [0x1402c51e8], rax
cmp word [rsi], di
jne 0x140158ba7
mov ecx, dword ds:[rbx]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x140158ba7
cmp dword [rcx + rsi], 0x4550
jne 0x140158ba7
lea rdx, ds:[rsi + 0x88]
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140158ba7
cmp dword [rdx + 4], r13d
je 0x140158ba7
lea r8, ds:[rsi + rax]
mov word [rsp + 0x20], r13w
lea r9, str.SymSetOptions
mov rcx, rsi
call fcn.140177a80
jmp 0x140158baa
mov rax, r13
mov qword [0x1402c51b0], rax
cmp word [rsi], di
jne 0x140158c07
mov ecx, dword ds:[rbx]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x140158c07
cmp dword [rcx + rsi], 0x4550
jne 0x140158c07
lea rdx, ds:[rsi + 0x88]
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140158c07
cmp dword [rdx + 4], r13d
je 0x140158c07
lea r8, ds:[rsi + rax]
mov word [rsp + 0x20], r13w
lea r9, str.SymSetSearchPathW
mov rcx, rsi
call fcn.140177a80
jmp 0x140158c0a
mov rax, r13
mov qword [0x1402c51f0], rax
cmp word [rsi], di
jne 0x140158c67
mov ecx, dword ds:[rbx]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x140158c67
cmp dword [rcx + rsi], 0x4550
jne 0x140158c67
lea rdx, ds:[rsi + 0x88]
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140158c67
cmp dword [rdx + 4], r13d
je 0x140158c67
lea r8, ds:[rsi + rax]
mov word [rsp + 0x20], r13w
lea r9, str.SymFunctionTableAccess64
mov rcx, rsi
call fcn.140177a80
jmp 0x140158c6a
mov rax, r13
mov qword [0x1402c51e0], rax
cmp word [rsi], di
jne 0x140158cc7
mov ecx, dword ds:[rbx]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x140158cc7
cmp dword [rcx + rsi], 0x4550
jne 0x140158cc7
lea rdx, ds:[rsi + 0x88]
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140158cc7
cmp dword [rdx + 4], r13d
je 0x140158cc7
lea r8, ds:[rsi + rax]
mov word [rsp + 0x20], r13w
lea r9, str.SymGetModuleBase64
mov rcx, rsi
call fcn.140177a80
jmp 0x140158cca
mov rax, r13
mov qword [0x1402c5178], rax
cmp word [rsi], di
jne 0x140158d27
mov ecx, dword ds:[rbx]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x140158d27
cmp dword [rcx + rsi], 0x4550
jne 0x140158d27
lea rdx, ds:[rsi + 0x88]
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140158d27
cmp dword [rdx + 4], r13d
je 0x140158d27
lea r8, ds:[rsi + rax]
mov word [rsp + 0x20], r13w
lea r9, str.SymRegisterCallbackW64
mov rcx, rsi
call fcn.140177a80
jmp 0x140158d2a
mov rax, r13
mov qword [0x1402c51a8], rax
cmp word [rsi], di
jne 0x140158d87
mov ecx, dword ds:[rbx]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x140158d87
cmp dword [rcx + rsi], 0x4550
jne 0x140158d87
lea rdx, ds:[rsi + 0x88]
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140158d87
cmp dword [rdx + 4], r13d
je 0x140158d87
lea r8, ds:[rsi + rax]
mov word [rsp + 0x20], r13w
lea r9, str.StackWalk64
mov rcx, rsi
call fcn.140177a80
jmp 0x140158d8a
mov rax, r13
mov qword [0x1402c51c0], rax
cmp word [rsi], di
jne 0x140158de7
mov ecx, dword ds:[rbx]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x140158de7
cmp dword [rcx + rsi], 0x4550
jne 0x140158de7
lea rdx, ds:[rsi + 0x88]
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140158de7
cmp dword [rdx + 4], r13d
je 0x140158de7
lea r8, ds:[rsi + rax]
mov word [rsp + 0x20], r13w
lea r9, str.StackWalkEx
mov rcx, rsi
call fcn.140177a80
jmp 0x140158dea
mov rax, r13
mov qword [0x1402c51c8], rax
cmp word [rsi], di
jne 0x140158e47
mov ecx, dword ds:[rbx]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x140158e47
cmp dword [rcx + rsi], 0x4550
jne 0x140158e47
lea rdx, ds:[rsi + 0x88]
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140158e47
cmp dword [rdx + 4], r13d
je 0x140158e47
lea r8, ds:[rsi + rax]
mov word [rsp + 0x20], r13w
lea r9, str.SymFromInlineContextW
mov rcx, rsi
call fcn.140177a80
jmp 0x140158e4a
mov rax, r13
mov qword [0x1402c51a0], rax
cmp word [rsi], di
jne 0x140158ea7
mov ecx, dword ds:[rbx]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x140158ea7
cmp dword [rcx + rsi], 0x4550
jne 0x140158ea7
lea rdx, ds:[rsi + 0x88]
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140158ea7
cmp dword [rdx + 4], r13d
je 0x140158ea7
lea r8, ds:[rsi + rax]
mov word [rsp + 0x20], r13w
lea r9, str.SymGetLineFromInlineContextW
mov rcx, rsi
call fcn.140177a80
jmp 0x140158eaa
mov rax, r13
mov qword [0x1402c51d8], rax
cmp word [rsi], di
jne 0x140158f07
mov ecx, dword ds:[rbx]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x140158f07
cmp dword [rcx + rsi], 0x4550
jne 0x140158f07
lea rdx, ds:[rsi + 0x88]
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140158f07
cmp dword [rdx + 4], r13d
je 0x140158f07
lea r8, ds:[rsi + rax]
mov word [rsp + 0x20], r13w
lea r9, str.MiniDumpWriteDump
mov rcx, rsi
call fcn.140177a80
jmp 0x140158f0a
mov rax, r13
mov qword [0x1402c51b8], rax
cmp word [rsi], di
jne 0x140158f65
mov ecx, dword ds:[rbx]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x140158f65
cmp dword [rcx + rsi], 0x4550
jne 0x140158f65
lea rdx, ds:[rsi + 0x88]
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140158f65
cmp dword [rdx + 4], r13d
je 0x140158f65
lea r8, ds:[rsi + rax]
mov word [rsp + 0x20], r13w
lea r9, str.UnDecorateSymbolNameW
mov rcx, rsi
call fcn.140177a80
mov rdi, qword [rsp + 0xc0]
mov rsi, qword [rsp + 0xc8]
mov rbx, qword [rsp + 0xf8]
mov r13, qword [rsp + 0xb0]
add rsp, 0xd8
ret