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

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov r13, qword [rcx + 0x18]
xor r15d, r15d
xor r12d, r12d
mov r14d, r8d
mov rdi, rdx
mov rsi, rcx
mov qword [rbp - 0x10], r13
mov qword [rbp + 0x58], r15
cmp r8d, 2
jb 0x14002ad28
cmp r8d, dword [rcx + 0x3c]
ja 0x14002ad28
test rdx, rdx
je 0x14002aa04
mov rax, qword [rdx + 0x70]
lea ecx, [r15 + 1]
mov qword [rbp + 0x40], rdx
add word [rax + 0x36], cx
mov rax, qword [rax + 0x18]
add dword [rax + 0x18], ecx
jmp 0x14002aa13
mov edx, r8d
call fcn.1400273d0
mov rdi, rax
mov qword [rbp + 0x40], rax
mov rcx, qword [r13 + 0x70]
call fcn.1400226a8
mov ebx, eax
mov dword [rbp + 0x50], eax
test eax, eax
jne 0x14002acff
mov rdx, qword [r13 + 0x50]
movzx eax, byte [rdx + 0x26]
movzx r13d, byte [rdx + 0x25]
shl r13d, 8
or r13d, eax
movzx eax, byte [rdx + 0x24]
shl eax, 0x18
shl r13d, 8
or r13d, eax
movzx eax, byte [rdx + 0x27]
or r13d, eax
lea ecx, [r13 + 1]
mov eax, ecx
mov byte [rdx + 0x27], cl
shr eax, 0x18
mov byte [rdx + 0x24], al
mov eax, ecx
shr eax, 0x10
mov byte [rdx + 0x25], al
mov eax, ecx
shr eax, 8
mov byte [rdx + 0x26], al
test byte [rsi + 0x26], 4
je 0x14002aac5
test rdi, rdi
jne 0x14002aa9c
lea r8, [rbp + 0x40]
xor r9d, r9d
mov edx, r14d
mov rcx, rsi
call fcn.140027360
mov ebx, eax
test eax, eax
jne 0x14002ad22
mov rdi, qword [rbp + 0x40]
mov rcx, qword [rdi + 0x70]
call fcn.1400226a8
mov ebx, eax
mov dword [rbp + 0x50], eax
test eax, eax
jne 0x14002acff
mov rax, qword [rdi + 0x48]
mov rcx, qword [rdi + 0x50]
xor edx, edx
mov r8d, dword [rax + 0x30]
call fcn.1400c8410
cmp byte [rsi + 0x21], r12b
je 0x14002aaf0
lea rax, [rbp + 0x50]
xor r9d, r9d
mov r8b, 2
mov edx, r14d
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.140026098
mov ebx, dword [rbp + 0x50]
test ebx, ebx
jne 0x14002acff
test r13d, r13d
je 0x14002ac7b
mov rcx, qword [rbp - 0x10]
lea r8, [rbp + 0x58]
xor r9d, r9d
mov rcx, qword [rcx + 0x50]
movzx eax, byte [rcx + 0x22]
movzx r12d, byte [rcx + 0x21]
shl r12d, 8
or r12d, eax
movzx eax, byte [rcx + 0x23]
shl r12d, 8
or r12d, eax
movzx eax, byte [rcx + 0x20]
mov rcx, rsi
shl eax, 0x18
or r12d, eax
mov edx, r12d
call fcn.140027360
mov r15, qword [rbp + 0x58]
mov ebx, eax
test eax, eax
jne 0x14002acff
mov rcx, qword [r15 + 0x50]
movzx eax, byte [rcx + 6]
movzx r13d, byte [rcx + 5]
shl r13d, 8
or r13d, eax
movzx eax, byte [rcx + 4]
shl eax, 0x18
shl r13d, 8
or r13d, eax
movzx eax, byte [rcx + 7]
mov ecx, dword [rsi + 0x34]
shr ecx, 2
or r13d, eax
lea eax, [rcx - 2]
cmp r13d, eax
jbe 0x14002ab8e
mov ecx, 0x11010
call fcn.140083408
mov ebx, eax
jmp 0x14002acff
lea eax, [rcx - 8]
cmp r13d, eax
jae 0x14002ac7b
mov rcx, qword [r15 + 0x70]
call fcn.1400226a8
mov ebx, eax
test eax, eax
jne 0x14002acff
mov rcx, qword [r15 + 0x50]
lea edx, [r13 + 1]
mov byte [rcx + 7], dl
mov eax, edx
shr eax, 0x18
mov byte [rcx + 4], al
mov eax, edx
shr eax, 0x10
mov byte [rcx + 5], al
mov eax, edx
shr eax, 8
mov byte [rcx + 6], al
lea ecx, [r13*4 + 8]
mov eax, r14d
add rcx, qword [r15 + 0x50]
shr eax, 0x18
mov byte [rcx], al
mov eax, r14d
mov byte [rcx + 3], r14b
shr eax, 0x10
mov byte [rcx + 1], al
mov eax, r14d
shr eax, 8
mov byte [rcx + 2], al
test rdi, rdi
je 0x14002ac32
test byte [rsi + 0x26], 4
jne 0x14002ac32
mov rcx, qword [rdi + 0x70]
mov rdx, qword [rcx + 0x28]
cmp byte [rdx + 0x10], bl
jne 0x14002ac32
movzx eax, word [rcx + 0x34]
test al, 2
je 0x14002ac32
cmp dword [rdx + 0x80], ebx
jne 0x14002ac32
mov edx, 0xfffb
and ax, dx
or ax, 0x10
mov word [rcx + 0x34], ax
xor ebx, ebx
cmp qword [rsi + 0x58], rbx
jne 0x14002ac61
mov r12d, dword [rsi + 0x3c]
mov ecx, 0x200
call fcn.14001680c
test rax, rax
je 0x14002ac50
mov dword [rax], r12d
mov qword [rsi + 0x58], rax
test rax, rax
jne 0x14002ac61
lea ebx, [rax + 7]
jmp 0x14002acff
mov rcx, qword [rsi + 0x58]
cmp r14d, dword [rcx]
ja 0x14002acff
mov edx, r14d
call fcn.14001d3fc
jmp 0x14002ab87
test rdi, rdi
jne 0x14002aca0
lea r8, [rbp + 0x40]
xor r9d, r9d
mov edx, r14d
mov rcx, rsi
call fcn.140027360
mov ebx, eax
test eax, eax
jne 0x14002ad22
mov rdi, qword [rbp + 0x40]
mov rcx, qword [rdi + 0x70]
call fcn.1400226a8
mov ebx, eax
test eax, eax
jne 0x14002acff
mov rcx, qword [rdi + 0x50]
mov eax, r12d
shr eax, 0x18
mov byte [rcx + 3], r12b
mov byte [rcx], al
mov eax, r12d
shr eax, 0x10
mov byte [rcx + 1], al
mov eax, r12d
shr eax, 8
mov byte [rcx + 2], al
mov rax, qword [rdi + 0x50]
mov dword [rax + 4], ebx
mov rax, qword [rbp - 0x10]
mov rdx, qword [rax + 0x50]
mov eax, r14d
shr eax, 0x18
mov byte [rdx + 0x23], r14b
mov byte [rdx + 0x20], al
mov eax, r14d
shr eax, 0x10
mov byte [rdx + 0x21], al
mov eax, r14d
shr eax, 8
mov byte [rdx + 0x22], al
test rdi, rdi
je 0x14002ad10
mov byte [rdi], 0
mov rcx, qword [rdi + 0x70]
call fcn.1400220a4
test r15, r15
je 0x14002ad1e
mov rcx, qword [r15 + 0x70]
call fcn.1400220a4
mov eax, ebx
jmp 0x14002ad32
mov rdi, qword [rbp + 0x40]
jmp 0x14002acff
mov ecx, 0x10fda
call fcn.140083408
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret