Function at 0x14012cac0
Capabilities:
Enumerate process modules
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
sub rsp, 0x568
lea rbp, [rsp + 0x80]
mov r10, rdx
test cl, 1
je 0x14012caf1
mov r10, qword [r10 + 8]
test r10, r10
je 0x14012caf6
dec r10
jmp 0x14012caf9
test r10, r10
jne 0x14012caec
xor r10d, r10d
mov qword [rbp + 0x420], r8
mov qword [rbp + 0x428], r9
xor eax, eax
cmp rax, qword [0x1401775c8]
jno 0x14012d04c
mov qword [rbp + 0x468], r10
mov rax, qword [0x1401b5f98]
movzx eax, byte [rax]
mov ecx, 0x8c0
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x14012d070
movabs rbx, 0x8000000000000000
mov qword [rbp + 0x450], 4
mov qword [rbp + 0x458], rax
mov qword [rbp + 0x460], 0
mov qword [rbp + 0x4b8], 0
mov qword [rbp + 0x4c0], 8
mov qword [rbp + 0x4c8], 0
mov ecx, 8
xor edx, edx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp rax, 0xffffffffffffffff
je 0x14012cf62
mov r12, rax
lea rbx, [rbp - 0x60]
mov r8d, 0x438
mov rcx, rbx
xor edx, edx
call fcn.1401745c0
mov dword [rbp - 0x60], 0x438
mov rcx, r12
mov rdx, rbx
call sub.KERNEL32.dll_Module32FirstW
cmp eax, 1
jne 0x14012cf50
lea r14, [rbp + 0x1d0]
mov eax, 8
mov qword [rbp + 0x4a8], rax
mov qword [rbp + 0x4d8], 0
lea rsi, [rbp + 0x430]
lea r15, [rbp + 0x480]
jmp 0x14012cc24
mov r14, rsi
mov rsi, rdi
nop word cs:[rax + rax]
mov rcx, r12
mov rdx, rbx
call sub.KERNEL32.dll_Module32NextW
cmp eax, 1
jne 0x14012cf50
mov eax, 0x208
xor r8d, r8d
nop dword [rax]
cmp word [rbp + r8*2 + 0x1d0], 0
je 0x14012cca0
cmp word [rbp + r8*2 + 0x1d2], 0
je 0x14012cc7e
cmp word [rbp + r8*2 + 0x1d4], 0
je 0x14012cc83
cmp word [rbp + r8*2 + 0x1d6], 0
je 0x14012cc89
cmp word [rbp + r8*2 + 0x1d8], 0
je 0x14012cc8f
add r8, 5
add rax, 0xfffffffffffffff6
jne 0x14012cc30
mov r8d, 0x104
jmp 0x14012cca0
inc r8
jmp 0x14012cca0
add r8, 2
jmp 0x14012cca0
add r8, 3
jmp 0x14012cca0
add r8, 4
nop word cs:[rax + rax]
mov rcx, rsi
mov rdx, r14
call sym.__std::ffi::os_str::OsString_as_std::os::windows::ffi::OsStringExt_::from_wide::h9bfb2951764e4dac
mov r13, qword [rbp + 0x438]
mov r8, qword [rbp + 0x440]
mov rcx, r15
mov rdx, r13
call sym.std::backtrace_rs::symbolize::gimli::mmap::h11b94fe854398242
test byte [rbp + 0x480], 1
je 0x14012cdaa
mov rdi, rsi
mov rsi, r14
mov rax, qword [rbp + 0x488]
mov qword [rbp + 0x4d0], rax
mov r14, qword [rbp + 0x490]
mov rax, qword [rbp + 0x498]
cmp rax, 0x40
jb 0x14012cd90
cmp word [r14], 0x5a4d
jne 0x14012cd90
mov r9d, dword [r14 + 0x3c]
mov rcx, rax
sub rcx, r9
setb dl
cmp rcx, 0x88
setb cl
or cl, dl
jne 0x14012cd90
cmp dword [r14 + r9], 0x4550
jne 0x14012cd90
cmp word [r14 + r9 + 0x18], 0x20b
jne 0x14012cd90
movzx r8d, word [r14 + r9 + 0x14]
cmp r8, 0x70
jb 0x14012cd90
lea rdx, [r9 + 0x88]
add r8, 0xffffffffffffff90
sub rax, rdx
cmp rax, r8
jb 0x14012cd90
add rdx, r14
mov qword [rbp + 0x4e0], r9
mov r9d, dword [r14 + r9 + 0x84]
mov rcx, r15
call sym.object::read::pe::data_directory::DataDirectories::parse::hbd1c529bbd23de45
cmp dword [rbp + 0x480], 1
mov rax, qword [rbp + 0x4e0]
jne 0x14012cdcd
nop word cs:[rax + rax]
mov rcx, r14
call sub.KERNEL32.dll_UnmapViewOfFile
mov rcx, qword [rbp + 0x4d0]
call sub.KERNEL32.dll_CloseHandle
mov r14, rsi
mov rsi, rdi
mov rdx, qword [rbp + 0x430]
test rdx, rdx
je 0x14012cc10
mov r8d, 1
mov rcx, r13
call sym.__rust_dealloc
jmp 0x14012cc10
mov rax, qword [r14 + rax + 0x30]
mov qword [rbp + 0x4e0], rax
mov rax, qword [rbp - 0x48]
mov qword [rbp + 0x470], rax
mov rax, qword [rbp + 0x430]
mov qword [rbp + 0x4b0], rax
mov rax, qword [0x1401b5f98]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x14012d07f
mov edx, dword [rbp - 0x40]
mov rcx, qword [rbp + 0x4e0]
mov qword [rax], rcx
mov qword [rbp + 0x478], rax
mov qword [rax + 8], rdx
lea rax, [rbp + 0x440]
movups xmm0, xmmword [rax]
movaps xmmword [rbp + 0x480], xmm0
mov rcx, r14
call sub.KERNEL32.dll_UnmapViewOfFile
mov rcx, qword [rbp + 0x4d0]
call sub.KERNEL32.dll_CloseHandle
movabs rax, 0x8000000000000000
mov rcx, qword [rbp + 0x4b0]
cmp rcx, rax
je 0x14012cbfd
mov rax, rcx
mov rcx, qword [rbp + 0x470]
sub rcx, qword [rbp + 0x4e0]
mov qword [rbp + 0x3e0], rax
mov qword [rbp + 0x3e8], r13
movaps xmm0, xmmword [rbp + 0x480]
lea rax, [rbp + 0x3f0]
movups xmmword [rax], xmm0
mov qword [rbp + 0x400], 1
mov rax, qword [rbp + 0x478]
mov qword [rbp + 0x408], rax
mov qword [rbp + 0x410], 1
mov qword [rbp + 0x418], rcx
mov rax, qword [rbp + 0x4d8]
cmp rax, qword [rbp + 0x4b8]
mov r14, rsi
mov rsi, rdi
jne 0x14012cef6
lea rcx, [rbp + 0x4b8]
call sym.alloc::raw_vec::RawVec_T_A_::grow_one::h8f284d404423c409
mov rax, qword [rbp + 0x4c0]
mov qword [rbp + 0x4a8], rax
mov rcx, qword [rbp + 0x4d8]
mov rax, rcx
shl rax, 6
movups xmm0, xmmword [rbp + 0x3e0]
movups xmm1, xmmword [rbp + 0x3f0]
movups xmm2, xmmword [rbp + 0x400]
movups xmm3, xmmword [rbp + 0x410]
mov rdx, qword [rbp + 0x4a8]
movups xmmword [rdx + rax + 0x30], xmm3
movups xmmword [rdx + rax + 0x20], xmm2
movups xmmword [rdx + rax + 0x10], xmm1
movups xmmword [rdx + rax], xmm0
inc rcx
mov qword [rbp + 0x4d8], rcx
mov qword [rbp + 0x4c8], rcx
jmp 0x14012cc10
mov rcx, r12
call sub.KERNEL32.dll_CloseHandle
movabs rbx, 0x8000000000000000
movups xmm0, xmmword [rbp + 0x4b8]
movaps xmmword [rbp - 0x60], xmm0
mov rax, qword [rbp + 0x4c8]
mov qword [rbp - 0x50], rax
movups xmm0, xmmword [rbp + 0x450]
movups xmmword [rbp - 0x48], xmm0
mov rax, qword [rbp + 0x460]
mov qword [rbp - 0x38], rax
mov rdi, qword [0x1401775c8]
cmp rdi, rbx
je 0x14012d024
mov rbx, qword [0x1401775d0]
mov r14, qword [0x1401775d8]
test r14, r14
je 0x14012cffe
lea r15, [rbx + 0x28]
jmp 0x14012cfc9
add r15, 0x40
dec r14
je 0x14012cffe
mov rdx, qword [r15 - 0x28]
test rdx, rdx
je 0x14012cfe1
mov rcx, qword [r15 - 0x20]
mov r8d, 1
call sym.__rust_dealloc
mov rdx, qword [r15 - 8]
test rdx, rdx
je 0x14012cfc0
mov rcx, qword [r15]
shl rdx, 4
mov r8d, 8
call sym.__rust_dealloc
jmp 0x14012cfc0
test rdi, rdi
je 0x14012d018
shl rdi, 6
mov r8d, 8
mov rcx, rbx
mov rdx, rdi
call sym.__rust_dealloc
lea rcx, [0x1401775e0]
call sym._ZN4core3ptr104drop_in_place_LT_alloc..vec..Vec_LT__LP_usize_C_std..backtrace_rs..symbolize..gimli..Mapping_RP__GT__GT_17h0e00
movaps xmm0, xmmword [rbp - 0x60]
movaps xmm1, xmmword [rbp - 0x50]
movaps xmm2, xmmword [rbp - 0x40]
movups xmmword [0x1401775e8], xmm2
movups xmmword [0x1401775d8], xmm1
movups xmmword [0x1401775c8], xmm0
mov r10, qword [rbp + 0x468]
lea rdx, [rbp + 0x420]
mov rcx, r10
call sym.std::backtrace_rs::symbolize::gimli::resolve::__u7b__u7b_closure_u7d__u7d_::hc490f9921302708b
nop
add rsp, 0x568
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov ecx, 8
mov edx, 0x8c0
call sym.alloc::raw_vec::handle_error::h58eb608642f609a7
mov rdi, qword [rbp + 0x4b0]
mov ecx, 8
mov edx, 0x10
call sym.alloc::alloc::handle_alloc_error::h5b2832badfdb0979
ud2