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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
cmp dword [rcx + 0x80], r8d
mov rbx, rcx
mov ebp, edx
jg 0x14012a6f5
xor ebp, ebp
jmp 0x14012aa67
xor edi, edi
cmp edx, 1
setne dil
add edi, r8d
movsxd rsi, edi
mov r12d, edi
imul rsi, rsi, 0x38
mov r13, rsi
cmp r12d, dword [rbx + 0x80]
jge 0x14012a72e
mov rax, qword [rbx + 0x78]
inc r12d
mov rcx, qword [rax + r13 + 0x10]
add r13, 0x38
call fcn.140108fb0
jmp 0x14012a70e
dec ebp
mov dword [rbx + 0x80], edi
jne 0x14012a780
add rsi, qword [rbx + 0x78]
cmp dword [rsi + 0x20], 0
je 0x14012a6ee
mov rcx, qword [rbx + 0x58]
mov rax, qword [rcx]
test rax, rax
je 0x14012a6ee
lea rdx, [0x1401a1080]
xor ebp, ebp
cmp rax, rdx
jne 0x14012a775
mov rax, qword [rbx + 0xc8]
lea rdx, [rax + 4]
mov eax, dword [rsi + 0x1c]
imul rdx, rax
call fcn.14012a000
mov ebp, eax
mov eax, dword [rsi + 0x1c]
mov dword [rbx + 0x3c], eax
jmp 0x14012aa67
cmp qword [rbx + 0x128], 0
jne 0x14012a798
mov rax, qword [rbx + 0x50]
cmp qword [rax], 0
je 0x14012a6ee
test edi, edi
je 0x14012a7c8
mov rax, qword [rbx + 0x78]
lea rsi, [rax + rsi - 0x38]
test rsi, rsi
je 0x14012a7c8
mov ecx, dword [rsi + 0x18]
mov ebp, 7
call fcn.140108f90
test rax, rax
mov rdi, rax
je 0x14012aa67
mov eax, dword [rsi + 0x18]
jmp 0x14012a7cf
mov eax, dword [rbx + 0x24]
xor esi, esi
xor edi, edi
mov dword [rbx + 0x20], eax
mov al, byte [rbx + 0x10]
test rsi, rsi
mov r12, qword [rbx + 0x128]
mov byte [rbx + 0x17], al
jne 0x14012a8c6
test r12, r12
je 0x14012a8e7
mov eax, dword [rbx + 0x24]
xor ebp, ebp
mov dword [rbx + 0x20], eax
cmp byte [r12 + 0x40], 0
je 0x14012a890
mov rdx, qword [r12 + 0x30]
lea rax, [r12 + 0x48]
mov ecx, 0xc
mov rdi, rax
mov r13d, dword [r12 + 0x58]
mov rsi, qword [rdx]
rep movsd dword [rdi], dword [rsi]
mov eax, dword [r12 + 0x58]
lea esi, [rax + 1]
test ebp, ebp
jne 0x14012a881
cmp r13d, esi
jb 0x14012a881
lea eax, [rsi + 0x1000]
mov rcx, qword [r12 + 0x30]
sub rax, 0xfdf
shr rax, 0xc
test eax, eax
jne 0x14012a85a
mov rdx, qword [rcx]
mov eax, esi
lea rax, [rdx + rax*4 + 0x84]
jmp 0x14012a871
lea rdx, [rsi*4 + 0x84]
cdqe
and edx, 0x3ffc
add rdx, qword [rcx + rax*8]
mov rax, rdx
mov edx, dword [rax]
mov rcx, rbx
inc esi
call fcn.1400f4d80
mov ebp, eax
jmp 0x14012a829
cmp r13d, dword [r12 + 0x58]
je 0x14012a890
mov rcx, r12
call fcn.14015f690
mov rax, qword [rbx + 0x120]
mov rcx, qword [rax]
call fcn.14012ee60
test rax, rax
je 0x14012aa67
test ebp, ebp
jne 0x14012aa67
mov edx, dword [rax + 0x30]
mov rcx, rbx
mov rsi, qword [rax + 0x20]
call fcn.1400f4d80
mov ebp, eax
mov rax, rsi
jmp 0x14012a89f
test r12, r12
mov r13, qword [rbx + 0x60]
jne 0x14012a91b
mov r12, qword [rsi + 8]
lea r14, [rbx + 0x60]
mov rax, qword [rsi]
test r12, r12
cmove r12, r13
mov qword [rbx + 0x60], rax
jmp 0x14012a913
mov r13, qword [rbx + 0x60]
jmp 0x14012a91b
mov dword [rsp + 0x20], 1
mov r9d, 1
mov r8, rdi
mov rdx, r14
mov rcx, rbx
call fcn.1400f5ef0
test eax, eax
mov ebp, eax
jne 0x14012a9c4
cmp qword [rbx + 0x60], r12
jl 0x14012a8ed
jmp 0x14012a921
xor ecx, ecx
mov qword [rbx + 0x60], rcx
lea r12, [rsp + 0x34]
xor ebp, ebp
lea r14, [rbx + 0x60]
cmp r13, qword [rbx + 0x60]
jle 0x14012a9c4
xor edx, edx
mov rcx, rbx
mov r9, r12
lea rax, [rsp + 0x38]
mov dword [rsp + 0x34], edx
mov r8, r13
xor edx, edx
mov qword [rsp + 0x20], rax
call fcn.1400f9d00
cmp dword [rsp + 0x34], 0
mov ecx, eax
jne 0x14012a989
mov edx, dword [rbx + 0xb8]
add rdx, qword [rbx + 0x68]
cmp rdx, qword [rbx + 0x60]
jne 0x14012a989
mov rax, r13
sub rax, rdx
mov rdx, qword [rbx + 0xc8]
lea r8, [rdx + 8]
cqo
idiv r8
mov dword [rsp + 0x34], eax
xor r15d, r15d
test ecx, ecx
je 0x14012a994
mov ebp, ecx
jmp 0x14012a9c4
cmp r15d, dword [rsp + 0x34]
jae 0x14012a92c
cmp r13, qword [rbx + 0x60]
jle 0x14012a92c
mov rcx, rbx
mov dword [rsp + 0x20], 1
mov r9d, 1
mov r8, rdi
mov rdx, r14
inc r15d
call fcn.1400f5ef0
mov ecx, eax
jmp 0x14012a98c
test rsi, rsi
je 0x14012aa57
mov rax, qword [rbx + 0xc8]
mov edx, dword [rsi + 0x1c]
mov rcx, qword [rbx + 0x128]
add rax, 4
imul rax, rdx
test rcx, rcx
mov qword [rsp + 0x38], rax
je 0x14012aa27
mov eax, dword [rcx + 0x88]
cmp dword [rsi + 0x30], eax
je 0x14012aa09
xor eax, eax
mov dword [rsi + 0x24], eax
mov eax, dword [rcx + 0x88]
mov dword [rsi + 0x30], eax
mov eax, dword [rsi + 0x24]
cmp eax, dword [rcx + 0x58]
jae 0x14012aa25
mov dword [rcx + 0x58], eax
mov eax, dword [rsi + 0x28]
mov dword [rcx + 0x60], eax
mov eax, dword [rsi + 0x2c]
mov dword [rcx + 0x64], eax
call fcn.14015f690
xor ebp, ebp
mov esi, dword [rsi + 0x1c]
lea r12, [rsp + 0x38]
test ebp, ebp
jne 0x14012aa57
cmp esi, dword [rbx + 0x3c]
jae 0x14012aa57
mov dword [rsp + 0x20], 1
xor r9d, r9d
mov r8, rdi
inc esi
mov rdx, r12
mov rcx, rbx
call fcn.1400f5ef0
mov ebp, eax
jmp 0x14012aa2f
mov rcx, rdi
call fcn.140108fb0
test ebp, ebp
jne 0x14012aa67
mov qword [rbx + 0x60], r13
mov eax, ebp
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret