Function at 0x140213fe0
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 + 0x138]
mov ebp, dword [rdx + 0x34]
mov ebx, dword [rdx + 0x38]
mov rdi, qword [rcx]
mov qword [rcx + 0xb0], rax
mov eax, dword [rdx + 0x80]
mov r14, rcx
mov rsi, rdx
mov r15d, dword [rdx + 0x120]
mov qword [rdx + 0x138], r11
add ebx, ebp
test ebp, ebp
mov dword [rsp + 0x54], eax
jne 0x140214038
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.1401de7c0
xor eax, eax
cmp byte [rsi + 0x20], 0
je 0x14021407c
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 + 0x123]
test dl, dl
je 0x14021412d
mov ecx, 0xa
cmp ebx, ecx
cmovl ebx, ecx
mov ecx, edx
and eax, 0xfffffff3
and ecx, 3
shl ecx, 2
or eax, ecx
cmp dl, 2
mov byte [r14 + 0xc8], al
jne 0x1402140df
mov edx, 4
mov rcx, r14
mov r12d, 0xc
call fcn.140215b10
mov eax, 8
jmp 0x1402140f4
mov edx, 8
mov rcx, r14
mov r12d, 8
call fcn.140215b10
xor eax, eax
movsxd rcx, eax
sub r12d, eax
xor esi, esi
lea rdx, str.addr
lea r13, [rdx + rcx*8]
cmp r12d, esi
je 0x14021412d
xor r10d, r10d
mov edx, esi
xor r8d, r8d
mov qword [rsp + 0x20], r10
mov r9, qword [r13]
mov rcx, r14
inc esi
add r13, 8
call fcn.140215ac0
jmp 0x140214107
movsxd rax, ebx
movsx r13, r15w
xor r9d, r9d
imul rax, rax, 0x38
mov qword [rsp + 0x68], r9
and byte [r14 + 0xc8], 0xfc
imul r13, r13, 0x38
lea rsi, [rsp + 0x58]
mov rcx, rsi
mov rdx, rax
mov qword [rsp + 0x40], rax
call fcn.1401bbf00
mov rdx, r13
mov qword [r14 + 0x68], rax
call fcn.1401bbf00
movsxd r12, dword [rsp + 0x54]
mov qword [r14 + 0x80], rax
lea rax, [r12*8]
mov rdx, rax
mov qword [rsp + 0x48], rax
call fcn.1401bbf00
mov qword [r14 + 0x70], rax
movsxd rax, ebp
shl rax, 3
mov rdx, rax
mov qword [rsp + 0x38], rax
call fcn.1401bbf00
mov r12, qword [rsp + 0x68]
mov qword [r14 + 0x78], rax
test r12, r12
je 0x14021425b
mov rdx, r12
mov rcx, rdi
call fcn.1401eb6d0
mov qword [rsp + 0x60], r12
mov qword [r14 + 0x100], rax
cmp byte [rdi + 0x67], 0
mov qword [rsp + 0x58], rax
je 0x1402141ed
xor r8d, r8d
mov word [r14 + 0x20], 0
mov qword [r14 + 0x24], r8
jmp 0x1402142c4
mov rax, qword [r14 + 0x68]
test rax, rax
jne 0x140214203
mov rdx, qword [rsp + 0x40]
mov rcx, rsi
call fcn.1401bbf00
mov qword [r14 + 0x68], rax
mov rax, qword [r14 + 0x80]
test rax, rax
jne 0x14021421e
mov rdx, r13
mov rcx, rsi
call fcn.1401bbf00
mov qword [r14 + 0x80], rax
mov rax, qword [r14 + 0x70]
test rax, rax
jne 0x14021423b
mov rdx, qword [rsp + 0x48]
mov rcx, rsi
call fcn.1401bbf00
mov qword [r14 + 0x70], rax
mov rax, qword [r14 + 0x78]
test rax, rax
jne 0x140214255
mov rdx, qword [rsp + 0x38]
mov rcx, rsi
call fcn.1401bbf00
mov qword [r14 + 0x78], rax
jmp 0x140214265
cmp byte [rdi + 0x67], 0
jne 0x1402141da
movsx edx, r15w
mov dword [r14 + 0x28], ebp
test edx, edx
mov word [r14 + 0x20], r15w
jle 0x140214294
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 0x14021427d
test ebx, ebx
mov dword [r14 + 0x24], ebx
jle 0x1402142b7
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 0x1402142a0
mov rdi, qword [r14 + 0x78]
xor eax, eax
mov rcx, qword [rsp + 0x38]
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