Function at 0x14017e770
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
mov rax, qword [rdx + 0x138]
mov r14d, dword [rdx + 0x34]
mov ebp, dword [rdx + 0x38]
mov rdi, qword [rcx]
add ebp, r14d
mov qword [rcx + 0xb0], rax
mov rbx, rcx
mov r13, rdx
movzx eax, word [rdx + 0x120]
mov qword [rdx + 0x138], 0
mov word [rsp + 0x46], ax
mov eax, dword [rdx + 0x80]
mov dword [rsp + 0x6c], eax
test r14d, r14d
jne 0x14017e7d1
test ebp, ebp
setg al
cmp al, 1
sbb ebp, 0xffffffff
mov eax, dword [rbx + 0x90]
mov esi, dword [r13 + 0x3c]
lea rdx, [rsp + 0x6c]
mov rcx, rbx
lea eax, [rax + rax*2]
shl eax, 3
sub esi, eax
movsxd r12, eax
add r12, qword [rbx + 0x88]
call fcn.140165a50
and esi, 0xfffffff8
xor eax, eax
cmp byte [r13 + 0x20], 0
movsxd rsi, esi
je 0x14017e811
cmp byte [r13 + 0x21], 0
setne al
shl eax, 5
mov edx, eax
movzx eax, byte [rbx + 0xc8]
and eax, 0xffffffdf
or eax, edx
mov byte [rbx + 0xc8], al
movzx edx, byte [r13 + 0x123]
test dl, dl
je 0x14017e8d8
cmp ebp, 0xa
mov ecx, 0xa
cmovl ebp, ecx
mov ecx, edx
and eax, 0xfffffff3
and ecx, 3
shl ecx, 2
or eax, ecx
mov byte [rbx + 0xc8], al
cmp dl, 2
je 0x14017eb40
mov edx, 8
mov rcx, rbx
call fcn.1401746c0
mov dword [rsp + 0x38], 8
lea rdx, str.addr
xor r10d, r10d
add r10d, 1
xor r13d, r13d
movsxd r15, r10d
jmp 0x14017e89f
lea rax, str.addr
mov rdx, qword [rax + r15*8]
add r15, 1
mov rax, qword [rbx]
cmp byte [rax + 0x67], 0
jne 0x14017e8cd
mov rcx, qword [rbx + 0x98]
mov r9d, 1
mov qword [rsp + 0x20], 0
mov r8, 0xffffffffffffffff
add rcx, r13
call fcn.14017cf70
add r13, 0x38
cmp dword [rsp + 0x38], r15d
jg 0x14017e890
movsxd r8, ebp
and byte [rbx + 0xc8], 0xfc
lea r11, [r8*8]
sub r11, r8
shl r11, 3
cmp rsi, r11
jl 0x14017eb30
sub rsi, r11
xor edx, edx
lea rax, [r12 + rsi]
movsx r9, word [rsp + 0x46]
mov qword [rbx + 0x68], rax
lea r13, [r9*8]
sub r13, r9
shl r13, 3
cmp r13, rsi
jg 0x14017eb20
sub rsi, r13
lea r10, [r12 + rsi]
movsxd rcx, dword [rsp + 0x6c]
mov qword [rbx + 0x80], r10
shl rcx, 3
cmp rcx, rsi
jg 0x14017eb10
sub rsi, rcx
lea rcx, [r12 + rsi]
movsxd r15, r14d
mov qword [rbx + 0x70], rcx
shl r15, 3
cmp r15, rsi
jg 0x14017eb00
sub rsi, r15
lea rcx, [r12 + rsi]
mov qword [rbx + 0x78], rcx
test rdx, rdx
jne 0x14017e9d8
cmp byte [rdi + 0x67], 0
je 0x14017ea6b
xor r10d, r10d
mov qword [rbx + 0x24], 0
mov word [rbx + 0x20], r10w
mov eax, 0xffffff02
mov byte [rbx + 0xc5], 1
mov word [rbx + 0xc2], ax
movabs rax, 0xffffffff00000001
mov qword [rbx + 0x2c], rax
mov qword [rbx + 0x34], 0
mov qword [rbx + 0x3c], 0
mov qword [rbx + 0x50], 0
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rdi
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x50], r9
mov qword [rsp + 0x48], r11
mov qword [rsp + 0x38], rdx
call fcn.140174530
mov rdx, qword [rsp + 0x38]
mov r11, qword [rsp + 0x48]
mov qword [rbx + 0x100], rax
cmp byte [rdi + 0x67], 0
mov rsi, rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
jne 0x14017e97a
mov rax, qword [rbx + 0x68]
test rax, rax
je 0x14017eb70
mov r10, qword [rbx + 0x80]
mov qword [rbx + 0x68], rax
test r10, r10
je 0x14017ebc0
mov rcx, qword [rbx + 0x70]
movsxd r11, dword [rsp + 0x6c]
mov qword [rbx + 0x80], r10
test rcx, rcx
je 0x14017eba0
mov qword [rbx + 0x70], rcx
mov rcx, qword [rbx + 0x78]
test rcx, rcx
je 0x14017eb88
mov qword [rbx + 0x78], rcx
movzx esi, word [rsp + 0x46]
mov dword [rbx + 0x28], r14d
mov word [rbx + 0x20], si
test si, si
jle 0x14017eab0
lea rdx, [r9*8]
sub rdx, r9
lea rdx, [r10 + rdx*8]
nop dword [rax]
mov r9d, 1
mov qword [r10 + 0x18], rdi
add r10, 0x38
mov word [r10 - 0x24], r9w
mov dword [r10 - 0x18], 0
cmp rdx, r10
jne 0x14017ea90
mov dword [rbx + 0x24], ebp
test ebp, ebp
jle 0x14017eaec
lea rdx, [r8*8]
sub rdx, r8
lea rdx, [rax + rdx*8]
nop word cs:[rax + rax]
xor r8d, r8d
mov qword [rax + 0x18], rdi
add rax, 0x38
mov word [rax - 0x24], r8w
mov dword [rax - 0x18], 0
cmp rax, rdx
jne 0x14017ead0
mov r8, r15
xor edx, edx
call sub.msvcrt.dll_memset
jmp 0x14017e98a
add rdx, r15
xor ecx, ecx
jmp 0x14017e967
add rdx, rcx
xor ecx, ecx
jmp 0x14017e94c
add rdx, r13
xor r10d, r10d
jmp 0x14017e92c
mov rdx, r11
xor eax, eax
jmp 0x14017e903
mov edx, 4
mov rcx, rbx
call fcn.1401746c0
mov dword [rsp + 0x38], 0xc
lea rdx, [0x1403bf501]
mov r10d, 8
jmp 0x14017e87e
cmp r11, rdx
jg 0x14017ea29
sub rdx, r11
lea rax, [rsi + rdx]
jmp 0x14017ea29
mov r11, rdx
sub r11, r15
add rsi, r11
cmp r15, rdx
cmovle rcx, rsi
jmp 0x14017ea67
shl r11, 3
cmp r11, rdx
jg 0x14017ea56
sub rdx, r11
lea rcx, [rsi + rdx]
jmp 0x14017ea56
cmp r13, rdx
jg 0x14017ea3d
sub rdx, r13
lea r10, [rsi + rdx]
jmp 0x14017ea3d