Function at 0x14003ff50
Capabilities:
Enumerate process modules
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x5f8
movaps xmmword [rsp + 0x5e0], xmm6
mov rbx, rdx
mov rsi, rcx
mov rax, qword [rcx]
cmp byte [rax], 0
jne 0x14003ff87
mov rcx, qword [rsi + 8]
cmp qword [rcx], 0x64
ja 0x140040527
mov byte [rsp + 0x45], 0
mov byte [rsp + 0x46], 0
mov rdi, qword [rsi + 0x10]
mov r14, qword [rsi + 0x18]
mov r15, qword [rsi + 0x20]
lea rcx, [rsp + 0x45]
mov qword [rsp + 0x140], rcx
mov qword [rsp + 0x148], rax
mov qword [rsp + 0x150], rdi
lea rax, [rsp + 0x46]
mov qword [rsp + 0x158], rax
mov qword [rsp + 0x160], r14
mov qword [rsp + 0x168], r15
mov qword [rsp + 0x170], rbx
mov rbp, qword [rbx + 8]
lea rax, [rsp + 0x140]
mov qword [rsp + 0x190], rax
lea rax, dbg.drop_in_place_mut_std::io::Write::write_fmt::Adapter_alloc::vec::Vec_u8__alloc::alloc::Global___
mov qword [rsp + 0x198], rax
cmp qword [0x140057108], 0
jne 0x140040509
mov rcx, qword [0x1400570e8]
test rcx, rcx
jne 0x140040034
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x1400405d2
mov rcx, rax
mov qword [0x1400570e8], rax
mov r8d, 0x3c0
xor edx, edx
call sub.KERNEL32.dll_HeapAlloc
test rax, rax
je 0x1400405d2
mov qword [rsp + 0x178], rax
movaps xmm0, xmmword [0x1400466d0]
movups xmmword [rsp + 0x180], xmm0
mov qword [rsp + 0x50], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov ecx, 8
xor edx, edx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp rax, 0xffffffffffffffff
je 0x1400404b2
mov r12, rax
mov qword [rsp + 0x110], rbp
mov qword [rsp + 0x118], rsi
mov qword [rsp + 0x120], rdi
mov qword [rsp + 0x128], r15
mov qword [rsp + 0x130], rbx
mov qword [rsp + 0x138], r14
lea rbp, [rsp + 0x1a0]
mov r8d, 0x438
mov rcx, rbp
xor edx, edx
call sub.msvcrt.dll_memset
mov dword [rsp + 0x1a0], 0x438
mov rcx, r12
mov rdx, rbp
call sub.KERNEL32.dll_Module32FirstW
cmp eax, 1
jne 0x14004047a
lea rdi, [rsp + 0x3d0]
lea r13, [rsp + 0x5d8]
lea rsi, [rsp + 0x88]
mov eax, 8
mov qword [rsp + 0x70], rax
xor eax, eax
mov qword [rsp + 0x78], rax
lea rbx, [rsp + 0xc0]
movaps xmm6, xmmword [0x1400466e0]
jmp 0x1400401a9
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x60]
mov rax, rdx
shl rax, 6
movups xmm0, xmmword [rsp + 0x80]
movups xmm1, xmmword [rsp + 0x90]
movups xmm2, xmmword [rsp + 0xa0]
movups xmm3, xmmword [rsp + 0xb0]
movups xmmword [rcx + rax + 0x30], xmm3
movups xmmword [rcx + rax + 0x20], xmm2
movups xmmword [rcx + rax + 0x10], xmm1
mov qword [rsp + 0x70], rcx
movups xmmword [rcx + rax], xmm0
inc rdx
mov rax, rdx
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x60], rdx
nop word cs:[rax + rax]
mov rcx, r12
lea rdx, [rsp + 0x1a0]
call sub.KERNEL32.dll_Module32NextW
cmp eax, 1
jne 0x14004047a
xor r8d, r8d
nop dword [rax]
cmp word [rsp + r8*2 + 0x3d0], 0
je 0x140040210
lea rax, [rsp + r8*2]
add rax, 0x3d0
cmp word [rax + 2], 0
je 0x1400401f7
cmp word [rax + 4], 0
je 0x1400401fc
cmp word [rax + 6], 0
je 0x140040202
cmp word [rax + 8], 0
je 0x140040208
add r8, 5
add rax, 0xa
cmp rax, r13
jne 0x1400401b0
mov r8d, 0x104
jmp 0x140040210
inc r8
jmp 0x140040210
add r8, 2
jmp 0x140040210
add r8, 3
jmp 0x140040210
add r8, 4
nop dword [rax]
mov rcx, rbx
mov rdx, rdi
call dbg.from_wide
mov rbp, qword [rsp + 0xc0]
mov r14, qword [rsp + 0xd0]
lea rcx, [rsp + 0x80]
mov rdx, rbp
mov r8, r14
call dbg.mmap
cmp qword [rsp + 0x80], 0
je 0x1400402f5
mov rax, qword [rsi + 0x10]
mov qword [rsp + 0xf0], rax
movups xmm0, xmmword [rsi]
movaps xmmword [rsp + 0xe0], xmm0
mov r15, qword [rsp + 0xe8]
cmp rax, 0x40
jb 0x1400402e0
test r15, r15
je 0x1400402e0
movzx ecx, word [r15]
cmp ecx, 0x5a4d
jne 0x1400402e0
mov r9d, dword [r15 + 0x3c]
mov rcx, rax
sub rcx, r9
mov r8, rbx
setb bl
mov rdx, rdi
mov rdi, rsi
lea rsi, [r15 + r9]
cmp rcx, 0x88
setb cl
or cl, bl
mov rbx, r8
mov ecx, 0
cmove rcx, rsi
mov rsi, rdi
mov rdi, rdx
jne 0x1400402e0
cmp dword [rcx], 0x4550
jne 0x1400402e0
movzx ebx, word [rcx + 0x18]
cmp ebx, 0x20b
mov rbx, r8
jne 0x1400402e0
movzx r8d, word [rcx + 0x14]
sub r8, 0x70
jae 0x14004031a
nop
mov rcx, r15
call sub.KERNEL32.dll_UnmapViewOfFile
mov rcx, qword [rsp + 0xe0]
call sub.KERNEL32.dll_CloseHandle
cmp qword [rsp + 0xc8], 0
je 0x140040190
mov rcx, qword [0x1400570e8]
xor edx, edx
mov r8, rbp
call fcn.140042ef4
jmp 0x140040190
add r9, 0x88
sub rax, r9
jb 0x1400402e0
cmp rax, r8
jb 0x1400402e0
mov eax, dword [rcx + 0x84]
shl rax, 3
cmp r8, rax
jb 0x1400402e0
mov rax, qword [rcx + 0x30]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x1b8]
mov qword [rsp + 0x108], rax
movups xmm0, xmmword [rsp + 0xc0]
movups xmm1, xmmword [rsp + 0xd0]
movaps xmmword [rsp + 0x90], xmm1
movaps xmmword [rsp + 0x80], xmm0
mov ecx, 0x10
call sym.__rust_alloc
test rax, rax
je 0x1400405e3
mov edx, dword [rsp + 0x1c0]
mov rcx, qword [rsp + 0x68]
mov qword [rax], rcx
mov qword [rsp + 0x100], rax
mov qword [rax + 8], rdx
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xf8], rax
movzx eax, byte [rsp + 0xd8]
mov byte [rsp + 0x47], al
lea rcx, [rsp + 0xd9]
mov eax, dword [rcx]
mov ecx, dword [rcx + 3]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x4b], ecx
mov rcx, r15
call sub.KERNEL32.dll_UnmapViewOfFile
mov rcx, qword [rsp + 0xe0]
call sub.KERNEL32.dll_CloseHandle
movzx eax, byte [rsp + 0x47]
cmp al, 2
je 0x140040190
mov rdx, qword [rsp + 0x108]
sub rdx, qword [rsp + 0x68]
mov qword [rsp + 0x80], rbp
mov rcx, qword [rsp + 0xf8]
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x90], r14
mov byte [rsp + 0x98], al
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x4b]
mov dword [rsi + 0x14], ecx
mov dword [rsi + 0x11], eax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0xa0], rax
movups xmmword [rsp + 0xa8], xmm6
mov qword [rsp + 0xb8], rdx
mov rdx, qword [rsp + 0x78]
cmp rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x70]
jne 0x140040136
lea rcx, [rsp + 0x50]
call dbg.reserve_for_push<std::backtrace_rs::symbolize::gimli::Library, alloc::alloc::Global>
jmp 0x14004012c
mov rcx, r12
call sub.KERNEL32.dll_CloseHandle
mov r14, qword [rsp + 0x138]
mov rbx, qword [rsp + 0x130]
mov r15, qword [rsp + 0x128]
mov rdi, qword [rsp + 0x120]
mov rsi, qword [rsp + 0x118]
mov rbp, qword [rsp + 0x110]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x1b0], rax
movups xmm0, xmmword [rsp + 0x50]
movups xmm1, xmmword [rsp + 0x178]
movups xmmword [rsp + 0x1b8], xmm1
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0x1c8], rax
movups xmmword [0x140057108], xmm0
movaps xmm0, xmmword [rsp + 0x1b0]
movups xmmword [0x140057118], xmm0
movaps xmm0, xmmword [rsp + 0x1c0]
movups xmmword [0x140057128], xmm0
xor ecx, ecx
sub rbp, 1
cmovae rcx, rbp
lea rdx, [rsp + 0x190]
call dbg.{closure#1}
cmp byte [rsp + 0x46], 0
je 0x14004052e
xor ecx, ecx
jmp 0x1400405b4
cmp byte [rsp + 0x45], 0
jne 0x1400405a6
cmp byte [rdi], 0
je 0x1400405a6
mov qword [rsp + 0x140], r15
mov qword [rsp + 0x148], 0
mov rdx, qword [rbx + 8]
mov qword [rsp + 0x1b0], 3
mov qword [rsp + 0x80], 2
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x140]
lea r8, [rsp + 0x1a0]
lea r9, [rsp + 0x80]
call dbg.print_raw_with_column
mov byte [r14], al
mov rax, qword [rsp + 0x140]
inc qword [rax + 8]
mov rax, qword [rsi + 8]
inc qword [rax]
cmp byte [r14], 0
sete cl
mov eax, ecx
movaps xmm6, xmmword [rsp + 0x5e0]
add rsp, 0x5f8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 0x3c0
mov edx, 8
call dbg.handle_alloc_error
ud2
mov ecx, 0x10
mov edx, 8
call dbg.handle_alloc_error
ud2