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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x10], rdx
sub rsp, 0x68
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x38], r13
mov r13b, byte [rdx + 0x10]
mov qword [rsp + 0x28], r15
xor r15d, r15d
and r13d, 3
mov r11, r9
mov rbp, r8
inc r13d
mov rbx, rcx
mov r10d, 1
cmp r13d, dword [rcx + 0x10]
movsxd r9, r13d
jne 0x4c652a
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x4c64d6
test r8, r8
jne 0x4c64e0
test rax, rax
jne 0x4c652a
test r8, r8
jne 0x4c652a
test r13d, r13d
mov r10d, r15d
mov r8d, r15d
je 0x4c652a
mov rax, r9
add rcx, 0x78
shl rax, 5
lea rdx, [rax + rdx - 8]
nop
nop
mov rax, qword [rdx]
cmp qword [rcx], rax
jne 0x4c651f
inc r8d
add rcx, 8
sub rdx, 0x20
cmp r8d, r13d
jb 0x4c6500
mov rdx, qword [rsp + 0x78]
jmp 0x4c652a
mov rdx, qword [rsp + 0x78]
mov r10d, 1
test r10d, r10d
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], r12
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x20], r11
mov qword [rsp + 0x30], r14
je 0x4c6810
lea r12, [rbx + 0xa8]
mov r14d, 4
mov dword [rbx + 0x10], r15d
mov rdi, r12
mov rsi, r14
mov rcx, qword [rdi]
test rcx, rcx
je 0x4c6577
mov rdx, qword [rbx]
call qword [rdi + VariantCopy]
mov qword [rdi], r15
add rdi, 0x30
dec rsi
jne 0x4c6566
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x4c6596
mov rax, qword [rbx]
mov rcx, rax
call qword [rax + VariantCopy]
mov qword [rbx + 8], r15
test r13d, r13d
je 0x4c6731
mov rdx, qword [rsp + 0x78]
movsxd rax, r13d
lea rcx, [rbx + 0x78]
shl rax, 5
lea rsi, [rbx + 0xb8]
mov qword [rsp + 0x70], rcx
lea rax, [rax + rdx - 8]
mov qword [rsp + 0x80], rax
nop
nop
mov rdi, qword [rax]
cmp rdi, 0x21
mov qword [rcx], rdi
je 0x4c666c
test r15d, r15d
je 0x4c6870
mov r8, qword [rbx]
lea rax, [rdi - 3]
cmp rax, 6
ja 0x4c6664
mov rax, qword [rsi - 0x10]
test rax, rax
jne 0x4c6653
mov edx, 0x4130
mov rcx, r8
call qword [r8]
test rax, rax
jne 0x4c6619
mov eax, 2
jmp 0x4c66f7
lea rcx, [0x004c5570]
mov qword [rsi - 0x10], rax
mov qword [rsi - 8], rcx
lea rcx, [0x004c5580]
mov qword [rsi], rcx
lea rcx, [0x004c55f0]
mov qword [rsi + 8], rcx
lea rcx, [0x004c5750]
mov qword [rsi + 0x10], rcx
lea rcx, [0x004c5620]
mov qword [rsi + 0x18], rcx
mov dword [rax + 0x1c], edi
mov dword [rax + 0x18], 0
xor eax, eax
jmp 0x4c66f7
mov eax, r14d
jmp 0x4c66f7
mov rax, qword [rsi - 0x10]
mov r8, qword [rbx]
test rax, rax
jne 0x4c66ce
mov edx, 0x98
mov rcx, r8
call qword [r8]
test rax, rax
jne 0x4c668f
mov eax, 2
jmp 0x4c66f7
xor edx, edx
lea rcx, [0x004c5ae0]
mov qword [rsi - 0x10], rax
mov qword [rsi - 8], rcx
lea rcx, [0x004c5b30]
mov qword [rsi + 0x18], rdx
mov qword [rsi], rcx
lea rcx, [0x004c5b60]
mov qword [rsi + 8], rcx
lea rcx, [0x004c5b70]
mov qword [rsi + 0x10], rcx
mov qword [rax + 0x28], rdx
mov qword [rax + 0x18], rdx
jmp 0x4c66d0
xor edx, edx
test rbp, rbp
mov dword [rax + 0x90], edx
je 0x4c66f5
mov rcx, qword [rsp + 0x88]
mov dword [rax + 0x90], 1
mov qword [rax + 0x28], rbp
mov qword [rax + 0x30], rcx
mov eax, edx
test eax, eax
jne 0x4c67e3
mov rcx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x80]
inc r15d
add rcx, 8
sub rax, 0x20
add rsi, 0x30
cmp r15d, r13d
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x80], rax
jb 0x4c65d0
mov rdx, qword [rsp + 0x78]
mov dword [rbx + 0x10], r13d
movsxd r9, r13d
xor r15d, r15d
test r13d, r13d
mov ebp, r15d
je 0x4c6783
shl r9, 5
mov rdi, r12
lea rsi, [r9 + rdx + 4]
nop
nop
nop
mov r8d, dword [rsi - 4]
mov r9, qword [rbx]
mov rcx, qword [rdi]
mov rdx, rsi
call qword [rdi + 0x10]
test eax, eax
jne 0x4c67e3
inc ebp
sub rsi, 0x20
add rdi, 0x30
cmp ebp, r13d
jb 0x4c6760
lea rcx, [rbx + 0x3c]
lea rax, [rbx + 0x48]
mov edx, 3
mov qword [rax + 0x18], r15
mov qword [rax], r15
mov dword [rcx], r15d
add rcx, 4
add rax, 8
dec rdx
jne 0x4c6790
cmp dword [rbx + 0x10], edx
mov edi, r15d
jbe 0x4c67d1
lea rsi, [rbx + 0x98]
mov rcx, qword [r12]
call qword [r12 + 0x18]
mov dword [rsi], r15d
inc edi
add rsi, 4
add r12, 0x30
cmp edi, dword [rbx + 0x10]
jb 0x4c67b6
mov qword [rbx + 0x28], r15
mov dword [rbx + 0x30], r15d
mov dword [rbx + 0x34], r15d
mov dword [rbx + 0x38], r15d
xor eax, eax
mov r15, qword [rsp + 0x28]
mov r14, qword [rsp + 0x30]
mov r13, qword [rsp + 0x38]
mov r12, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
add rsp, 0x68
ret
lea ecx, [r13 - 1]
shl rcx, 5
cmp qword [rcx + rdx + 0x18], 0x21
je 0x4c682b
mov r14d, 4
mov eax, r14d
jmp 0x4c67e3
lea r12, [rbx + 0xa8]
mov rax, qword [r12]
mov ecx, dword [rax + 0x90]
test ecx, ecx
je 0x4c6845
test rbp, rbp
je 0x4c684e
test ecx, ecx
jne 0x4c6855
test rbp, rbp
je 0x4c6862
mov eax, 0xb
jmp 0x4c6865
test rbp, rbp
je 0x4c6862
mov qword [rax + 0x28], rbp
mov qword [rax + 0x30], r11
mov eax, r15d
test eax, eax
mov r14d, eax
je 0x4c6740
mov eax, r14d
jmp 0x4c67e3