Function at 0x1800977f0
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
mov r9d, dword [rcx + 0x24]
xor r13d, r13d
mov rcx, qword [rcx]
mov r11, r8
movsx r12d, word [rdx + 2]
mov r10, rdx
add r12d, 4
mov qword [rbp - 0x20], rcx
mov dword [rsp + 0x34], r12d
mov r15, qword [rcx + 0xa0]
mov rsi, qword [rcx + 0x410]
mov qword [rbp - 0x38], r15
mov qword [rsp + 0x48], r13
mov r14, qword [r15 + 0x30]
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x50], r13
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x28], rsi
mov dword [rsp + 0x58], r13d
mov qword [rsp + 0x40], r13
mov qword [rbp - 0x58], r13
mov qword [rsp + 0x68], r13
cmp byte [rcx + 0x409], r13b
je 0x180098228
test rsi, rsi
je 0x180098228
test r12d, r12d
je 0x1800978ca
mov edx, r13d
mov r8d, r12d
nop dword [rax]
mov rax, qword [r10 + 8]
lea rdx, [rdx + 8]
mov ecx, dword [rdx + rax - 8]
shl ecx, 6
mov dword [r11 + rdx - 8], ecx
mov rax, qword [r10 + 8]
mov ecx, dword [rax + rdx - 4]
shl ecx, 6
mov dword [r11 + rdx - 4], ecx
sub r8, 1
jne 0x1800978a0
mov qword [rsp + 0x100], rbx
mov qword [rsp + 0xf8], rdi
cmp r9d, dword [rsi + 0x78]
jae 0x180098224
mov rcx, qword [rsi + 0x80]
lea eax, [r9 + 1]
lea rbx, [rax*4]
lea rdi, [r9*4]
mov eax, dword [rbx + rcx]
cmp dword [rdi + rcx], eax
je 0x180098224
xor r8d, r8d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov r9d, r12d
mov rcx, r14
mov qword [rsp + 0x20], r13
lea edx, [r8 + 8]
call fcn.180083680
mov qword [rbp - 0x68], rax
cmp dword [rsp + 0x30], r13d
jne 0x1800981d8
xor r8d, r8d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov r9d, r12d
mov rcx, r14
mov qword [rsp + 0x20], r13
lea edx, [r8 + 8]
call fcn.180083680
mov qword [rsp + 0x48], rax
cmp dword [rsp + 0x30], r13d
jne 0x1800981d8
xor r8d, r8d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov r9d, r12d
mov rcx, r14
mov qword [rsp + 0x20], r13
lea edx, [r8 + 1]
call fcn.180083680
mov qword [rsp + 0x50], rax
cmp dword [rsp + 0x30], r13d
jne 0x1800981d8
mov rcx, qword [rsi + 0x80]
mov edx, dword [rcx + rdi]
mov ebx, dword [rbx + rcx]
mov rcx, r15
sub ebx, edx
call fcn.1800812a0
mov dword [rsp + 0x30], eax
test eax, eax
jne 0x1800981d8
mov edx, ebx
mov rcx, r15
call fcn.1800805f0
mov dword [rsp + 0x30], eax
test eax, eax
jne 0x1800981d8
mov edi, dword [r15 + 0x38]
lea rax, [rsp + 0x30]
mov r9d, dword [rsi]
xor r8d, r8d
sub edi, dword [r15]
mov rcx, r14
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea edx, [r8 + 4]
call fcn.180083680
mov qword [rbp - 0x80], rax
cmp dword [rsp + 0x30], r13d
jne 0x1800981a1
mov r9d, dword [rsi]
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rcx, r14
mov qword [rsp + 0x20], r13
lea edx, [r8 + 4]
call fcn.180083680
mov qword [rbp - 0x78], rax
cmp dword [rsp + 0x30], r13d
jne 0x1800981a1
mov r9d, dword [rsi]
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rcx, r14
mov qword [rsp + 0x20], r13
lea edx, [r8 + 4]
call fcn.180083680
mov qword [rbp - 0x70], rax
cmp dword [rsp + 0x30], r13d
jne 0x1800981a1
mov rcx, r15
call fcn.1800808d0
mov rcx, r15
movzx r14d, ax
call fcn.1800808d0
movzx edx, ax
cmp edx, ebx
ja 0x180098194
mov eax, r14d
and eax, 0xfff
mov dword [rsp + 0x64], eax
lea eax, [rax*4]
cmp eax, ebx
ja 0x180098194
add edx, edi
mov dword [rsp + 0x38], edx
bt r14d, 0xf
jae 0x180097b12
mov ebx, dword [r15 + 0x38]
mov eax, dword [r15 + 0x40]
sub ebx, dword [r15]
sub eax, dword [r15]
cmp edx, eax
jae 0x180097acd
mov eax, edx
add rax, qword [r15]
jmp 0x180097ad1
mov rax, qword [r15 + 0x40]
mov qword [r15 + 0x38], rax
lea r8, [rsp + 0x58]
mov edx, dword [rsi + 0x88]
mov rcx, r15
call fcn.1800995a0
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 0x180097b0a
mov ecx, ebx
add rcx, qword [r15]
jmp 0x180097b0e
mov rcx, qword [r15 + 0x40]
mov qword [r15 + 0x38], rcx
mov r14, qword [rsp + 0x70]
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov r9d, r12d
mov qword [rsp + 0x20], r13
mov rcx, r14
lea edx, [r8 + 4]
call fcn.180083680
mov rbx, rax
mov qword [rsp + 0x78], rax
cmp dword [rsp + 0x30], r13d
jne 0x18009816f
xor r8d, r8d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov r9d, r12d
mov rcx, r14
mov qword [rsp + 0x20], r13
lea edx, [r8 + 4]
call fcn.180083680
mov r10, rax
mov qword [rsp + 0x68], rax
cmp dword [rsp + 0x30], r13d
jne 0x18009816f
test r12d, r12d
je 0x180097bca
mov r9, qword [rbp + 0x48]
mov rdx, r13
mov r11, qword [rbp - 0x68]
mov r8d, r12d
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [r9 + 8]
lea rdx, [rdx + 8]
mov eax, dword [rdx + rcx - 8]
shl eax, 0x10
mov dword [rdx + r11 - 8], eax
mov rax, qword [r9 + 8]
mov ecx, dword [rdx + rax - 4]
shl ecx, 0x10
mov dword [rdx + r11 - 4], ecx
sub r8, 1
jne 0x180097ba0
mov dword [rsp + 0x60], r13d
cmp dword [rsp + 0x64], r13d
jbe 0x180097fda
nop word [rax + rax]
mov rcx, r15
call fcn.1800808d0
mov rcx, r15
mov word [rbp + 0x58], ax
call fcn.1800808d0
movzx edi, ax
bt edi, 0xf
jae 0x180097c31
cmp dword [rsi], 0
mov ebx, r13d
jbe 0x180097c5f
mov r12, qword [rbp - 0x80]
nop dword [rax]
mov rcx, r15
call fcn.1800808d0
movsx ecx, ax
mov eax, ebx
inc ebx
shl ecx, 2
mov dword [r12 + rax*4], ecx
cmp ebx, dword [rsi]
jb 0x180097c10
mov r12d, dword [rsp + 0x34]
jmp 0x180097c5f
mov ecx, edi
and ecx, 0xfff
cmp ecx, dword [rsi + 0x68]
jae 0x18009809e
mov eax, dword [rsi]
imul ecx, eax
mov r8d, eax
mov rax, qword [rsi + 0x70]
shl r8, 2
lea rdx, [rax + rcx*4]
mov rcx, qword [rbp - 0x80]
call sub.VCRUNTIME140.dll_memcpy
bt edi, 0xe
jae 0x180097cbf
mov eax, dword [rsi]
mov ebx, r13d
test eax, eax
je 0x180097c93
mov r12, qword [rbp - 0x78]
mov rcx, r15
call fcn.1800808d0
movsx ecx, ax
mov eax, ebx
inc ebx
shl ecx, 2
mov dword [r12 + rax*4], ecx
mov eax, dword [rsi]
cmp ebx, eax
jb 0x180097c72
mov r12d, dword [rsp + 0x34]
mov ebx, r13d
test eax, eax
je 0x180097cbf
mov r14, qword [rbp - 0x70]
nop
mov rcx, r15
call fcn.1800808d0
movsx ecx, ax
mov eax, ebx
inc ebx
shl ecx, 2
mov dword [r14 + rax*4], ecx
cmp ebx, dword [rsi]
jb 0x180097ca0
mov r14, qword [rsp + 0x70]
mov rax, qword [rbp - 0x70]
movzx edx, di
mov r9, qword [rbp - 0x78]
mov rcx, rsi
mov r8, qword [rbp - 0x80]
mov qword [rsp + 0x20], rax
call fcn.180098530
mov dword [rsp + 0x3c], eax
test eax, eax
je 0x180097fb4
mov eax, dword [r15 + 0x38]
sub eax, dword [r15]
mov ecx, dword [r15 + 0x40]
sub ecx, dword [r15]
mov dword [rbp - 0x60], eax
mov eax, dword [rsp + 0x38]
cmp eax, ecx
jae 0x180097d05
add rax, qword [r15]
jmp 0x180097d09
mov rax, qword [r15 + 0x40]
mov qword [r15 + 0x38], rax
bt edi, 0xd
jae 0x180097d34
mov edx, dword [rsi + 0x88]
lea r8, [rsp + 0x5c]
mov rcx, r15
call fcn.1800995a0
mov r14d, dword [rsp + 0x5c]
mov rdi, rax
mov qword [rbp - 0x58], rax
jmp 0x180097d43
mov r14d, dword [rsp + 0x58]
mov rdi, qword [rsp + 0x40]
mov dword [rsp + 0x5c], r14d
mov edx, dword [rsi + 0x88]
test r14d, r14d
mov ebx, r14d
mov rcx, r15
cmove ebx, r12d
mov r8d, ebx
call fcn.180099430
mov edx, dword [rsi + 0x88]
mov r8d, ebx
mov rcx, r15
mov qword [rbp - 0x50], rax
call fcn.180099430
mov qword [rbp - 0x30], rax
test rdi, rdi
je 0x180097f5d
test rax, rax
je 0x180097f5d
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x180097f5d
cmp rdi, 0xffffffffffffffff
jne 0x180097e39
test r12d, r12d
je 0x180097f5d
mov rdx, qword [rsp + 0x78]
mov r15, rax
mov r13, rcx
sub r15, rdx
mov ecx, dword [rsp + 0x34]
sub r13, rax
mov rax, qword [rsp + 0x68]
mov r12, rdx
sub rax, rdx
mov qword [rbp - 0x48], rcx
mov qword [rbp - 0x40], 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 [r12 + rax]
call fcn.18007dfa0
mov edx, dword [rsp + 0x3c]
mov ebx, eax
mov ecx, dword [rdi]
call fcn.18007dfa0
add eax, r14d
lea ecx, [rbx + rsi]
sub qword [rbp - 0x48], 1
mov dword [r12], ecx
lea r12, [r12 + 4]
mov rcx, qword [rbp - 0x40]
mov dword [r12 + rcx - 4], eax
mov rax, rcx
jne 0x180097de0
mov r15, qword [rbp - 0x38]
xor r13d, r13d
mov r12d, dword [rsp + 0x34]
jmp 0x180097f5d
mov r11, qword [rsp + 0x50]
mov r10, qword [rsp + 0x48]
test r12d, r12d
je 0x180097e80
mov r9, qword [rbp - 0x68]
mov rdx, r11
sub r9, r10
mov r8d, r12d
mov rcx, r10
nop dword [rax + rax]
mov byte [rdx], 0
lea rdx, [rdx + 1]
mov rax, qword [rcx + r9]
mov qword [rcx], rax
lea rcx, [rcx + 8]
sub r8, 1
jne 0x180097e60
mov rax, qword [rbp - 0x30]
mov rcx, qword [rbp - 0x50]
test r14d, r14d
je 0x180097ef0
mov r15d, dword [rsp + 0x3c]
mov r12, rcx
mov edx, dword [rsp + 0x34]
sub r12, rax
mov rsi, rax
movzx ecx, word [rdi]
cmp ecx, edx
jae 0x180097ed1
mov ebx, ecx
mov byte [rcx + r11], 1
mov ecx, dword [r12 + rsi]
mov edx, r15d
call fcn.18007dfa0
mov r13, qword [rsp + 0x48]
mov edx, r15d
add dword [r13 + rbx*8], eax
mov ecx, dword [rsi]
call fcn.18007dfa0
add dword [r13 + rbx*8 + 4], eax
mov r10, r13
mov edx, dword [rsp + 0x34]
mov r11, qword [rsp + 0x50]
add rdi, 2
add rsi, 4
sub r14, 1
jne 0x180097e97
mov r15, qword [rbp - 0x38]
xor r13d, r13d
mov r12d, dword [rsp + 0x34]
mov rbx, qword [rbp - 0x68]
mov rdx, r10
mov r9, qword [rsp + 0x50]
mov r8, rbx
mov rcx, qword [rbp + 0x48]
call fcn.18009b970
test r12d, r12d
je 0x180097f5d
mov r11, qword [rsp + 0x48]
lea r9, [rbx + 4]
mov r8, qword [rsp + 0x68]
sub r11, rbx
mov rbx, qword [rsp + 0x78]
sub rbx, r8
mov r10d, r12d
nop dword [rax]
mov ecx, dword [r9 + r11]
sub ecx, dword [r9]
mov edx, dword [r8]
lea r8, [r8 + 4]
mov eax, dword [r9 + r11 - 4]
sub eax, dword [r9 - 4]
lea r9, [r9 + 8]
add dword [rbx + r8 - 4], eax
lea eax, [rcx + rdx]
mov dword [r8 - 4], eax
sub r10, 1
jne 0x180097f30
mov rbx, qword [rbp - 0x58]
mov r14, qword [rsp + 0x70]
cmp rbx, 0xffffffffffffffff
je 0x180097f7b
mov rdx, rbx
mov rcx, r14
call fcn.180083550
mov qword [rbp - 0x58], r13
mov rdx, qword [rbp - 0x50]
mov rcx, r14
call fcn.180083550
mov rdx, qword [rbp - 0x30]
mov rcx, r14
call fcn.180083550
mov eax, dword [r15 + 0x40]
sub eax, dword [r15]
mov ecx, dword [rbp - 0x60]
cmp ecx, eax
jae 0x180097fa8
mov eax, ecx
add rax, qword [r15]
jmp 0x180097fac
mov rax, qword [r15 + 0x40]
mov rsi, qword [rbp - 0x28]
mov qword [r15 + 0x38], rax
mov ecx, dword [rsp + 0x60]
movzx eax, word [rbp + 0x58]
inc ecx
add dword [rsp + 0x38], eax
mov dword [rsp + 0x60], ecx
cmp ecx, dword [rsp + 0x64]
jb 0x180097be0
mov rbx, qword [rsp + 0x78]
mov r10, qword [rsp + 0x68]
mov rdi, qword [rbp - 0x20]
test byte [rdi + 0x418], 2
je 0x180098001
lea eax, [r12 - 4]
mov dword [rbx + rax*4], r13d
mov dword [r10 + rax*4], r13d
lea eax, [r12 - 3]
mov dword [rbx + rax*4], r13d
mov dword [r10 + rax*4], r13d
test byte [rdi + 0x418], 0x10
je 0x180098024
lea eax, [r12 - 2]
mov dword [rbx + rax*4], r13d
mov dword [r10 + rax*4], r13d
lea eax, [r12 - 1]
mov dword [rbx + rax*4], r13d
mov dword [r10 + rax*4], r13d
mov r11, qword [rbp + 0x50]
test r12d, r12d
je 0x1800980b0
mov r9, rbx
mov r8d, r12d
sub r9, r10
mov rdx, r10
mov r10, qword [rbp + 0x48]
mov eax, dword [r9 + rdx]
lea rdx, [rdx + 4]
add eax, 0x200
lea r13, [r13 + 8]
sar eax, 0xa
add dword [r11 + r13 - 8], eax
mov eax, dword [rdx - 4]
add eax, 0x200
sar eax, 0xa
add dword [r11 + r13 - 4], eax
mov eax, dword [r9 + rdx - 4]
mov rcx, qword [r10 + 8]
add eax, 0x8000
shr eax, 0x10
cwde
add dword [rcx + r13 - 8], eax
mov eax, dword [rdx - 4]
mov rcx, qword [r10 + 8]
add eax, 0x8000
shr eax, 0x10
cwde
add dword [rcx + r13 - 4], eax
sub r8, 1
jne 0x180098041
jmp 0x1800980b4
mov rbx, qword [rsp + 0x78]
mov dword [rsp + 0x30], 8
jmp 0x18009816f
mov r10, qword [rbp + 0x48]
test byte [rdi + 0x418], 2
mov r9, qword [rbp + 0x40]
jne 0x18009810e
lea eax, [r12 - 4]
lea r8, [rax*8]
mov rax, qword [r10 + 8]
mov rcx, qword [r8 + rax]
lea eax, [r12 - 3]
lea rdx, [rax*8]
mov qword [r9 + 0x58], rcx
mov rax, qword [r10 + 8]
mov rcx, qword [rdx + rax]
mov qword [r9 + 0x60], rcx
mov eax, dword [rdx + r11]
sub eax, dword [r8 + r11]
add eax, 0x20
and eax, 0xffffffc0
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
mov dword [r9 + 0x50], eax
test byte [rdi + 0x418], 0x10
jne 0x18009816f
lea eax, [r12 - 2]
lea r8, [rax*8]
mov rax, qword [r10 + 8]
mov rcx, qword [r8 + rax]
lea eax, [r12 - 1]
lea rdx, [rax*8]
mov qword [r9 + 0x110], rcx
mov rax, qword [r10 + 8]
mov rcx, qword [rdx + rax]
mov qword [r9 + 0x118], rcx
mov eax, dword [rdx + r11 + 4]
sub eax, dword [r8 + r11 + 4]
add eax, 0x20
and eax, 0xffffffc0
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
mov dword [r9 + 0x10c], eax
mov rdx, rbx
mov rcx, r14
call fcn.180083550
mov rdx, qword [rsp + 0x68]
mov rcx, r14
call fcn.180083550
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xffffffffffffffff
je 0x1800981ac
jmp 0x1800981a4
mov r14, qword [rsp + 0x70]
mov dword [rsp + 0x30], 8
mov rdx, r13
mov rcx, r14
call fcn.180083550
mov rdx, qword [rbp - 0x80]
mov rcx, r14
call fcn.180083550
mov rdx, qword [rbp - 0x78]
mov rcx, r14
call fcn.180083550
mov rdx, qword [rbp - 0x70]
mov rcx, r14
call fcn.180083550
mov rcx, r15
call fcn.180080730
mov rdx, qword [rbp - 0x68]
mov rcx, r14
call fcn.180083550
mov rdx, qword [rsp + 0x48]
mov rcx, r14
call fcn.180083550
mov rdx, qword [rsp + 0x50]
mov rcx, r14
call fcn.180083550
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 0x180098202
mov eax, 6
add rsp, 0x108
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret