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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x238
mov rax, qword [0x140090040]
xor rax, rsp
mov qword [rsp + 0x220], rax
call fcn.140067590
movzx eax, al
test eax, eax
je 0x14004659f
mov dword [rsp + 0xe0], 1
mov dword [rsp + 0xe4], 8
mov rdx, qword [rsp + 0x258]
mov rcx, qword [rsp + 0x250]
call fcn.140064e40
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0x10
ja 0x14004612b
xor edx, edx
mov rax, qword [rsp + 0x50]
mov ecx, 2
div rcx
mov dword [rsp + 0x28], eax
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x250]
lea rcx, [rsp + 0x1e0]
call sub.VCRUNTIME140D.dll_memcpy
nop
movdqa xmm0, xmmword [rsp + 0x1e0]
movdqa xmmword [rsp + 0x160], xmm0
movdqa xmm0, xmmword [rsp + 0x160]
movdqa xmmword [rsp + 0xb0], xmm0
mov rdx, qword [rsp + 0x248]
mov rcx, qword [rsp + 0x240]
call fcn.140064e40
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x240]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xa0]
and rax, 0xfffffffffffffff0
mov rdx, rax
lea rcx, [rsp + 0x98]
call fcn.140042690
nop
mov rax, qword [rsp + 0x98]
cmp qword [rsp + 0x240], rax
je 0x140046030
mov rax, qword [rsp + 0x240]
movdqu xmm0, xmmword [rax]
movdqa xmmword [rsp + 0x170], xmm0
movdqa xmm0, xmmword [rsp + 0x170]
movdqa xmmword [rsp + 0xf0], xmm0
mov eax, dword [rsp + 0x28]
mov edx, 8
movdqa xmm0, xmmword [rsp + 0xb0]
pcmpestri xmm0, xmmword [rsp + 0xf0], 1
mov eax, 1
mov ecx, 0
cmovb ecx, eax
test ecx, ecx
je 0x140046018
mov eax, dword [rsp + 0x28]
mov edx, 8
movdqa xmm0, xmmword [rsp + 0xb0]
pcmpestri xmm0, xmmword [rsp + 0xf0], 1
mov eax, ecx
mov dword [rsp + 0x60], eax
movsxd rax, dword [rsp + 0x60]
shl rax, 1
mov rdx, rax
lea rcx, [rsp + 0x240]
call fcn.140042690
mov rax, qword [rsp + 0x240]
jmp 0x1400465c4
mov edx, 0x10
lea rcx, [rsp + 0x240]
call fcn.140042600
nop
jmp 0x140045f65
mov rax, qword [rsp + 0xa0]
and rax, 0xf
mov qword [rsp + 0x68], rax
xor edx, edx
mov rax, qword [rsp + 0x68]
mov ecx, 2
div rcx
mov dword [rsp + 0x34], eax
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x240]
lea rcx, [rsp + 0x1f0]
call sub.VCRUNTIME140D.dll_memcpy
nop
movdqa xmm0, xmmword [rsp + 0x1f0]
movdqa xmmword [rsp + 0x180], xmm0
movdqa xmm0, xmmword [rsp + 0x180]
movdqa xmmword [rsp + 0x100], xmm0
mov eax, dword [rsp + 0x28]
mov edx, dword [rsp + 0x34]
movdqa xmm0, xmmword [rsp + 0xb0]
pcmpestri xmm0, xmmword [rsp + 0x100], 1
mov eax, 1
mov ecx, 0
cmovb ecx, eax
test ecx, ecx
je 0x140046107
mov eax, dword [rsp + 0x28]
mov edx, dword [rsp + 0x34]
movdqa xmm0, xmmword [rsp + 0xb0]
pcmpestri xmm0, xmmword [rsp + 0x100], 1
mov eax, ecx
mov dword [rsp + 0x64], eax
movsxd rax, dword [rsp + 0x64]
shl rax, 1
mov rdx, rax
lea rcx, [rsp + 0x240]
call fcn.140042690
mov rax, qword [rsp + 0x240]
jmp 0x1400465c4
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x240]
call fcn.140042690
mov rax, qword [rsp + 0x240]
jmp 0x1400465c4
mov rax, qword [rsp + 0x250]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x50]
and rax, 0xfffffffffffffff0
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140042690
mov rax, qword [rsp + 0x50]
and rax, 0xf
mov dword [rsp + 0x38], eax
movsxd rax, dword [rsp + 0x38]
mov r8, rax
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x210]
call sub.VCRUNTIME140D.dll_memcpy
nop
movdqa xmm0, xmmword [rsp + 0x210]
movdqa xmmword [rsp + 0x1a0], xmm0
movdqa xmm0, xmmword [rsp + 0x1a0]
movdqa xmmword [rsp + 0x140], xmm0
movsxd rax, dword [rsp + 0x38]
xor edx, edx
mov ecx, 2
div rcx
mov dword [rsp + 0x48], eax
mov dword [rsp + 0xe8], 0x10
mov dword [rsp + 0x20], 0x10
mov rdx, qword [rsp + 0x248]
mov rcx, qword [rsp + 0x240]
call fcn.140064e40
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x240]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x88]
and rax, 0xfffffffffffffff0
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.140042690
nop
mov rax, qword [rsp + 0x80]
cmp qword [rsp + 0x240], rax
je 0x1400463cc
mov rax, qword [rsp + 0x240]
movdqu xmm0, xmmword [rax]
movdqa xmmword [rsp + 0x1b0], xmm0
movdqa xmm0, xmmword [rsp + 0x1b0]
movdqa xmmword [rsp + 0xc0], xmm0
mov rax, qword [rsp + 0x250]
mov qword [rsp + 0x70], rax
jmp 0x140046266
mov edx, 0x10
lea rcx, [rsp + 0x70]
call fcn.140042600
nop
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x70], rax
je 0x140046304
mov rax, qword [rsp + 0x70]
movdqu xmm0, xmmword [rax]
movdqa xmmword [rsp + 0x1c0], xmm0
movdqa xmm0, xmmword [rsp + 0x1c0]
movdqa xmmword [rsp + 0x110], xmm0
mov eax, 8
mov edx, 8
movdqa xmm0, xmmword [rsp + 0x110]
pcmpestri xmm0, xmmword [rsp + 0xc0], 1
mov eax, 1
mov ecx, 0
cmovb ecx, eax
test ecx, ecx
je 0x1400462ff
mov eax, 8
mov edx, 8
movdqa xmm0, xmmword [rsp + 0x110]
pcmpestri xmm0, xmmword [rsp + 0xc0], 1
mov eax, ecx
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x3c], eax
jge 0x1400462ff
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x20], eax
jmp 0x140046256
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0
je 0x140046388
movdqa xmm0, xmmword [rsp + 0x140]
movdqa xmmword [rsp + 0x120], xmm0
mov eax, dword [rsp + 0x2c]
mov edx, 8
movdqa xmm0, xmmword [rsp + 0x120]
pcmpestri xmm0, xmmword [rsp + 0xc0], 1
mov eax, 1
mov ecx, 0
cmovb ecx, eax
test ecx, ecx
je 0x140046388
mov eax, dword [rsp + 0x2c]
mov edx, 8
movdqa xmm0, xmmword [rsp + 0x120]
pcmpestri xmm0, xmmword [rsp + 0xc0], 1
mov eax, ecx
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x40], eax
jge 0x140046388
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x10
je 0x1400463b4
movsxd rax, dword [rsp + 0x20]
shl rax, 1
mov rdx, rax
lea rcx, [rsp + 0x240]
call fcn.140042690
mov rax, qword [rsp + 0x240]
jmp 0x1400465c4
mov edx, 0x10
lea rcx, [rsp + 0x240]
call fcn.140042600
nop
jmp 0x14004620a
mov rax, qword [rsp + 0x88]
and rax, 0xf
mov qword [rsp + 0x90], rax
xor edx, edx
mov rax, qword [rsp + 0x90]
mov ecx, 2
div rcx
mov dword [rsp + 0x24], eax
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x240]
lea rcx, [rsp + 0x200]
call sub.VCRUNTIME140D.dll_memcpy
nop
movdqa xmm0, xmmword [rsp + 0x200]
movdqa xmmword [rsp + 0x1d0], xmm0
movdqa xmm0, xmmword [rsp + 0x1d0]
movdqa xmmword [rsp + 0xd0], xmm0
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x250]
mov qword [rsp + 0x78], rax
jmp 0x14004645f
mov edx, 0x10
lea rcx, [rsp + 0x78]
call fcn.140042600
nop
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x78], rax
je 0x1400464fb
mov rax, qword [rsp + 0x78]
movdqu xmm0, xmmword [rax]
movdqa xmmword [rsp + 0x190], xmm0
movdqa xmm0, xmmword [rsp + 0x190]
movdqa xmmword [rsp + 0x130], xmm0
mov eax, 8
mov edx, dword [rsp + 0x24]
movdqa xmm0, xmmword [rsp + 0x130]
pcmpestri xmm0, xmmword [rsp + 0xd0], 1
mov eax, 1
mov ecx, 0
cmovb ecx, eax
test ecx, ecx
je 0x1400464f6
mov eax, 8
mov edx, dword [rsp + 0x24]
movdqa xmm0, xmmword [rsp + 0x130]
pcmpestri xmm0, xmmword [rsp + 0xd0], 1
mov eax, ecx
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x44], eax
jge 0x1400464f6
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x20], eax
jmp 0x14004644f
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14004657d
movdqa xmm0, xmmword [rsp + 0x140]
movdqa xmmword [rsp + 0x150], xmm0
mov eax, dword [rsp + 0x30]
mov edx, dword [rsp + 0x24]
movdqa xmm0, xmmword [rsp + 0x150]
pcmpestri xmm0, xmmword [rsp + 0xd0], 1
mov eax, 1
mov ecx, 0
cmovb ecx, eax
test ecx, ecx
je 0x14004657d
mov eax, dword [rsp + 0x30]
mov edx, dword [rsp + 0x24]
movdqa xmm0, xmmword [rsp + 0x150]
pcmpestri xmm0, xmmword [rsp + 0xd0], 1
mov eax, ecx
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x4c], eax
jge 0x14004657d
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
shl rax, 1
mov rdx, rax
lea rcx, [rsp + 0x240]
call fcn.140042690
mov rax, qword [rsp + 0x240]
jmp 0x1400465c4
mov r9, qword [rsp + 0x258]
mov r8, qword [rsp + 0x250]
mov rdx, qword [rsp + 0x248]
mov rcx, qword [rsp + 0x240]
call fcn.140043030
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.140001d89
add rsp, 0x238
ret