Function at 0x4c5080
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 0x4c512a
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x4c50d6
test r8, r8
jne 0x4c50e0
test rax, rax
jne 0x4c512a
test r8, r8
jne 0x4c512a
test r13d, r13d
mov r10d, r15d
mov r8d, r15d
je 0x4c512a
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 0x4c511f
inc r8d
add rcx, 8
sub rdx, 0x20
cmp r8d, r13d
jb 0x4c5100
mov rdx, qword [rsp + 0x78]
jmp 0x4c512a
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 0x4c5410
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 0x4c5177
mov rdx, qword [rbx]
call qword [rdi + VariantCopy]
mov qword [rdi], r15
add rdi, 0x30
dec rsi
jne 0x4c5166
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x4c5196
mov rax, qword [rbx]
mov rcx, rax
call qword [rax + VariantCopy]
mov qword [rbx + 8], r15
test r13d, r13d
je 0x4c5331
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 0x4c526c
test r15d, r15d
je 0x4c5470
mov r8, qword [rbx]
lea rax, [rdi - 3]
cmp rax, 6
ja 0x4c5264
mov rax, qword [rsi - 0x10]
test rax, rax
jne 0x4c5253
mov edx, 0x4130
mov rcx, r8
call qword [r8]
test rax, rax
jne 0x4c5219
mov eax, 2
jmp 0x4c52f7
lea rcx, [0x004c4170]
mov qword [rsi - 0x10], rax
mov qword [rsi - 8], rcx
lea rcx, [0x004c4180]
mov qword [rsi], rcx
lea rcx, [0x004c41f0]
mov qword [rsi + 8], rcx
lea rcx, [0x004c4350]
mov qword [rsi + 0x10], rcx
lea rcx, [0x004c4220]
mov qword [rsi + 0x18], rcx
mov dword [rax + 0x1c], edi
mov dword [rax + 0x18], 0
xor eax, eax
jmp 0x4c52f7
mov eax, r14d
jmp 0x4c52f7
mov rax, qword [rsi - 0x10]
mov r8, qword [rbx]
test rax, rax
jne 0x4c52ce
mov edx, 0x98
mov rcx, r8
call qword [r8]
test rax, rax
jne 0x4c528f
mov eax, 2
jmp 0x4c52f7
xor edx, edx
lea rcx, [0x004c46e0]
mov qword [rsi - 0x10], rax
mov qword [rsi - 8], rcx
lea rcx, [0x004c4730]
mov qword [rsi + 0x18], rdx
mov qword [rsi], rcx
lea rcx, [0x004c4760]
mov qword [rsi + 8], rcx
lea rcx, [0x004c4770]
mov qword [rsi + 0x10], rcx
mov qword [rax + 0x28], rdx
mov qword [rax + 0x18], rdx
jmp 0x4c52d0
xor edx, edx
test rbp, rbp
mov dword [rax + 0x90], edx
je 0x4c52f5
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 0x4c53e3
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 0x4c51d0
mov rdx, qword [rsp + 0x78]
mov dword [rbx + 0x10], r13d
movsxd r9, r13d
xor r15d, r15d
test r13d, r13d
mov ebp, r15d
je 0x4c5383
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 0x4c53e3
inc ebp
sub rsi, 0x20
add rdi, 0x30
cmp ebp, r13d
jb 0x4c5360
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 0x4c5390
cmp dword [rbx + 0x10], edx
mov edi, r15d
jbe 0x4c53d1
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 0x4c53b6
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 0x4c542b
mov r14d, 4
mov eax, r14d
jmp 0x4c53e3
lea r12, [rbx + 0xa8]
mov rax, qword [r12]
mov ecx, dword [rax + 0x90]
test ecx, ecx
je 0x4c5445
test rbp, rbp
je 0x4c544e
test ecx, ecx
jne 0x4c5455
test rbp, rbp
je 0x4c5462
mov eax, 0xb
jmp 0x4c5465
test rbp, rbp
je 0x4c5462
mov qword [rax + 0x28], rbp
mov qword [rax + 0x30], r11
mov eax, r15d
test eax, eax
mov r14d, eax
je 0x4c5340
mov eax, r14d
jmp 0x4c53e3