Function at 0x140031610
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 [0x1401f6140]
xor rax, rsp
mov qword [rsp + 0x220], rax
call fcn.140052d50
movzx eax, al
test eax, eax
je 0x140031d5f
mov dword [rsp + 0xe0], 1
mov dword [rsp + 0xe4], 8
mov rdx, qword [rsp + 0x258]
mov rcx, qword [rsp + 0x250]
call fcn.140050600
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0x10
ja 0x1400318eb
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 fcn.1400038c3
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.140050600
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.14002de50
nop
mov rax, qword [rsp + 0x98]
cmp qword [rsp + 0x240], rax
je 0x1400317f0
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 0x1400317d8
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.14002de50
mov rax, qword [rsp + 0x240]
jmp 0x140031d84
mov edx, 0x10
lea rcx, [rsp + 0x240]
call fcn.14002ddc0
nop
jmp 0x140031725
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 fcn.1400038c3
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 0x1400318c7
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.14002de50
mov rax, qword [rsp + 0x240]
jmp 0x140031d84
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x240]
call fcn.14002de50
mov rax, qword [rsp + 0x240]
jmp 0x140031d84
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.14002de50
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 fcn.1400038c3
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.140050600
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.14002de50
nop
mov rax, qword [rsp + 0x80]
cmp qword [rsp + 0x240], rax
je 0x140031b8c
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 0x140031a26
mov edx, 0x10
lea rcx, [rsp + 0x70]
call fcn.14002ddc0
nop
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x70], rax
je 0x140031ac4
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 0x140031abf
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 0x140031abf
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x20], eax
jmp 0x140031a16
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0
je 0x140031b48
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 0x140031b48
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 0x140031b48
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x10
je 0x140031b74
movsxd rax, dword [rsp + 0x20]
shl rax, 1
mov rdx, rax
lea rcx, [rsp + 0x240]
call fcn.14002de50
mov rax, qword [rsp + 0x240]
jmp 0x140031d84
mov edx, 0x10
lea rcx, [rsp + 0x240]
call fcn.14002ddc0
nop
jmp 0x1400319ca
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 fcn.1400038c3
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 0x140031c1f
mov edx, 0x10
lea rcx, [rsp + 0x78]
call fcn.14002ddc0
nop
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x78], rax
je 0x140031cbb
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 0x140031cb6
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 0x140031cb6
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x20], eax
jmp 0x140031c0f
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x140031d3d
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 0x140031d3d
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 0x140031d3d
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.14002de50
mov rax, qword [rsp + 0x240]
jmp 0x140031d84
mov r9, qword [rsp + 0x258]
mov r8, qword [rsp + 0x250]
mov rdx, qword [rsp + 0x248]
mov rcx, qword [rsp + 0x240]
call fcn.14002e7f0
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.14000389b
add rsp, 0x238
ret