Function at 0x662096e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
push rbp
push rbx
push rdi
push r12
push r13
lea rbp, [rsp - 0x2f]
sub rsp, 0xb0
mov rbx, rcx
movzx ecx, word [rdx + 0x14]
mov rdi, rdx
mov r12, r9
mov r13, r8
mov edx, 0x10b
cmp cx, 2
jb 0x6620971e
cmp word [rdi + 0x18], dx
jne 0x6620971e
mov eax, dword [rdi + 0x74]
jmp 0x66209724
mov eax, dword [rdi + 0x84]
mov qword [rsp + 0xe0], rsi
mov qword [rsp + 0xa8], r14
mov qword [rsp + 0xa0], r15
test eax, eax
je 0x66209970
cmp cx, 2
jb 0x66209754
lea rax, [rdi + 0x78]
cmp word [rdi + 0x18], dx
je 0x6620975b
lea rax, [rdi + 0x88]
test rax, rax
je 0x66209970
mov esi, dword [rax]
test esi, esi
je 0x66209970
cmp byte [rdi + 0x118], 0
mov r14d, dword [rax + 4]
mov dword [rbp - 0x45], r14d
jne 0x662097c0
mov eax, dword [rdi + 0x54]
cmp esi, eax
jb 0x662097c0
lea rax, [rbp - 9]
xor r9d, r9d
mov r8d, esi
mov rdx, rdi
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.6620afb0
test eax, eax
js 0x66209975
mov eax, dword [rbp + 3]
mov r15, qword [rdi + 0x110]
sub r15, rax
mov eax, dword [rbp + 0xb]
add r15, rax
add r15, rsi
jmp 0x662097ca
mov r15, rsi
add r15, qword [rdi + 0x110]
cmp byte [rbx + 0x70], 0
je 0x662097e4
lea rcx, [rbp - 0x39]
mov r8d, 0x28
mov rdx, r15
call fcn.6620ec30
jmp 0x66209856
mov qword [rbp + 0x67], 0
call fcn.66209d70
test rax, rax
je 0x66209823
cmp byte [rax + 0x3c], 0
je 0x66209823
mov rdx, qword [rbx + 0x58]
lea rcx, [rbp + 0x67]
lea r9, [rbp - 0x39]
mov qword [rsp + 0x28], rcx
mov r8, r15
mov rcx, rax
mov qword [rsp + 0x20], 0x28
call fcn.6620a240
jmp 0x66209843
mov rcx, qword [rbx + 0x58]
lea rax, [rbp + 0x67]
lea r8, [rbp - 0x39]
mov r9d, 0x28
mov rdx, r15
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
test eax, eax
js 0x66209975
cmp qword [rbp + 0x67], 0x28
jne 0x66209aa3
movzx eax, r13w
sub ax, word [rbp - 0x29]
mov word [rbp - 0x51], ax
cmp r13, 0xffff
jbe 0x662099e0
mov r8d, dword [rbp - 0x19]
lea r9, [rbp + 0x67]
mov rdx, rdi
mov rcx, rbx
call fcn.6620b110
test eax, eax
js 0x66209975
xor esi, esi
cmp dword [rbp - 0x21], esi
jbe 0x66209970
mov r12, qword [rbp + 0x67]
nop dword [rax]
cmp byte [rbx + 0x70], 0
lea r14, [r12 + rsi*4]
je 0x662098be
lea rcx, [rbp - 0x4d]
mov r8d, 4
mov rdx, r14
call fcn.6620ec30
jmp 0x6620992c
mov qword [rbp - 0x41], 0
call fcn.66209d70
test rax, rax
je 0x662098fd
cmp byte [rax + 0x3c], 0
je 0x662098fd
mov rdx, qword [rbx + 0x58]
lea rcx, [rbp - 0x41]
lea r9, [rbp - 0x4d]
mov qword [rsp + 0x28], rcx
mov r8, r14
mov rcx, rax
mov qword [rsp + 0x20], 4
call fcn.6620a240
jmp 0x6620991d
mov rcx, qword [rbx + 0x58]
lea rax, [rbp - 0x41]
lea r8, [rbp - 0x4d]
mov r9d, 4
mov rdx, r14
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
test eax, eax
js 0x66209975
cmp qword [rbp - 0x41], 4
jne 0x66209aa3
mov r8d, dword [rbp - 0x4d]
test r8d, r8d
je 0x66209965
lea r9, [rbp - 0x11]
mov rdx, rdi
mov rcx, rbx
call fcn.6620b110
test eax, eax
js 0x66209975
mov rdx, qword [rbp - 0x11]
lea r9, [rbp + 0x67]
mov r8, r13
mov rcx, rbx
call fcn.66208cb0
test eax, eax
js 0x66209975
cmp byte [rbp + 0x67], 0
jne 0x6620999c
inc esi
cmp esi, dword [rbp - 0x21]
jb 0x662098a0
mov eax, 0xc000007a
mov r15, qword [rsp + 0xa0]
mov r14, qword [rsp + 0xa8]
mov rsi, qword [rsp + 0xe0]
add rsp, 0xb0
pop r13
pop r12
pop rdi
pop rbx
pop rbp
ret
cmp esi, dword [rbp - 0x21]
jae 0x66209970
mov r8d, dword [rbp - 0x15]
lea r9, [rbp + 0x67]
mov rdx, rdi
mov rcx, rbx
call fcn.6620b110
test eax, eax
js 0x66209975
cmp byte [rbx + 0x70], 0
mov rax, qword [rbp + 0x67]
lea rsi, [rax + rsi*2]
je 0x66209a31
lea rcx, [rbp - 0x51]
mov r8d, 2
mov rdx, rsi
call fcn.6620ec30
mov r14d, dword [rbp - 0x45]
mov r12, qword [rbp + 0x77]
movzx eax, word [rbp - 0x51]
cmp eax, dword [rbp - 0x25]
jae 0x66209970
mov r8d, dword [rbp - 0x1d]
lea r9, [rbp + 0x67]
mov rdx, rdi
mov rcx, rbx
call fcn.6620b110
test eax, eax
js 0x66209975
cmp byte [rbx + 0x70], 0
movzx ecx, word [rbp - 0x51]
mov rax, qword [rbp + 0x67]
lea rsi, [rax + rcx*4]
je 0x66209aad
lea rcx, [rbp - 0x49]
mov r8d, 4
mov rdx, rsi
call fcn.6620ec30
jmp 0x66209b1b
mov qword [rbp + 0x67], 0
call fcn.66209d70
test rax, rax
je 0x66209a70
cmp byte [rax + 0x3c], 0
je 0x66209a70
mov rdx, qword [rbx + 0x58]
lea rcx, [rbp + 0x67]
lea r9, [rbp - 0x51]
mov qword [rsp + 0x28], rcx
mov r8, rsi
mov rcx, rax
mov qword [rsp + 0x20], 2
call fcn.6620a240
jmp 0x66209a90
mov rcx, qword [rbx + 0x58]
lea rax, [rbp + 0x67]
lea r8, [rbp - 0x51]
mov r9d, 2
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
test eax, eax
js 0x66209975
cmp qword [rbp + 0x67], 2
je 0x662099d8
mov eax, 0xc0000004
jmp 0x66209975
mov qword [rbp + 0x67], 0
call fcn.66209d70
test rax, rax
je 0x66209aec
cmp byte [rax + 0x3c], 0
je 0x66209aec
mov rdx, qword [rbx + 0x58]
lea rcx, [rbp + 0x67]
lea r9, [rbp - 0x49]
mov qword [rsp + 0x28], rcx
mov r8, rsi
mov rcx, rax
mov qword [rsp + 0x20], 4
call fcn.6620a240
jmp 0x66209b0c
mov rcx, qword [rbx + 0x58]
lea rax, [rbp + 0x67]
lea r8, [rbp - 0x49]
mov r9d, 4
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
test eax, eax
js 0x66209975
cmp qword [rbp + 0x67], 4
jne 0x66209aa3
mov r8d, dword [rbp - 0x49]
lea r9, [rbp + 0x67]
mov rdx, rdi
mov rcx, rbx
call fcn.6620b110
test eax, eax
js 0x66209975
mov rcx, qword [rbp + 0x67]
cmp rcx, r15
jb 0x66209b4e
mov eax, r14d
add rax, r15
cmp rcx, rax
jae 0x66209b4e
mov al, 1
jmp 0x66209b50
xor al, al
mov rdx, qword [rbp + 0x7f]
test rdx, rdx
je 0x66209b66
mov byte [rdx], al
mov qword [r12], rcx
xor eax, eax
jmp 0x66209975
test al, al
je 0x66209b5b
mov eax, 0xc000000d
jmp 0x66209975