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

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x298
mov rax, qword [0x1801da5d0]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rax, qword [0x1801eb708]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x2b0]
mov rax, qword [rax + 0x1a0]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x2b0]
movsx eax, byte [rax + 0x202]
test eax, eax
jle 0x180131edd
mov byte [rsp + 0x31], 1
jmp 0x180131ee2
mov byte [rsp + 0x31], 0
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x30], al
mov rax, qword [rsp + 0x2b0]
movsx eax, byte [rax + 0x204]
test eax, eax
jle 0x180131f05
mov byte [rsp + 0x32], 1
jmp 0x180131f0a
mov byte [rsp + 0x32], 0
movzx eax, byte [rsp + 0x32]
mov byte [rsp + 0x34], al
mov dword [rsp + 0x7c], 0
lea r9, [0x180136a60]
mov r8d, 4
mov edx, 0x28
lea rcx, [rsp + 0x1e0]
call fcn.180017d90
mov dword [rsp + 0x3c], 0
jmp 0x180131f4e
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x2b0]
mov eax, dword [rax + 0x74]
cmp dword [rsp + 0x3c], eax
jge 0x180132311
mov eax, dword [rsp + 0x3c]
mov ecx, 1
mov qword [rsp + 0xf0], rcx
movzx ecx, al
mov rax, qword [rsp + 0xf0]
shl rax, cl
mov rcx, qword [rsp + 0x2b0]
mov rcx, qword [rcx + 0x58]
and rcx, rax
mov rax, rcx
test rax, rax
jne 0x180131f9b
jmp 0x180131f44
mov rax, qword [rsp + 0x2b0]
add rax, 0x18
mov qword [rsp + 0xf8], rax
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0xf8]
call fcn.1800c84b0
mov qword [rsp + 0x60], rax
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x180131fdb
mov dword [rsp + 0x90], 2
jmp 0x180131fe6
mov dword [rsp + 0x90], 1
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0xc0], eax
mov dword [rsp + 0x40], 0
jmp 0x180132008
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0xc0]
cmp dword [rsp + 0x40], eax
jge 0x180132303
cmp dword [rsp + 0x40], 0
jne 0x18013202f
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0x58]
mov byte [rsp + 0x33], al
jmp 0x18013203c
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0x59]
mov byte [rsp + 0x33], al
movzx eax, byte [rsp + 0x33]
mov dword [rsp + 0x9c], eax
mov rax, qword [rsp + 0x58]
add rax, 8
mov qword [rsp + 0x100], rax
mov edx, dword [rsp + 0x9c]
mov rcx, qword [rsp + 0x100]
call fcn.1800c8520
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
cmp dword [rax], 0
jle 0x1801320bf
mov rax, qword [rsp + 0x80]
mov rcx, rax
call fcn.1800ca6c0
cmp dword [rax + 0x20], 0
jne 0x1801320bf
mov rax, qword [rsp + 0x80]
mov rcx, rax
call fcn.1800ca6c0
cmp qword [rax + 0x28], 0
je 0x1801320bf
mov rax, qword [rsp + 0x80]
mov rcx, rax
call fcn.1800cb4d0
mov rax, qword [rsp + 0x80]
cmp dword [rax], 1
je 0x1801320d1
jmp 0x180131ffe
mov rax, qword [rsp + 0x60]
mov eax, dword [rax]
and eax, 0x100
test eax, eax
jne 0x180132159
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x18013210b
mov rax, qword [rsp + 0x60]
movss xmm1, dword [rax + 0x48]
mov rax, qword [rsp + 0x60]
movss xmm0, dword [rax + 0x44]
call fcn.18012ba00
movss dword [rsp + 0x78], xmm0
jmp 0x180132143
cmp dword [rsp + 0x40], 0
jne 0x180132133
mov rax, qword [rsp + 0x60]
movss xmm1, dword [rax + 0x48]
mov rax, qword [rsp + 0x60]
movss xmm0, dword [rax + 0x40]
call fcn.18012ba00
movss dword [rsp + 0x78], xmm0
jmp 0x180132143
mov rax, qword [rsp + 0x60]
movss xmm0, dword [rax + 0x44]
movss dword [rsp + 0x78], xmm0
mov rax, qword [rsp + 0x60]
movss xmm0, dword [rsp + 0x78]
comiss xmm0, dword [rax + 0x28]
jbe 0x180132159
jmp 0x180131ffe
movzx eax, byte [rsp + 0x34]
test eax, eax
je 0x180132184
mov rax, qword [rsp + 0x2b0]
movsx eax, byte [rax + 0x204]
cmp dword [rsp + 0x3c], eax
jge 0x180132184
mov dword [rsp + 0x98], 0
jmp 0x18013218f
mov dword [rsp + 0x98], 1
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x1801321ac
cmp dword [rsp + 0x40], 0
jne 0x1801321ac
mov dword [rsp + 0x94], 0
jmp 0x1801321b7
mov dword [rsp + 0x94], 2
mov eax, dword [rsp + 0x94]
mov ecx, dword [rsp + 0x98]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xa0], eax
movsxd rax, dword [rsp + 0xa0]
imul rax, rax, 0x28
lea rax, [rsp + rax + 0x1e0]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
cmp dword [rax + 0x10], 0
jne 0x18013223f
movss xmm0, dword [0x18015fd1c]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [0x18015fd1c]
movss xmm2, dword [0x18015fd08]
movss xmm1, dword [0x18015fd08]
lea rcx, [rsp + 0x1a0]
call fcn.1800c7bd0
mov rdi, qword [rsp + 0x88]
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x88]
add rax, 0x14
mov qword [rsp + 0x108], rax
mov edx, dword [rsp + 0x9c]
mov rcx, qword [rsp + 0x108]
call fcn.1800ca040
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x10]
inc eax
mov rcx, qword [rsp + 0x88]
mov dword [rcx + 0x10], eax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x110], rax
xor edx, edx
mov rcx, qword [rsp + 0x110]
call fcn.1800c8500
mov rdx, rax
lea rcx, [rsp + 0x180]
call fcn.1800c7b60
lea rdx, [rsp + 0x180]
mov rcx, qword [rsp + 0x118]
call fcn.1800c8960
mov eax, dword [rsp + 0xa0]
mov ecx, 1
mov dword [rsp + 0xd0], ecx
movzx ecx, al
mov eax, dword [rsp + 0xd0]
shl eax, cl
mov ecx, dword [rsp + 0x7c]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x7c], eax
jmp 0x180131ffe
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x57], 0xff
jmp 0x180131f44
cmp dword [rsp + 0x7c], 0
je 0x180132863
mov dword [rsp + 0x140], 2
mov rax, qword [rsp + 0xc8]
add rax, 0x4360
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 4]
sub eax, 2
mov edx, eax
mov rcx, qword [rsp + 0x120]
call fcn.180123200
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax + 0x4368]
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x1c0]
call fcn.1800c5dc0
mov rax, qword [rsp + 0x58]
mov r8d, dword [rax + 4]
mov edx, 2
lea rcx, [rsp + 0x1c0]
call fcn.180138500
mov rax, qword [rsp + 0x2b0]
movzx eax, byte [rax + 0x208]
mov edx, eax
lea rcx, [rsp + 0x1c0]
call fcn.180138060
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x1801323c7
mov dword [rsp + 0xa4], 3
jmp 0x1801323d2
mov dword [rsp + 0xa4], 2
mov rax, qword [rsp + 0x58]
mov ecx, dword [rsp + 0xa4]
mov eax, dword [rax + 4]
sub eax, ecx
mov dword [rsp + 0x50], eax
lea rax, [rsp + 0xe0]
mov rcx, qword [rsp + 0x2b0]
mov rdi, rax
lea rsi, [rcx + 0x160]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x38], 0
jmp 0x18013241c
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 4
jge 0x180132774
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x28
mov eax, dword [rsp + rax + 0x1f0]
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
je 0x1801326ff
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x28
lea rax, [rsp + rax + 0x1e0]
mov qword [rsp + 0xa8], rax
lea rax, [rsp + 0xb0]
mov rdi, rax
mov rsi, qword [rsp + 0xa8]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x38]
and eax, 1
test eax, eax
je 0x18013248d
movzx eax, byte [rsp + 0x34]
test eax, eax
jne 0x1801324ad
movss xmm1, dword [rsp + 0xe0]
movss xmm0, dword [rsp + 0xb0]
call fcn.18012b9b0
movss dword [rsp + 0xb0], xmm0
mov eax, dword [rsp + 0x38]
and eax, 2
test eax, eax
je 0x1801324c1
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x1801324e1
movss xmm1, dword [rsp + 0xe4]
movss xmm0, dword [rsp + 0xb4]
call fcn.18012b9b0
movss dword [rsp + 0xb4], xmm0
mov eax, dword [rsp + 0x38]
and eax, 1
test eax, eax
je 0x18013250c
movss xmm1, dword [rsp + 0xe8]
movss xmm0, dword [rsp + 0xb8]
call fcn.18012ba00
movss dword [rsp + 0xb8], xmm0
mov eax, dword [rsp + 0x38]
and eax, 2
test eax, eax
je 0x18013254b
mov rax, qword [rsp + 0x2b0]
mov eax, dword [rax + 4]
and eax, 0x20000
test eax, eax
jne 0x18013254b
movss xmm1, dword [rsp + 0xec]
movss xmm0, dword [rsp + 0xbc]
call fcn.18012ba00
movss dword [rsp + 0xbc], xmm0
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax + 0x10]
mov ecx, dword [rsp + 0x50]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x44], 0
jmp 0x180132576
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 5
jge 0x1801325ae
movsxd rax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0xa8]
mov eax, dword [rcx + rax*4 + 0x14]
not eax
movsxd rcx, dword [rsp + 0x44]
mov ecx, dword [rsp + rcx*4 + 0x1c0]
and ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x44]
mov dword [rsp + rcx*4 + 0x1c0], eax
jmp 0x18013256c
mov dword [rsp + 0x48], 0
jmp 0x1801325c2
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 4]
cmp dword [rsp + 0x48], eax
jge 0x1801326ff
cmp dword [rsp + 0x68], 0
je 0x1801326ff
mov rax, qword [rsp + 0xa8]
add rax, 0x14
mov qword [rsp + 0x128], rax
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x128]
call fcn.1800ca0c0
movzx eax, al
test eax, eax
jne 0x18013260d
jmp 0x1801325b8
mov rax, qword [rsp + 0xa8]
add rax, 0x14
mov qword [rsp + 0x130], rax
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x130]
call fcn.180138060
mov eax, dword [rsp + 0x68]
dec eax
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0x58]
add rax, 8
mov qword [rsp + 0x138], rax
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x138]
call fcn.1800c8520
mov qword [rsp + 0xd8], rax
lea rdx, [rsp + 0x1b0]
lea rcx, [rsp + 0xb0]
call fcn.1800ca1f0
lea rcx, [rsp + 0x190]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x178], rax
xor edx, edx
mov rcx, qword [rsp + 0x178]
call fcn.1800c8500
lea rcx, [rsp + 0x190]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x70]
add rax, 0x20
mov qword [rsp + 0x70], rax
mov r8d, 0x20
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x148]
call sub.VCRUNTIME140.dll_memcpy
jmp 0x1801325b8
cmp dword [rsp + 0x38], 1
jne 0x18013276f
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x18013276f
mov rax, qword [rsp + 0x58]
add rax, 8
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x70]
add rax, 0x20
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x2b0]
movzx eax, byte [rax + 0x208]
mov edx, eax
mov rcx, qword [rsp + 0x150]
call fcn.1800c8520
mov r8d, 0x20
mov rdx, rax
mov rcx, qword [rsp + 0x158]
call sub.VCRUNTIME140.dll_memcpy
jmp 0x180132412
mov dword [rsp + 0x4c], 0
jmp 0x180132788
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 4]
cmp dword [rsp + 0x4c], eax
jge 0x18013282e
cmp dword [rsp + 0x50], 0
je 0x18013282e
mov edx, dword [rsp + 0x4c]
lea rcx, [rsp + 0x1c0]
call fcn.1800ca0c0
movzx eax, al
test eax, eax
jne 0x1801327bf
jmp 0x18013277e
mov rax, qword [rsp + 0x58]
add rax, 8
mov qword [rsp + 0x160], rax
mov edx, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x160]
call fcn.1800c8520
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x70]
add rax, 0x20
mov qword [rsp + 0x70], rax
mov r8d, 0x20
mov rdx, qword [rsp + 0x168]
mov rcx, qword [rsp + 0x170]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x50]
dec eax
mov dword [rsp + 0x50], eax
jmp 0x18013277e
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 4]
sub eax, 2
cdqe
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x58]
mov rcx, qword [rcx + 0x10]
add rcx, 0x40
mov r8, rax
mov rax, qword [rsp + 0xc8]
mov rdx, qword [rax + 0x4368]
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.18014f070
add rsp, 0x298
pop rdi
pop rsi
ret