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

Disassembly:
mov qword [rsp + 0x20], r9
push rbp
push rsi
push rdi
push r12
push r15
lea rbp, [rsp - 0x2f]
sub rsp, 0xb0
mov rsi, rcx
movzx ecx, word [rdx + 0x14]
mov rdi, rdx
mov r15, r9
mov r12, r8
mov edx, 0x10b
cmp cx, 2
jb 0x662095de
cmp word [rdi + 0x18], dx
jne 0x662095de
mov eax, dword [rdi + 0x74]
jmp 0x662095e4
mov eax, dword [rdi + 0x84]
mov qword [rsp + 0xe0], rbx
mov qword [rsp + 0xa8], r13
mov qword [rsp + 0xa0], r14
test eax, eax
je 0x66209738
cmp cx, 2
jb 0x66209614
lea rax, [rdi + 0x78]
cmp word [rdi + 0x18], dx
je 0x6620961b
lea rax, [rdi + 0x88]
test rax, rax
je 0x66209738
mov ebx, dword [rax]
test ebx, ebx
je 0x66209738
cmp byte [rdi + 0x118], 0
mov r13d, dword [rax + 4]
jne 0x6620967e
mov eax, dword [rdi + 0x54]
cmp ebx, eax
jb 0x6620967e
lea rax, [rbp - 0x11]
xor r9d, r9d
mov r8d, ebx
mov rdx, rdi
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.6620ab40
test eax, eax
js 0x6620973d
mov eax, dword [rbp - 5]
mov r14, qword [rdi + 0x110]
sub r14, rax
mov eax, dword [rbp + 3]
add r14, rax
mov eax, ebx
add r14, rbx
jmp 0x66209688
mov r14, rbx
add r14, qword [rdi + 0x110]
cmp byte [rsi + 0x70], 0
je 0x66209764
lea rcx, [rbp - 0x41]
mov r8d, 0x28
mov rdx, r14
call fcn.6620e7b0
movzx eax, r12w
sub ax, word [rbp - 0x31]
mov word [rbp - 0x51], ax
cmp r12, 0xffff
jbe 0x66209820
mov r8d, dword [rbp - 0x21]
lea r9, [rbp + 0x67]
mov rdx, rdi
mov rcx, rsi
call fcn.6620ac90
test eax, eax
js 0x6620973d
xor ebx, ebx
cmp dword [rbp - 0x29], ebx
jbe 0x66209738
mov r15, qword [rbp + 0x67]
nop
lea rdx, [r15 + rbx*4]
lea r8, [rbp - 0x49]
mov rcx, rsi
call fcn.6620a250
test eax, eax
js 0x6620973d
mov r8d, dword [rbp - 0x49]
test r8d, r8d
je 0x66209731
lea r9, [rbp - 0x19]
mov rdx, rdi
mov rcx, rsi
call fcn.6620ac90
test eax, eax
js 0x6620973d
mov rdx, qword [rbp - 0x19]
lea r9, [rbp + 0x67]
mov r8, r12
mov rcx, rsi
call fcn.66208c30
test eax, eax
js 0x6620973d
cmp byte [rbp + 0x67], 0
jne 0x662097d8
inc ebx
cmp ebx, dword [rbp - 0x29]
jb 0x662096e0
mov eax, 0xc000007a
mov r14, qword [rsp + 0xa0]
mov r13, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xe0]
add rsp, 0xb0
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.66209ab0
test rax, rax
je 0x6620979b
cmp byte [rax + 0x3c], 0
je 0x6620979b
mov rdx, qword [rsi + 0x58]
lea rcx, [rbp + 0x67]
lea r9, [rbp - 0x41]
mov qword [rsp + 0x28], rcx
mov r8, r14
mov rcx, rax
mov qword [rsp + 0x20], 0x28
call fcn.66209f70
jmp 0x662097bb
mov rcx, qword [rsi + 0x58]
lea rax, [rbp + 0x67]
lea r8, [rbp - 0x41]
mov r9d, 0x28
mov rdx, r14
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
test eax, eax
js 0x6620973d
cmp qword [rbp + 0x67], 0x28
je 0x662096a4
mov eax, 0xc0000004
jmp 0x6620973d
cmp ebx, dword [rbp - 0x29]
jae 0x66209738
mov r8d, dword [rbp - 0x1d]
lea r9, [rbp + 0x67]
mov rdx, rdi
mov rcx, rsi
call fcn.6620ac90
test eax, eax
js 0x6620973d
mov rax, qword [rbp + 0x67]
lea r8, [rbp - 0x51]
mov rcx, rsi
lea rdx, [rax + rbx*2]
call fcn.6620a310
test eax, eax
js 0x6620973d
movzx eax, word [rbp - 0x51]
mov r15, qword [rbp + 0x77]
movzx eax, ax
cmp eax, dword [rbp - 0x2d]
jae 0x66209738
mov r8d, dword [rbp - 0x25]
lea r9, [rbp + 0x67]
mov rdx, rdi
mov rcx, rsi
call fcn.6620ac90
test eax, eax
js 0x6620973d
movzx ecx, word [rbp - 0x51]
mov rax, qword [rbp + 0x67]
lea r8, [rbp - 0x4d]
lea rdx, [rax + rcx*4]
mov rcx, rsi
call fcn.6620a250
test eax, eax
js 0x6620973d
mov r8d, dword [rbp - 0x4d]
lea r9, [rbp + 0x67]
mov rdx, rdi
mov rcx, rsi
call fcn.6620ac90
test eax, eax
js 0x6620973d
mov rcx, qword [rbp + 0x67]
cmp rcx, r14
jb 0x66209898
lea rax, [r14 + r13]
cmp rcx, rax
jae 0x66209898
mov al, 1
jmp 0x6620989a
xor al, al
mov rdx, qword [rbp + 0x7f]
test rdx, rdx
je 0x662098af
mov byte [rdx], al
mov qword [r15], rcx
xor eax, eax
jmp 0x6620973d
test al, al
je 0x662098a5
mov eax, 0xc000000d
jmp 0x6620973d