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

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x6631ac
sub rsp, 0x78
mov qword [rsp + 0x70], rbp
lea rbp, [rsp + 0x70]
mov rax, qword [rsp + 0x98]
mov rcx, qword [rax + 8]
mov rdx, qword [rax]
nop word [rax + rax]
test rcx, rcx
jle 0x66318c
mov qword [rsp + 0x58], rcx
mov rbx, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x90]
xor r8d, r8d
xor r9d, r9d
jmp 0x662ef2
add rdx, 6
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x68], rdx
movzx r10d, word [rdx + 2]
mov dword [rsp + 0x4c], r10d
movzx r11d, word [rdx + 4]
movzx r12d, word [rdx]
cmp r11d, 1
jne 0x663105
lea r11d, [r12 - 1]
nop
cmp r11d, r9d
jge 0x6630b3
lea r9d, [r10 + 1]
inc r8
cmp r8, rcx
jl 0x662eee
mov rcx, qword [rax + 0x20]
mov rax, qword [rax + 0x18]
nop dword [rax]
test rcx, rcx
jle 0x6630ab
mov qword [rsp + 0x58], rcx
xor edx, edx
jmp 0x662f59
add rax, 0xc
mov r9d, r8d
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x60], rax
mov r8d, dword [rax + 4]
mov dword [rsp + 0x48], r8d
mov r10d, dword [rax + 8]
mov r11d, dword [rax]
cmp r10d, 1
jne 0x663032
lea r10d, [r11 - 1]
cmp r10d, r9d
jge 0x662fed
inc r8d
inc rdx
cmp rdx, rcx
jl 0x662f52
cmp r8d, 0x10ffff
jle 0x662fbc
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0xa8], rsi
mov qword [rsp + 0xb0], rdi
mov rbp, qword [rsp + 0x70]
add rsp, 0x78
ret
mov qword [rsp], rbx
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rdi
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x1c], 0x10ffff
call fcn.00662440
mov rbx, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
jmp 0x662f9a
mov qword [rsp], rbx
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rdi
mov dword [rsp + 0x18], r9d
mov dword [rsp + 0x1c], r10d
call fcn.00662440
mov rbx, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
mov r8d, dword [rsp + 0x48]
jmp 0x662f86
mov dword [rsp + 0x44], r10d
jmp 0x663044
lea r12d, [r10 + r11]
lea r9d, [r11 + 1]
mov r11d, r12d
cmp r11d, r8d
jg 0x6630a3
lea r12d, [r11 - 1]
cmp r12d, r9d
jl 0x663039
mov dword [rsp + 0x38], r11d
mov qword [rsp], rbx
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rdi
mov dword [rsp + 0x18], r9d
mov dword [rsp + 0x1c], r12d
call fcn.00662440
mov rbx, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
mov r8d, dword [rsp + 0x48]
mov r10d, dword [rsp + 0x44]
mov r11d, dword [rsp + 0x38]
jmp 0x663039
mov r8d, r9d
jmp 0x662f89
mov r8d, r9d
jmp 0x662f91
mov qword [rsp], rbx
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rdi
mov dword [rsp + 0x18], r9d
mov dword [rsp + 0x1c], r11d
call fcn.00662440
mov rbx, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x50]
mov r10d, dword [rsp + 0x4c]
nop dword [rax + rax]
jmp 0x662f29
mov dword [rsp + 0x40], r11d
jmp 0x663120
lea r13d, [r11 + r12]
lea r9d, [r12 + 1]
mov r12d, r13d
nop dword [rax + rax]
cmp r10d, r12d
jl 0x662f2d
lea r13d, [r12 - 1]
cmp r13d, r9d
jl 0x66310c
mov dword [rsp + 0x3c], r12d
mov qword [rsp], rbx
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rdi
mov dword [rsp + 0x18], r9d
mov dword [rsp + 0x1c], r13d
call fcn.00662440
mov rbx, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x50]
mov r10d, dword [rsp + 0x4c]
mov r11d, dword [rsp + 0x40]
mov r12d, dword [rsp + 0x3c]
jmp 0x66310c
xor r9d, r9d
mov rsi, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x80]
jmp 0x662f35
call fcn.0046a920
jmp fcn.00662e80