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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r15, qword [rcx + 0x18]
xor r12d, r12d
xor r14d, r14d
mov ebp, r8d
mov rdi, rdx
mov rsi, rcx
mov qword [rax + 0x20], r12
cmp r8d, 2
jb 0x14002afc1
cmp r8d, dword [rcx + 0x3c]
ja 0x14002afc1
test rdx, rdx
je 0x14002ac84
mov qword [rax + 8], rdx
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 0x14002ac94
mov edx, r8d
call fcn.140027540
mov rdi, rax
mov qword [rsp + 0x70], rax
mov rcx, qword [r15 + 0x70]
call fcn.14002273c
mov ebx, eax
mov dword [rsp + 0x80], eax
test eax, eax
jne 0x14002af96
mov rdx, qword [r15 + 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 0x14002ad4f
test rdi, rdi
jne 0x14002ad22
lea r8, [rsp + 0x70]
xor r9d, r9d
mov edx, ebp
mov rcx, rsi
call fcn.1400274d0
mov ebx, eax
test eax, eax
jne 0x14002afba
mov rdi, qword [rsp + 0x70]
mov rcx, qword [rdi + 0x70]
call fcn.14002273c
mov ebx, eax
mov dword [rsp + 0x80], eax
test eax, eax
jne 0x14002af96
mov rax, qword [rdi + 0x48]
mov rcx, qword [rdi + 0x50]
xor edx, edx
mov r8d, dword [rax + 0x30]
call sub.msvcrt.dll_memset
cmp byte [rsi + 0x21], r12b
je 0x14002ad81
lea rax, [rsp + 0x80]
xor r9d, r9d
mov r8b, 2
mov edx, ebp
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.140026204
mov ebx, dword [rsp + 0x80]
test ebx, ebx
jne 0x14002af96
test r13d, r13d
je 0x14002af0f
mov rcx, qword [r15 + 0x50]
lea r8, [rsp + 0x88]
xor r9d, r9d
movzx eax, byte [rcx + 0x22]
movzx r14d, byte [rcx + 0x21]
shl r14d, 8
or r14d, eax
movzx eax, byte [rcx + 0x23]
shl r14d, 8
or r14d, eax
movzx eax, byte [rcx + 0x20]
mov rcx, rsi
shl eax, 0x18
or r14d, eax
mov edx, r14d
call fcn.1400274d0
mov r12, qword [rsp + 0x88]
mov ebx, eax
test eax, eax
jne 0x14002af96
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]
shr ecx, 2
or r13d, eax
lea eax, [rcx - 2]
cmp r13d, eax
jbe 0x14002ae24
mov ecx, 0x11010
call fcn.140084b2c
mov ebx, eax
jmp 0x14002af96
lea eax, [rcx - 8]
cmp r13d, eax
jae 0x14002af0f
mov rcx, qword [r12 + 0x70]
call fcn.14002273c
mov ebx, eax
test eax, eax
jne 0x14002af96
mov rcx, qword [r12 + 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, ebp
add rcx, qword [r12 + 0x50]
shr eax, 0x18
mov byte [rcx], al
mov eax, ebp
mov byte [rcx + 3], bpl
shr eax, 0x10
mov byte [rcx + 1], al
mov eax, ebp
shr eax, 8
mov byte [rcx + 2], al
test rdi, rdi
je 0x14002aec8
test byte [rsi + 0x26], 4
jne 0x14002aec8
mov rcx, qword [rdi + 0x70]
mov rdx, qword [rcx + 0x28]
cmp byte [rdx + 0x10], bl
jne 0x14002aec8
movzx eax, word [rcx + 0x34]
test al, 2
je 0x14002aec8
cmp dword [rdx + 0x80], ebx
jne 0x14002aec8
mov edx, 0xfffb
and ax, dx
or ax, 0x10
mov word [rcx + 0x34], ax
xor ebx, ebx
cmp qword [rsi + 0x58], rbx
jne 0x14002aef7
mov r13d, dword [rsi + 0x3c]
mov ecx, 0x200
call fcn.140016860
test rax, rax
je 0x14002aee6
mov dword [rax], r13d
mov qword [rsi + 0x58], rax
test rax, rax
jne 0x14002aef7
lea ebx, [rax + 7]
jmp 0x14002af96
mov rcx, qword [rsi + 0x58]
cmp ebp, dword [rcx]
ja 0x14002af96
mov edx, ebp
call fcn.14001d4fc
jmp 0x14002ae1d
test rdi, rdi
jne 0x14002af35
lea r8, [rsp + 0x70]
xor r9d, r9d
mov edx, ebp
mov rcx, rsi
call fcn.1400274d0
mov ebx, eax
test eax, eax
jne 0x14002afba
mov rdi, qword [rsp + 0x70]
mov rcx, qword [rdi + 0x70]
call fcn.14002273c
mov ebx, eax
test eax, eax
jne 0x14002af96
mov rcx, qword [rdi + 0x50]
mov eax, r14d
shr eax, 0x18
mov byte [rcx + 3], r14b
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 rax, qword [rdi + 0x50]
mov byte [rax + 4], bl
mov byte [rax + 5], bl
mov byte [rax + 6], bl
mov byte [rax + 7], bl
mov rdx, qword [r15 + 0x50]
mov eax, ebp
shr eax, 0x18
mov byte [rdx + 0x23], bpl
mov byte [rdx + 0x20], al
mov eax, ebp
shr eax, 0x10
mov byte [rdx + 0x21], al
mov eax, ebp
shr eax, 8
mov byte [rdx + 0x22], al
test rdi, rdi
je 0x14002afa7
mov byte [rdi], 0
mov rcx, qword [rdi + 0x70]
call fcn.140022124
test r12, r12
je 0x14002afb6
mov rcx, qword [r12 + 0x70]
call fcn.140022124
mov eax, ebx
jmp 0x14002afcb
mov rdi, qword [rsp + 0x70]
jmp 0x14002af96
mov ecx, 0x10fda
call fcn.140084b2c
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret