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

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x2a8
mov rax, qword [0x14012c028]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov rax, qword [0x14012d840]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x2c0]
mov rax, qword [rax + 0x1a0]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x2c0]
movsx eax, byte [rax + 0x202]
test eax, eax
jle 0x1400af36d
mov byte [rsp + 0x31], 1
jmp 0x1400af372
mov byte [rsp + 0x31], 0
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x30], al
mov rax, qword [rsp + 0x2c0]
movsx eax, byte [rax + 0x204]
test eax, eax
jle 0x1400af395
mov byte [rsp + 0x32], 1
jmp 0x1400af39a
mov byte [rsp + 0x32], 0
movzx eax, byte [rsp + 0x32]
mov byte [rsp + 0x34], al
mov dword [rsp + 0x7c], 0
lea r9, [0x1400afd40]
mov r8d, 4
mov edx, 0x28
lea rcx, [rsp + 0x1f0]
call fcn.14004b5a0
mov dword [rsp + 0x3c], 0
jmp 0x1400af3de
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x2c0]
mov eax, dword [rax + 0x74]
cmp dword [rsp + 0x3c], eax
jge 0x1400af7a1
mov eax, dword [rsp + 0x3c]
mov ecx, 1
mov qword [rsp + 0xd0], rcx
movzx ecx, al
mov rax, qword [rsp + 0xd0]
shl rax, cl
mov rcx, qword [rsp + 0x2c0]
mov rcx, qword [rcx + 0x58]
and rcx, rax
mov rax, rcx
test rax, rax
jne 0x1400af42b
jmp 0x1400af3d4
mov rax, qword [rsp + 0x2c0]
add rax, 0x18
mov qword [rsp + 0xd8], rax
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0xd8]
call fcn.140081ae0
mov qword [rsp + 0x60], rax
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x1400af46b
mov dword [rsp + 0x90], 2
jmp 0x1400af476
mov dword [rsp + 0x90], 1
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0xb0], eax
mov dword [rsp + 0x40], 0
jmp 0x1400af498
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0xb0]
cmp dword [rsp + 0x40], eax
jge 0x1400af793
cmp dword [rsp + 0x40], 0
jne 0x1400af4bf
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0x58]
mov byte [rsp + 0x33], al
jmp 0x1400af4cc
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 + 0xe0], rax
mov edx, dword [rsp + 0x9c]
mov rcx, qword [rsp + 0xe0]
call fcn.140081ca0
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
cmp dword [rax], 0
jle 0x1400af54f
mov rax, qword [rsp + 0x88]
mov rcx, rax
call fcn.140083320
cmp dword [rax + 0x20], 0
jne 0x1400af54f
mov rax, qword [rsp + 0x88]
mov rcx, rax
call fcn.140083320
cmp qword [rax + 0x28], 0
je 0x1400af54f
mov rax, qword [rsp + 0x88]
mov rcx, rax
call fcn.140082420
mov rax, qword [rsp + 0x88]
cmp dword [rax], 1
je 0x1400af561
jmp 0x1400af48e
mov rax, qword [rsp + 0x60]
mov eax, dword [rax]
and eax, 0x100
test eax, eax
jne 0x1400af5e9
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x1400af59b
mov rax, qword [rsp + 0x60]
movss xmm1, dword [rax + 0x48]
mov rax, qword [rsp + 0x60]
movss xmm0, dword [rax + 0x44]
call fcn.1400844a0
movss dword [rsp + 0x78], xmm0
jmp 0x1400af5d3
cmp dword [rsp + 0x40], 0
jne 0x1400af5c3
mov rax, qword [rsp + 0x60]
movss xmm1, dword [rax + 0x48]
mov rax, qword [rsp + 0x60]
movss xmm0, dword [rax + 0x40]
call fcn.1400844a0
movss dword [rsp + 0x78], xmm0
jmp 0x1400af5d3
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 0x1400af5e9
jmp 0x1400af48e
movzx eax, byte [rsp + 0x34]
test eax, eax
je 0x1400af614
mov rax, qword [rsp + 0x2c0]
movsx eax, byte [rax + 0x204]
cmp dword [rsp + 0x3c], eax
jge 0x1400af614
mov dword [rsp + 0x98], 0
jmp 0x1400af61f
mov dword [rsp + 0x98], 1
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x1400af63c
cmp dword [rsp + 0x40], 0
jne 0x1400af63c
mov dword [rsp + 0x94], 0
jmp 0x1400af647
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 + 0x1f0]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x10], 0
jne 0x1400af6cf
movss xmm0, dword [0x14011ee18]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [0x14011ee18]
movss xmm2, dword [0x14011edf0]
movss xmm1, dword [0x14011edf0]
lea rcx, [rsp + 0x190]
call fcn.140047d20
mov rdi, qword [rsp + 0x80]
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x80]
add rax, 0x14
mov qword [rsp + 0xe8], rax
mov edx, dword [rsp + 0x9c]
mov rcx, qword [rsp + 0xe8]
call fcn.140081a60
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x10]
inc eax
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x10], eax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xf0], rax
xor edx, edx
mov rcx, qword [rsp + 0xf0]
call fcn.140083340
mov rdx, rax
lea rcx, [rsp + 0x170]
call fcn.140047cb0
lea rdx, [rsp + 0x170]
mov rcx, qword [rsp + 0xf8]
call fcn.140048070
mov eax, dword [rsp + 0xa0]
mov ecx, 1
mov dword [rsp + 0xb4], ecx
movzx ecx, al
mov eax, dword [rsp + 0xb4]
shl eax, cl
mov ecx, dword [rsp + 0x7c]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x7c], eax
jmp 0x1400af48e
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x57], 0xff
jmp 0x1400af3d4
cmp dword [rsp + 0x7c], 0
je 0x1400afd17
mov dword [rsp + 0xc8], 2
mov rax, qword [rsp + 0xb8]
add rax, 0x4510
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 4]
sub eax, 2
mov edx, eax
mov rcx, qword [rsp + 0x100]
call fcn.14009f8a0
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax + 0x4518]
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x1d0]
call fcn.1400827a0
mov rax, qword [rsp + 0x58]
mov r8d, dword [rax + 4]
mov edx, 2
lea rcx, [rsp + 0x1d0]
call fcn.1400b4810
mov rax, qword [rsp + 0x2c0]
movzx eax, byte [rax + 0x208]
mov edx, eax
lea rcx, [rsp + 0x1d0]
call fcn.1400b4850
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x1400af857
mov dword [rsp + 0xa4], 3
jmp 0x1400af862
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 + 0x1c0]
mov rcx, qword [rsp + 0x2c0]
mov rdi, rax
lea rsi, [rcx + 0x15c]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x38], 0
jmp 0x1400af8ac
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 4
jge 0x1400afc1c
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x28
mov eax, dword [rsp + rax + 0x200]
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
je 0x1400afb9b
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x28
lea rax, [rsp + rax + 0x1f0]
mov qword [rsp + 0xa8], rax
lea rax, [rsp + 0x1b0]
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 0x1400af91d
movzx eax, byte [rsp + 0x34]
test eax, eax
jne 0x1400af93d
movss xmm1, dword [rsp + 0x1c0]
movss xmm0, dword [rsp + 0x1b0]
call fcn.140084460
movss dword [rsp + 0x1b0], xmm0
mov eax, dword [rsp + 0x38]
and eax, 2
test eax, eax
je 0x1400af951
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x1400af971
movss xmm1, dword [rsp + 0x1c4]
movss xmm0, dword [rsp + 0x1b4]
call fcn.140084460
movss dword [rsp + 0x1b4], xmm0
mov eax, dword [rsp + 0x38]
and eax, 1
test eax, eax
je 0x1400af99c
movss xmm1, dword [rsp + 0x1c8]
movss xmm0, dword [rsp + 0x1b8]
call fcn.1400844a0
movss dword [rsp + 0x1b8], xmm0
mov eax, dword [rsp + 0x38]
and eax, 2
test eax, eax
je 0x1400af9db
mov rax, qword [rsp + 0x2c0]
mov eax, dword [rax + 4]
and eax, 0x20000
test eax, eax
jne 0x1400af9db
movss xmm1, dword [rsp + 0x1cc]
movss xmm0, dword [rsp + 0x1bc]
call fcn.1400844a0
movss dword [rsp + 0x1bc], 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 0x1400afa06
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 5
jge 0x1400afa3e
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 + 0x1d0]
and ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x44]
mov dword [rsp + rcx*4 + 0x1d0], eax
jmp 0x1400af9fc
mov dword [rsp + 0x48], 0
jmp 0x1400afa52
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 0x1400afb9b
cmp dword [rsp + 0x68], 0
je 0x1400afb9b
mov rax, qword [rsp + 0xa8]
add rax, 0x14
mov qword [rsp + 0x108], rax
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x108]
call fcn.140081a90
movzx eax, al
test eax, eax
jne 0x1400afa9d
jmp 0x1400afa48
mov rax, qword [rsp + 0xa8]
add rax, 0x14
mov qword [rsp + 0x110], rax
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x110]
call fcn.1400b4850
mov eax, dword [rsp + 0x68]
dec eax
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0x58]
add rax, 8
mov qword [rsp + 0x118], rax
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x118]
call fcn.140081ca0
mov qword [rsp + 0xc0], rax
lea rdx, [rsp + 0x1a0]
lea rcx, [rsp + 0x1b0]
call fcn.1400483e0
lea rcx, [rsp + 0x180]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x120], rax
xor edx, edx
mov rcx, qword [rsp + 0x120]
call fcn.140083340
lea rcx, [rsp + 0x180]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x70]
add rax, 0x20
mov qword [rsp + 0x70], rax
mov rdi, qword [rsp + 0x130]
mov rsi, qword [rsp + 0xc0]
mov ecx, 0x20
rep movsb byte [rdi], byte [rsi]
jmp 0x1400afa48
cmp dword [rsp + 0x38], 1
jne 0x1400afc17
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x1400afc17
mov rax, qword [rsp + 0x58]
add rax, 8
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x70]
add rax, 0x20
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x2c0]
movzx eax, byte [rax + 0x208]
mov edx, eax
mov rcx, qword [rsp + 0x140]
call fcn.140081ca0
mov rdi, qword [rsp + 0x148]
mov rsi, rax
mov ecx, 0x20
rep movsb byte [rdi], byte [rsi]
jmp 0x1400af8a2
mov dword [rsp + 0x4c], 0
jmp 0x1400afc30
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 0x1400afce2
cmp dword [rsp + 0x50], 0
je 0x1400afce2
mov edx, dword [rsp + 0x4c]
lea rcx, [rsp + 0x1d0]
call fcn.140081a90
movzx eax, al
test eax, eax
jne 0x1400afc67
jmp 0x1400afc26
mov rax, qword [rsp + 0x58]
add rax, 8
mov qword [rsp + 0x150], rax
mov edx, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x150]
call fcn.140081ca0
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x70]
add rax, 0x20
mov qword [rsp + 0x70], rax
mov rdi, qword [rsp + 0x160]
mov rsi, qword [rsp + 0x168]
mov ecx, 0x20
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x50]
dec eax
mov dword [rsp + 0x50], eax
jmp 0x1400afc26
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 rdx, qword [rsp + 0xb8]
mov rdi, rcx
mov rsi, qword [rdx + 0x4518]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.1400f3a60
add rsp, 0x2a8
pop rdi
pop rsi
ret