Function at 0x140043810
Capabilities:
Enumerate process modules

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x2d8
mov qword [rsp + 0x90], rdx
mov qword [rsp + 0x88], rcx
lea r15, [rsp + 0x60]
and dword [r15], 0
xor r12d, r12d
mov esi, 8
lea r13, [rsp + 0xd0]
xor r14d, r14d
xor ebp, ebp
mov edi, ebp
mov rbp, r14
mov r14, rbp
mov rcx, 0xffffffffffffffff
mov rdx, rsi
mov r8d, ebp
mov r9, r15
call sub.psapi.dll_EnumProcessModules
test eax, eax
je 0x140043c7c
mov ebp, dword [rsp + 0x60]
cmp ebp, edi
jbe 0x14004396d
mov rbx, rbp
mov edi, ebp
sub rbx, r14
jbe 0x140043856
mov rax, r12
sub rax, r14
cmp rax, rbx
jae 0x140043943
mov rdi, r14
add rdi, rbx
jae 0x1400438aa
xor ecx, ecx
jmp 0x14004393b
lea rax, [r12 + r12]
cmp rax, rdi
cmova rdi, rax
cmp rdi, 5
mov eax, 4
cmovb rdi, rax
xor edx, edx
mov rax, rdi
shr rax, 0x3c
sete al
test r12, r12
je 0x1400438f2
lea rcx, [r12*8]
mov qword [rsp + 0xd0], rsi
mov qword [rsp + 0xe0], rcx
mov ecx, 8
jmp 0x1400438f4
xor ecx, ecx
lea r8, [rdi*8]
mov dl, al
shl rdx, 3
mov qword [rsp + 0xd8], rcx
lea rcx, [rsp + 0x28]
mov r9, r13
call fcn.1400d27f5
cmp qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x30]
je 0x14004392b
mov rdi, qword [rsp + 0x38]
jmp 0x14004393b
mov r12, rdi
mov rsi, rcx
movabs rcx, 0x8000000000000001
mov rdx, rdi
call fcn.140007c3a
lea rax, [rsi + r14*8]
mov ecx, 1
cmp rcx, rbx
jae 0x140043961
and qword [rax], 0
inc rcx
add rax, 8
inc r14
jmp 0x14004394c
and qword [rax], 0
inc r14
jmp 0x140043851
lea rax, [rsi + r14*8]
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rax
shl r14, 3
lea rbp, [rsp + 0xd0]
lea r12, [rsp + 0xa0]
lea rdi, [rsp + 0x28]
lea r13, [rsp + 0xb8]
test r14, r14
je 0x140043c3e
lea rbx, [rsi + 8]
mov qword [rsp + 0x70], rbx
mov rsi, qword [rsi]
mov r8d, 0x208
mov rcx, rbp
xor edx, edx
call fcn.140100240
mov rcx, 0xffffffffffffffff
mov rdx, rsi
mov r8, rbp
mov r9d, 0x104
call sub.psapi.dll_GetModuleBaseNameW
test eax, eax
je 0x140043a2d
mov edx, eax
mov rcx, rbp
lea r8, str.Z:WorkspaceDevelopTools.cargo_registry_srcindex.crates.io_6f17d22bba15001fdinvoke_0.2.0_src_lib.rs
call fcn.140044e37
mov r8, rdx
mov rcx, rdi
mov rdx, rax
call fcn.1400936f0
mov rdx, qword [rsp + 0x28]
mov r8, qword [rsp + 0x38]
mov rcx, r13
call fcn.1400a82b0
mov rcx, r12
mov rdx, r13
call fcn.1400432bc
mov rcx, rdi
call fcn.140033090
jmp 0x140043a42
call fcn.140044daf
mov dword [rsp + 0xa8], eax
and qword [rsp + 0xa0], 0
mov r8d, 0x208
mov rcx, rbp
xor edx, edx
call fcn.140100240
mov rcx, 0xffffffffffffffff
mov rdx, rsi
mov r8, rbp
mov r9d, 0x104
call sub.psapi.dll_GetModuleFileNameExW
test eax, eax
je 0x140043abb
mov edx, eax
mov rcx, rbp
lea r8, str.Z:WorkspaceDevelopTools.cargo_registry_srcindex.crates.io_6f17d22bba15001fdinvoke_0.2.0_src_lib.rs
call fcn.140044e37
mov r8, rdx
mov rcx, rdi
mov rdx, rax
call fcn.1400936f0
mov rdx, qword [rsp + 0x28]
mov r8, qword [rsp + 0x38]
mov rcx, r13
call fcn.1400a82b0
lea rcx, [rsp + 0x48]
mov rdx, r13
call fcn.1400432bc
mov rcx, rdi
call fcn.140033090
mov rax, qword [rsp + 0x48]
jmp 0x140043acc
call fcn.140044daf
mov dword [rsp + 0x50], eax
and qword [rsp + 0x48], 0
xor eax, eax
cmp qword [rsp + 0xa0], 0
je 0x140043c20
test rax, rax
je 0x140043c20
mov qword [rsp + 0x98], rbx
mov qword [rsp + 0x80], rsi
lea rbx, [rsp + 0x48]
mov rcx, rdi
mov r15, rbp
mov rsi, rdi
mov rdx, r12
lea r8, str.Z:WorkspaceDevelopTools.cargo_registry_srcindex.crates.io_6f17d22bba15001fdinvoke_0.2.0_src_lib.rs
call fcn.140044e61
mov rdx, qword [rsp + 0x28]
mov r8, qword [rsp + 0x38]
mov rcx, r13
call fcn.140044eaa
mov rcx, rbp
mov r12, qword [rsp + 0x88]
mov rdx, r12
mov rdi, qword [rsp + 0x90]
mov r8, rdi
call fcn.140044eaa
mov rcx, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0xc8]
mov r8, qword [rsp + 0xd0]
mov r9, qword [rsp + 0xe0]
call fcn.1400c5bb4
mov ebp, eax
mov rcx, r15
call fcn.140033090
mov rcx, r13
call fcn.140033090
mov rcx, rsi
call fcn.140033090
test bpl, bpl
jne 0x140043c4c
mov rcx, rsi
mov rdx, rbx
lea r8, str.Z:WorkspaceDevelopTools.cargo_registry_srcindex.crates.io_6f17d22bba15001fdinvoke_0.2.0_src_lib.rs
call fcn.140044e61
mov rdx, qword [rsp + 0x28]
mov r8, qword [rsp + 0x38]
mov rcx, r13
call fcn.140044eaa
mov rcx, r15
mov rdx, r12
mov r8, rdi
call fcn.140044eaa
mov rcx, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0xc8]
mov r8, qword [rsp + 0xd0]
mov r9, qword [rsp + 0xe0]
call fcn.1400c5bb4
mov edi, eax
mov rbp, r15
mov rcx, r15
call fcn.140033090
mov rbx, r13
mov rcx, r13
call fcn.140033090
mov r15, rsi
mov rcx, rsi
call fcn.140033090
test dil, dil
jne 0x140043c56
lea r12, [rsp + 0xa0]
mov rdi, r15
mov r13, rbx
mov rbx, qword [rsp + 0x98]
jmp 0x140043c32
lea rcx, [rsp + 0x48]
call fcn.140044f13
mov rcx, r12
call fcn.140044f13
add r14, 0xfffffffffffffff8
mov rsi, rbx
jmp 0x1400439a6
lea rcx, [rsp + 0x60]
call fcn.140043423
xor eax, eax
jmp 0x140043c68
lea rcx, [rsp + 0x48]
call fcn.140044f13
lea rcx, [rsp + 0x60]
call fcn.140043423
mov rax, qword [rsp + 0x80]
add rsp, 0x2d8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.140044daf
mov ebx, eax
mov rcx, rsi
mov rdx, r12
call fcn.140042f42
lea r8, [rsp + 0xd0]
mov dword [r8], ebx
lea rax, str.Z:WorkspaceDevelopTools.cargo_registry_srcindex.crates.io_6f17d22bba15001fdinvoke_0.2.0_src_lib.rs
mov qword [rsp + 0x20], rax
lea rcx, str.called__Result::unwrap____on_an__Err__value
lea r9, [0x140123da0]
mov edx, 0x2b
call fcn.14010dff0
ud2