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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov ebx, edx
mov rsi, rcx
mov r15, qword [rcx + 8]
mov rbp, qword [r15 + 8]
cmp byte [rcx], 3
jne 0x14007dbfc
mov rcx, rsi
call fcn.140070d67
test eax, eax
jne 0x14007ddc7
movsx eax, byte [rsi + 0x54]
mov dword [rsp + 0x40], eax
movzx r14d, word [rsi + 0x56]
mov rdi, qword [rsi + 0x88]
movzx eax, word [rdi + 0x1a]
mov rcx, qword [rdi + 0x60]
movzx edx, byte [rcx + r14*2]
shl edx, 8
movzx r12d, byte [rcx + r14*2 + 1]
or r12d, edx
and r12d, eax
add r12, qword [rdi + 0x50]
cmp dword [rdi + 0x14], 0
js 0x14007dc8e
mov r13b, 1
test bl, 2
je 0x14007dcaa
cmp byte [rdi + 8], 0
je 0x14007dc7c
mov r13d, dword [rdi + 0x14]
mov rcx, rdi
mov rdx, r12
call fcn.14002b7d2
movzx eax, ax
add eax, r13d
add eax, 2
mov r13b, 1
mov ecx, dword [rbp + 0x34]
add ecx, ecx
mov edx, 0xaaaaaaab
imul rdx, rcx
shr rdx, 0x21
cmp eax, edx
jg 0x14007dc7c
cmp word [rdi + 0x18], 1
jne 0x14007dca7
mov rcx, rsi
call fcn.140026a34
test eax, eax
jne 0x14007ddc7
jmp 0x14007dcaa
mov rcx, rdi
call fcn.140080bdd
mov ecx, eax
mov eax, 0xb
test ecx, ecx
jne 0x14007ddc7
jmp 0x14007dc36
xor r13d, r13d
cmp byte [rdi + 8], 0
je 0x14007ddb7
test byte [rsi + 1], 0x20
je 0x14007dcd1
mov edx, dword [rsi + 0x50]
mov rcx, qword [rbp + 0x10]
mov r8, rsi
call fcn.1400818f5
test eax, eax
jne 0x14007ddc7
cmp qword [rsi + 0x80], 0
jne 0x14007dced
mov r8, qword [rsi + 0x30]
mov edx, dword [rsi + 0x50]
mov rcx, r15
xor r9d, r9d
call fcn.140081926
mov rcx, qword [rdi + 0x70]
call fcn.140023acb
test eax, eax
jne 0x14007ddc7
mov dword [rsp + 0x3c], r13d
lea r13, [rsp + 0x60]
mov rcx, rdi
mov rdx, r12
mov r8, r13
call fcn.140081961
lea r15, [rsp + 0x44]
mov dword [r15], eax
movzx r8d, word [r13 + 0x16]
mov r12d, dword [rsp + 0x3c]
mov rcx, rdi
mov edx, r14d
mov r9, r15
call fcn.140081b20
mov eax, dword [r15]
test eax, eax
jne 0x14007ddc7
movsxd r13, dword [rsp + 0x40]
cmp byte [rdi + 8], 0
je 0x14007ddd8
mov rcx, rsi
call fcn.140081f20
test eax, eax
jne 0x14007ddc7
cmp byte [rsi + 0x54], r13b
jle 0x14007df49
mov rax, qword [rsi + 0x88]
mov rcx, qword [rax + 0x70]
call fcn.140023b0c
mov cl, byte [rsi + 0x54]
dec cl
mov byte [rsi + 0x54], cl
cmp cl, byte [rsp + 0x40]
jle 0x14007df24
lea eax, [rcx - 1]
mov byte [rsi + 0x54], al
movsx rcx, cl
mov rcx, qword [rsi + rcx*8 + 0x90]
test rcx, rcx
je 0x14007ddab
mov rcx, qword [rcx + 0x70]
call fcn.140023b0c
mov al, byte [rsi + 0x54]
mov ecx, eax
cmp al, r13b
jg 0x14007dd88
jmp 0x14007df26
mov rcx, rsi
call fcn.140070c44
test eax, eax
je 0x14007dcb4
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r9, [rsi + 0x88]
mov r12, qword [r9]
cmp dword [r12 + 0x14], 0
js 0x14007df05
movsx eax, byte [rsi + 0x54]
dec eax
cmp eax, r13d
mov qword [rsp + 0x48], r13
lea rax, [rsi + r13*8 + 0x98]
cmovg r9, rax
movzx eax, word [r12 + 0x1a]
mov rcx, qword [r12 + 0x60]
movzx edx, word [r12 + 0x18]
movzx r8d, byte [rcx + rdx*2 - 2]
shl r8d, 8
movzx r13d, byte [rcx + rdx*2 - 1]
or r13d, r8d
and r13d, eax
cmp r13d, 3
ja 0x14007de69
lea rax, [0x1402a8134]
mov qword [rsp + 0x20], rax
lea rdx, [0x1402a9020]
lea r8, [0x1402a9240]
mov ecx, 0xb
mov r9d, 0x11a95
call fcn.14001f1b1
mov eax, 0xb
jmp 0x14007ddc7
mov rax, qword [r9]
mov eax, dword [rax + 4]
mov dword [rsp + 0x54], eax
add r13, qword [r12 + 0x50]
mov rcx, r12
mov rdx, r13
call qword [r12 + pe_nt_image_headers64]
movzx eax, ax
mov qword [rsp + 0x58], rax
mov rbp, qword [rbp + 0x60]
mov rcx, qword [r12 + 0x70]
call fcn.140023acb
mov dword [rsp + 0x44], eax
test eax, eax
jne 0x14007dece
mov rax, qword [rsp + 0x58]
lea r9d, [rax + 4]
add r13, 0xfffffffffffffffc
mov qword [rsp + 0x30], r15
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbp
mov rcx, rdi
mov edx, r14d
mov r8, r13
call fcn.140081c44
movzx edx, word [r12 + 0x18]
dec edx
lea r15, [rsp + 0x44]
mov rcx, r12
mov r8, qword [rsp + 0x58]
mov r9, r15
call fcn.140081b20
mov eax, dword [r15]
test eax, eax
mov r12d, dword [rsp + 0x3c]
mov r13, qword [rsp + 0x48]
jne 0x14007ddc7
jmp 0x14007dd50
mov rcx, r12
mov qword [rsp + 0x48], r9
call fcn.140080bdd
mov r9, qword [rsp + 0x48]
test eax, eax
jne 0x14007ddc7
jmp 0x14007ddee
mov eax, ecx
movsx rax, al
mov rax, qword [rsi + rax*8 + 0x90]
mov qword [rsi + 0x88], rax
mov rcx, rsi
call fcn.140081f20
test eax, eax
jne 0x14007ddc7
test r12b, r12b
je 0x14007df75
mov rcx, rsi
call fcn.140071c1b
mov edi, eax
test bl, 2
je 0x14007df68
mov rcx, rsi
call fcn.1400269e8
mov byte [rsi], 3
xor eax, eax
cmp edi, 0x10
cmovne eax, edi
jmp 0x14007ddc7
mov byte [rsi], 2
cmp r14w, word [rdi + 0x18]
jae 0x14007df88
mov dword [rsi + 4], 1
jmp 0x14007df98
mov dword [rsi + 4], 0xffffffff
mov eax, dword [rdi + 0x18]
dec eax
mov word [rsi + 0x56], ax
xor eax, eax
jmp 0x14007ddc7