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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + 4]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x14007c35c
mov rax, qword [rsp + 0x70]
mov dword [rax + 4], 0
jmp 0x14007c575
mov eax, dword [rsp + 0x80]
xor edx, edx
mov ecx, 0x20
div rcx
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x24], 0
jl 0x14007c382
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x2c], eax
jmp 0x14007c38c
mov eax, dword [rsp + 0x24]
neg eax
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x2c]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x80]
xor edx, edx
mov ecx, 0x20
div rcx
mov rax, rdx
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x24], 0
jle 0x14007c3c8
mov dword [rsp + 0x30], 1
jmp 0x14007c3d0
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x88], eax
jne 0x14007c450
cmp dword [rsp + 0x20], 0
jle 0x14007c43e
mov edx, dword [rsp + 0x28]
mov rax, qword [rsp + 0x78]
mov rcx, qword [rax + 8]
call fcn.140079d20
test eax, eax
je 0x14007c43e
movsxd rax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x50], rcx
mov edx, dword [rsp + 0x80]
mov r8d, 1
movzx ecx, dl
mov edx, r8d
shl edx, cl
mov ecx, edx
dec ecx
mov rdx, qword [rsp + 0x50]
mov eax, dword [rdx + rax*4]
and eax, ecx
test eax, eax
jne 0x14007c43e
mov dword [rsp + 0x34], 0
jmp 0x14007c446
mov dword [rsp + 0x34], 1
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x3c], eax
jmp 0x14007c458
mov dword [rsp + 0x3c], 0
cmp dword [rsp + 0x20], 0
jg 0x14007c46c
mov dword [rsp + 0x20], 0
jmp 0x14007c537
mov rax, qword [rsp + 0x70]
mov eax, dword [rax]
cmp dword [rsp + 0x20], eax
jle 0x14007c48e
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x70]
call fcn.140075690
mov qword [rsp + 0x48], rax
jmp 0x14007c49c
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x40], rax
cmp dword [rsp + 0x80], 0
je 0x14007c513
movsxd rax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx + 8]
lea rax, [rcx + rax*4]
mov r9d, dword [rsp + 0x80]
mov r8d, dword [rsp + 0x20]
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call fcn.14007c170
mov eax, dword [rsp + 0x20]
dec eax
cdqe
mov rcx, qword [rsp + 0x40]
cmp dword [rcx + rax*4], 0
jne 0x14007c4f9
mov dword [rsp + 0x38], 1
jmp 0x14007c501
mov dword [rsp + 0x38], 0
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x20]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
jmp 0x14007c537
movsxd rax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx + 8]
lea rax, [rcx + rax*4]
mov r8d, dword [rsp + 0x20]
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call fcn.14007ad20
mov rax, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x20]
mov dword [rax + 4], ecx
cmp dword [rsp + 0x3c], 0
je 0x14007c55f
mov r8d, 1
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x70]
call fcn.14007be60
cmp dword [rsp + 0x24], 0
jge 0x14007c575
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x70]
call fcn.140074b30
add rsp, 0x68
ret