Function at 0x1402010f0
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, 0x78
xor r11d, r11d
mov rax, qword [rdx + 0x148]
mov ebp, dword [rdx + 0x34]
mov ebx, dword [rdx + 0x38]
mov rdi, qword [rcx]
mov r15d, dword [rdx + 0x130]
add ebx, ebp
mov qword [rcx + 0xb0], rax
mov eax, dword [rdx + 0x88]
mov r14, rcx
mov rsi, rdx
mov qword [rdx + 0x148], r11
mov dword [rsp + 0x54], eax
test ebp, ebp
jne 0x140201148
test ebx, ebx
setg al
cmp al, 1
sbb ebx, 0xffffffff
imul edx, dword [r14 + 0x90], 0x18
mov rcx, r14
movsxd rax, edx
add rax, qword [r14 + 0x88]
mov qword [rsp + 0x58], rax
mov eax, dword [rsi + 0x3c]
sub eax, edx
lea rdx, [rsp + 0x54]
and eax, 0xfffffff8
cdqe
mov qword [rsp + 0x60], rax
call fcn.1401be230
xor eax, eax
cmp byte [rsi + 0x20], 0
je 0x14020118c
xor eax, eax
cmp byte [rsi + 0x21], 0
setne al
mov edx, eax
mov al, byte [r14 + 0xc8]
shl edx, 5
and eax, 0xffffffdf
or eax, edx
mov byte [r14 + 0xc8], al
mov dl, byte [rsi + 0x133]
test dl, dl
je 0x14020123d
mov ecx, 0xa
cmp ebx, ecx
cmovl ebx, ecx
mov ecx, edx
and eax, 0xfffffff3
and ecx, 3
shl ecx, 2
or eax, ecx
mov byte [r14 + 0xc8], al
cmp dl, 2
jne 0x1402011ef
mov edx, 4
mov rcx, r14
mov r12d, 0xc
call fcn.140202c50
mov eax, 8
jmp 0x140201204
mov edx, 8
mov rcx, r14
mov r12d, 8
call fcn.140202c50
xor eax, eax
movsxd rcx, eax
lea rdx, str.addr
sub r12d, eax
xor esi, esi
lea r13, [rdx + rcx*8]
cmp r12d, esi
je 0x14020123d
xor r10d, r10d
mov edx, esi
xor r8d, r8d
mov rcx, r14
mov qword [rsp + 0x20], r10
mov r9, qword [r13]
inc esi
add r13, 8
call fcn.140202c00
jmp 0x140201217
movsxd rax, ebx
lea rsi, [rsp + 0x58]
xor r9d, r9d
movsx r13, r15w
imul rax, rax, 0x38
and byte [r14 + 0xc8], 0xfc
mov rcx, rsi
mov qword [rsp + 0x68], r9
imul r13, r13, 0x38
mov rdx, rax
mov qword [rsp + 0x40], rax
call fcn.14017aff0
mov rdx, r13
mov qword [r14 + 0x68], rax
call fcn.14017aff0
movsxd r12, dword [rsp + 0x54]
mov qword [r14 + 0x80], rax
lea rax, [r12*8]
mov rdx, rax
mov qword [rsp + 0x48], rax
call fcn.14017aff0
mov qword [r14 + 0x70], rax
movsxd rax, ebp
shl rax, 3
mov rdx, rax
mov qword [rsp + 0x38], rax
call fcn.14017aff0
mov r12, qword [rsp + 0x68]
mov qword [r14 + 0x78], rax
test r12, r12
je 0x14020136b
mov rdx, r12
mov rcx, rdi
call fcn.1401cf810
mov qword [rsp + 0x60], r12
mov qword [r14 + 0x100], rax
cmp byte [rdi + 0x67], 0
mov qword [rsp + 0x58], rax
je 0x1402012fd
xor r8d, r8d
mov word [r14 + 0x20], 0
mov qword [r14 + 0x24], r8
jmp 0x1402013d4
mov rax, qword [r14 + 0x68]
test rax, rax
jne 0x140201313
mov rdx, qword [rsp + 0x40]
mov rcx, rsi
call fcn.14017aff0
mov qword [r14 + 0x68], rax
mov rax, qword [r14 + 0x80]
test rax, rax
jne 0x14020132e
mov rdx, r13
mov rcx, rsi
call fcn.14017aff0
mov qword [r14 + 0x80], rax
mov rax, qword [r14 + 0x70]
test rax, rax
jne 0x14020134b
mov rdx, qword [rsp + 0x48]
mov rcx, rsi
call fcn.14017aff0
mov qword [r14 + 0x70], rax
mov rax, qword [r14 + 0x78]
test rax, rax
jne 0x140201365
mov rdx, qword [rsp + 0x38]
mov rcx, rsi
call fcn.14017aff0
mov qword [r14 + 0x78], rax
jmp 0x140201375
cmp byte [rdi + 0x67], 0
jne 0x1402012ea
movsx edx, r15w
mov dword [r14 + 0x28], ebp
mov word [r14 + 0x20], r15w
test edx, edx
jle 0x1402013a4
mov rax, qword [r14 + 0x80]
xor ecx, ecx
mov word [rax + 0x14], 1
add rax, 0x38
mov qword [rax - 0x20], rdi
mov dword [rax - 0x18], ecx
dec edx
jne 0x14020138d
mov dword [r14 + 0x24], ebx
test ebx, ebx
jle 0x1402013c7
mov rax, qword [r14 + 0x68]
xor edx, edx
mov word [rax + 0x14], 0
add rax, 0x38
mov qword [rax - 0x20], rdi
mov dword [rax - 0x18], edx
dec ebx
jne 0x1402013b0
mov rdi, qword [r14 + 0x78]
mov rcx, qword [rsp + 0x38]
xor eax, eax
rep stosb byte [rdi], al
movabs rax, 0xffffffff00000001
mov byte [r14 + 0xc5], 1
mov qword [r14 + 0x2c], rax
xor eax, eax
mov word [r14 + 0xc2], 0xff02
mov qword [r14 + 0x34], rax
mov qword [r14 + 0x3c], rax
mov qword [r14 + 0x50], rax
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret