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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x220
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
call fcn.140173ab4
lea r15, [rdi + 0x80]
mov rax, qword [rsi]
mov r9, r15
xor edx, edx
lea r8d, [rdx + 1]
mov rcx, rsi
call qword [rax + 0x20]
test eax, eax
jne 0x140173942
mov r13, qword [r15]
or r14, 0xffffffffffffffff
mov qword [rsp + 0x258], 0x200
lea r8, [rsp + 0x258]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14013e890
test eax, eax
jne 0x140173942
cmp qword [rsp + 0x258], 0x1c
jb 0x14017393d
lea r8d, [rax + 0x10]
lea rdx, [0x14021f7e0]
lea rcx, [rsp + 0x24]
call fcn.1402019e0
test eax, eax
jne 0x1401738ef
cmp r14, 0xffffffffffffffff
jne 0x14017370e
mov rbx, qword [r15]
mov r10d, 0x200
jmp 0x1401736b6
sub rbx, r10
mov rax, r13
sub rax, rbx
cmp rax, 0x100000
ja 0x1401736c0
mov qword [rsp + 0x258], r10
mov rax, qword [rsi]
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call qword [rax + 0x20]
test eax, eax
jne 0x140173942
lea r8, [rsp + 0x258]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14013e890
test eax, eax
jne 0x140173942
mov rdx, qword [rsp + 0x258]
mov r10d, 0x200
cmp rdx, r10
jb 0x1401736c0
lea rcx, [rsp + 0x20]
call fcn.140173c7c
test al, al
jne 0x1401736bd
cmp rbx, r10
jae 0x140173645
jmp 0x1401736c0
mov r14, rbx
mov qword [rsp + 0x258], r10
mov rax, qword [rsi]
xor r9d, r9d
xor r8d, r8d
mov rdx, r13
mov rcx, rsi
call qword [rax + 0x20]
test eax, eax
jne 0x140173942
lea r8, [rsp + 0x258]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14013e890
test eax, eax
jne 0x140173942
cmp qword [rsp + 0x258], 0x1c
jb 0x14017393d
mov qword [r15], r13
xor ebx, ebx
cmp r14, 0xffffffffffffffff
je 0x14017372c
mov rax, r13
sub rax, r14
cmp rax, 0x100000
jae 0x14017372c
mov ebx, eax
mov qword [r15], r14
lea rax, [r13 + 0x1c]
mov qword [rdi + 0x88], rax
mov eax, dword [rsp + 0x20]
mov dword [rdi + 0x110], eax
test eax, 0xfffffff0
jne 0x14017393d
not al
and al, 1
mov byte [rdi + 0x127], al
mov eax, dword [rsp + 0x34]
mov dword [rdi + 0x114], eax
mov eax, dword [rsp + 0x38]
mov dword [rdi + 0x118], eax
cmp eax, 0x1c
jbe 0x14017393d
mov rax, qword [rsi]
lea r9, [rdi + 0x68]
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, rsi
call qword [rax + 0x20]
test eax, eax
jne 0x140173942
mov byte [rdi + 0x90], 1
test ebx, ebx
je 0x14017380d
cmp rbx, qword [rdi + 0x108]
je 0x1401737d9
mov rcx, qword [rdi + 0x100]
test rcx, rcx
je 0x1401737bb
call fcn.140202c34
and qword [rdi + 0x100], 0
and qword [rdi + 0x108], 0
mov rcx, rbx
call fcn.140202da8
mov qword [rdi + 0x100], rax
mov qword [rdi + 0x108], rbx
mov rax, qword [rsi]
xor r9d, r9d
xor r8d, r8d
mov rdx, r14
mov rcx, rsi
call qword [rax + 0x20]
test eax, eax
jne 0x140173942
mov r8, rbx
mov rdx, qword [rdi + 0x100]
mov rcx, rsi
call fcn.14013e908
test eax, eax
jne 0x140173942
mov ecx, 0x38
call fcn.140202bf8
mov rbx, rax
test rbx, rbx
je 0x140173856
and dword [rax + 8], 0
lea rax, [0x14021b990]
mov qword [rbx], rax
and qword [rbx + 0x10], 0
lea r14, [rdi + 0x78]
lea rcx, [fcn.1400f5dc0]
cmp qword [rax + 8], rcx
jne 0x14017384b
inc dword [rbx + 8]
mov r15, r14
jmp 0x14017385d
mov rcx, rbx
call qword [rax + VariantCopyInd]
mov r15, r14
jmp 0x14017385d
lea r15, [rdi + 0x78]
mov r14, r15
mov rcx, qword [r14]
test rcx, rcx
je 0x14017386b
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [r14], rbx
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + VariantCopyInd]
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140173886
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0x10], rsi
mov eax, dword [rdi + 0x118]
mov qword [rbx + 0x30], r13
mov qword [rbx + 0x20], r13
and qword [rbx + 0x18], 0
mov qword [rbx + 0x28], rax
mov rax, qword [rsi]
xor r9d, r9d
xor r8d, r8d
mov rdx, r13
mov rcx, rsi
call qword [rax + 0x20]
sub qword [rdi + 0x88], r13
mov r8, qword [rsp + 0x258]
add r8, 0xffffffffffffffe4
lea rdx, [rsp + 0x3c]
mov rcx, rdi
call fcn.140172e3c
mov ebx, eax
test ebx, ebx
je 0x1401738eb
mov rcx, qword [r15]
test rcx, rcx
je 0x1401738eb
mov rax, qword [rcx]
call qword [rax + 0x10]
and qword [r15], 0
mov eax, ebx
jmp 0x140173942
mov rdx, qword [rsp + 0x258]
lea rcx, [rsp + 0x20]
call fcn.140173c7c
mov rcx, r13
test al, al
cmove rcx, r14
mov r14, rcx
add r13, 0x200
mov rax, r13
sub rax, qword [r15]
test rbx, rbx
je 0x1401735db
cmp rax, qword [rbx]
jbe 0x1401735db
test rcx, rcx
jne 0x14017393d
cmp rax, 0x100000
jbe 0x1401735db
mov eax, 1
mov rbx, qword [rsp + 0x260]
add rsp, 0x220
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret