Function at 0x662096d0
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 0x6620970e
cmp word [rdi + 0x18], dx
jne 0x6620970e
mov eax, dword [rdi + 0x74]
jmp 0x66209714
mov eax, dword [rdi + 0x84]
mov qword [rsp + 0xe0], rsi
mov qword [rsp + 0xa8], r14
mov qword [rsp + 0xa0], r15
test eax, eax
je 0x66209960
cmp cx, 2
jb 0x66209744
lea rax, [rdi + 0x78]
cmp word [rdi + 0x18], dx
je 0x6620974b
lea rax, [rdi + 0x88]
test rax, rax
je 0x66209960
mov esi, dword [rax]
test esi, esi
je 0x66209960
cmp byte [rdi + 0x118], 0
mov r14d, dword [rax + 4]
mov dword [rbp - 0x45], r14d
jne 0x662097b0
mov eax, dword [rdi + 0x54]
cmp esi, eax
jb 0x662097b0
lea rax, [rbp - 9]
xor r9d, r9d
mov r8d, esi
mov rdx, rdi
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.6620afa0
test eax, eax
js 0x66209965
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 0x662097ba
mov r15, rsi
add r15, qword [rdi + 0x110]
cmp byte [rbx + 0x70], 0
je 0x662097d4
lea rcx, [rbp - 0x39]
mov r8d, 0x28
mov rdx, r15
call fcn.6620ec20
jmp 0x66209846
mov qword [rbp + 0x67], 0
call fcn.66209d60
test rax, rax
je 0x66209813
cmp byte [rax + 0x3c], 0
je 0x66209813
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.6620a230
jmp 0x66209833
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 0x66209965
cmp qword [rbp + 0x67], 0x28
jne 0x66209a93
movzx eax, r13w
sub ax, word [rbp - 0x29]
mov word [rbp - 0x51], ax
cmp r13, 0xffff
jbe 0x662099d0
mov r8d, dword [rbp - 0x19]
lea r9, [rbp + 0x67]
mov rdx, rdi
mov rcx, rbx
call fcn.6620b100
test eax, eax
js 0x66209965
xor esi, esi
cmp dword [rbp - 0x21], esi
jbe 0x66209960
mov r12, qword [rbp + 0x67]
nop dword [rax]
cmp byte [rbx + 0x70], 0
lea r14, [r12 + rsi*4]
je 0x662098ae
lea rcx, [rbp - 0x4d]
mov r8d, 4
mov rdx, r14
call fcn.6620ec20
jmp 0x6620991c
mov qword [rbp - 0x41], 0
call fcn.66209d60
test rax, rax
je 0x662098ed
cmp byte [rax + 0x3c], 0
je 0x662098ed
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.6620a230
jmp 0x6620990d
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 0x66209965
cmp qword [rbp - 0x41], 4
jne 0x66209a93
mov r8d, dword [rbp - 0x4d]
test r8d, r8d
je 0x66209955
lea r9, [rbp - 0x11]
mov rdx, rdi
mov rcx, rbx
call fcn.6620b100
test eax, eax
js 0x66209965
mov rdx, qword [rbp - 0x11]
lea r9, [rbp + 0x67]
mov r8, r13
mov rcx, rbx
call fcn.66208ca0
test eax, eax
js 0x66209965
cmp byte [rbp + 0x67], 0
jne 0x6620998c
inc esi
cmp esi, dword [rbp - 0x21]
jb 0x66209890
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 0x66209960
mov r8d, dword [rbp - 0x15]
lea r9, [rbp + 0x67]
mov rdx, rdi
mov rcx, rbx
call fcn.6620b100
test eax, eax
js 0x66209965
cmp byte [rbx + 0x70], 0
mov rax, qword [rbp + 0x67]
lea rsi, [rax + rsi*2]
je 0x66209a21
lea rcx, [rbp - 0x51]
mov r8d, 2
mov rdx, rsi
call fcn.6620ec20
mov r14d, dword [rbp - 0x45]
mov r12, qword [rbp + 0x77]
movzx eax, word [rbp - 0x51]
cmp eax, dword [rbp - 0x25]
jae 0x66209960
mov r8d, dword [rbp - 0x1d]
lea r9, [rbp + 0x67]
mov rdx, rdi
mov rcx, rbx
call fcn.6620b100
test eax, eax
js 0x66209965
cmp byte [rbx + 0x70], 0
movzx ecx, word [rbp - 0x51]
mov rax, qword [rbp + 0x67]
lea rsi, [rax + rcx*4]
je 0x66209a9d
lea rcx, [rbp - 0x49]
mov r8d, 4
mov rdx, rsi
call fcn.6620ec20
jmp 0x66209b0b
mov qword [rbp + 0x67], 0
call fcn.66209d60
test rax, rax
je 0x66209a60
cmp byte [rax + 0x3c], 0
je 0x66209a60
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.6620a230
jmp 0x66209a80
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 0x66209965
cmp qword [rbp + 0x67], 2
je 0x662099c8
mov eax, 0xc0000004
jmp 0x66209965
mov qword [rbp + 0x67], 0
call fcn.66209d60
test rax, rax
je 0x66209adc
cmp byte [rax + 0x3c], 0
je 0x66209adc
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.6620a230
jmp 0x66209afc
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 0x66209965
cmp qword [rbp + 0x67], 4
jne 0x66209a93
mov r8d, dword [rbp - 0x49]
lea r9, [rbp + 0x67]
mov rdx, rdi
mov rcx, rbx
call fcn.6620b100
test eax, eax
js 0x66209965
mov rcx, qword [rbp + 0x67]
cmp rcx, r15
jb 0x66209b3e
mov eax, r14d
add rax, r15
cmp rcx, rax
jae 0x66209b3e
mov al, 1
jmp 0x66209b40
xor al, al
mov rdx, qword [rbp + 0x7f]
test rdx, rdx
je 0x66209b56
mov byte [rdx], al
mov qword [r12], rcx
xor eax, eax
jmp 0x66209965
test al, al
je 0x66209b4b
mov eax, 0xc000000d
jmp 0x66209965