Function at 0x14000b966
Capabilities:
Enumerate process modules

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x2e8
mov qword [rsp + 0x80], rdx
lea rsi, [rsp + 0xe0]
and qword [rsi], 0
mov qword [rsi + 8], 8
and qword [rsi + 0x10], 0
lea rdi, [rsp + 0x48]
and dword [rdi], 0
mov qword [rsp + 0x40], rcx
xor eax, eax
mov r12d, 8
xor r15d, r15d
mov ebp, r15d
mov r15, qword [rsp + 0xf0]
mov rbx, rax
mov r13, r15
mov rcx, 0xffffffffffffffff
mov rdx, r12
mov r8d, ebx
mov r9, rdi
call sub.psapi.dll_EnumProcessModules
test eax, eax
je 0x14000be37
mov r15d, dword [rsp + 0x48]
cmp r15d, ebp
jbe 0x14000ba80
mov r14, r15
mov rax, r15
mov ebp, r15d
sub r14, rbx
jbe 0x14000b9bd
mov qword [rsp + 0xf0], r13
mov rax, qword [rsp + 0xe0]
sub rax, rbx
cmp rax, r14
jb 0x14000ba51
lea rax, [r12 + rbx*8]
mov ecx, 1
cmp rcx, r14
jae 0x14000ba32
and qword [rax], 0
inc rcx
add rax, 8
inc rbx
jmp 0x14000ba1d
and qword [rax], 0
inc rbx
mov qword [rsp + 0xf0], rbx
mov r12, qword [rsp + 0xe8]
mov rax, rbx
jmp 0x14000b9b2
mov qword [rsp + 0x20], 8
mov r9d, 8
mov rcx, rsi
mov rdx, rbx
mov r8, r14
call fcn.140024bf5
mov r12, qword [rsp + 0xe8]
mov rbx, qword [rsp + 0xf0]
jmp 0x14000ba14
mov rax, qword [rsp + 0xe0]
mov rcx, rax
neg rcx
jo 0x14000be5c
lea rcx, [r12 + rbx*8]
mov qword [rsp + 0xa8], r12
mov qword [rsp + 0xb0], r12
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xc0], rcx
shl rbx, 3
lea rsi, [rsp + 0xe0]
movabs rbp, 0xffffffff00000000
lea r14, [rsp + 0x48]
mov r15, qword [rsp + 0x40]
test rbx, rbx
je 0x14000bdf0
lea rax, [r12 + 8]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0xb0], rax
mov r13, qword [r12]
mov r8d, 0x208
mov rcx, rsi
xor edx, edx
call fcn.140022fd0
mov rcx, 0xffffffffffffffff
mov rdx, r13
mov r8, rsi
mov r9d, 0x104
call sub.psapi.dll_GetModuleBaseNameW
test eax, eax
je 0x14000bb97
mov edx, eax
mov rcx, rsi
lea r8, str.C:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001fdinvoke_0.2.0_src_lib.rs
call fcn.14000d242
mov r8, rdx
mov rcx, r14
mov rdx, rax
call fcn.1400182c0
mov rdi, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
lea r12, [rsp + 0xc8]
mov rcx, r12
mov rdx, rdi
call fcn.14001b370
lea rcx, [rsp + 0x68]
mov rdx, r12
call fcn.14000b516
mov r12, qword [rsp + 0x68]
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xa0], rax
mov rcx, qword [rsp + 0x48]
mov rdx, rdi
call fcn.1400069eb
jmp 0x14000bbb8
call fcn.14000d1a9
mov eax, eax
mov rcx, qword [rsp + 0x38]
and rcx, rbp
or rcx, rax
mov qword [rsp + 0x38], rcx
movabs r12, 0x8000000000000000
mov r8d, 0x208
mov rcx, rsi
xor edx, edx
call fcn.140022fd0
mov rcx, 0xffffffffffffffff
mov rdx, r13
mov r8, rsi
mov r9d, 0x104
call sub.psapi.dll_GetModuleFileNameExW
test eax, eax
je 0x14000bc85
mov qword [rsp + 0x90], r13
mov edx, eax
mov rcx, rsi
lea r8, str.C:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001fdinvoke_0.2.0_src_lib.rs
call fcn.14000d242
mov r8, rdx
mov rcx, r14
mov rdx, rax
call fcn.1400182c0
mov r13, r14
mov r14, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
lea rdi, [rsp + 0xc8]
mov rcx, rdi
mov rdx, r14
call fcn.14001b370
lea rcx, [rsp + 0x68]
mov rdx, rdi
call fcn.14000b516
mov rdi, qword [rsp + 0x68]
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x48]
mov rdx, r14
call fcn.1400069eb
mov rax, r12
neg rax
seto al
mov rcx, rdi
neg rcx
seto cl
or cl, al
je 0x14000bcc0
mov r14, r13
mov rdx, qword [rsp + 0x30]
jmp 0x14000bca1
call fcn.14000d1a9
mov eax, eax
mov rdx, qword [rsp + 0x30]
and rdx, rbp
or rdx, rax
movabs rdi, 0x8000000000000000
mov rcx, rdi
mov qword [rsp + 0x30], rdx
call fcn.14000d2c6
mov rcx, r12
mov rdx, qword [rsp + 0x38]
call fcn.14000d2c6
jmp 0x14000bde2
mov rbp, r13
mov rcx, r13
mov qword [rsp + 0x88], r12
mov rdx, qword [rsp + 0x38]
mov r8, qword [rsp + 0xa0]
call fcn.14000d26b
mov rcx, rsi
mov rdx, r15
mov r12, qword [rsp + 0x80]
mov r8, r12
call fcn.14000d26b
mov r14, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
mov r13, qword [rsp + 0xe8]
mov r9, qword [rsp + 0xf0]
mov rcx, r14
mov r8, r13
call fcn.14000b451
mov byte [rsp + 0x2f], al
mov rcx, qword [rsp + 0xe0]
mov rdx, r13
call fcn.1400069eb
mov rcx, qword [rsp + 0x48]
mov rdx, r14
call fcn.1400069eb
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x38]
call fcn.1400069eb
cmp byte [rsp + 0x2f], 0
jne 0x14000be01
mov rcx, rbp
mov r13, qword [rsp + 0x30]
mov rdx, r13
mov r8, qword [rsp + 0x98]
call fcn.14000d26b
mov rcx, rsi
mov rdx, r15
mov r8, r12
call fcn.14000d26b
mov r14, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
mov r12, qword [rsp + 0xe8]
mov r9, qword [rsp + 0xf0]
mov rcx, r14
mov r8, r12
call fcn.14000b451
mov ebp, eax
mov rcx, qword [rsp + 0xe0]
mov rdx, r12
call fcn.1400069eb
mov rcx, qword [rsp + 0x48]
mov rdx, r14
call fcn.1400069eb
mov rcx, rdi
mov rdx, r13
call fcn.1400069eb
test bpl, bpl
movabs rbp, 0xffffffff00000000
lea r14, [rsp + 0x48]
jne 0x14000be0e
add rbx, 0xfffffffffffffff8
mov r12, qword [rsp + 0x40]
jmp 0x14000bad8
lea rcx, [rsp + 0xa8]
call fcn.14000b637
xor eax, eax
jmp 0x14000be23
mov rcx, rdi
mov rdx, qword [rsp + 0x30]
call fcn.14000d2c6
lea rcx, [rsp + 0xa8]
call fcn.14000b637
mov rax, qword [rsp + 0x90]
add rsp, 0x2e8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0xf0], r13
call fcn.14000d1a9
mov r12d, eax
mov rcx, qword [rsp + 0xe0]
mov rdx, qword [rsp + 0xe8]
call fcn.14000af68
lea r8, [rsp + 0xe0]
mov dword [r8], r12d
lea rax, str.C:Usersuser.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, [0x140029d00]
mov edx, 0x2b
call fcn.140023940
int3