Function at 0x1401740d0
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, 0x68
mov rax, qword [rdx + 0x148]
mov r15d, dword [rdx + 0x34]
mov r12d, dword [rdx + 0x38]
mov rdi, qword [rcx]
add r12d, r15d
mov qword [rcx + 0xb0], rax
mov rbx, rcx
mov rbp, rdx
movzx eax, word [rdx + 0x130]
mov qword [rdx + 0x148], 0
mov word [rsp + 0x2e], ax
mov eax, dword [rdx + 0x90]
mov dword [rsp + 0x5c], eax
test r15d, r15d
jne 0x140174134
test r12d, r12d
setg al
cmp al, 1
sbb r12d, 0xffffffff
mov eax, dword [rbx + 0x90]
mov esi, dword [rbp + 0x3c]
lea rdx, [rsp + 0x5c]
mov rcx, rbx
lea eax, [rax + rax*2]
shl eax, 3
sub esi, eax
movsxd r13, eax
add r13, qword [rbx + 0x88]
call fcn.140164b80
and esi, 0xfffffff8
xor eax, eax
cmp byte [rbp + 0x20], 0
movsxd rsi, esi
je 0x140174171
cmp byte [rbp + 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 [rbp + 0x133]
test dl, dl
je 0x1401741c4
cmp r12d, 0xa
mov ecx, 0xa
cmovl r12d, ecx
and edx, 3
and eax, 0xfffffff3
lea ecx, [rdx*4]
not edx
and edx, 3
or eax, ecx
shl edx, 2
mov byte [rbx + 0xc8], al
mov word [rbx + 0xc0], dx
movsxd r8, r12d
and byte [rbx + 0xc8], 0xfc
lea rax, [r8*8]
sub rax, r8
lea r10, [rax*8]
cmp rsi, r10
jl 0x1401743d0
sub rsi, r10
xor edx, edx
lea rax, [r13 + rsi]
movsx r9, word [rsp + 0x2e]
mov qword [rbx + 0x68], rax
lea rbp, [r9*8]
sub rbp, r9
shl rbp, 3
cmp rbp, rsi
jg 0x1401743c0
sub rsi, rbp
lea r11, [r13 + rsi]
movsxd rcx, dword [rsp + 0x5c]
mov qword [rbx + 0x80], r11
shl rcx, 3
cmp rcx, rsi
jg 0x1401743b0
sub rsi, rcx
lea rcx, [r13 + rsi]
movsxd r14, r15d
mov qword [rbx + 0x70], rcx
shl r14, 3
cmp r14, rsi
jg 0x1401743a0
sub rsi, r14
lea rcx, [r13 + rsi]
mov qword [rbx + 0x78], rcx
test rdx, rdx
jne 0x140174300
cmp byte [rdi + 0x67], 0
jne 0x140174344
movzx esi, word [rsp + 0x2e]
mov dword [rbx + 0x28], r15d
mov word [rbx + 0x20], si
test si, si
jle 0x1401742b8
lea rdx, [r9*8]
sub rdx, r9
lea rdx, [r11 + rdx*8]
nop dword [rax + rax]
mov r9d, 1
mov qword [r11 + 0x18], rdi
add r11, 0x38
mov word [r11 - 0x24], r9w
mov dword [r11 - 0x18], 0
cmp rdx, r11
jne 0x140174298
mov dword [rbx + 0x24], r12d
test r12d, r12d
jle 0x1401742ec
lea rdx, [r8*8]
sub rdx, r8
lea rdx, [rax + rdx*8]
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 0x1401742d0
mov r8, r14
xor edx, edx
call sub.msvcrt.dll_memset
jmp 0x140174354
mov rcx, rdi
mov qword [rsp + 0x48], r9
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x38], r10
mov qword [rsp + 0x30], rdx
call fcn.140173f40
mov rdx, qword [rsp + 0x30]
mov r10, qword [rsp + 0x38]
mov qword [rbx + 0x100], rax
cmp byte [rdi + 0x67], 0
mov rsi, rax
mov r8, qword [rsp + 0x40]
mov r9, qword [rsp + 0x48]
je 0x1401743e0
xor r10d, r10d
mov qword [rbx + 0x24], 0
mov word [rbx + 0x20], r10w
mov eax, 0xffffff02
mov byte [rbx + 0xc7], 1
mov word [rbx + 0xc4], 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, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
add rdx, r14
xor ecx, ecx
jmp 0x14017425b
add rdx, rcx
xor ecx, ecx
jmp 0x14017423f
add rdx, rbp
xor r11d, r11d
jmp 0x14017421e
mov rdx, r10
xor eax, eax
jmp 0x1401741f4
mov rax, qword [rbx + 0x68]
test rax, rax
je 0x140174428
mov r11, qword [rbx + 0x80]
mov qword [rbx + 0x68], rax
test r11, r11
je 0x140174470
mov rcx, qword [rbx + 0x70]
movsxd rbp, dword [rsp + 0x5c]
mov qword [rbx + 0x80], r11
test rcx, rcx
je 0x140174458
mov qword [rbx + 0x70], rcx
mov rcx, qword [rbx + 0x78]
test rcx, rcx
je 0x140174440
mov qword [rbx + 0x78], rcx
jmp 0x140174272
cmp r10, rdx
jg 0x1401743e9
sub rdx, r10
lea rax, [rsi + rdx]
jmp 0x1401743e9
mov rbp, rdx
sub rbp, r14
add rsi, rbp
cmp r14, rdx
cmovle rcx, rsi
jmp 0x14017441b
shl rbp, 3
cmp rbp, rdx
jg 0x14017440e
sub rdx, rbp
lea rcx, [rsi + rdx]
jmp 0x14017440e
cmp rbp, rdx
jg 0x1401743f9
sub rdx, rbp
lea r11, [rsi + rdx]
jmp 0x1401743f9