Function at 0x140001980
Capabilities:
Check if file exists
Enumerate files on windows
Enumerate process modules
Link many functions at runtime
Load windows common language runtime

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x12a0]
mov eax, 0x13a0
call fcn.14001dfe0
sub rsp, rax
mov rax, qword [0x14002b008]
xor rax, rsp
mov qword [rbp + 0x1290], rax
mov r8d, dword [rcx + 0x230]
lea r12, [rcx + 0x250]
xor r15d, r15d
mov dword [rbp + 0x3d0], 0x40000
mov eax, 0x766f
mov qword [rcx + 0x240], r15
mov word [rbp + 0x3d8], ax
mov rdi, rcx
lea rax, [rcx + 0x258]
mov qword [rcx + 0x260], r15
mov qword [rcx + 0x268], r15
xor edx, edx
mov ecx, 0x1fffff
mov qword [rbp - 0x80], rax
mov qword [rax], r15
mov dword [rbp + 0x3d4], 0xffff0000
mov qword [r12], r15
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rdi + 0x238], rax
test rax, rax
je 0x140001abd
lea rcx, str.mscoree.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, [0x140027f64]
mov qword [rsp + 0x60], rax
lea rcx, [rbp + 0x630]
mov r13d, r15d
call qword [sym.imp.SHLWAPI.dll_StrCpyW]
mov edx, dword [rdi + 0x230]
lea ecx, [r15 + 0x18]
mov ebx, r15d
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140001a8b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x140001abd
lea eax, [rsi + 2]
jmp 0x140001abf
xor edx, edx
lea rcx, [rbp - 0x6c]
mov r8d, 0x434
call fcn.140007130
lea rdx, [rbp - 0x70]
mov dword [rbp - 0x70], 0x438
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
jne 0x140001aef
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rbp + 0x1290]
xor rcx, rsp
call fcn.1400056d0
lea r11, [rsp + 0x13a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea r14, str.System.Runtime.dll
nop word [rax + rax]
lea rdx, [rbp - 0x40]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
movzx ecx, word [rdx + rax*2 + 2]
cmp cx, word [r14 + rax*2 + 2]
jne 0x140001b32
add rax, 2
cmp rax, 0x13
je 0x140001b48
movzx ecx, word [rdx + rax*2]
cmp cx, word [r14 + rax*2]
je 0x140001b10
lea rdx, [rbp - 0x70]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x140001b00
jmp 0x140001be2
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
test eax, eax
jle 0x140001b7c
nop dword [rax]
cmp word [rbp + rcx*2 + 0x1c0], 0x5c
je 0x140001b7c
mov word [rbp + rcx*2 + 0x1c0], r15w
dec rcx
test rcx, rcx
jg 0x140001b60
lea rdx, [rbp + 0x1c0]
lea rcx, [rbp + 0x630]
call qword [sym.imp.SHLWAPI.dll_StrCpyW]
mov r8d, 0x104
lea rdx, [rbp + 0xe70]
lea rcx, [rbp + 0x630]
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
lea rdx, [rbp + 0xe70]
lea rcx, [rbp + 0xa50]
call qword [sym.imp.SHLWAPI.dll_StrCpyW]
lea rdx, [0x140027f90]
lea rcx, [rbp + 0xa50]
call qword [sym.imp.SHLWAPI.dll_StrCatW]
lea rcx, [rbp + 0xa50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rbx, rbx
jne 0x140001db5
lea rdx, str.C:Program_Filesdotnet_sharedMicrosoft.NETCore.App_
lea rcx, [rbp + 0xc60]
call qword [sym.imp.SHLWAPI.dll_StrCpyW]
lea rdx, [0x14002801c]
lea rcx, [rbp + 0xc60]
call qword [sym.imp.SHLWAPI.dll_StrCatW]
lea rdx, [rbp + 0x3e0]
lea rcx, [rbp + 0xc60]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r14, rax
mov esi, r15d
cmp rax, 0xffffffffffffffff
je 0x140001da0
test byte [rbp + 0x3e0], 0x10
je 0x140001cfe
movzx eax, word [rbp + 0x40c]
cmp ax, 0x30
jb 0x140001cfe
cmp ax, 0x39
ja 0x140001cfe
lea rax, [rbp + 0x40c]
mov edx, 0x104
lea r9, str.C:Program_Filesdotnet_sharedMicrosoft.NETCore.App_
mov qword [rsp + 0x20], rax
lea r8, [0x140028020]
lea rcx, [rbp + 0x840]
call fcn.1400018c0
lea rax, [rsp + 0x58]
lea r9, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x50]
lea rdx, str._d._d._d
lea rcx, [rbp + 0x40c]
call fcn.140001920
cmp eax, 3
jne 0x140001cfe
lea rcx, [rbp + 0x840]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140001cfe
mov ecx, dword [rsp + 0x50]
mov ebx, dword [rsp + 0x68]
shl ecx, 0x10
add ecx, dword [rsp + 0x58]
shl ebx, 8
add ebx, ecx
cmp ebx, esi
jbe 0x140001cfe
lea rdx, [rbp + 0x40c]
lea rcx, [rbp + 0x1080]
call qword [sym.imp.SHLWAPI.dll_StrCpyW]
mov esi, ebx
lea rdx, [rbp + 0x3e0]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140001c40
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
test esi, esi
je 0x140001da0
lea rdx, str.C:Program_Filesdotnet_sharedMicrosoft.NETCore.App_
lea rcx, [rbp + 0x630]
call qword [sym.imp.SHLWAPI.dll_StrCpyW]
lea rdx, [rbp + 0x1080]
lea rcx, [rbp + 0x630]
call qword [sym.imp.SHLWAPI.dll_StrCatW]
lea rdx, [0x14002805c]
lea rcx, [rbp + 0x630]
call qword [sym.imp.SHLWAPI.dll_StrCatW]
lea rdx, [rbp + 0x630]
lea rcx, [rbp + 0x840]
call qword [sym.imp.SHLWAPI.dll_StrCpyW]
lea rdx, [0x140027f90]
lea rcx, [rbp + 0x840]
call qword [sym.imp.SHLWAPI.dll_StrCatW]
lea rcx, [rbp + 0x840]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
jne 0x140001db5
lea rcx, str.dbgshim.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
je 0x140001dfa
lea rdx, str.EnumerateCLRs
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CreateVersionStringFromModule
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CreateDebuggingInterfaceFromVersion
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CLRCreateInstance
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
jmp 0x140001dfd
mov rbx, r15
mov rax, qword [rsp + 0x60]
lea rsi, vtable.CMyICLRDebuggingLibraryProvider.0
test rax, rax
je 0x140001ed8
lea rdx, str.CLRCreateInstance
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r13, rax
test rax, rax
je 0x140001ed8
lea r8, [rsp + 0x78]
lea rdx, [0x140027e40]
lea rcx, [0x140027e50]
call r13
test eax, eax
jne 0x140001ed8
mov rcx, qword [rsp + 0x78]
lea r8, [rsp + 0x70]
mov rdx, qword [rdi + 0x238]
mov r9, qword [rcx]
call qword [r9 + 0x30]
test eax, eax
jne 0x140001ecd
mov rcx, qword [rsp + 0x70]
lea r9, [rsp + 0x50]
mov dword [rsp + 0x50], r15d
lea r8, [rsp + 0x60]
mov edx, 1
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp dword [rsp + 0x50], r15d
je 0x140001ec2
mov ecx, 0x20
call fcn.140005720
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x60]
mov qword [rax + 0x10], rcx
lea rcx, [rbp + 0x630]
mov qword [rax + 0x18], rcx
mov qword [rax], rsi
mov dword [rax + 8], 1
mov qword [rdi + 0x260], rax
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
call qword [rax + 0x10]
cmp qword [rdi + 0x260], r15
jne 0x140001f10
mov ecx, 0x20
call fcn.140005720
mov qword [rsp + 0x60], rax
lea rcx, [rbp + 0x630]
mov qword [rax], rsi
mov dword [rax + 8], 1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], rcx
mov qword [rdi + 0x260], rax
lea r14, [rdi + 0x240]
test r13, r13
je 0x140001f30
mov r8, r14
lea rdx, [0x140027e30]
lea rcx, [0x140027e60]
call r13
test rbx, rbx
je 0x140001f4c
lea r8, [rdi + 0x248]
lea rdx, [0x140027e30]
lea rcx, [0x140027e60]
call rbx
mov edx, dword [rdi + 0x230]
mov ecx, 0x18
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140001abd
xor edx, edx
lea rcx, [rbp - 0x6c]
mov r8d, 0x434
call fcn.140007130
lea rdx, [rbp - 0x70]
mov dword [rbp - 0x70], 0x438
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x1400020cc
mov ecx, 0x20
call fcn.140005720
mov qword [rsp + 0x60], rax
mov rbx, rax
mov rcx, qword [rdi + 0x238]
lea rax, vtable.CMyIcorDebugDataTarget.0
mov qword [rbx + 8], rcx
lea rcx, str.Kernel32.dll
mov qword [rbx], rax
mov dword [rbx + 0x10], 1
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.IsWow64Process
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x18], rax
lea r13, [0x14001f5f0]
mov qword [rdi + 0x268], rbx
mov ebx, dword [rsp + 0x58]
mov rcx, qword [r14]
test rcx, rcx
je 0x140002046
mov rax, qword [rcx]
lea rdx, [rsp + 0x58]
mov r9, qword [rdi + 0x260]
mov r8, qword [rdi + 0x268]
mov qword [rsp + 0x40], rdx
lea rdx, [rbp + 0x3d0]
mov qword [rsp + 0x38], rdx
lea rdx, [rbp + 0x3d0]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rdx
mov rdx, qword [rbp - 0x48]
call qword [rax + 0x18]
mov ebx, eax
test ebx, ebx
je 0x1400020b7
mov rcx, qword [rdi + 0x248]
test rcx, rcx
je 0x14000209c
mov rax, qword [rcx]
lea rdx, [rsp + 0x58]
mov r9, qword [rdi + 0x260]
mov r8, qword [rdi + 0x268]
mov qword [rsp + 0x40], rdx
lea rdx, [rbp + 0x3d0]
mov qword [rsp + 0x38], rdx
lea rdx, [rbp + 0x3d0]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rdx
mov rdx, qword [rbp - 0x48]
call qword [rax + 0x18]
mov ebx, eax
test ebx, ebx
je 0x1400020b7
lea rdx, [rbp - 0x70]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x140001ff8
jmp 0x1400020cc
mov rcx, qword [r12]
lea rdx, [0x14001f620]
mov r8, qword [rbp - 0x80]
mov r9, qword [rcx]
call qword [r9]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [r12], r15
setne r15b
mov eax, r15d
jmp 0x140001abf