Function at 0x1400b8bc0
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, 0x548
lea rbp, [rsp + 0x80]
mov rsi, rdx
test rcx, rcx
je 0x1400b8bf1
mov rsi, qword [rsi + 8]
test rsi, rsi
je 0x1400b8bf6
dec rsi
jmp 0x1400b8bf8
test rsi, rsi
jne 0x1400b8bec
xor esi, esi
movabs rbx, 0x8000000000000000
mov qword [rbp + 0x418], r8
mov qword [rbp + 0x420], r9
cmp qword [0x140101200], rbx
jne 0x1400b90e5
mov rax, qword [0x140457a18]
movzx eax, byte [rax]
mov ecx, 0x8c0
mov edx, 8
call fcn.140008a30
test rax, rax
je 0x1400b9109
mov qword [rbp + 0x448], 4
mov qword [rbp + 0x450], rax
mov qword [rbp + 0x458], 0
mov qword [rbp + 0x4a8], 0
mov qword [rbp + 0x4b0], 8
mov qword [rbp + 0x4b8], 0
mov ecx, 8
xor edx, edx
call sub.kernel32.dll_CreateToolhelp32Snapshot
cmp rax, 0xffffffffffffffff
je 0x1400b8ffc
mov rdi, rax
lea rbx, [rbp - 0x60]
mov r8d, 0x438
mov rcx, rbx
xor edx, edx
call sub.msvcrt.dll_memset
mov dword [rbp - 0x60], 0x438
mov rcx, rdi
mov rdx, rbx
call sub.kernel32.dll_Module32FirstW
cmp eax, 1
jne 0x1400b8fea
mov eax, 8
mov qword [rbp + 0x498], rax
xor eax, eax
mov qword [rbp + 0x4c0], rax
lea r12, [rbp + 0x470]
jmp 0x1400b8d55
mov rcx, qword [rbp + 0x4c0]
mov rax, rcx
shl rax, 6
movups xmm0, xmmword [rbp + 0x3d8]
movups xmm1, xmmword [rbp + 0x3e8]
movups xmm2, xmmword [rbp + 0x3f8]
movups xmm3, xmmword [rbp + 0x408]
mov rdx, qword [rbp + 0x498]
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 rax, rcx
mov qword [rbp + 0x4c0], rcx
mov qword [rbp + 0x4b8], rcx
nop dword [rax + rax]
mov rcx, rdi
lea rdx, [rbp - 0x60]
call sub.kernel32.dll_Module32NextW
cmp eax, 1
jne 0x1400b8fea
mov eax, 0x208
xor r8d, r8d
nop dword [rax]
cmp word [rbp + r8*2 + 0x1d0], 0
je 0x1400b8dd0
cmp word [rbp + r8*2 + 0x1d2], 0
je 0x1400b8dae
cmp word [rbp + r8*2 + 0x1d4], 0
je 0x1400b8db3
cmp word [rbp + r8*2 + 0x1d6], 0
je 0x1400b8db9
cmp word [rbp + r8*2 + 0x1d8], 0
je 0x1400b8dbf
add r8, 5
add rax, 0xfffffffffffffff6
jne 0x1400b8d60
mov r8d, 0x104
jmp 0x1400b8dd0
inc r8
jmp 0x1400b8dd0
add r8, 2
jmp 0x1400b8dd0
add r8, 3
jmp 0x1400b8dd0
add r8, 4
nop word cs:[rax + rax]
lea rcx, [rbp + 0x428]
lea rdx, [rbp + 0x1d0]
call fcn.140099070
mov r13, qword [rbp + 0x430]
mov r8, qword [rbp + 0x438]
mov rcx, r12
mov rdx, r13
call fcn.1400b89a0
cmp qword [rbp + 0x470], 0
je 0x1400b8eb0
mov rbx, qword [rbp + 0x478]
mov r14, qword [rbp + 0x480]
mov rax, qword [rbp + 0x488]
cmp rax, 0x40
jb 0x1400b8ea0
movzx ecx, word [r14]
cmp ecx, 0x5a4d
jne 0x1400b8ea0
mov r15d, dword [r14 + 0x3c]
mov rcx, rax
sub rcx, r15
jb 0x1400b8ea0
cmp rcx, 0x88
jb 0x1400b8ea0
cmp dword [r14 + r15], 0x4550
jne 0x1400b8ea0
movzx ecx, word [r14 + r15 + 0x18]
cmp ecx, 0x20b
jne 0x1400b8ea0
movzx r8d, word [r14 + r15 + 0x14]
cmp r8, 0x70
jb 0x1400b8ea0
lea rdx, [r15 + 0x88]
add r8, 0xffffffffffffff90
sub rax, rdx
cmp rax, r8
jb 0x1400b8ea0
add rdx, r14
mov r9d, dword [r14 + r15 + 0x84]
mov rcx, r12
call fcn.1400bf830
cmp qword [rbp + 0x470], 0
je 0x1400b8ed3
nop word [rax + rax]
mov rcx, r14
call sub.kernel32.dll_UnmapViewOfFile
mov rcx, rbx
call sub.kernel32.dll_CloseHandle
mov rdx, qword [rbp + 0x428]
test rdx, rdx
je 0x1400b8d40
mov r8d, 1
mov rcx, r13
call fcn.140008a40
jmp 0x1400b8d40
mov rax, qword [r14 + r15 + 0x30]
mov qword [rbp + 0x4a0], rax
mov rax, qword [rbp - 0x48]
mov qword [rbp + 0x460], rax
mov r15, qword [rbp + 0x428]
mov rax, qword [0x140457a18]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call fcn.140008a30
test rax, rax
je 0x1400b9118
mov edx, dword [rbp - 0x40]
mov rcx, qword [rbp + 0x4a0]
mov qword [rax], rcx
mov qword [rbp + 0x468], rax
mov qword [rax + 8], rdx
lea rax, [rbp + 0x438]
movups xmm0, xmmword [rax]
movaps xmmword [rbp + 0x470], xmm0
mov rcx, r14
call sub.kernel32.dll_UnmapViewOfFile
mov rcx, rbx
call sub.kernel32.dll_CloseHandle
movabs rax, 0x8000000000000000
cmp r15, rax
je 0x1400b8d40
mov rcx, qword [rbp + 0x460]
sub rcx, qword [rbp + 0x4a0]
mov qword [rbp + 0x3d8], r15
mov qword [rbp + 0x3e0], r13
movaps xmm0, xmmword [rbp + 0x470]
lea rax, [rbp + 0x3e8]
movups xmmword [rax], xmm0
mov qword [rbp + 0x3f8], 1
mov rax, qword [rbp + 0x468]
mov qword [rbp + 0x400], rax
mov qword [rbp + 0x408], 1
mov qword [rbp + 0x410], rcx
mov rax, qword [rbp + 0x4c0]
cmp rax, qword [rbp + 0x4a8]
jne 0x1400b8ce3
lea rcx, [rbp + 0x4a8]
call fcn.140078d60
mov rax, qword [rbp + 0x4b0]
mov qword [rbp + 0x498], rax
jmp 0x1400b8ce3
mov rcx, rdi
call sub.kernel32.dll_CloseHandle
movabs rbx, 0x8000000000000000
movups xmm0, xmmword [rbp + 0x4a8]
movaps xmmword [rbp - 0x60], xmm0
mov rax, qword [rbp + 0x4b8]
mov qword [rbp - 0x50], rax
movups xmm0, xmmword [rbp + 0x448]
movups xmmword [rbp - 0x48], xmm0
mov rax, qword [rbp + 0x458]
mov qword [rbp - 0x38], rax
mov rdi, qword [0x140101200]
cmp rdi, rbx
je 0x1400b90c4
mov rbx, qword [0x140101208]
mov r14, qword [0x140101210]
test r14, r14
je 0x1400b909e
lea r15, [rbx + 0x28]
jmp 0x1400b9069
add r15, 0x40
dec r14
je 0x1400b909e
mov rdx, qword [r15 - 0x28]
test rdx, rdx
je 0x1400b9081
mov rcx, qword [r15 - 0x20]
mov r8d, 1
call fcn.140008a40
mov rdx, qword [r15 - 8]
test rdx, rdx
je 0x1400b9060
mov rcx, qword [r15]
shl rdx, 4
mov r8d, 8
call fcn.140008a40
jmp 0x1400b9060
test rdi, rdi
je 0x1400b90b8
shl rdi, 6
mov r8d, 8
mov rcx, rbx
mov rdx, rdi
call fcn.140008a40
lea rcx, [0x140101218]
call fcn.140068380
movaps xmm0, xmmword [rbp - 0x60]
movaps xmm1, xmmword [rbp - 0x50]
movaps xmm2, xmmword [rbp - 0x40]
movups xmmword [0x140101220], xmm2
movups xmmword [0x140101210], xmm1
movups xmmword [0x140101200], xmm0
lea rdx, [rbp + 0x418]
mov rcx, rsi
call fcn.1400b91f0
nop
add rsp, 0x548
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov ecx, 8
mov edx, 0x8c0
call fcn.1400dc200
mov ecx, 8
mov edx, 0x10
call fcn.1400dc220
ud2