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

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rdi, qword [rcx + 0x58]
mov r13d, r8d
mov rbp, rcx
mov rsi, rdx
shr r13d, 0x1f
test rdi, rdi
mov r12d, r8d
je 0x1402eaf20
test r13b, r13b
je 0x1402eaf20
movsxd rax, dword [rdi]
lea rbx, [rdi + 8]
test eax, eax
jle 0x1402eb002
sub eax, 1
shl rax, 5
lea r14, [rdi + rax + 0x28]
jmp 0x1402eaef6
test rsi, rsi
je 0x1402eaf04
xor ecx, ecx
mov r9d, 0xffffffff
mov r8, rsi
call fcn.1402edaf0
test eax, eax
je 0x1402eaf09
add rbx, 0x20
cmp rbx, r14
je 0x1402eaff0
test byte [rbx + 0x14], 8
je 0x1402eaee9
mov rdx, qword [rbx]
test rdx, rdx
jne 0x1402eaed0
cmp rdx, rsi
jne 0x1402eaee9
mov eax, dword [rbx + 0x18]
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
test rsi, rsi
mov rcx, qword [rbp]
je 0x1402eafe0
mov rdx, rsi
call fcn.140249650
test rax, rax
mov rsi, rax
je 0x1402eafe0
test byte [rax + 4], 8
jne 0x1402eb030
test rdi, rdi
je 0x1402eb130
movsxd rax, dword [rdi]
cmp dword [rdi + 4], eax
jle 0x1402eb100
lea edx, [rax + 1]
mov dword [rdi], edx
mov rdx, rax
shl rdx, 5
add rdx, rdi
mov qword [rdx + 0x10], 0
mov qword [rdx + 0x18], 0
mov qword [rdx + 0x20], 0
mov qword [rdx + 8], rsi
lea ecx, [r13*8]
mov rdx, rax
shl rdx, 5
lea rdx, [rdi + rdx + 0x10]
movzx r13d, byte [rdx + 0xc]
and r13d, 0xfffffff7
or r13d, ecx
test r12d, r12d
mov byte [rdx + 0xc], r13b
jns 0x1402eafbf
mov ecx, dword [rbp + 0x38]
lea r12d, [rcx + 1]
mov dword [rbp + 0x38], r12d
shl rax, 5
mov dword [rdi + rax + 0x20], r12d
mov eax, r12d
mov qword [rbp + 0x58], rdi
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
xor esi, esi
jmp 0x1402eaf4b
test rsi, rsi
mov rcx, qword [rbp]
jne 0x1402eaf2d
jmp 0x1402eaf54
test rdx, rdx
mov rcx, qword [rcx]
je 0x1402eaf57
call fcn.140249650
test rax, rax
mov rsi, rax
je 0x1402eaf54
test byte [rax + 4], 8
je 0x1402eaf54
nop dword [rax]
mov rbx, qword [rbp + 0x10]
movsxd rdi, dword [rbx + 0x90]
cmp edi, dword [rbx + 0x94]
jge 0x1402eb14f
lea eax, [rdi + 1]
mov dword [rbx + 0x90], eax
movsxd rax, edi
lea rdx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
lea rax, [rax + rdx*8]
mov qword [rax], 0xf
mov qword [rax + 8], 0
mov qword [rax + 0x10], 0
mov rcx, qword [rbp]
mov byte [rbp + 0x23], 0
mov eax, r12d
cmp byte [rcx + 0x67], 0
jne 0x1402eb0b4
test r12d, r12d
js 0x1402eb141
cmp qword [rbp + 0x10], 0
je 0x1402eb0b4
mov r8d, eax
mov rcx, rbp
mov rdx, rsi
mov dword [rsp + 0x3c], eax
call fcn.1402e9210
mov rcx, qword [rbp]
mov eax, dword [rsp + 0x3c]
mov rdx, rsi
mov byte [rbp + 0x23], 1
mov dword [rsp + 0x3c], eax
call fcn.1402ee4e0
mov r8, qword [rbx]
lea rdx, [0x140397be0]
mov ecx, dword [rbx + 0x90]
mov eax, dword [rsp + 0x3c]
cmp byte [r8 + 0x67], 0
jne 0x1402eb0ee
mov rdx, qword [rbx + 0x88]
lea r8, [rdi + rdi*2]
lea rdx, [rdx + r8*8]
mov dword [rdx + 8], ecx
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rcx, qword [rbp]
mov rdx, rdi
mov r8, rsi
call fcn.1402ef720
mov rdi, rax
test rdi, rdi
mov eax, r12d
je 0x1402eafcb
mov eax, dword [rdi]
sub eax, 1
cdqe
jmp 0x1402eaf8b
mov rcx, qword [rbp]
mov rdx, rsi
call fcn.1402ef800
mov rdi, rax
jmp 0x1402eb112
mov eax, dword [rbp + 0x38]
add eax, 1
mov dword [rbp + 0x38], eax
jmp 0x1402eb093
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf
mov rcx, rbx
call fcn.140297360
movsxd rdi, eax
jmp 0x1402eb079