Function at 0x140133020
Capabilities:
Enumerate process modules
Get common file path
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
mov eax, 0x1078
call sym.___chkstk_ms
sub rsp, rax
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0xfe0], xmm6
mov qword [rbp + 0xee8], rdx
movzx eax, byte [rcx]
mov byte [rbp + 0xfde], al
mov byte [rbp + 0xfcf], al
mov qword [rbp + 0xb00], 0
lea rax, [rbp + 0xb08]
mov qword [rbp + 0xfc0], rax
mov qword [rbp + 0xb08], 2
mov qword [rbp + 0xb10], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0xfd0], rax
xor r13d, r13d
mov r15d, 0xffffffff
xor r12d, r12d
xor esi, esi
cmp r8, 0x201
jae 0x1401330e0
jmp 0x1401330cf
jae 0x14013319c
cmp r8, 0x201
jae 0x1401330e0
mov edi, 0x200
lea rbx, [rbp - 0x40]
mov r14, r8
jmp 0x140133132
sub r8, rsi
sub r12, rsi
cmp r12, r8
jae 0x14013310f
lea rcx, [rbp + 0xb00]
mov rdx, rsi
call sym.alloc::raw_vec::RawVec_T_A_::reserve::do_reserve_and_handle::h85bf19a68803f0e6
mov r13, qword [rbp + 0xb00]
mov rax, qword [rbp + 0xb08]
mov qword [rbp + 0xfd0], rax
cmp r13, r15
mov esi, 0xffffffff
cmovb rsi, r13
mov qword [rbp + 0xb10], rsi
mov r12, r13
mov rdi, rsi
mov rbx, qword [rbp + 0xfd0]
mov r14, rsi
xor ecx, ecx
call sub.kernel32.dll_SetLastError
mov ecx, r14d
mov rdx, rbx
call sub.kernel32.dll_GetCurrentDirectoryW
test eax, eax
jne 0x140133163
mov r15d, eax
call sub.kernel32.dll_GetLastError
mov ecx, eax
mov eax, r15d
mov r15d, 0xffffffff
test ecx, ecx
jne 0x14013320e
mov r8d, eax
cmp r14, r8
jne 0x1401330c0
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
jne 0x140134f7b
add r14, r14
cmp r14, r15
cmovae r14, r15
mov r8, r14
cmp r8, 0x201
jb 0x1401330cf
jmp 0x1401330e0
cmp rdi, r8
jb 0x140134fc5
lea rcx, [rbp + 0x6c0]
mov rdx, rbx
call sym.__std::ffi::os_str::OsString_as_std::os::windows::ffi::OsStringExt_::from_wide::hce5f74d7e8fb25f0
mov rdi, qword [rbp + 0x6c0]
mov rsi, qword [rbp + 0x6c8]
movups xmm0, xmmword [rbp + 0x6d0]
movaps xmmword [rbp + 0x490], xmm0
cmp qword [rbp + 0xb00], 0
je 0x1401331ef
mov r8, qword [rbp + 0xb08]
mov rcx, qword [0x14035b0d0]
xor edx, edx
call fcn.140137fbc
movabs rax, 0x8000000000000000
cmp rdi, rax
je 0x140133246
movaps xmm0, xmmword [rbp + 0x490]
movaps xmmword [rbp + 0xd40], xmm0
jmp 0x14013324e
call sub.kernel32.dll_GetLastError
mov esi, eax
shl rsi, 0x20
cmp qword [rbp + 0xb00], 0
je 0x140133238
mov r8, qword [rbp + 0xb08]
mov rcx, qword [0x14035b0d0]
xor edx, edx
call fcn.140137fbc
or rsi, 2
movabs rdi, 0x8000000000000000
mov rcx, rsi
call sym.core::ptr::drop_in_place_std::io::error::Error_::hbbf69de94c165ea1
movzx eax, byte [rbp + 0xfde]
mov byte [rbp + 0xe18], al
mov qword [rbp + 0xdf8], rdi
mov qword [rbp + 0xe00], rsi
movaps xmm0, xmmword [rbp + 0xd40]
movups xmmword [rbp + 0xe08], xmm0
mov rax, qword [rbp + 0xee8]
mov rcx, qword [rax + 0x20]
mov rax, qword [rax + 0x28]
lea rdx, str.stack_backtrace:_n
mov r8d, 0x11
call qword [rax + 0x18]
test al, al
jne 0x140134ee6
mov rax, qword [rbp + 0xee8]
mov qword [rbp + 0xd98], rax
mov qword [rbp + 0xdb0], 0
movzx ecx, byte [rbp + 0xfde]
mov byte [rbp + 0xdb8], cl
lea rax, [rbp + 0xdf8]
mov qword [rbp + 0xda0], rax
lea rax, sym.core::ptr::drop_in_place_std::sys_common::backtrace::_print_fmt::_u7b__u7b_closure_u7d__u7d__::h208c39ec9b57845f
mov qword [rbp + 0xda8], rax
mov byte [rbp + 0xfdf], 0
mov qword [rbp + 0xdd8], 0
mov byte [rbp + 0xfb7], 1
test cl, cl
setne byte [rbp + 0xfce]
lea rsi, [rbp - 0x40]
mov r8d, 0x4d0
mov rcx, rsi
xor edx, edx
call sub.msvcrt.dll_memset
mov rcx, rsi
call sub.kernel32.dll_RtlCaptureContext
mov rsi, qword [rbp + 0xb8]
mov qword [rbp + 0xf48], 0
lea rdx, [rbp + 0xf48]
mov rcx, rsi
xor r8d, r8d
call sub.kernel32.dll_RtlLookupFunctionEntry
test rax, rax
je 0x140134edd
xorps xmm6, xmm6
lea r15, [rbp + 0xe20]
lea rcx, str.library_std_src...._backtrace_src_symbolizegimli.rs
mov qword [rbp + 0xef0], rcx
xor ecx, ecx
mov qword [rbp + 0xe80], rcx
jmp 0x14013339d
lea rcx, str.internal_error:_entered_unreachable_code_a2_
lea r8, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call sym.core::panicking::panic::h8ea5606244902eff
jmp 0x140135002
lea rax, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, rdi
mov r8, rax
call sym.core::slice::index::slice_end_index_len_fail::h829dac2b01cd87d1
jmp 0x140135002