Function at 0x14002a5ec
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 r12d, r12d
xor r15d, r15d
mov qword [rbp + 0x58], r12
mov qword [rbp - 0x10], r13
mov r14d, r8d
mov rdi, rdx
mov rsi, rcx
cmp r8d, 2
jb 0x14002a979
cmp r8d, dword [rcx + 0x3c]
ja 0x14002a979
test rdx, rdx
je 0x14002a64d
mov rax, qword [rdx + 0x70]
lea ecx, [r12 + 1]
add word [rax + 0x36], cx
mov rax, qword [rax + 0x18]
add dword [rax + 0x18], ecx
jmp 0x14002a658
mov edx, r14d
call fcn.140026f34
mov rdi, rax
mov rcx, qword [r13 + 0x70]
mov qword [rbp + 0x40], rdi
call fcn.14002224c
mov dword [rbp + 0x50], eax
mov ebx, eax
test eax, eax
jne 0x14002a94f
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 0x14002a70e
test rdi, rdi
jne 0x14002a6e5
xor r9d, r9d
lea r8, [rbp + 0x40]
mov edx, r14d
mov rcx, rsi
call fcn.140026ec4
mov ebx, eax
test eax, eax
jne 0x14002a973
mov rdi, qword [rbp + 0x40]
mov rcx, qword [rdi + 0x70]
call fcn.14002224c
mov dword [rbp + 0x50], eax
mov ebx, eax
test eax, eax
jne 0x14002a94f
mov rax, qword [rdi + 0x48]
xor edx, edx
mov rcx, qword [rdi + 0x50]
mov r8d, dword [rax + 0x30]
call fcn.1400c58a0
cmp byte [rsi + 0x21], r12b
je 0x14002a739
lea rax, [rbp + 0x50]
xor r9d, r9d
mov r8b, 2
mov qword [rsp + 0x20], rax
mov edx, r14d
mov rcx, rsi
call fcn.140025c58
mov ebx, dword [rbp + 0x50]
test ebx, ebx
jne 0x14002a94f
test r13d, r13d
je 0x14002a8cb
mov rcx, qword [rbp - 0x10]
lea r8, [rbp + 0x58]
xor r9d, r9d
mov rcx, qword [rcx + 0x50]
movzx eax, byte [rcx + 0x22]
movzx r15d, byte [rcx + 0x21]
shl r15d, 8
or r15d, eax
movzx eax, byte [rcx + 0x20]
shl eax, 0x18
shl r15d, 8
or r15d, eax
movzx eax, byte [rcx + 0x23]
or r15d, eax
mov rcx, rsi
mov edx, r15d
call fcn.140026ec4
mov r12, qword [rbp + 0x58]
mov ebx, eax
test eax, eax
jne 0x14002a94f
mov rcx, qword [r12 + 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]
or r13d, eax
shr ecx, 2
lea eax, [rcx - 2]
cmp r13d, eax
jbe 0x14002a7d8
mov ecx, 0x11010
call fcn.140083c20
mov ebx, eax
jmp 0x14002a94f
lea eax, [rcx - 8]
cmp r13d, eax
jae 0x14002a8cb
mov rcx, qword [r12 + 0x70]
call fcn.14002224c
mov ebx, eax
test eax, eax
jne 0x14002a94f
mov rcx, qword [r12 + 0x50]
lea edx, [r13 + 1]
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
mov eax, r14d
mov byte [rcx + 7], dl
lea ecx, [r13*4 + 8]
add rcx, qword [r12 + 0x50]
shr eax, 0x18
mov byte [rcx], al
mov eax, r14d
shr eax, 0x10
mov byte [rcx + 1], al
mov eax, r14d
shr eax, 8
mov byte [rcx + 2], al
mov byte [rcx + 3], r14b
test rdi, rdi
je 0x14002a87f
test byte [rsi + 0x26], 4
jne 0x14002a87f
mov rcx, qword [rdi + 0x70]
mov rdx, qword [rcx + 0x28]
cmp byte [rdx + 0x10], bl
jne 0x14002a87f
movzx eax, word [rcx + 0x34]
test al, 2
je 0x14002a87f
cmp dword [rdx + 0x80], ebx
jne 0x14002a87f
mov edx, 0xfffb
and ax, dx
or ax, 0x10
mov word [rcx + 0x34], ax
mov rax, qword [rsi + 0x58]
xor ebx, ebx
test rax, rax
jne 0x14002a8a4
mov r15d, dword [rsi + 0x3c]
mov ecx, 0x200
call fcn.14001698c
test rax, rax
je 0x14002a8bd
mov dword [rax], r15d
mov qword [rsi + 0x58], rax
cmp r14d, dword [rax]
ja 0x14002a94f
mov edx, r14d
mov rcx, rax
call fcn.14001cfc8
jmp 0x14002a7d1
mov qword [rsi + 0x58], rax
mov ebx, 7
jmp 0x14002a94f
test rdi, rdi
jne 0x14002a8f0
xor r9d, r9d
lea r8, [rbp + 0x40]
mov edx, r14d
mov rcx, rsi
call fcn.140026ec4
mov ebx, eax
test eax, eax
jne 0x14002a973
mov rdi, qword [rbp + 0x40]
mov rcx, qword [rdi + 0x70]
call fcn.14002224c
mov ebx, eax
test eax, eax
jne 0x14002a94f
mov rcx, qword [rdi + 0x50]
mov eax, r15d
shr eax, 0x18
mov byte [rcx], al
mov eax, r15d
shr eax, 0x10
mov byte [rcx + 1], al
mov eax, r15d
shr eax, 8
mov byte [rcx + 2], al
mov byte [rcx + 3], r15b
mov rax, qword [rdi + 0x50]
and dword [rax + 4], ebx
mov rax, qword [rbp - 0x10]
mov rdx, qword [rax + 0x50]
mov eax, r14d
shr eax, 0x18
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
mov byte [rdx + 0x23], r14b
test rdi, rdi
je 0x14002a960
mov byte [rdi], 0
mov rcx, qword [rdi + 0x70]
call fcn.140021c70
test r12, r12
je 0x14002a96f
mov rcx, qword [r12 + 0x70]
call fcn.140021c70
mov eax, ebx
jmp 0x14002a983
mov rdi, qword [rbp + 0x40]
jmp 0x14002a94f
mov ecx, 0x10fda
call fcn.140083c20
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret