Function at 0x1400b2110
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, 0x558
mov rsi, r8
mov rax, qword [rcx + 8]
cmp qword [0x1401691c0], 0
jne 0x1400b2718
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0x100], rdx
mov rax, qword [0x14014afc8]
movzx eax, byte [rax]
mov ecx, 0x3c0
mov edx, 8
call fcn.140002850
test rax, rax
je 0x1400b2746
mov qword [rsp + 0xf0], rsi
mov qword [rsp + 0x108], rax
mov qword [rsp + 0x110], 4
mov qword [rsp + 0x118], 0
mov qword [rsp + 0x38], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov ecx, 8
xor edx, edx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp rax, 0xffffffffffffffff
je 0x1400b2594
mov rbx, rax
lea rsi, [rsp + 0x120]
mov r8d, 0x438
mov rcx, rsi
xor edx, edx
call sub.msvcrt.dll_memset
mov dword [rsp + 0x120], 0x438
mov rcx, rbx
mov rdx, rsi
call sub.KERNEL32.dll_Module32FirstW
cmp eax, 1
jne 0x1400b258c
lea r12, [rsp + 0x558]
mov eax, 8
mov qword [rsp + 0x90], rax
xor eax, eax
mov qword [rsp + 0x98], rax
jmp 0x1400b2289
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x48]
mov rax, rdx
shl rax, 6
movups xmm0, xmmword [rsp + 0x50]
movups xmm1, xmmword [rsp + 0x60]
movups xmm2, xmmword [rsp + 0x70]
movups xmm3, xmmword [rsp + 0x80]
movups xmmword [rcx + rax + 0x30], xmm3
movups xmmword [rcx + rax + 0x20], xmm2
movups xmmword [rcx + rax + 0x10], xmm1
mov qword [rsp + 0x90], rcx
movups xmmword [rcx + rax], xmm0
inc rdx
mov rax, rdx
mov qword [rsp + 0x98], rdx
mov qword [rsp + 0x48], rdx
nop word [rax + rax]
mov rcx, rbx
lea rdx, [rsp + 0x120]
call sub.KERNEL32.dll_Module32NextW
cmp eax, 1
jne 0x1400b258c
xor r8d, r8d
nop dword [rax]
cmp word [rsp + r8*2 + 0x350], 0
je 0x1400b22f0
lea rax, [rsp + r8*2]
add rax, 0x350
cmp word [rax + 2], 0
je 0x1400b22d7
cmp word [rax + 4], 0
je 0x1400b22dc
cmp word [rax + 6], 0
je 0x1400b22e2
cmp word [rax + 8], 0
je 0x1400b22e8
add r8, 5
add rax, 0xa
cmp rax, r12
jne 0x1400b2290
mov r8d, 0x104
jmp 0x1400b22f0
inc r8
jmp 0x1400b22f0
add r8, 2
jmp 0x1400b22f0
add r8, 3
jmp 0x1400b22f0
add r8, 4
nop dword [rax]
lea rcx, [rsp + 0xc8]
lea rdx, [rsp + 0x350]
call fcn.14008e810
mov rbp, qword [rsp + 0xc8]
mov r14, qword [rsp + 0xd8]
lea rcx, [rsp + 0xa0]
mov rdx, rbp
mov r8, r14
call fcn.1400b1eb0
cmp qword [rsp + 0xa0], 0
je 0x1400b2430
mov rsi, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0xb0]
mov r15, qword [rsp + 0xb8]
mov r9d, 0x40
mov rcx, rdi
mov rdx, r15
xor r8d, r8d
call fcn.1400bbc60
test rax, rax
je 0x1400b2420
cmp rdx, 0x40
jb 0x1400b2420
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x1400b2420
mov r13d, dword [rax + 0x3c]
mov r9d, 0x88
mov rcx, rdi
mov rdx, r15
mov r8, r13
call fcn.1400bbc60
test rax, rax
je 0x1400b2420
cmp rdx, 0x88
jb 0x1400b2420
cmp dword [rax], 0x4550
jne 0x1400b2420
movzx ecx, word [rax + 0x18]
cmp ecx, 0x20b
jne 0x1400b2420
movzx r9d, word [rax + 0x14]
cmp r9, 0x70
jb 0x1400b2420
add r13, 0x88
add r9, 0xffffffffffffff90
mov qword [rsp + 0x28], rax
mov rcx, rdi
mov rdx, r15
mov r8, r13
call fcn.1400bbc60
mov rcx, qword [rsp + 0x28]
test rax, rax
je 0x1400b2420
mov r8, rdx
mov r9d, dword [rcx + 0x84]
lea rcx, [rsp + 0xa0]
mov rdx, rax
call fcn.1400bca80
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0xa0], 0
je 0x1400b2454
nop dword [rax]
mov rcx, rdi
call sub.KERNEL32.dll_UnmapViewOfFile
mov rcx, rsi
call sub.KERNEL32.dll_CloseHandle
mov rdx, qword [rsp + 0xd0]
test rdx, rdx
je 0x1400b2270
mov r8d, 1
mov rcx, rbp
call fcn.140002860
jmp 0x1400b2270
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x28], rax
mov r13, qword [rsp + 0x138]
movups xmm0, xmmword [rsp + 0xc8]
movups xmm1, xmmword [rsp + 0xd8]
movaps xmmword [rsp + 0xb0], xmm1
movaps xmmword [rsp + 0xa0], xmm0
mov rax, qword [0x14014afc8]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call fcn.140002850
test rax, rax
je 0x1400b2757
mov r15, rax
mov eax, dword [rsp + 0x140]
mov rcx, qword [rsp + 0x28]
mov qword [r15], rcx
mov qword [r15 + 8], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xe8], rax
movzx eax, byte [rsp + 0xe0]
mov byte [rsp + 0x27], al
lea rcx, [rsp + 0xe1]
mov eax, dword [rcx]
mov ecx, dword [rcx + 3]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x33], ecx
mov rcx, rdi
call sub.KERNEL32.dll_UnmapViewOfFile
mov rcx, rsi
call sub.KERNEL32.dll_CloseHandle
movzx eax, byte [rsp + 0x27]
cmp al, 2
je 0x1400b2270
sub r13, qword [rsp + 0x28]
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], 1
mov qword [rsp + 0x68], 1
mov qword [rsp + 0x70], rbp
mov rcx, qword [rsp + 0xe8]
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x80], r14
mov byte [rsp + 0x88], al
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x33]
lea rdx, [rsp + 0x89]
mov dword [rdx + 3], ecx
mov dword [rdx], eax
mov rdx, qword [rsp + 0x98]
cmp rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x90]
jne 0x1400b221e
lea rcx, [rsp + 0x38]
call fcn.14006cca0
jmp 0x1400b2214
mov rcx, rbx
call sub.KERNEL32.dll_CloseHandle
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x130], rax
movups xmm0, xmmword [rsp + 0x38]
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x148], rax
movups xmm1, xmmword [rsp + 0x108]
movups xmmword [rsp + 0x138], xmm1
movaps xmmword [rsp + 0x50], xmm0
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x78], rax
mov rsi, qword [0x1401691c0]
test rsi, rsi
je 0x1400b26dc
mov rdi, qword [0x1401691d0]
test rdi, rdi
je 0x1400b266e
lea rbx, [rsi + 0x28]
jmp 0x1400b2639
add rbx, 0x40
dec rdi
je 0x1400b266e
mov rdx, qword [rbx]
test rdx, rdx
je 0x1400b2650
mov rcx, qword [rbx - 8]
mov r8d, 1
call fcn.140002860
mov rdx, qword [rbx - 0x18]
test rdx, rdx
je 0x1400b2630
mov rcx, qword [rbx - 0x20]
shl rdx, 4
mov r8d, 8
call fcn.140002860
jmp 0x1400b2630
mov rdx, qword [0x1401691c8]
test rdx, rdx
je 0x1400b268c
shl rdx, 6
mov r8d, 8
mov rcx, rsi
call fcn.140002860
mov rsi, qword [0x1401691d8]
mov r14, qword [0x1401691e8]
inc r14
mov rdi, rsi
cmp r14, 1
je 0x1400b26bb
lea rcx, [rdi + 8]
add rdi, 0xf0
dec r14
call fcn.140063a70
jmp 0x1400b26a0
mov rax, qword [0x1401691e0]
test rax, rax
je 0x1400b26dc
imul rdx, rax, 0xf0
mov r8d, 8
mov rcx, rsi
call fcn.140002860
movaps xmm0, xmmword [rsp + 0x50]
movaps xmm1, xmmword [rsp + 0x60]
movaps xmm2, xmmword [rsp + 0x70]
movups xmmword [0x1401691e0], xmm2
movups xmmword [0x1401691d0], xmm1
movups xmmword [0x1401691c0], xmm0
mov rsi, qword [rsp + 0xf0]
mov rdx, qword [rsp + 0x100]
mov rax, qword [rsp + 0xf8]
xor ecx, ecx
sub rax, 1
cmovae rcx, rax
lea r9, [0x1401691c0]
mov r8, rsi
call fcn.1400b2850
nop
add rsp, 0x558
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 8
mov edx, 0x3c0
call fcn.1400e7c30
ud2
mov ecx, 8
mov edx, 0x10
call fcn.1400e7c30
ud2