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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rdi
push r12
push r13
sub rsp, 0x98
mov r10d, dword [rdx + 0x128]
mov r11d, r9d
mov eax, dword [rcx + 0x74]
mov r9, rdx
shl r10d, 3
xor edx, edx
div r10d
mov r10d, dword [r9 + 0x12c]
xor edx, edx
mov dword [rsp + 0x44], eax
mov ebx, r8d
mov edi, eax
shl r10d, 3
mov eax, dword [rcx + 0x78]
xor r8d, r8d
div r10d
mov r13, rcx
mov dword [rsp + 0x40], r8d
mov r12d, eax
mov dword [rsp + 0x48], eax
cmp dword [r9 + 0x4c], r8d
jle 0x1400174bd
mov r10, qword [rsp + 0xe8]
xor ecx, ecx
mov rdx, qword [rsp + 0xe0]
mov qword [rsp + 0x90], rbp
sub r10, rdx
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x80], r14
mov qword [rsp + 0xe8], r10
mov qword [rsp + 0x78], r15
mov qword [rsp + 0x60], rcx
mov r14, qword [r9 + 0x58]
add r14, rcx
mov esi, dword [r14 + 8]
mov ebp, esi
mov ecx, dword [r14 + 0xc]
mov r15d, ecx
imul ebp, edi
mov edi, ecx
imul r15d, r12d
xor r12d, r12d
imul edi, r11d
imul esi, ebx
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x3c], edi
cmp dword [r14 + 0x20], r12d
jbe 0x14001746b
add rdx, r10
mov qword [rsp + 0x68], rdx
nop dword [rax + rax]
mov rax, qword [r13 + 8]
mov r9d, ecx
mov rdx, qword [rdx]
mov r8d, r12d
mov rcx, r13
mov byte [rsp + 0x20], 1
call qword [rax + 0x40]
mov r9d, dword [r14 + 0xc]
add edi, r12d
mov r10, qword [r13 + 8]
mov rbx, rax
mov rax, qword [rsp + 0xe0]
mov rcx, r13
mov dword [rsp + 0x34], edi
mov byte [rsp + 0x20], 0
mov rdx, qword [rax]
cmp edi, r15d
jae 0x140017232
mov r8d, r15d
sub r8d, r9d
sub r8d, r12d
sub r8d, dword [rsp + 0x3c]
jmp 0x140017235
mov r8d, edi
call qword [r10 + 0x40]
mov ecx, dword [r14 + 0xc]
xor r13d, r13d
mov qword [rsp + 0x50], rax
mov rdx, rax
test ecx, ecx
jle 0x14001741c
sub rbx, rax
mov r12, rax
mov eax, dword [rsp + 0x30]
mov qword [rsp + 0x58], rbx
nop
mov r15, qword [rbx + r12]
cmp edi, eax
jae 0x1400174cb
sub ecx, r13d
xor r10d, r10d
movsxd rax, ecx
mov r11, qword [rdx + rax*8 - 8]
cmp dword [r14 + 0x1c], r10d
jbe 0x1400173fa
nop dword [rax]
nop dword [rax + rax]
mov eax, r10d
lea ecx, [r10 + rsi]
shl rax, 7
add rax, r15
cmp ecx, ebp
jae 0x14001732a
mov edx, ebp
mov r9d, 4
sub edx, r10d
sub edx, esi
dec edx
shl rdx, 7
add rdx, r11
nop dword [rax]
mov r8d, 4
nop word [rax + rax]
movzx ecx, word [rdx]
mov word [rax], cx
movzx ecx, word [rdx + 2]
add rdx, 4
neg cx
mov word [rax + 2], cx
add rax, 4
sub r8, 1
jne 0x1400172d0
mov r8d, 4
nop word [rax + rax]
movzx ecx, word [rdx]
neg cx
mov word [rax], cx
movzx ecx, word [rdx + 2]
add rdx, 4
mov word [rax + 2], cx
add rax, 4
sub r8, 1
jne 0x140017300
sub r9, 1
jne 0x1400172c0
jmp 0x1400173e8
mov edx, ecx
mov r8d, 4
shl rdx, 7
add rdx, r11
nop dword [rax]
movzx ecx, word [rdx]
lea rdx, [rdx + 0x20]
mov word [rax], cx
lea rax, [rax + 0x20]
movzx ecx, word [rdx - 0x1e]
mov word [rax - 0x1e], cx
movzx ecx, word [rdx - 0x1c]
mov word [rax - 0x1c], cx
movzx ecx, word [rdx - 0x1a]
mov word [rax - 0x1a], cx
movzx ecx, word [rdx - 0x18]
mov word [rax - 0x18], cx
movzx ecx, word [rdx - 0x16]
mov word [rax - 0x16], cx
movzx ecx, word [rdx - 0x14]
mov word [rax - 0x14], cx
movzx ecx, word [rdx - 0x12]
mov word [rax - 0x12], cx
movzx ecx, word [rdx - 0x10]
neg cx
mov word [rax - 0x10], cx
movzx ecx, word [rdx - 0xe]
neg cx
mov word [rax - 0xe], cx
movzx ecx, word [rdx - 0xc]
neg cx
mov word [rax - 0xc], cx
movzx ecx, word [rdx - 0xa]
neg cx
mov word [rax - 0xa], cx
movzx ecx, word [rdx - 8]
neg cx
mov word [rax - 8], cx
movzx ecx, word [rdx - 6]
neg cx
mov word [rax - 6], cx
movzx ecx, word [rdx - 4]
neg cx
mov word [rax - 4], cx
movzx ecx, word [rdx - 2]
neg cx
mov word [rax - 2], cx
sub r8, 1
jne 0x140017340
inc r10d
cmp r10d, dword [r14 + 0x1c]
jb 0x140017290
mov rdx, qword [rsp + 0x50]
mov eax, dword [rsp + 0x30]
mov ecx, dword [r14 + 0xc]
inc r13d
add r12, 8
cmp r13d, ecx
jl 0x140017260
mov r15d, dword [rsp + 0x30]
mov r12d, dword [rsp + 0x38]
mov r13, qword [rsp + 0xc0]
add r12d, ecx
mov edi, dword [rsp + 0x3c]
mov rdx, qword [rsp + 0x68]
mov dword [rsp + 0x38], r12d
cmp r12d, dword [r14 + 0x20]
jb 0x1400171e0
mov rdx, qword [rsp + 0xe0]
mov r8d, dword [rsp + 0x40]
mov r9, qword [rsp + 0xc8]
mov r10, qword [rsp + 0xe8]
mov r11d, dword [rsp + 0xd8]
mov ebx, dword [rsp + 0xd0]
mov rcx, qword [rsp + 0x60]
inc r8d
mov edi, dword [rsp + 0x44]
add rcx, 0x60
mov r12d, dword [rsp + 0x48]
add rdx, 8
mov dword [rsp + 0x40], r8d
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0xe0], rdx
cmp r8d, dword [r9 + 0x4c]
jl 0x140017191
mov r15, qword [rsp + 0x78]
mov r14, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x90]
add rsp, 0x98
pop r13
pop r12
pop rdi
pop rbx
ret
mov rdi, qword [r12]
xor ebx, ebx
cmp dword [r14 + 0x1c], ebx
jbe 0x140017563
nop dword [rax + rax]
mov edx, ebx
lea eax, [rbx + rsi]
shl rdx, 7
add rdx, r15
mov r8d, ebx
cmp eax, ebp
jae 0x140017531
mov ecx, ebp
mov r8d, 0x20
sub ecx, ebx
sub ecx, esi
dec ecx
shl rcx, 7
add rcx, rdi
nop dword [rax + rax]
movzx eax, word [rcx]
lea rcx, [rcx + 4]
mov word [rdx], ax
lea rdx, [rdx + 4]
movzx eax, word [rcx - 2]
neg ax
mov word [rdx - 2], ax
sub r8, 1
jne 0x140017510
jmp 0x140017548
mov ecx, esi
add rcx, r8
mov r8d, 1
shl rcx, 7
add rcx, rdi
call fcn.14001f8a0
inc ebx
cmp ebx, dword [r14 + 0x1c]
jb 0x1400174e0
mov rdx, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
mov edi, dword [rsp + 0x34]
jmp 0x1400173fa
mov rbx, qword [rsp + 0x58]
mov edi, dword [rsp + 0x34]
jmp 0x1400173fe