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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 8]
sub rsp, 0x108
movsx eax, word [rdx + 2]
xor r14d, r14d
mov r9d, dword [rcx + 0x24]
mov r11, r8
mov rcx, qword [rcx]
mov r10, rdx
mov qword [rbp - 0x18], rcx
lea r12d, [rax + 4]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x34], r12d
mov r15, qword [rcx + 0xa0]
mov r13, qword [rcx + 0x410]
mov qword [rbp - 0x30], r15
mov qword [rsp + 0x48], r14
mov rsi, qword [r15 + 0x30]
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], r14
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x48], r13
mov dword [rsp + 0x68], r14d
mov qword [rsp + 0x40], r14
mov qword [rbp - 0x40], r14
mov qword [rsp + 0x50], r14
cmp byte [rcx + 0x409], r14b
je 0x1800990f1
test r13, r13
je 0x1800990f1
test r12d, r12d
je 0x18009879a
mov edx, r14d
mov r8d, r12d
nop
mov rax, qword [r10 + 8]
lea rdx, [rdx + 8]
mov ecx, dword [rdx + rax - 8]
shl ecx, 6
mov dword [rdx + r11 - 8], ecx
mov rax, qword [r10 + 8]
mov ecx, dword [rax + rdx - 4]
shl ecx, 6
mov dword [rdx + r11 - 4], ecx
sub r8, 1
jne 0x180098770
mov qword [rsp + 0x100], rbx
mov qword [rsp + 0xf8], rdi
cmp r9d, dword [r13 + 0x78]
jae 0x1800990ed
mov rcx, qword [r13 + 0x80]
lea eax, [r9 + 1]
lea rbx, [rax*4]
lea rdi, [r9*4]
mov eax, dword [rbx + rcx]
cmp dword [rdi + rcx], eax
je 0x1800990ed
xor r8d, r8d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov r9d, r12d
mov rcx, rsi
mov qword [rsp + 0x20], r14
lea edx, [r8 + 8]
call fcn.180084350
mov qword [rbp - 0x58], rax
cmp dword [rsp + 0x30], r14d
jne 0x1800990a1
xor r8d, r8d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov r9d, r12d
mov rcx, rsi
mov qword [rsp + 0x20], r14
lea edx, [r8 + 8]
call fcn.180084350
mov qword [rsp + 0x48], rax
cmp dword [rsp + 0x30], r14d
jne 0x1800990a1
xor r8d, r8d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov r9d, r12d
mov rcx, rsi
mov qword [rsp + 0x20], r14
lea edx, [r8 + 1]
call fcn.180084350
mov qword [rsp + 0x60], rax
cmp dword [rsp + 0x30], r14d
jne 0x1800990a1
mov rcx, qword [r13 + 0x80]
mov edx, dword [rcx + rdi]
mov ebx, dword [rbx + rcx]
mov rcx, r15
sub ebx, edx
call fcn.180082020
mov dword [rsp + 0x30], eax
test eax, eax
jne 0x1800990a1
mov edx, ebx
mov rcx, r15
call fcn.180081390
mov dword [rsp + 0x30], eax
test eax, eax
jne 0x1800990a1
mov edi, dword [r15 + 0x38]
lea rax, [rsp + 0x30]
mov r9d, dword [r13]
xor r8d, r8d
sub edi, dword [r15]
mov rcx, rsi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea edx, [r8 + 4]
call fcn.180084350
mov qword [rbp - 0x70], rax
cmp dword [rsp + 0x30], r14d
jne 0x18009906a
mov r9d, dword [r13]
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rcx, rsi
mov qword [rsp + 0x20], r14
lea edx, [r8 + 4]
call fcn.180084350
mov qword [rbp - 0x68], rax
cmp dword [rsp + 0x30], r14d
jne 0x18009906a
mov r9d, dword [r13]
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rcx, rsi
mov qword [rsp + 0x20], r14
lea edx, [r8 + 4]
call fcn.180084350
mov qword [rbp - 0x60], rax
cmp dword [rsp + 0x30], r14d
jne 0x18009906a
mov rcx, r15
call fcn.180081650
mov rcx, r15
movzx esi, ax
call fcn.180081650
movzx edx, ax
cmp edx, ebx
ja 0x18009905d
mov eax, esi
and eax, 0xfff
mov dword [rsp + 0x74], eax
lea eax, [rax*4]
cmp eax, ebx
ja 0x18009905d
add edx, edi
mov dword [rsp + 0x38], edx
bt esi, 0xf
jae 0x1800989e3
mov ebx, dword [r15 + 0x38]
mov eax, dword [r15 + 0x40]
sub ebx, dword [r15]
sub eax, dword [r15]
cmp edx, eax
jae 0x18009899d
mov eax, edx
add rax, qword [r15]
jmp 0x1800989a1
mov rax, qword [r15 + 0x40]
mov qword [r15 + 0x38], rax
lea r8, [rsp + 0x68]
mov edx, dword [r13 + 0x88]
mov rcx, r15
call fcn.18009a470
mov ecx, dword [r15 + 0x38]
sub ecx, dword [r15]
mov dword [rsp + 0x38], ecx
mov ecx, dword [r15 + 0x40]
sub ecx, dword [r15]
mov qword [rsp + 0x40], rax
cmp ebx, ecx
jae 0x1800989db
mov ecx, ebx
add rcx, qword [r15]
jmp 0x1800989df
mov rcx, qword [r15 + 0x40]
mov qword [r15 + 0x38], rcx
mov rsi, qword [rsp + 0x58]
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov r9d, r12d
mov qword [rsp + 0x20], r14
mov rcx, rsi
lea edx, [r8 + 4]
call fcn.180084350
mov rdi, rax
mov qword [rbp - 0x78], rax
cmp dword [rsp + 0x30], r14d
jne 0x180099037
xor r8d, r8d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov r9d, r12d
mov rcx, rsi
mov qword [rsp + 0x20], r14
lea edx, [r8 + 4]
call fcn.180084350
mov qword [rsp + 0x50], rax
cmp dword [rsp + 0x30], r14d
jne 0x180099037
test r12d, r12d
je 0x180098a8a
mov r9, qword [rbp + 0x48]
mov rdx, r14
mov r10, qword [rbp - 0x58]
mov r8d, r12d
nop
mov rax, qword [r9 + 8]
lea rdx, [rdx + 8]
mov ecx, dword [rdx + rax - 8]
shl ecx, 0x10
mov dword [rdx + r10 - 8], ecx
mov rax, qword [r9 + 8]
mov ecx, dword [rdx + rax - 4]
shl ecx, 0x10
mov dword [rdx + r10 - 4], ecx
sub r8, 1
jne 0x180098a60
mov dword [rsp + 0x70], r14d
cmp dword [rsp + 0x74], r14d
jbe 0x180098eac
nop word [rax + rax]
mov rcx, r15
call fcn.180081650
mov rcx, r15
mov word [rbp + 0x58], ax
call fcn.180081650
movzx edi, ax
bt edi, 0xf
jae 0x180098af3
cmp dword [r13], 0
mov ebx, r14d
jbe 0x180098b24
mov r12, qword [rbp - 0x70]
nop dword [rax + rax]
mov rcx, r15
call fcn.180081650
movsx ecx, ax
mov eax, ebx
inc ebx
shl ecx, 2
mov dword [r12 + rax*4], ecx
cmp ebx, dword [r13]
jb 0x180098ad0
mov r12d, dword [rsp + 0x34]
jmp 0x180098b24
mov ecx, edi
and ecx, 0xfff
cmp ecx, dword [r13 + 0x68]
jae 0x180098f7d
mov eax, dword [r13]
imul ecx, eax
mov r8d, eax
mov rax, qword [r13 + 0x70]
shl r8, 2
lea rdx, [rax + rcx*4]
mov rcx, qword [rbp - 0x70]
call sub.VCRUNTIME140.dll_memcpy
bt edi, 0xe
jae 0x180098b90
mov eax, dword [r13]
mov ebx, r14d
test eax, eax
je 0x180098b62
mov rsi, qword [rbp - 0x68]
nop dword [rax]
mov rcx, r15
call fcn.180081650
movsx ecx, ax
mov eax, ebx
inc ebx
shl ecx, 2
mov dword [rsi + rax*4], ecx
mov eax, dword [r13]
cmp ebx, eax
jb 0x180098b40
mov rsi, qword [rsp + 0x58]
mov ebx, r14d
test eax, eax
je 0x180098b90
mov rsi, qword [rbp - 0x60]
nop dword [rax]
mov rcx, r15
call fcn.180081650
movsx ecx, ax
mov eax, ebx
inc ebx
shl ecx, 2
mov dword [rsi + rax*4], ecx
cmp ebx, dword [r13]
jb 0x180098b70
mov rsi, qword [rsp + 0x58]
mov rax, qword [rbp - 0x60]
movzx edx, di
mov r9, qword [rbp - 0x68]
mov rcx, r13
mov r8, qword [rbp - 0x70]
mov qword [rsp + 0x20], rax
call fcn.180099400
mov dword [rsp + 0x3c], eax
test eax, eax
je 0x180098e8c
mov eax, dword [r15 + 0x38]
sub eax, dword [r15]
mov ecx, dword [r15 + 0x40]
sub ecx, dword [r15]
mov dword [rbp - 0x50], eax
mov eax, dword [rsp + 0x38]
cmp eax, ecx
jae 0x180098bd6
add rax, qword [r15]
jmp 0x180098bda
mov rax, qword [r15 + 0x40]
mov qword [r15 + 0x38], rax
bt edi, 0xd
jae 0x180098c06
mov edx, dword [r13 + 0x88]
lea r8, [rsp + 0x6c]
mov rcx, r15
call fcn.18009a470
mov r14d, dword [rsp + 0x6c]
mov rdi, rax
mov qword [rbp - 0x40], rax
jmp 0x180098c15
mov r14d, dword [rsp + 0x68]
mov rdi, qword [rsp + 0x40]
mov dword [rsp + 0x6c], r14d
mov edx, dword [r13 + 0x88]
test r14d, r14d
mov ebx, r14d
mov rcx, r15
cmove ebx, r12d
mov r8d, ebx
call fcn.18009a300
mov edx, dword [r13 + 0x88]
mov r8d, ebx
mov rcx, r15
mov qword [rbp - 0x28], rax
mov rsi, rax
call fcn.18009a300
mov qword [rbp - 0x20], rax
test rdi, rdi
je 0x180098e31
test rax, rax
je 0x180098e31
test rsi, rsi
je 0x180098e31
cmp rdi, 0xffffffffffffffff
jne 0x180098d06
test r12d, r12d
je 0x180098e31
mov rcx, qword [rbp - 0x78]
mov r15, rax
sub r15, rcx
mov r13, rsi
sub r13, rax
mov r12, rcx
mov rax, qword [rsp + 0x50]
sub rax, rcx
mov ecx, dword [rsp + 0x34]
mov qword [rbp - 0x38], rcx
mov qword [rbp - 0x80], rax
nop dword [rax]
nop word [rax + rax]
mov edx, dword [rsp + 0x3c]
lea rdi, [r15 + r12]
mov ecx, dword [rdi + r13]
mov esi, dword [r12]
mov r14d, dword [rax + r12]
call fcn.18007ec90
mov edx, dword [rsp + 0x3c]
mov ebx, eax
mov ecx, dword [rdi]
call fcn.18007ec90
add eax, r14d
lea ecx, [rbx + rsi]
sub qword [rbp - 0x38], 1
mov dword [r12], ecx
lea r12, [r12 + 4]
mov rcx, qword [rbp - 0x80]
mov dword [rcx + r12 - 4], eax
mov rax, rcx
jne 0x180098cb0
mov r15, qword [rbp - 0x30]
mov r12d, dword [rsp + 0x34]
jmp 0x180098e2d
mov r11, qword [rsp + 0x60]
mov r10, qword [rsp + 0x48]
mov r8d, r12d
mov qword [rbp - 0x80], r8
test r12d, r12d
je 0x180098d4c
mov r9, qword [rbp - 0x58]
mov rdx, r11
sub r9, r10
mov rcx, r10
nop dword [rax]
mov byte [rdx], 0
lea rdx, [rdx + 1]
mov rax, qword [r9 + rcx]
mov qword [rcx], rax
lea rcx, [rcx + 8]
sub r8, 1
jne 0x180098d30
mov rax, qword [rbp - 0x20]
test r14d, r14d
je 0x180098dbe
mov r12, qword [rbp - 0x28]
mov rsi, rax
mov r15d, dword [rsp + 0x3c]
sub r12, rax
mov edx, dword [rsp + 0x34]
movzx ecx, word [rdi]
cmp ecx, edx
jae 0x180098d9e
mov ebx, ecx
mov byte [rcx + r11], 1
mov ecx, dword [rsi + r12]
mov edx, r15d
call fcn.18007ec90
mov r13, qword [rsp + 0x48]
mov edx, r15d
add dword [r13 + rbx*8], eax
mov ecx, dword [rsi]
call fcn.18007ec90
add dword [r13 + rbx*8 + 4], eax
mov r10, r13
mov edx, dword [rsp + 0x34]
mov r11, qword [rsp + 0x60]
add rdi, 2
add rsi, 4
sub r14, 1
jne 0x180098d64
mov r15, qword [rbp - 0x30]
mov r13, qword [rbp - 0x48]
mov r12d, dword [rsp + 0x34]
mov rbx, qword [rbp - 0x58]
mov rdx, r10
mov r9, qword [rsp + 0x60]
mov r8, rbx
mov rcx, qword [rbp + 0x48]
call fcn.18009c7e0
test r12d, r12d
je 0x180098e31
mov r10, qword [rsp + 0x48]
lea r8, [rbx + 4]
mov r9, qword [rsp + 0x50]
sub r10, rbx
mov r11, qword [rbp - 0x78]
mov r13, qword [rbp - 0x80]
sub r11, r9
nop word [rax + rax]
mov ecx, dword [r10 + r8]
sub ecx, dword [r8]
mov edx, dword [r9]
lea r9, [r9 + 4]
mov eax, dword [r10 + r8 - 4]
sub eax, dword [r8 - 4]
lea r8, [r8 + 8]
add dword [r11 + r9 - 4], eax
lea eax, [rcx + rdx]
mov dword [r9 - 4], eax
sub r13, 1
jne 0x180098e00
mov r13, qword [rbp - 0x48]
mov rbx, qword [rbp - 0x40]
mov rsi, qword [rsp + 0x58]
cmp rbx, 0xffffffffffffffff
je 0x180098e54
mov rdx, rbx
mov rcx, rsi
call fcn.180084220
xor r14d, r14d
mov qword [rbp - 0x40], r14
jmp 0x180098e57
xor r14d, r14d
mov rdx, qword [rbp - 0x28]
mov rcx, rsi
call fcn.180084220
mov rdx, qword [rbp - 0x20]
mov rcx, rsi
call fcn.180084220
mov eax, dword [r15 + 0x40]
sub eax, dword [r15]
mov ecx, dword [rbp - 0x50]
cmp ecx, eax
jae 0x180098e84
mov eax, ecx
add rax, qword [r15]
jmp 0x180098e88
mov rax, qword [r15 + 0x40]
mov qword [r15 + 0x38], rax
mov ebx, dword [rsp + 0x70]
movzx eax, word [rbp + 0x58]
inc ebx
add dword [rsp + 0x38], eax
mov dword [rsp + 0x70], ebx
cmp ebx, dword [rsp + 0x74]
jb 0x180098aa0
mov rdi, qword [rbp - 0x78]
mov r13, qword [rbp - 0x18]
mov r11d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x50]
test byte [r13 + 0x418], 2
je 0x180098ed9
mov dword [rdi + r11*4], r14d
lea eax, [r12 - 3]
mov dword [r8 + r11*4], r14d
mov dword [rdi + rax*4], r14d
mov dword [r8 + rax*4], r14d
test byte [r13 + 0x418], 0x10
lea r10d, [r12 - 2]
je 0x180098efd
mov dword [rdi + r10*4], r14d
lea eax, [r12 - 1]
mov dword [r8 + r10*4], r14d
mov dword [rdi + rax*4], r14d
mov dword [r8 + rax*4], r14d
mov rbx, qword [rbp + 0x48]
test r12d, r12d
je 0x180098f8a
mov r9, rdi
mov rdx, r8
mov rdi, qword [rbp + 0x50]
sub r9, r8
mov r8d, r12d
nop word [rax + rax]
mov eax, dword [rdx + r9]
lea rdx, [rdx + 4]
add eax, 0x200
lea r14, [r14 + 8]
sar eax, 0xa
add dword [r14 + rdi - 8], eax
mov eax, dword [rdx - 4]
add eax, 0x200
sar eax, 0xa
add dword [r14 + rdi - 4], eax
mov eax, dword [rdx + r9 - 4]
mov rcx, qword [rbx + 8]
add eax, 0x8000
shr eax, 0x10
cwde
add dword [rcx + r14 - 8], eax
mov eax, dword [rdx - 4]
mov rcx, qword [rbx + 8]
add eax, 0x8000
shr eax, 0x10
cwde
add dword [rcx + r14 - 4], eax
sub r8, 1
jne 0x180098f20
jmp 0x180098f8e
mov dword [rsp + 0x30], 8
jmp 0x180099037
mov rdi, qword [rbp + 0x50]
test byte [r13 + 0x418], 2
mov r9, qword [rbp + 0x40]
jne 0x180098fdb
mov rax, qword [rbx + 8]
mov rcx, qword [rax + r11*8]
lea eax, [r12 - 3]
lea rdx, [rax*8]
mov qword [r9 + 0x58], rcx
mov rax, qword [rbx + 8]
mov rcx, qword [rdx + rax]
mov qword [r9 + 0x60], rcx
mov eax, dword [rdx + rdi]
sub eax, dword [rdi + r11*8]
add eax, 0x20
and eax, 0xffffffc0
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
mov dword [r9 + 0x50], eax
test byte [r13 + 0x418], 0x10
jne 0x180099037
mov rax, qword [rbx + 8]
lea r8, [r10*8]
mov rcx, qword [r8 + rax]
lea eax, [r12 - 1]
lea rdx, [rax*8]
mov qword [r9 + 0x110], rcx
mov rax, qword [rbx + 8]
mov rcx, qword [rdx + rax]
mov qword [r9 + 0x118], rcx
mov eax, dword [rdx + rdi + 4]
sub eax, dword [r8 + rdi + 4]
add eax, 0x20
and eax, 0xffffffc0
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
mov dword [r9 + 0x10c], eax
mov rdx, qword [rbp - 0x78]
mov rcx, rsi
call fcn.180084220
mov rdx, qword [rsp + 0x50]
mov rcx, rsi
call fcn.180084220
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xffffffffffffffff
je 0x180099075
jmp 0x18009906d
mov rsi, qword [rsp + 0x58]
mov dword [rsp + 0x30], 8
mov rdx, r14
mov rcx, rsi
call fcn.180084220
mov rdx, qword [rbp - 0x70]
mov rcx, rsi
call fcn.180084220
mov rdx, qword [rbp - 0x68]
mov rcx, rsi
call fcn.180084220
mov rdx, qword [rbp - 0x60]
mov rcx, rsi
call fcn.180084220
mov rcx, r15
call fcn.1800814b0
mov rdx, qword [rbp - 0x58]
mov rcx, rsi
call fcn.180084220
mov rdx, qword [rsp + 0x48]
mov rcx, rsi
call fcn.180084220
mov rdx, qword [rsp + 0x60]
mov rcx, rsi
call fcn.180084220
mov eax, dword [rsp + 0x30]
mov rbx, qword [rsp + 0x100]
mov rdi, qword [rsp + 0xf8]
add rsp, 0x108
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret
xor eax, eax
jmp 0x1800990cb
mov eax, 6
add rsp, 0x108
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret