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

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xe8
mov rax, qword [rcx]
mov r10, rdx
mov r9d, dword [rcx + 0x24]
mov r11, r8
movsx ecx, word [rdx + 2]
xor edx, edx
mov qword [rbp + 7], rax
mov rsi, qword [rax + 0xa0]
mov r12, qword [rax + 0x410]
lea r15d, [rcx + 4]
mov dword [rsp + 0x48], ecx
mov qword [rbp - 0x69], rdx
mov rdi, qword [rsi + 0x30]
mov qword [rbp - 0x59], rdi
mov qword [rbp - 0x61], rdx
mov qword [rbp - 0x49], rdx
mov qword [rbp - 0x41], rdx
mov qword [rbp - 1], r12
mov dword [rsp + 0x34], edx
mov qword [rbp - 0x19], rdx
mov qword [rbp - 0x29], rdx
mov qword [rbp - 0x79], rdx
cmp byte [rax + 0x409], dl
je 0x18008977e
test r12, r12
je 0x18008977e
test r15d, r15d
je 0x180088e66
mov r8d, r15d
mov rax, qword [r10 + 8]
mov ecx, dword [rdx + rax]
shl ecx, 6
mov dword [rdx + r11], ecx
lea rdx, [rdx + 8]
mov rax, qword [r10 + 8]
mov ecx, dword [rdx + rax - 4]
shl ecx, 6
mov dword [rdx + r11 - 4], ecx
sub r8, 1
jne 0x180088e3c
xor edx, edx
cmp r9d, dword [r12 + 0x78]
jae 0x18008977a
mov rcx, qword [r12 + 0x80]
lea eax, [r9 + 1]
mov ebx, eax
mov r13, r9
mov eax, dword [rcx + rax*4]
cmp dword [rcx + r9*4], eax
je 0x18008977a
xor r8d, r8d
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x28], rax
mov r9d, r15d
mov qword [rsp + 0x20], rdx
mov rcx, rdi
lea edx, [r8 + 8]
call fcn.180048554
mov r14d, dword [rbp + 0x7f]
mov qword [rbp - 0x39], rax
test r14d, r14d
jne 0x18008973f
lea rax, [rbp + 0x7f]
mov r9d, r15d
mov qword [rsp + 0x28], rax
lea edx, [r14 + 8]
and qword [rsp + 0x20], 0
xor r8d, r8d
mov rcx, rdi
call fcn.180048554
mov r14d, dword [rbp + 0x7f]
mov qword [rbp - 0x69], rax
test r14d, r14d
jne 0x18008973f
lea rax, [rbp + 0x7f]
mov r9d, r15d
mov qword [rsp + 0x28], rax
lea edx, [r14 + 1]
and qword [rsp + 0x20], 0
xor r8d, r8d
mov rcx, rdi
call fcn.180048554
mov r14d, dword [rbp + 0x7f]
mov qword [rbp - 0x61], rax
test r14d, r14d
jne 0x18008973f
mov rcx, qword [r12 + 0x80]
mov edx, dword [rcx + r13*4]
mov ebx, dword [rcx + rbx*4]
mov rcx, rsi
sub ebx, edx
call fcn.180047a98
mov r14d, eax
test eax, eax
jne 0x18008973f
mov edx, ebx
mov rcx, rsi
call fcn.180047c2c
mov dword [rbp + 0x7f], eax
mov r14d, eax
test eax, eax
jne 0x18008973f
mov r13d, dword [rsi + 0x38]
lea rax, [rbp + 0x7f]
mov r9d, dword [r12]
lea edx, [r14 + 4]
sub r13d, dword [rsi]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rcx, rdi
and qword [rsp + 0x20], 0
call fcn.180048554
mov r14d, dword [rbp + 0x7f]
mov qword [rbp - 0x71], rax
test r14d, r14d
jne 0x180089701
mov r9d, dword [r12]
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x28], rax
lea edx, [r14 + 4]
and qword [rsp + 0x20], 0
xor r8d, r8d
mov rcx, rdi
call fcn.180048554
mov r14d, dword [rbp + 0x7f]
mov qword [rbp - 0x49], rax
test r14d, r14d
jne 0x180089701
mov r9d, dword [r12]
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x28], rax
lea edx, [r14 + 4]
and qword [rsp + 0x20], 0
xor r8d, r8d
mov rcx, rdi
call fcn.180048554
mov r14d, dword [rbp + 0x7f]
mov qword [rbp - 0x41], rax
test r14d, r14d
jne 0x180089701
mov rcx, rsi
call fcn.180047d4c
movzx r10d, ax
call fcn.180047d4c
movzx ecx, ax
cmp ecx, ebx
ja 0x1800896fb
mov eax, r10d
and eax, 0xfff
mov dword [rsp + 0x44], eax
shl eax, 2
cmp eax, ebx
ja 0x1800896fb
add ecx, r13d
mov dword [rsp + 0x30], ecx
bt r10d, 0xf
jae 0x18008909d
mov ebx, dword [rsi + 0x38]
mov eax, dword [rsi + 0x40]
sub ebx, dword [rsi]
sub eax, dword [rsi]
cmp ecx, eax
jae 0x180089056
mov eax, ecx
add rax, qword [rsi]
jmp 0x18008905a
mov rax, qword [rsi + 0x40]
mov qword [rsi + 0x38], rax
lea r8, [rsp + 0x34]
mov edx, dword [r12 + 0x88]
mov rcx, rsi
call fcn.1800853f4
mov ecx, dword [rsi + 0x40]
mov r13d, dword [rsi + 0x38]
sub r13d, dword [rsi]
sub ecx, dword [rsi]
mov qword [rbp - 0x19], rax
mov dword [rsp + 0x30], r13d
cmp ebx, ecx
jae 0x180089093
mov ecx, ebx
add rcx, qword [rsi]
jmp 0x180089097
mov rcx, qword [rsi + 0x40]
mov qword [rsi + 0x38], rcx
jmp 0x1800890a0
mov r13d, ecx
xor r8d, r8d
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x28], rax
mov r9d, r15d
and qword [rsp + 0x20], 0
mov rcx, rdi
lea edx, [r8 + 4]
call fcn.180048554
mov r14d, dword [rbp + 0x7f]
mov rbx, rax
mov qword [rbp - 0x51], rax
test r14d, r14d
jne 0x1800896bd
lea rax, [rbp + 0x7f]
mov r9d, r15d
mov qword [rsp + 0x28], rax
lea edx, [r14 + 4]
and qword [rsp + 0x20], 0
xor r8d, r8d
mov rcx, rdi
call fcn.180048554
mov r14d, dword [rbp + 0x7f]
mov r10, rax
mov qword [rbp - 0x79], rax
test r14d, r14d
jne 0x1800896bd
test r15d, r15d
je 0x180089144
mov r9, qword [rbp + 0x6f]
xor edx, edx
mov r11, qword [rbp - 0x39]
mov r8d, r15d
mov rax, qword [r9 + 8]
mov ecx, dword [rdx + rax]
shl ecx, 0x10
mov dword [rdx + r11], ecx
lea rdx, [rdx + 8]
mov rax, qword [r9 + 8]
mov ecx, dword [rdx + rax - 4]
shl ecx, 0x10
mov dword [rdx + r11 - 4], ecx
sub r8, 1
jne 0x18008911c
and dword [rsp + 0x40], 0
cmp dword [rsp + 0x44], 0
jbe 0x180089552
mov rcx, rsi
call fcn.180047d4c
mov word [rbp + 0x7f], ax
call fcn.180047d4c
movzx ebx, ax
bt ebx, 0xf
jae 0x180089198
mov r11, qword [rbp - 0x71]
xor r10d, r10d
cmp dword [r12], r10d
jbe 0x1800891cf
mov rcx, rsi
call fcn.180047d4c
movsx ecx, ax
shl ecx, 2
mov dword [r11 + r10*4], ecx
inc r10d
cmp r10d, dword [r12]
jb 0x18008917b
jmp 0x1800891cf
mov ecx, ebx
and ecx, 0xfff
cmp ecx, dword [r12 + 0x68]
jae 0x18008957e
mov eax, dword [r12]
imul ecx, eax
mov r8d, eax
mov rax, qword [r12 + 0x70]
shl r8, 2
lea rdx, [rax + rcx*4]
mov rcx, qword [rbp - 0x71]
call sub.VCRUNTIME140.dll_memcpy
mov r11, qword [rbp - 0x71]
bt ebx, 0xe
jae 0x180089230
mov eax, dword [r12]
xor r10d, r10d
test eax, eax
je 0x180089206
mov rdi, qword [rbp - 0x49]
mov rcx, rsi
call fcn.180047d4c
movsx ecx, ax
shl ecx, 2
mov dword [rdi + r10*4], ecx
inc r10d
mov eax, dword [r12]
cmp r10d, eax
jb 0x1800891e4
mov rdi, qword [rbp - 0x59]
xor r10d, r10d
test eax, eax
je 0x180089230
mov rdi, qword [rbp - 0x41]
mov rcx, rsi
call fcn.180047d4c
movsx ecx, ax
shl ecx, 2
mov dword [rdi + r10*4], ecx
inc r10d
cmp r10d, dword [r12]
jb 0x180089211
mov rdi, qword [rbp - 0x59]
mov rax, qword [rbp - 0x41]
mov r8, r11
mov r9, qword [rbp - 0x49]
movzx edx, bx
mov rcx, r12
mov qword [rsp + 0x20], rax
call fcn.180087110
mov dword [rsp + 0x3c], eax
test eax, eax
je 0x180089526
mov eax, dword [rsi + 0x38]
sub eax, dword [rsi]
mov ecx, dword [rsi + 0x40]
sub ecx, dword [rsi]
mov dword [rbp - 0x31], eax
cmp r13d, ecx
jae 0x180089271
mov eax, r13d
add rax, qword [rsi]
jmp 0x180089275
mov rax, qword [rsi + 0x40]
mov qword [rsi + 0x38], rax
bt ebx, 0xd
jae 0x1800892a2
mov edx, dword [r12 + 0x88]
lea r8, [rsp + 0x38]
mov rcx, rsi
call fcn.1800853f4
mov r13d, dword [rsp + 0x38]
mov rcx, rax
mov qword [rbp - 0x29], rax
jmp 0x1800892b0
mov r13d, dword [rsp + 0x34]
mov rcx, qword [rbp - 0x19]
mov dword [rsp + 0x38], r13d
mov edx, dword [r12 + 0x88]
test r13d, r13d
mov qword [rbp - 0x11], rcx
mov ebx, r13d
cmove ebx, r15d
mov rcx, rsi
mov r8d, ebx
call fcn.18008558c
mov edx, dword [r12 + 0x88]
mov r8d, ebx
mov rcx, rsi
mov qword [rbp - 0x21], rax
call fcn.18008558c
mov r9, qword [rbp - 0x11]
mov qword [rbp - 9], rax
test r9, r9
je 0x1800894c7
test rax, rax
je 0x1800894c7
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x1800894c7
cmp r9, 0xffffffffffffffff
jne 0x1800893a2
test r15d, r15d
je 0x1800894c7
mov rdx, qword [rbp - 0x51]
mov r11, rcx
mov r9, qword [rbp - 0x79]
mov rbx, rax
movsxd r13, dword [rsp + 0x3c]
sub r11, rax
sub rbx, rdx
mov edi, r15d
sub r9, rdx
mov r10, rdx
mov r8d, dword [r9 + r10]
lea rax, [rbx + r10]
movsxd rcx, dword [rax + r11]
movsxd rdx, dword [rax]
imul rdx, r13
imul rcx, r13
mov rax, rcx
shr rax, 0x3f
sub rcx, rax
mov rax, rdx
shr rax, 0x3f
add rcx, 0x8000
sub rdx, rax
sar rcx, 0x10
add dword [r10], ecx
add rdx, 0x8000
sar rdx, 0x10
add edx, r8d
mov dword [r9 + r10], edx
lea r10, [r10 + 4]
sub rdi, 1
jne 0x180089344
mov rdi, qword [rbp - 0x59]
jmp 0x1800894c7
test r15d, r15d
je 0x1800893d8
mov rcx, qword [rbp - 0x69]
mov r8, qword [rbp - 0x39]
mov rdx, qword [rbp - 0x61]
sub r8, rcx
mov r10d, r15d
mov byte [rdx], 0
inc rdx
mov rax, qword [r8 + rcx]
mov qword [rcx], rax
lea rcx, [rcx + 8]
sub r10, 1
jne 0x1800893b9
mov rax, qword [rbp - 9]
mov rcx, qword [rbp - 0x21]
test r13d, r13d
je 0x180089464
mov rdi, qword [rbp - 0x69]
mov r11, rcx
mov r12, qword [rbp - 0x61]
sub r11, rax
mov ebx, r13d
mov r10, rax
movsxd r13, dword [rsp + 0x3c]
movzx eax, word [r9]
cmp eax, r15d
jae 0x18008944e
movzx r8d, word [r9]
mov byte [r8 + r12], 1
movsxd rcx, dword [r10 + r11]
imul rcx, r13
mov rax, rcx
shr rax, 0x3f
sub rcx, rax
add rcx, 0x8000
sar rcx, 0x10
add dword [rdi + r8*8], ecx
movsxd rcx, dword [r10]
imul rcx, r13
mov rax, rcx
shr rax, 0x3f
sub rcx, rax
add rcx, 0x8000
sar rcx, 0x10
add dword [rdi + r8*8 + 4], ecx
add r9, 2
add r10, 4
sub rbx, 1
jne 0x1800893fa
mov rdi, qword [rbp - 0x59]
mov r12, qword [rbp - 1]
mov rbx, qword [rbp - 0x39]
mov r13, qword [rbp - 0x69]
mov r8, rbx
mov r9, qword [rbp - 0x61]
mov rdx, r13
mov rcx, qword [rbp + 0x6f]
call fcn.180088b98
test r15d, r15d
je 0x1800894c7
mov r8, qword [rbp - 0x79]
lea r9, [rbx + 4]
mov r11, qword [rbp - 0x51]
mov r10, r13
sub r10, rbx
mov ebx, r15d
sub r11, r8
mov ecx, dword [r10 + r9]
sub ecx, dword [r9]
mov edx, dword [r8]
mov eax, dword [r10 + r9 - 4]
sub eax, dword [r9 - 4]
lea r9, [r9 + 8]
add dword [r11 + r8], eax
lea eax, [rcx + rdx]
mov dword [r8], eax
lea r8, [r8 + 4]
sub rbx, 1
jne 0x18008949c
mov rcx, qword [rbp - 0x29]
cmp rcx, 0xffffffffffffffff
je 0x1800894e5
test rcx, rcx
je 0x1800894df
mov rdx, rcx
mov rcx, rdi
call qword [rdi + 0x10]
xor ecx, ecx
mov qword [rbp - 0x29], rcx
mov rax, qword [rbp - 0x21]
test rax, rax
je 0x1800894f7
mov rdx, rax
mov rcx, rdi
call qword [rdi + 0x10]
mov rdx, qword [rbp - 9]
test rdx, rdx
je 0x180089506
mov rcx, rdi
call qword [rdi + 0x10]
mov eax, dword [rsi + 0x40]
sub eax, dword [rsi]
mov ecx, dword [rbp - 0x31]
cmp ecx, eax
jae 0x180089519
mov eax, ecx
add rax, qword [rsi]
jmp 0x18008951d
mov rax, qword [rsi + 0x40]
mov r13d, dword [rsp + 0x30]
mov qword [rsi + 0x38], rax
mov r11d, dword [rsp + 0x40]
movzx eax, word [rbp + 0x7f]
inc r11d
add r13d, eax
mov dword [rsp + 0x40], r11d
mov dword [rsp + 0x30], r13d
cmp r11d, dword [rsp + 0x44]
jb 0x180089154
mov rbx, qword [rbp - 0x51]
mov r10, qword [rbp - 0x79]
mov r13, qword [rbp + 7]
test byte [r13 + 0x418], 2
je 0x180089589
mov r12d, dword [rsp + 0x48]
lea eax, [r15 - 3]
and dword [rbx + r12*4], 0
and dword [r10 + r12*4], 0
and dword [rbx + rax*4], 0
and dword [r10 + rax*4], 0
jmp 0x18008958e
mov r14d, 8
jmp 0x1800896bd
mov r12d, dword [rsp + 0x48]
test byte [r13 + 0x418], 0x10
je 0x1800895b2
lea eax, [r15 - 2]
and dword [rbx + rax*4], 0
and dword [r10 + rax*4], 0
lea eax, [r15 - 1]
and dword [rbx + rax*4], 0
and dword [r10 + rax*4], 0
mov r11, qword [rbp + 0x6f]
test r15d, r15d
je 0x180089623
mov r9, rbx
xor edx, edx
mov rbx, qword [rbp + 0x77]
sub r9, r10
mov r8, r10
mov r10d, r15d
mov eax, dword [r9 + r8]
add eax, 0x200
sar eax, 0xa
add dword [rdx + rbx], eax
mov eax, dword [r8]
add eax, 0x200
sar eax, 0xa
add dword [rdx + rbx + 4], eax
mov eax, dword [r9 + r8]
mov rcx, qword [r11 + 8]
add eax, 0x8000
shr eax, 0x10
cwde
add dword [rdx + rcx], eax
lea rdx, [rdx + 8]
mov eax, dword [r8]
lea r8, [r8 + 4]
mov rcx, qword [r11 + 8]
add eax, 0x8000
shr eax, 0x10
cwde
add dword [rdx + rcx - 4], eax
sub r10, 1
jne 0x1800895cd
jmp 0x180089627
mov rbx, qword [rbp + 0x77]
test byte [r13 + 0x418], 2
mov r9, qword [rbp + 0x67]
jne 0x18008966e
mov rax, qword [r11 + 8]
lea edx, [r15 - 3]
mov r8d, r12d
mov rcx, qword [rax + r8*8]
mov qword [r9 + 0x58], rcx
mov rax, qword [r11 + 8]
mov rcx, qword [rax + rdx*8]
mov qword [r9 + 0x60], rcx
mov eax, dword [rbx + rdx*8]
sub eax, dword [rbx + r8*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 0x1800896bd
mov rax, qword [r11 + 8]
lea edx, [r15 - 1]
lea r8d, [r15 - 2]
mov rcx, qword [rax + r8*8]
mov qword [r9 + 0x110], rcx
mov rax, qword [r11 + 8]
mov rcx, qword [rax + rdx*8]
mov qword [r9 + 0x118], rcx
mov eax, dword [rbx + rdx*8 + 4]
sub eax, dword [rbx + r8*8 + 4]
add eax, 0x20
and eax, 0xffffffc0
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
mov dword [r9 + 0x10c], eax
mov rax, qword [rbp - 0x51]
test rax, rax
je 0x1800896cf
mov rdx, rax
mov rcx, rdi
call qword [rdi + 0x10]
mov rax, qword [rbp - 0x79]
test rax, rax
je 0x1800896e1
mov rdx, rax
mov rcx, rdi
call qword [rdi + 0x10]
mov rax, qword [rbp - 0x19]
cmp rax, 0xffffffffffffffff
je 0x180089701
test rax, rax
je 0x180089701
mov rdx, rax
mov rcx, rdi
call qword [rdi + 0x10]
jmp 0x180089701
mov r14d, 8
mov rbx, qword [rbp - 0x71]
test rbx, rbx
je 0x180089713
mov rdx, rbx
mov rcx, rdi
call qword [rdi + 0x10]
mov rax, qword [rbp - 0x49]
test rax, rax
je 0x180089725
mov rdx, rax
mov rcx, rdi
call qword [rdi + 0x10]
mov rax, qword [rbp - 0x41]
test rax, rax
je 0x180089737
mov rdx, rax
mov rcx, rdi
call qword [rdi + 0x10]
mov rcx, rsi
call fcn.180047d14
mov rbx, qword [rbp - 0x39]
test rbx, rbx
je 0x180089751
mov rdx, rbx
mov rcx, rdi
call qword [rdi + 0x10]
mov rax, qword [rbp - 0x69]
test rax, rax
je 0x180089763
mov rdx, rax
mov rcx, rdi
call qword [rdi + 0x10]
mov rax, qword [rbp - 0x61]
test rax, rax
je 0x180089775
mov rdx, rax
mov rcx, rdi
call qword [rdi + 0x10]
mov eax, r14d
jmp 0x180089783
xor eax, eax
jmp 0x180089783
mov eax, 6
add rsp, 0xe8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret