Function at 0x180091800
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 0x1800921de
test r12, r12
je 0x1800921de
test r15d, r15d
je 0x1800918c6
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 0x18009189c
xor edx, edx
cmp r9d, dword [r12 + 0x78]
jae 0x1800921da
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 0x1800921da
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.180050fb4
mov r14d, dword [rbp + 0x7f]
mov qword [rbp - 0x39], rax
test r14d, r14d
jne 0x18009219f
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.180050fb4
mov r14d, dword [rbp + 0x7f]
mov qword [rbp - 0x69], rax
test r14d, r14d
jne 0x18009219f
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.180050fb4
mov r14d, dword [rbp + 0x7f]
mov qword [rbp - 0x61], rax
test r14d, r14d
jne 0x18009219f
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.1800504f8
mov r14d, eax
test eax, eax
jne 0x18009219f
mov edx, ebx
mov rcx, rsi
call fcn.18005068c
mov dword [rbp + 0x7f], eax
mov r14d, eax
test eax, eax
jne 0x18009219f
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.180050fb4
mov r14d, dword [rbp + 0x7f]
mov qword [rbp - 0x71], rax
test r14d, r14d
jne 0x180092161
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.180050fb4
mov r14d, dword [rbp + 0x7f]
mov qword [rbp - 0x49], rax
test r14d, r14d
jne 0x180092161
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.180050fb4
mov r14d, dword [rbp + 0x7f]
mov qword [rbp - 0x41], rax
test r14d, r14d
jne 0x180092161
mov rcx, rsi
call fcn.1800507ac
movzx r10d, ax
call fcn.1800507ac
movzx ecx, ax
cmp ecx, ebx
ja 0x18009215b
mov eax, r10d
and eax, 0xfff
mov dword [rsp + 0x44], eax
shl eax, 2
cmp eax, ebx
ja 0x18009215b
add ecx, r13d
mov dword [rsp + 0x30], ecx
bt r10d, 0xf
jae 0x180091afd
mov ebx, dword [rsi + 0x38]
mov eax, dword [rsi + 0x40]
sub ebx, dword [rsi]
sub eax, dword [rsi]
cmp ecx, eax
jae 0x180091ab6
mov eax, ecx
add rax, qword [rsi]
jmp 0x180091aba
mov rax, qword [rsi + 0x40]
mov qword [rsi + 0x38], rax
lea r8, [rsp + 0x34]
mov edx, dword [r12 + 0x88]
mov rcx, rsi
call fcn.18008de54
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 0x180091af3
mov ecx, ebx
add rcx, qword [rsi]
jmp 0x180091af7
mov rcx, qword [rsi + 0x40]
mov qword [rsi + 0x38], rcx
jmp 0x180091b00
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.180050fb4
mov r14d, dword [rbp + 0x7f]
mov rbx, rax
mov qword [rbp - 0x51], rax
test r14d, r14d
jne 0x18009211d
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.180050fb4
mov r14d, dword [rbp + 0x7f]
mov r10, rax
mov qword [rbp - 0x79], rax
test r14d, r14d
jne 0x18009211d
test r15d, r15d
je 0x180091ba4
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 0x180091b7c
and dword [rsp + 0x40], 0
cmp dword [rsp + 0x44], 0
jbe 0x180091fb2
mov rcx, rsi
call fcn.1800507ac
mov word [rbp + 0x7f], ax
call fcn.1800507ac
movzx ebx, ax
bt ebx, 0xf
jae 0x180091bf8
mov r11, qword [rbp - 0x71]
xor r10d, r10d
cmp dword [r12], r10d
jbe 0x180091c2f
mov rcx, rsi
call fcn.1800507ac
movsx ecx, ax
shl ecx, 2
mov dword [r11 + r10*4], ecx
inc r10d
cmp r10d, dword [r12]
jb 0x180091bdb
jmp 0x180091c2f
mov ecx, ebx
and ecx, 0xfff
cmp ecx, dword [r12 + 0x68]
jae 0x180091fde
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 0x180091c90
mov eax, dword [r12]
xor r10d, r10d
test eax, eax
je 0x180091c66
mov rdi, qword [rbp - 0x49]
mov rcx, rsi
call fcn.1800507ac
movsx ecx, ax
shl ecx, 2
mov dword [rdi + r10*4], ecx
inc r10d
mov eax, dword [r12]
cmp r10d, eax
jb 0x180091c44
mov rdi, qword [rbp - 0x59]
xor r10d, r10d
test eax, eax
je 0x180091c90
mov rdi, qword [rbp - 0x41]
mov rcx, rsi
call fcn.1800507ac
movsx ecx, ax
shl ecx, 2
mov dword [rdi + r10*4], ecx
inc r10d
cmp r10d, dword [r12]
jb 0x180091c71
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.18008fb70
mov dword [rsp + 0x3c], eax
test eax, eax
je 0x180091f86
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 0x180091cd1
mov eax, r13d
add rax, qword [rsi]
jmp 0x180091cd5
mov rax, qword [rsi + 0x40]
mov qword [rsi + 0x38], rax
bt ebx, 0xd
jae 0x180091d02
mov edx, dword [r12 + 0x88]
lea r8, [rsp + 0x38]
mov rcx, rsi
call fcn.18008de54
mov r13d, dword [rsp + 0x38]
mov rcx, rax
mov qword [rbp - 0x29], rax
jmp 0x180091d10
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.18008dfec
mov edx, dword [r12 + 0x88]
mov r8d, ebx
mov rcx, rsi
mov qword [rbp - 0x21], rax
call fcn.18008dfec
mov r9, qword [rbp - 0x11]
mov qword [rbp - 9], rax
test r9, r9
je 0x180091f27
test rax, rax
je 0x180091f27
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x180091f27
cmp r9, 0xffffffffffffffff
jne 0x180091e02
test r15d, r15d
je 0x180091f27
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 0x180091da4
mov rdi, qword [rbp - 0x59]
jmp 0x180091f27
test r15d, r15d
je 0x180091e38
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 0x180091e19
mov rax, qword [rbp - 9]
mov rcx, qword [rbp - 0x21]
test r13d, r13d
je 0x180091ec4
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 0x180091eae
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 0x180091e5a
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.1800915f8
test r15d, r15d
je 0x180091f27
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 0x180091efc
mov rcx, qword [rbp - 0x29]
cmp rcx, 0xffffffffffffffff
je 0x180091f45
test rcx, rcx
je 0x180091f3f
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 0x180091f57
mov rdx, rax
mov rcx, rdi
call qword [rdi + 0x10]
mov rdx, qword [rbp - 9]
test rdx, rdx
je 0x180091f66
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 0x180091f79
mov eax, ecx
add rax, qword [rsi]
jmp 0x180091f7d
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 0x180091bb4
mov rbx, qword [rbp - 0x51]
mov r10, qword [rbp - 0x79]
mov r13, qword [rbp + 7]
test byte [r13 + 0x418], 2
je 0x180091fe9
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 0x180091fee
mov r14d, 8
jmp 0x18009211d
mov r12d, dword [rsp + 0x48]
test byte [r13 + 0x418], 0x10
je 0x180092012
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 0x180092083
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 0x18009202d
jmp 0x180092087
mov rbx, qword [rbp + 0x77]
test byte [r13 + 0x418], 2
mov r9, qword [rbp + 0x67]
jne 0x1800920ce
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 0x18009211d
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 0x18009212f
mov rdx, rax
mov rcx, rdi
call qword [rdi + 0x10]
mov rax, qword [rbp - 0x79]
test rax, rax
je 0x180092141
mov rdx, rax
mov rcx, rdi
call qword [rdi + 0x10]
mov rax, qword [rbp - 0x19]
cmp rax, 0xffffffffffffffff
je 0x180092161
test rax, rax
je 0x180092161
mov rdx, rax
mov rcx, rdi
call qword [rdi + 0x10]
jmp 0x180092161
mov r14d, 8
mov rbx, qword [rbp - 0x71]
test rbx, rbx
je 0x180092173
mov rdx, rbx
mov rcx, rdi
call qword [rdi + 0x10]
mov rax, qword [rbp - 0x49]
test rax, rax
je 0x180092185
mov rdx, rax
mov rcx, rdi
call qword [rdi + 0x10]
mov rax, qword [rbp - 0x41]
test rax, rax
je 0x180092197
mov rdx, rax
mov rcx, rdi
call qword [rdi + 0x10]
mov rcx, rsi
call fcn.180050774
mov rbx, qword [rbp - 0x39]
test rbx, rbx
je 0x1800921b1
mov rdx, rbx
mov rcx, rdi
call qword [rdi + 0x10]
mov rax, qword [rbp - 0x69]
test rax, rax
je 0x1800921c3
mov rdx, rax
mov rcx, rdi
call qword [rdi + 0x10]
mov rax, qword [rbp - 0x61]
test rax, rax
je 0x1800921d5
mov rdx, rax
mov rcx, rdi
call qword [rdi + 0x10]
mov eax, r14d
jmp 0x1800921e3
xor eax, eax
jmp 0x1800921e3
mov eax, 6
add rsp, 0xe8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret