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

Disassembly:
push rbx
push rbp
push rdi
push r13
sub rsp, 0x58
mov ebx, r8d
mov r8d, dword [0x14017d440]
mov ebp, r9d
mov r13d, edx
mov rdi, rcx
cmp ebx, 2
jae 0x14007b787
xor r9d, r9d
jmp 0x14007b7ba
mov eax, 0xcccccccd
mul dword [rcx + 0x34]
lea eax, [rbx - 2]
mov ecx, edx
xor edx, edx
shr ecx, 2
inc ecx
div ecx
xor edx, edx
mov r9d, eax
mov eax, r8d
div dword [rdi + 0x30]
imul r9d, ecx
inc eax
add r9d, 2
cmp r9d, eax
jne 0x14007b7ba
inc r9d
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x88], r12
mov qword [rsp + 0x98], r14
mov qword [rsp + 0x50], r15
cmp r9d, ebx
je 0x14007b96f
xor edx, edx
mov eax, r8d
div dword [rdi + 0x30]
inc eax
cmp ebx, eax
je 0x14007b96f
mov rax, qword [rdi + 0x18]
mov rcx, qword [rax + 0x50]
mov eax, dword [rcx + 0x24]
bswap eax
test eax, eax
jne 0x14007b80d
mov eax, 0x65
jmp 0x14007b9d2
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x90]
mov edx, ebx
mov rcx, rdi
call fcn.1400785a0
test eax, eax
jne 0x14007b9d2
movzx eax, byte [rsp + 0x90]
cmp al, 1
jne 0x14007b847
mov ecx, 0x10324
call fcn.140108de0
jmp 0x14007b9d2
cmp al, 2
jne 0x14007b88e
test ebp, ebp
jne 0x14007b9d0
lea r8, [rsp + 0x90]
lea rdx, [rsp + 0x38]
mov r9d, ebx
mov rcx, rdi
mov byte [rsp + 0x20], 1
call fcn.14007da10
test eax, eax
jne 0x14007b9d2
mov rcx, qword [rsp + 0x38]
call fcn.140079b00
mov r8d, dword [0x14017d440]
jmp 0x14007b973
mov rax, qword [rdi]
lea r8, [rsp + 0x40]
xor r9d, r9d
mov edx, ebx
mov rcx, rax
xor r14b, r14b
xor r15d, r15d
call qword [rax + delete[]]
test eax, eax
jne 0x14007b9d2
mov rcx, qword [rsp + 0x40]
mov r12, qword [rcx + 0x10]
cmp ebx, dword [r12 + 4]
je 0x14007b8ec
mov rax, qword [rcx + 8]
mov qword [r12 + 0x70], rcx
mov ecx, 0x64
mov qword [r12 + 0x50], rax
xor eax, eax
cmp ebx, 1
cmove eax, ecx
mov qword [r12 + 0x48], rdi
mov dword [r12 + 4], ebx
mov byte [r12 + 9], al
test ebp, ebp
jne 0x14007b900
mov r14b, 2
mov r15d, r13d
nop word [rax + rax]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x48]
mov r9d, r15d
mov rcx, rdi
mov byte [rsp + 0x20], r14b
call fcn.14007da10
mov esi, eax
test eax, eax
jne 0x14007b996
mov rcx, qword [rsp + 0x48]
call fcn.140079b00
mov r11d, dword [rsp + 0x30]
test ebp, ebp
je 0x14007b938
cmp r11d, r13d
ja 0x14007b900
mov r9d, dword [rsp + 0x38]
movzx r8d, byte [rsp + 0x90]
mov rdx, r12
mov rcx, rdi
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], r11d
call fcn.14007b5e0
mov rcx, r12
mov esi, eax
call fcn.140079b00
test esi, esi
jne 0x14007b99e
mov r8d, dword [0x14017d440]
test ebp, ebp
jne 0x14007b9d0
mov eax, r8d
xor edx, edx
lea r8d, [rbx - 2]
div dword [rdi + 0x30]
lea r9d, [rax + 1]
dec ebx
dec r8d
cmp ebx, r9d
je 0x14007b983
cmp ebx, 2
jae 0x14007b9a2
xor eax, eax
jmp 0x14007b9c5
mov rcx, r12
call fcn.140079b00
mov eax, esi
jmp 0x14007b9d2
mov eax, 0xcccccccd
mul dword [rdi + 0x34]
mov eax, r8d
mov ecx, edx
xor edx, edx
shr ecx, 2
inc ecx
div ecx
imul eax, ecx
add eax, 2
cmp eax, r9d
jne 0x14007b9c5
inc eax
cmp eax, ebx
je 0x14007b983
mov byte [rdi + 0x23], 1
mov dword [rdi + 0x3c], ebx
xor eax, eax
mov r15, qword [rsp + 0x50]
mov r14, qword [rsp + 0x98]
mov r12, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
add rsp, 0x58
pop r13
pop rdi
pop rbp
pop rbx
ret