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

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r12
push r14
lea rbp, [r11 - 0x158]
sub rsp, 0x230
movaps xmmword [r11 - 0xd8], xmm15
mov rax, qword [0x140111028]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov rsi, qword [0x1401121d0]
mov r14, rcx
mov qword [r11 + 0x20], rbx
mov ebx, r8d
mov qword [r11 - 0x30], r13
mov qword [r11 - 0x38], r15
mov qword [rbp - 0x70], rdx
mov qword [rbp - 0x68], rcx
call fcn.14004e180
test rax, rax
mov qword [rsp + 0x78], rax
mov rdi, rax
sete cl
mov byte [rsp + 0x41], cl
test rax, rax
jne 0x140050f7a
mov edx, ebx
mov rcx, r14
call fcn.14004e4b0
mov rdi, rax
jmp 0x140050f88
movzx edx, cl
mov r8d, ebx
mov rcx, rax
call fcn.14004e2d0
mov r8d, dword [rdi + 0x280]
lea r14, [rsi + 0x3fb0]
mov eax, ebx
mov dword [rsp + 0x4c], r8d
mov r13d, ebx
and eax, 0xc0200
or r13d, 6
cmp eax, 0xc0200
cmovne r13d, ebx
cmp dword [r14], 0
mov ebx, dword [rsi + 0x3f60]
mov dword [rsp + 0x44], r13d
mov dword [rsp + 0x50], ebx
jne 0x140050fd4
cmp byte [rsi + 0x3f71], 0
je 0x140050fd4
mov al, 1
jmp 0x140050fd6
xor al, al
mov byte [rdi + 0xd3], al
lea eax, [rbx - 1]
cmp r8d, eax
setl dl
mov byte [rsp + 0x43], dl
bt r13d, 0x1a
jae 0x14005101c
movsxd rax, dword [rsi + 0x41f0]
imul rax, rax, 0x38
add rax, qword [rsi + 0x41e8]
cmp rdi, qword [rax + 8]
mov eax, dword [rax]
setne cl
cmp dword [rdi + 0xe0], eax
setne al
or cl, al
or dl, cl
mov byte [rsp + 0x43], dl
movzx r12d, byte [rdi + 0xd1]
xor ecx, ecx
cmp r8d, ebx
je 0x140051092
mov byte [rdi + 0xd1], dl
test dl, dl
je 0x140051051
or byte [rdi + 0xf0], 8
or byte [rdi + 0xf1], 8
or byte [rdi + 0xf2], 8
or byte [rdi + 0xf3], 8
mov eax, dword [rdi + 0xc]
mov dword [rdi + 0x10], eax
mov dword [rdi + 0xc], r13d
mov dword [rdi + 0x280], ebx
movsd xmm0, qword [rsi + 0x3f58]
mov word [rdi + 0xda], cx
cvtpd2ps xmm0, xmm0
movss dword [rdi + 0x288], xmm0
movzx eax, word [rsi + 0x3fd0]
inc dword [rsi + 0x3fd0]
mov word [rdi + 0xdc], ax
jmp 0x14005109b
mov r13d, dword [rdi + 0xc]
mov dword [rsp + 0x44], r13d
test dword [rsi + 0x40f0], 0x200
je 0x1400510c1
mov r8d, dword [rsi + 0x4100]
mov rcx, rdi
mov edx, dword [rsi + 0x4158]
call fcn.140066670
mov r8d, dword [rsp + 0x4c]
cmp r8d, ebx
je 0x1400511b6
cmp dword [rdi + 0x430], 0
jne 0x14005118b
cmp qword [rdi + 0x420], 0
jne 0x14005118b
mov rax, qword [0x1401121d0]
xor cl, cl
cmp byte [rax + 0x72], cl
jne 0x1400510fc
cmp byte [rdi + 0x2c], cl
je 0x14005118d
test dword [rdi + 0xc], 0x1200001
lea r15, [rdi + 0xc]
jne 0x14005118d
cmp byte [rdi + 0xd3], cl
jne 0x14005118d
movzx ebx, byte [rdi + 0x401]
mov rdx, qword [rbp - 0x70]
mov rcx, rdi
call fcn.140066bf0
test byte [rdi + 0x401], 1
mov r13d, dword [r15]
mov dword [rsp + 0x44], r13d
je 0x140051140
and dword [rsi + 0x40f0], 0xffffffef
test byte [rdi + 0x401], 4
je 0x1400511ad
test bl, 4
jne 0x1400511ad
test bl, 2
je 0x1400511ad
cmp byte [rdi + 0xd1], 0
mov r8d, dword [rsp + 0x4c]
jne 0x1400511b2
test r12b, r12b
jne 0x1400511b2
or byte [rdi + 0xf0], 8
or byte [rdi + 0xf1], 8
or byte [rdi + 0xf2], 8
or byte [rdi + 0xf3], 8
mov byte [rdi + 0xd1], 1
jmp 0x1400511b2
mov cl, 1
movzx ebx, byte [rdi + 0x401]
lea r15, [rdi + 0xc]
test cl, cl
jne 0x14005111c
and bl, 0xfb
and bl, 0xfd
and bl, 0xfe
mov byte [rdi + 0x401], bl
jmp 0x1400511b2
mov r8d, dword [rsp + 0x4c]
mov ebx, dword [rsp + 0x50]
test byte [rdi + 0x401], 1
je 0x1400511d6
mov rax, qword [rdi + 0x420]
mov r15, qword [rax + 0x88]
mov qword [rbp + 0x38], r15
test r15, r15
jne 0x1400511fc
movsxd rax, dword [r14]
test eax, eax
jne 0x1400511e8
xor eax, eax
mov r15d, eax
mov qword [rbp + 0x38], rax
jmp 0x1400511fe
imul rcx, rax, 0x58
mov rax, qword [rsi + 0x3fb8]
mov r15, qword [rcx + rax - 0x58]
mov qword [rbp + 0x38], r15
xor eax, eax
cmp r8d, ebx
je 0x140051213
test r13d, 0x5000000
mov r12, rax
cmovne r12, r15
jmp 0x14005121a
mov r12, qword [rdi + 0x390]
lea rbx, [rdi + 0x108]
mov qword [rsp + 0x60], r12
cmp dword [rbx], 0
mov r13d, 8
jne 0x140051251
cmp dword [rbx + 4], 0
jne 0x140051242
mov edx, r13d
mov rcx, rbx
call fcn.1400697d0
movsxd rdx, dword [rbx]
mov eax, dword [rdi + 8]
mov rcx, qword [rbx + 8]
mov dword [rcx + rdx*4], eax
inc dword [rbx]
mov rdx, qword [0x1401121d0]
xorps xmm0, xmm0
mov eax, dword [rsi + 0x40e8]
movups xmm1, xmmword [rsi + 0x40c0]
mov qword [rsi + 0x3fe0], rdi
mov r8d, dword [r14 + 4]
movups xmmword [rbp + 0x14], xmm0
mov dword [rbp + 0x10], eax
mov rax, qword [rdx + 0x3fe0]
movups xmm0, xmmword [rsi + 0x40b0]
mov qword [rbp - 0x30], rdi
movups xmmword [rbp - 0x18], xmm1
movzx ecx, word [rax + 0x108]
movzx eax, word [rdx + 0x4180]
movsd xmm1, qword [rsi + 0x40e0]
mov word [rbp + 0x16], ax
movzx eax, word [rdx + 0x4190]
mov word [rbp + 0x18], ax
movzx eax, word [rdx + 0x41a0]
mov word [rbp + 0x1a], ax
movzx eax, word [rdx + 0x41b0]
mov word [rbp + 0x1c], ax
movzx eax, word [rdx + 0x41d0]
mov word [rbp + 0x1e], ax
movzx eax, word [rdx + 0x41c0]
mov word [rbp + 0x20], ax
movzx eax, word [rdx + 0x41f0]
movups xmmword [rbp - 0x28], xmm0
mov word [rbp + 0x22], ax
movups xmm0, xmmword [rsi + 0x40d0]
movzx eax, word [rdx + 0x54e0]
mov word [rbp + 0x14], cx
mov ecx, dword [r14]
mov word [rbp + 0x24], ax
movsd qword [rbp + 8], xmm1
movups xmmword [rbp - 8], xmm0
cmp ecx, r8d
jne 0x14005133d
inc ecx
test r8d, r8d
je 0x14005132b
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x14005132e
mov eax, r13d
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, r14
call fcn.140069860
movsxd rax, dword [r14]
movaps xmm0, xmmword [rbp - 0x30]
movaps xmm1, xmmword [rbp - 0x20]
imul rcx, rax, 0x58
mov rax, qword [r14 + 8]
movups xmmword [rcx + rax], xmm0
movaps xmm0, xmmword [rbp - 0x10]
movups xmmword [rcx + rax + 0x10], xmm1
movaps xmm1, xmmword [rbp]
movups xmmword [rcx + rax + 0x20], xmm0
movaps xmm0, xmmword [rbp + 0x10]
movups xmmword [rcx + rax + 0x30], xmm1
movsd xmm1, qword [rbp + 0x20]
movups xmmword [rcx + rax + 0x40], xmm0
movsd qword [rcx + rax + 0x50], xmm1
inc dword [r14]
mov r14d, dword [rsp + 0x44]
mov qword [rsi + 0x3fe0], 0
bt r14d, 0x1c
jae 0x14005139f
inc dword [rsi + 0x4200]
bt r14d, 0x1a
jae 0x1400513e0
lea rcx, [rsi + 0x41f0]
movsxd rax, dword [rcx]
imul rbx, rax, 0x38
add rbx, qword [rsi + 0x41e8]
mov rdx, rbx
mov qword [rbx + 8], rdi
mov eax, dword [r15 + 0x170]
mov dword [rbx + 0x18], eax
call fcn.140068dd0
mov eax, dword [rbx]
lea rbx, [rdi + 0x108]
mov dword [rdi + 0xe0], eax
mov r10d, dword [rsp + 0x50]
mov r11d, dword [rsp + 0x4c]
cmp r11d, r10d
je 0x140051404
mov r8, r12
mov edx, r14d
mov rcx, rdi
call fcn.140050e30
mov qword [rdi + 0x398], r15
xor dl, dl
xor r15b, r15b
xor r12b, r12b
mov byte [rsp + 0x40], dl
test byte [rsi + 0x40f0], 1
je 0x1400514ac
mov r8d, dword [rsi + 0x40f4]
movzx ecx, byte [rdi + 0xf0]
movsx eax, cl
test r8d, eax
setne dl
mov byte [rsp + 0x40], dl
test r8d, eax
je 0x14005149d
movss xmm0, dword [rsi + 0x4110]
movss xmm1, dword [rsi + 0x410c]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
comiss xmm1, dword [0x1400fbe30]
jbe 0x14005149d
movsd xmm0, qword [rsi + 0x4104]
and ecx, 0xf1
mov eax, dword [rdi + 0xf0]
and eax, 0xffffff00
movsd qword [rdi + 0xf4], xmm0
movsd xmm1, qword [rsi + 0x410c]
or ecx, eax
mov dword [rdi + 0xf0], ecx
movsd qword [rdi + 0xfc], xmm1
jmp 0x1400514ac
lea rdx, [rsi + 0x4104]
mov rcx, rdi
call fcn.140054690
test byte [rsi + 0x40f0], 2
xorps xmm15, xmm15
je 0x1400514ff
movsx eax, byte [rdi + 0xf1]
lea rdx, [rsi + 0x4114]
mov r8d, dword [rsi + 0x40f8]
and eax, r8d
je 0x1400514e2
movss xmm0, dword [rdx]
comiss xmm0, xmm15
jbe 0x1400514e2
mov r15b, 1
jmp 0x1400514e6
test eax, eax
je 0x1400514f7
movss xmm0, dword [rsi + 0x4118]
comiss xmm0, xmm15
jbe 0x1400514f7
mov r12b, 1
mov rcx, rdi
call fcn.140054800
test byte [rsi + 0x40f0], 0x80
je 0x140051542
movss xmm0, dword [rsi + 0x4124]
xor eax, eax
comiss xmm0, xmm15
jb 0x140051526
movss dword [rdi + 0xa8], xmm0
mov dword [rdi + 0xb0], eax
movss xmm0, dword [rsi + 0x4128]
comiss xmm0, xmm15
jb 0x140051542
movss dword [rdi + 0xac], xmm0
mov dword [rdi + 0xb4], eax
test byte [rsi + 0x40f0], 4
je 0x14005155a
movsd xmm0, qword [rsi + 0x411c]
movsd qword [rdi + 0x70], xmm0
jmp 0x140051565
cmp r11d, r10d
je 0x140051565
xor eax, eax
mov qword [rdi + 0x70], rax
test dword [rsi + 0x40f0], 0x400
je 0x140051592
movups xmm0, xmmword [rsi + 0x415c]
movups xmmword [rdi + 0x14], xmm0
movsd xmm1, qword [rsi + 0x416c]
movsd qword [rdi + 0x24], xmm1
mov eax, dword [rsi + 0x4174]
mov dword [rdi + 0x2c], eax
test byte [rsi + 0x40f0], r13b
je 0x1400515e0
mov ecx, dword [rsi + 0x40fc]
movzx edx, byte [rsi + 0x412d]
test ecx, ecx
je 0x1400515b7
movsx eax, byte [rdi + 0xf2]
test ecx, eax
je 0x1400515e0
movzx ecx, byte [rdi + 0xf2]
mov eax, dword [rdi + 0xf0]
and ecx, 0xf1
shl ecx, 0x10
and eax, 0xff00ffff
or ecx, eax
mov byte [rdi + 0xce], dl
mov dword [rdi + 0xf0], ecx
test byte [rsi + 0x40f0], 0x20
je 0x1400515fb
mov rcx, rdi
call fcn.140054050
mov r10d, dword [rsp + 0x50]
mov r11d, dword [rsp + 0x4c]
cmp byte [rdi + 0xd1], 0
je 0x140051620
and byte [rdi + 0xf0], 0xf7
and byte [rdi + 0xf1], 0xf7
and byte [rdi + 0xf2], 0xf7
and byte [rdi + 0xf3], 0xf7
cmp r11d, r10d
je 0x140053981
movaps xmmword [rsp + 0x210], xmm6
mov eax, r14d
movaps xmmword [rsp + 0x200], xmm7
and eax, 0x3000000
cmp qword [rbp - 0x70], 0
movaps xmmword [rsp + 0x1f0], xmm8
movaps xmmword [rsp + 0x1e0], xmm9
movaps xmmword [rsp + 0x1d0], xmm10
movaps xmmword [rsp + 0x1c0], xmm11
movaps xmmword [rsp + 0x1b0], xmm12
movaps xmmword [rsp + 0x1a0], xmm13
mov byte [rdi + 0xcb], 1
movaps xmmword [rsp + 0x190], xmm14
mov dword [rsp + 0x58], eax
movzx eax, byte [rdi + 0xed]
mov byte [rsp + 0x48], al
setne al
mov byte [rdi + 0xd5], al
mov dword [rdi + 0x258], 0xff7fffff
mov dword [rdi + 0x25c], 0xff7fffff
mov dword [rdi + 0x260], 0x7f7fffff
mov dword [rdi + 0x264], 0x7f7fffff
mov ecx, dword [rbx + 4]
mov ebx, 1
mov dword [rsp + 0x68], ebx
cmp ecx, ebx
jge 0x140051701
test ecx, ecx
je 0x1400516eb
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1400516ee
mov eax, r13d
cmp eax, ebx
lea rcx, [rdi + 0x108]
mov edx, ebx
cmovg edx, eax
call fcn.1400697d0
mov dword [rdi + 0x108], ebx
mov rcx, qword [rdi + 0x2c0]
call fcn.1400719a0
mov dword [rdi + 0x1d0], 0xffffffff
bt r14d, 0x1d
jae 0x14005174d
mov rcx, qword [rdi + 0x2c0]
add rcx, 0xa8
call fcn.140074e00
mov rdx, qword [rdi + 0x2c0]
mov r8d, ebx
lea rcx, [rdx + 0xa8]
call fcn.1400752e0
cmp byte [rdi + 0x400], 0
je 0x140051792
mov rcx, qword [rdi + 0x2c0]
mov edx, dword [rdi + 0x3f8]
add rcx, 0x10
mov byte [rdi + 0x400], 0
call fcn.140034100
mov rcx, qword [rdi + 0x2c0]
mov edx, dword [rdi + 0x3fc]
add rcx, 0x20
call fcn.140069440
xor eax, eax
mov qword [rdi + 0x3f8], rax
mov rax, qword [rdi + 0x30]
test rax, rax
je 0x1400517a4
cmp qword [rax + 0x88], rdi
je 0x1400517c7
test byte [rdi + 0x401], bl
jne 0x1400517c7
cmp qword [rsi + 0x43e0], 0
je 0x140051894
test dword [rdi + 0xc], 0x80000
jne 0x140051894
mov r9, qword [rsp + 0x78]
test r9, r9
je 0x140051899
mov r10, qword [rbp - 0x68]
mov r9, qword [rdi]
mov rax, r10
mov r8, r9
sub r8, r10
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140051803
inc rax
test ecx, ecx
jne 0x1400517f0
test edx, edx
je 0x140051894
movsxd r14, dword [rdi + 0x88]
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [r10 + rbx], 0
jne 0x140051820
inc rbx
cmp r14, rbx
jae 0x140051877
test r9, r9
je 0x140051849
mov rax, qword [0x1401121d0]
test rax, rax
je 0x140051849
dec dword [rax + 0xf4]
mov rcx, r9
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x1401121d0]
test rax, rax
je 0x140051864
inc dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r10, qword [rbp - 0x68]
mov r14, rbx
mov r9, rax
mov r8, rbx
mov rdx, r10
mov rcx, r9
call sub.VCRUNTIME140.dll_memcpy
mov dword [rdi + 0x88], r14d
mov r14d, dword [rsp + 0x44]
mov qword [rdi], rax
mov r9, qword [rsp + 0x78]
lea rdx, [rdi + 0x60]
mov rcx, rdi
lea r8, [rdi + 0x68]
call fcn.14004ea00
movzx eax, byte [rdi + 0xec]
test al, al
jle 0x1400518bc
dec al
mov byte [rdi + 0xec], al
movzx eax, byte [rdi + 0xed]
test al, al
jle 0x1400518cf
dec al
mov byte [rdi + 0xed], al
movzx eax, byte [rdi + 0xee]
test al, al
jle 0x1400518e2
dec al
mov byte [rdi + 0xee], al
test r9, r9
jne 0x1400518f8
test r15b, r15b
je 0x1400518f1
test r12b, r12b
jne 0x1400518f8
mov byte [rdi + 0xed], 1
cmp byte [rsp + 0x43], 0
je 0x140051943
test r14d, 0x6000000
je 0x140051943
mov byte [rdi + 0xed], 1
test r14b, 0x40
je 0x140051943
xor r14d, r14d
test r15b, r15b
jne 0x140051925
mov dword [rdi + 0x58], r14d
mov dword [rdi + 0x50], r14d
test r12b, r12b
jne 0x140051932
mov dword [rdi + 0x5c], r14d
mov dword [rdi + 0x54], r14d
mov qword [rdi + 0x68], 0
mov qword [rdx], 0
jmp 0x140051946
xor r14d, r14d
call fcn.14005e6a0
mov rcx, qword [rdi + 0x30]
mov r10, qword [0x1401121d0]
test rcx, rcx
je 0x140051965
mov eax, dword [r10 + 0x3f60]
mov dword [rcx + 0x64], eax
cmp qword [r10 + 0x4220], rcx
je 0x1400519ad
test rcx, rcx
je 0x14005199b
mov eax, dword [rcx + 0x28]
mov dword [r10 + 0x4218], eax
mov rax, qword [r10 + 0x3890]
mov qword [r10 + 0x4220], rcx
test rax, rax
je 0x1400519ad
call rax
mov r10, qword [0x1401121d0]
jmp 0x1400519ad
mov dword [r10 + 0x4218], 0x3f800000
mov qword [r10 + 0x4220], rcx
test dword [rsi + 8], 0x8000
movss xmm12, dword [0x1400fbf40]
je 0x1400519ca
mov rax, qword [rdi + 0x30]
movss xmm0, dword [rax + 0x28]
jmp 0x1400519ce
movaps xmm0, xmm12
movss dword [rdi + 0x2b4], xmm0
mov qword [r10 + 0x3fe0], rdi
movsxd rax, dword [rdi + 0x1d0]
cmp eax, 0xffffffff
je 0x1400519f9
imul rcx, rax, 0x218
add rcx, qword [r10 + 0x44e0]
jmp 0x1400519fc
mov rcx, r14
mov qword [r10 + 0x44b8], rcx
movss xmm0, dword [rdi + 0x2b0]
mulss xmm0, dword [r10 + 0x3d54]
mov rax, qword [rdi + 0x390]
mulss xmm0, dword [rdi + 0x2b4]
test rax, rax
je 0x140051a30
mulss xmm0, dword [rax + 0x2b0]
movss dword [r10 + 0x3d68], xmm0
movss dword [r10 + 0x3d50], xmm0
mov edx, dword [rdi + 0xc]
mov r14d, edx
and r14d, 0x1000000
mov dword [rsp + 0x44], edx
mov dword [rsp + 0x54], r14d
je 0x140051a64
movss xmm0, dword [rsi + 0x3938]
jmp 0x140051a84
test edx, 0x6000000
je 0x140051a7c
bt edx, 0x1b
jb 0x140051a7c
movss xmm0, dword [rsi + 0x3940]
jmp 0x140051a84
movss xmm0, dword [rsi + 0x391c]
movss dword [rdi + 0x84], xmm0
movzx ecx, byte [rdi + 0x401]
and cl, 1
jne 0x140051acc
mov eax, edx
and eax, 0x5010000
cmp eax, 0x1000000
jne 0x140051acc
ucomiss xmm0, xmm15
jp 0x140051acc
jne 0x140051acc
bt edx, 0xa
jae 0x140051ac2
movss xmm0, dword [rsi + 0x3914]
movaps xmm1, xmm15
jmp 0x140051adc
movaps xmm0, xmm15
movaps xmm1, xmm15
jmp 0x140051adc
movss xmm1, dword [rsi + 0x3910]
movss xmm0, dword [rsi + 0x3914]
movss dword [rdi + 0x78], xmm1
movss dword [rdi + 0x7c], xmm0
movss xmm0, dword [rdi + 0x78]
maxss xmm0, dword [rsi + 0x3954]
maxss xmm0, dword [rsi + 0x4178]
movss dword [rdi + 0x180], xmm0
mov eax, dword [rsi + 0x417c]
mov dword [rdi + 0x184], eax
test dl, 0x21
jne 0x140051c0d
test cl, cl
jne 0x140051c0d
test dl, 1
je 0x140051b2b
movaps xmm2, xmm15
jmp 0x140051b69
movss xmm0, dword [rdi + 0x2b0]
mulss xmm0, dword [r10 + 0x3d54]
mov rax, qword [rdi + 0x390]
mulss xmm0, dword [rdi + 0x2b4]
test rax, rax
je 0x140051b58
mulss xmm0, dword [rax + 0x2b0]
movss xmm2, dword [r10 + 0x3948]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm0, dword [rdi + 0x48]
movaps xmm1, xmm0
movss dword [rbp - 0x80], xmm0
addss xmm1, dword [rdi + 0x58]
addss xmm2, dword [rdi + 0x4c]
movss xmm0, dword [rdi + 0x4c]
movss dword [rbp - 0x7c], xmm0
movss dword [rbp - 0x78], xmm1
movss dword [rbp - 0x74], xmm2
cmp qword [rsi + 0x3fe8], rdi
jne 0x140051bd4
cmp dword [rsi + 0x4020], 0
jne 0x140051bd4
cmp dword [rsi + 0x4024], 0
jne 0x140051bd4
mov r8b, 1
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x80]
call fcn.140054bf0
test al, al
je 0x140051bd4
cmp word [rsi + 0x36ca], 2
jne 0x140051bd4
mov byte [rdi + 0xcf], r8b
cmp byte [rdi + 0xcf], 0
je 0x140051c14
cmp byte [rdi + 0xce], 0
sete al
test dword [rdi + 0xc], 0x100
mov byte [rdi + 0xce], al
jne 0x140051c14
comiss xmm15, dword [r10 + 0x556c]
jb 0x140051c14
mov eax, dword [r10 + 0x1c]
mov dword [r10 + 0x556c], eax
jmp 0x140051c14
mov byte [rdi + 0xce], 0
lea r8, [rdi + 0x68]
mov byte [rdi + 0xcf], 0
mov rdx, rdi
lea rcx, [rbp + 0x30]
call fcn.14004eb10
movzx eax, byte [rsp + 0x41]
mov ebx, dword [rsp + 0x44]
mov byte [rsp + 0x42], al
test bl, 0x40
je 0x140051c77
cmp byte [rdi + 0xce], 0
jne 0x140051c77
test r15b, r15b
jne 0x140051c5a
movss xmm0, dword [rbp + 0x30]
movss dword [rdi + 0x58], xmm0
mov byte [rsp + 0x41], 1
test r12b, r12b
jne 0x140051d1a
movss xmm0, dword [rbp + 0x34]
movss dword [rdi + 0x5c], xmm0
mov byte [rsp + 0x42], 1
jmp 0x140051d1a
movzx eax, byte [rdi + 0xe4]
test al, al
jg 0x140051c8f
cmp byte [rdi + 0xe5], 0
jle 0x140051d1a
test r15b, r15b
jne 0x140051cbc
test al, al
jle 0x140051cbc
cmp byte [rdi + 0xe7], r15b
je 0x140051cad
movss xmm0, dword [rdi + 0x58]
maxss xmm0, dword [rbp + 0x30]
jmp 0x140051cb2
movss xmm0, dword [rbp + 0x30]
movss dword [rdi + 0x58], xmm0
mov byte [rsp + 0x41], 1
test r12b, r12b
jne 0x140051cee
cmp byte [rdi + 0xe5], r12b
jle 0x140051cee
cmp byte [rdi + 0xe7], r12b
je 0x140051cdf
movss xmm0, dword [rdi + 0x5c]
maxss xmm0, dword [rbp + 0x34]
jmp 0x140051ce4
movss xmm0, dword [rbp + 0x34]
movss dword [rdi + 0x5c], xmm0
mov byte [rsp + 0x42], 1
cmp byte [rdi + 0xce], 0
jne 0x140051d1a
test dword [rdi + 0xc], 0x100
mov rcx, qword [0x1401121d0]
jne 0x140051d1a
comiss xmm15, dword [rcx + 0x556c]
jb 0x140051d1a
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x556c], eax
lea r8, [rdi + 0x58]
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.14004e780
cmp byte [rdi + 0xce], 0
mov r12, qword [0x1401121d0]
mov qword [rsp + 0x70], r12
movss xmm2, dword [rax]
movss xmm0, dword [rax + 4]
movss dword [rdi + 0x58], xmm2
movss dword [rdi + 0x5c], xmm0
je 0x140051dc3
test r14d, r14d
jne 0x140051dc3
test byte [rdi + 0xc], 1
je 0x140051d63
movaps xmm1, xmm15
jmp 0x140051da3
movss xmm0, dword [r12 + 0x3d54]
mulss xmm0, dword [rdi + 0x2b0]
mov rax, qword [rdi + 0x390]
mulss xmm0, dword [rdi + 0x2b4]
test rax, rax
je 0x140051d91
mulss xmm0, dword [rax + 0x2b0]
movss xmm1, dword [r12 + 0x3948]
addss xmm1, xmm1
addss xmm1, xmm0
addss xmm2, dword [rdi + 0x48]
addss xmm1, dword [rdi + 0x4c]
subss xmm2, dword [rdi + 0x48]
subss xmm1, dword [rdi + 0x4c]
movss dword [rbp - 0x50], xmm2
movss dword [rbp - 0x4c], xmm1
jmp 0x140051dcd
movsd xmm0, qword [rdi + 0x58]
movsd qword [rbp - 0x50], xmm0
mov ecx, dword [rdi + 0xc]
lea rax, [rbp - 0x50]
movsd xmm0, qword [rax]
movsd qword [rdi + 0x50], xmm0
test cl, 1
je 0x140051de8
movaps xmm1, xmm15
jmp 0x140051e28
movss xmm0, dword [r12 + 0x3d54]
mulss xmm0, dword [rdi + 0x2b0]
mov rax, qword [rdi + 0x390]
mulss xmm0, dword [rdi + 0x2b4]
test rax, rax
je 0x140051e16
mulss xmm0, dword [rax + 0x2b0]
movss xmm1, dword [r12 + 0x3948]
addss xmm1, xmm1
addss xmm1, xmm0
bt ecx, 0xa
jae 0x140051e7a
movss xmm0, dword [r12 + 0x3d54]
mulss xmm0, dword [rdi + 0x2b0]
mov rax, qword [rdi + 0x390]
mulss xmm0, dword [rdi + 0x2b4]
test rax, rax
je 0x140051e5c
mulss xmm0, dword [rax + 0x2b0]
movss xmm14, dword [r12 + 0x3948]
addss xmm0, dword [rdi + 0x184]
addss xmm14, xmm14
addss xmm14, xmm0
jmp 0x140051e7e
movaps xmm14, xmm15
cmp byte [rsp + 0x43], 0
addss xmm14, xmm1
movzx r15d, byte [rsp + 0x40]
je 0x140051ed5
mov eax, ebx
mov dword [rdi + 0xe8], 0xffffffff
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x140051ed5
test r15b, r15b
jne 0x140051ed5
movsxd rax, dword [rsi + 0x41f0]
imul rcx, rax, 0x38
mov rax, qword [rsi + 0x41f8]
movss xmm0, dword [rcx + rax - 0x14]
movss xmm1, dword [rcx + rax - 0x10]
movss dword [rdi + 0x48], xmm0
movss dword [rdi + 0x4c], xmm1
test r14d, r14d
je 0x140051ff4
mov rdx, qword [rsp + 0x60]
movzx eax, word [rdx + 0x1b0]
mov word [rdi + 0xda], ax
mov ecx, dword [rdx + 0x1b4]
mov ebx, dword [rdx + 0x1b0]
cmp ebx, ecx
jne 0x140051fb1
inc ebx
test ecx, ecx
je 0x140051f1b
mov eax, ecx
cdq
sub eax, edx
mov rdx, qword [rsp + 0x60]
sar eax, 1
lea r13d, [rcx + rax]
cmp r13d, ebx
cmovg ebx, r13d
cmp ebx, ecx
jle 0x140051fb1
test r12, r12
je 0x140051f37
inc dword [r12 + 0xf4]
movsxd rcx, ebx
shl rcx, 3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r13, qword [rsp + 0x60]
mov r14, rax
mov rdx, qword [r13 + 0x1b8]
test rdx, rdx
je 0x140051f8f
movsxd r8, dword [r13 + 0x1b0]
mov rcx, rax
shl r8, 3
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [r13 + 0x1b8]
test rcx, rcx
je 0x140051f89
mov rax, qword [0x1401121d0]
test rax, rax
je 0x140051f89
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r12, qword [0x1401121d0]
mov rdx, r13
mov qword [r13 + 0x1b8], r14
mov r14d, dword [rsp + 0x54]
mov qword [rsp + 0x70], r12
mov dword [r13 + 0x1b4], ebx
movsxd rcx, dword [rdx + 0x1b0]
mov rax, qword [rdx + 0x1b8]
mov r13d, dword [rsp + 0x44]
mov qword [rax + rcx*8], rdi
inc dword [rdx + 0x1b0]
mov eax, dword [rsp + 0x58]
bt r13d, 0x1a
jb 0x140051ffd
test r15b, r15b
jne 0x140051ffd
cmp eax, 0x3000000
je 0x140051ffd
movsd xmm0, qword [rdx + 0x118]
movsd qword [rdi + 0x48], xmm0
jmp 0x140051ffd
mov r13d, dword [rsp + 0x44]
mov eax, dword [rsp + 0x58]
movss xmm1, dword [rdi + 0xf4]
ucomiss xmm1, dword [0x1400fc0a0]
jp 0x140052010
je 0x140052061
cmp byte [rdi + 0xed], 0
jne 0x140052061
movss xmm0, dword [rdi + 0xfc]
lea rbx, [rdi + 0x50]
mulss xmm0, dword [rbx]
lea rdx, [rbp - 0x50]
xor r8d, r8d
mov rcx, rdi
subss xmm1, xmm0
movss xmm0, dword [rdi + 0xf8]
movss dword [rbp - 0x50], xmm1
movss xmm1, dword [rdi + 0x100]
mulss xmm1, dword [rbx + 4]
subss xmm0, xmm1
movss dword [rbp - 0x4c], xmm0
call fcn.140054690
jmp 0x1400520b1
bt r13d, 0x1c
jb 0x14005208e
bt r13d, 0x1a
jae 0x14005207b
test r15b, r15b
jne 0x14005207b
cmp byte [rsp + 0x48], r15b
jg 0x14005208e
bt r13d, 0x19
jae 0x1400520ad
test r15b, r15b
jne 0x1400520ad
cmp eax, 0x3000000
je 0x1400520ad
mov rdx, rdi
lea rcx, [rbp - 0x50]
call fcn.1400579a0
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rdi + 0x4c], xmm1
movss dword [rdi + 0x48], xmm0
lea rbx, [rdi + 0x50]
cmp dword [rdi + 0x44], 0
jl 0x140052245
cmp byte [rdi + 0xca], 0
jne 0x140052245
mov rax, qword [rdi + 0x30]
test dword [rax + 4], 0x400
jne 0x140052245
movss xmm0, dword [rdi + 0x48]
lea r8, [rdi + 0x48]
movss xmm1, dword [rax + 8]
movaps xmm3, xmm0
comiss xmm0, xmm1
movss xmm6, dword [rax + 0xc]
movaps xmm2, xmm1
movss xmm7, dword [rdi + 0x4c]
movaps xmm4, xmm6
addss xmm3, dword [rbx]
addss xmm2, dword [rax + 0x10]
addss xmm4, dword [rax + 0x14]
movaps xmm5, xmm7
addss xmm5, dword [rdi + 0x54]
jb 0x140052128
comiss xmm7, xmm6
jb 0x140052128
comiss xmm2, xmm3
jb 0x140052128
comiss xmm4, xmm5
jae 0x140052245
mov edx, dword [rdi + 8]
mov r9, rbx
mov rcx, rdi
mov dword [rsp + 0x20], 0x20
call fcn.14005e370
mov r12, qword [0x1401121d0]
mov rcx, rax
mov qword [rsp + 0x70], r12
mov qword [rdi + 0x30], rax
test rax, rax
je 0x140052161
mov eax, dword [r12 + 0x3f60]
mov dword [rcx + 0x64], eax
cmp qword [r12 + 0x4220], rcx
je 0x1400521b4
test rcx, rcx
je 0x1400521a0
mov eax, dword [rcx + 0x28]
mov dword [r12 + 0x4218], eax
mov rax, qword [r12 + 0x3890]
mov qword [r12 + 0x4220], rcx
test rax, rax
je 0x1400521b4
call rax
mov r12, qword [0x1401121d0]
mov qword [rsp + 0x70], r12
jmp 0x1400521b4
mov dword [r12 + 0x4218], 0x3f800000
mov qword [r12 + 0x4220], rcx
test dword [rsi + 8], 0x8000
je 0x1400521c8
mov rax, qword [rdi + 0x30]
movss xmm0, dword [rax + 0x28]
jmp 0x1400521cc
movaps xmm0, xmm12
movss dword [rdi + 0x2b4], xmm0
mov qword [r12 + 0x3fe0], rdi
movsxd rax, dword [rdi + 0x1d0]
cmp eax, 0xffffffff
je 0x1400521f9
imul rcx, rax, 0x218
add rcx, qword [r12 + 0x44e0]
jmp 0x1400521fb
xor ecx, ecx
movss xmm0, dword [r12 + 0x3d54]
mov qword [r12 + 0x44b8], rcx
mulss xmm0, dword [rdi + 0x2b0]
mov rax, qword [rdi + 0x390]
mulss xmm0, dword [rdi + 0x2b4]
test rax, rax
je 0x140052231
mulss xmm0, dword [rax + 0x2b0]
movss dword [r12 + 0x3d68], xmm0
movss dword [r12 + 0x3d50], xmm0
movzx ecx, byte [rdi + 0xca]
test cl, cl
je 0x14005226f
mov rdx, qword [rbp + 0x38]
mov rcx, rdi
call fcn.14005ecb0
mov r12, qword [0x1401121d0]
movzx ecx, byte [rdi + 0xca]
mov qword [rsp + 0x70], r12
mov rax, qword [rdi + 0x30]
movss xmm6, dword [rsi + 0x39b4]
movss xmm7, dword [rsi + 0x39b0]
maxss xmm6, dword [rsi + 0x39bc]
movss xmm0, dword [rax + 0x18]
movss xmm1, dword [rax + 0x1c]
movaps xmm10, xmm0
movss xmm9, dword [rax + 8]
movaps xmm8, xmm1
movss xmm11, dword [rax + 0xc]
movaps xmm4, xmm9
movss dword [rbp + 0x38], xmm9
movaps xmm5, xmm11
movss dword [rbp + 0x3c], xmm11
movaps xmm3, xmm6
addss xmm3, xmm1
addss xmm10, dword [rax + 0x20]
addss xmm8, dword [rax + 0x24]
addss xmm4, dword [rax + 0x10]
addss xmm5, dword [rax + 0x14]
movss dword [rbp + 0x54], xmm3
maxss xmm7, dword [rsi + 0x39b8]
subss xmm8, xmm6
movss dword [rbp + 0x40], xmm4
movss dword [rbp + 0x44], xmm5
subss xmm10, xmm7
movaps xmm2, xmm7
movss dword [rbp + 0x5c], xmm8
addss xmm2, xmm0
movss dword [rbp + 0x58], xmm10
movss dword [rbp + 0x50], xmm2
test r15b, r15b
jne 0x1400524ba
test r14d, r14d
jne 0x1400524ba
cmp byte [rdi + 0xe4], r14b
jg 0x1400524ba
cmp byte [rdi + 0xe5], r14b
jg 0x1400524ba
test cl, cl
jne 0x1400523d4
subss xmm4, xmm9
comiss xmm4, xmm15
jbe 0x1400524ba
subss xmm5, xmm11
comiss xmm5, xmm15
jbe 0x1400524ba
movss xmm0, dword [rbx + 4]
cmp byte [r12 + 0x7f], cl
je 0x140052399
test byte [rdi + 0xc], 1
je 0x140052381
cmp qword [rdi + 0x428], 0
je 0x140052399
movss xmm0, dword [r12 + 0x3948]
addss xmm0, xmm0
addss xmm0, dword [r12 + 0x3d50]
subss xmm2, dword [rbx]
subss xmm3, xmm0
movss xmm0, dword [rdi + 0x4c]
comiss xmm3, xmm0
ja 0x1400523b3
movaps xmm3, xmm8
minss xmm3, xmm0
movss xmm0, dword [rdi + 0x48]
comiss xmm2, xmm0
ja 0x1400523c5
movaps xmm2, xmm10
minss xmm2, xmm0
movss dword [rdi + 0x48], xmm2
movss dword [rdi + 0x4c], xmm3
jmp 0x1400524ba
cmp dword [rsi + 0x38c8], 0
jle 0x1400524ba
movsx rcx, word [rax + 0x80]
test ecx, ecx
js 0x140052409
cmp ecx, dword [r12 + 0x38c8]
jge 0x140052409
mov rax, qword [r12 + 0x38d0]
lea rcx, [rcx + rcx*8]
lea rdx, [rax + rcx*4]
jmp 0x140052411
lea rdx, [r12 + 0x423c]
movss xmm2, dword [rbx + 4]
movaps xmm0, xmm7
addss xmm0, dword [rdx + 0x10]
movaps xmm1, xmm6
addss xmm1, dword [rdx + 0x14]
movss dword [rbp + 0x50], xmm0
movss dword [rbp + 0x54], xmm1
movss xmm4, dword [rdx + 0x10]
movss xmm3, dword [rdx + 0x1c]
addss xmm4, dword [rdx + 0x18]
addss xmm3, dword [rdx + 0x14]
subss xmm4, xmm7
subss xmm3, xmm6
movss dword [rbp + 0x58], xmm4
movss dword [rbp + 0x5c], xmm3
cmp byte [r12 + 0x7f], 0
je 0x140052486
test byte [rdi + 0xc], 1
je 0x14005246e
cmp qword [rdi + 0x428], 0
je 0x140052486
movss xmm2, dword [r12 + 0x3948]
addss xmm2, xmm2
addss xmm2, dword [r12 + 0x3d50]
subss xmm0, dword [rbx]
subss xmm1, xmm2
movss xmm2, dword [rdi + 0x4c]
comiss xmm1, xmm2
ja 0x14005249f
movaps xmm1, xmm3
minss xmm1, xmm2
movss xmm2, dword [rdi + 0x48]
comiss xmm0, xmm2
ja 0x1400524b0
movaps xmm0, xmm4
minss xmm0, xmm2
movss dword [rdi + 0x48], xmm0
movss dword [rdi + 0x4c], xmm1
cmp byte [rdi + 0xca], 0
cvttss2si eax, dword [rdi + 0x48]
movzx ecx, byte [rdi + 0x401]
movd xmm1, eax
cvttss2si eax, dword [rdi + 0x4c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x48], xmm1
movss dword [rdi + 0x4c], xmm0
jne 0x140052523
test cl, 1
jne 0x140052523
test r14d, r14d
je 0x140052500
movss xmm0, dword [rsi + 0x3934]
jmp 0x140052527
mov eax, r13d
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x140052519
movss xmm0, dword [rsi + 0x393c]
jmp 0x140052527
movss xmm0, dword [rsi + 0x3918]
jmp 0x140052527
movaps xmm0, xmm15
xor al, al
movss dword [rdi + 0x80], xmm0
mov dword [rsp + 0x54], eax
cmp byte [rsp + 0x43], al
je 0x140052756
bt r13d, 0xc
jb 0x140052756
bt r13d, 0x1a
jae 0x140052558
mov byte [rsp + 0x54], 1
jmp 0x140052576
test cl, 1
jne 0x140052562
test r14d, r14d
jne 0x140052576
bt r13d, 0x19
movzx eax, al
mov ecx, 1
cmovae eax, ecx
mov dword [rsp + 0x54], eax
mov eax, dword [r12 + 0x41e0]
sub eax, 1
js 0x140052756
movsxd r10, eax
imul r9, r10, 0x38
mov rdx, r10
lea r8, [r9 + 8]
add r8, qword [r12 + 0x41e8]
nop dword [rax]
mov rcx, qword [r8]
test rcx, rcx
je 0x1400525b1
test dword [rcx + 0xc], 0x8000000
jne 0x1400525c0
sub r8, 0x38
sub rdx, 1
jns 0x1400525a0
jmp 0x140052756
mov r15, qword [rdi + 0x3a0]
mov rax, rdi
cmp r15, rcx
je 0x140052756
cmp rax, rcx
je 0x140052756
mov rax, qword [rax + 0x398]
test rax, rax
jne 0x1400525d3
mov byte [rsp + 0x54], al
cmp rdi, r15
jne 0x140052756
mov r8, qword [r12 + 0x41e8]
add r8, 8
add r8, r9
mov rdx, qword [r8]
test rdx, rdx
je 0x140052684
test dword [rdx + 0xc], 0x8000000
je 0x140052684
cmp byte [rdx + 0xcb], 0
jne 0x140052627
cmp byte [rdx + 0xcc], 0
je 0x140052684
mov rax, rdi
cmp r15, rdx
je 0x140052692
nop
cmp rax, rdx
je 0x140052692
mov rax, qword [rax + 0x398]
test rax, rax
jne 0x140052630
mov rax, qword [rdx + 0x398]
mov rcx, qword [rax + 0x3a0]
test rcx, rcx
je 0x140052684
mov rax, rdi
cmp r15, rcx
je 0x140052694
nop dword [rax]
cmp rax, rcx
je 0x140052694
mov rax, qword [rax + 0x398]
test rax, rax
jne 0x140052660
mov rax, qword [rcx + 0x398]
mov rcx, qword [rax + 0x3a0]
test rcx, rcx
jne 0x140052654
sub r8, 0x38
sub r10, 1
jns 0x140052604
xor edx, edx
mov r8, qword [rdx + 0x3a0]
mov rdx, qword [r12 + 0x3f88]
movsxd rax, dword [r12 + 0x3f80]
mov r9, rdx
lea rcx, [rdx + rax*8]
cmp rdx, rcx
jae 0x1400526c5
cmp qword [r9], r15
je 0x1400526c5
add r9, 8
cmp r9, rcx
jb 0x1400526b7
sub r9, rdx
mov r14, rdx
sar r9, 3
cmp rdx, rcx
jae 0x1400526e2
cmp qword [r14], r8
je 0x1400526e2
add r14, 8
cmp r14, rcx
jb 0x1400526d4
sub r14, rdx
mov r10, rdx
sar r14, 3
cmp r9d, r14d
jge 0x140052729
mov eax, r14d
sub eax, r9d
dec eax
movsxd r8, eax
lea eax, [r9 + 1]
movsxd rcx, eax
movsxd rax, r9d
shl r8, 3
lea rdx, [rdx + rcx*8]
lea rcx, [r10 + rax*8]
call sub.VCRUNTIME140.dll_memmove
mov rax, qword [r12 + 0x3f88]
movsxd rcx, r14d
mov qword [rax + rcx*8 - 8], r15
jmp 0x140052756
lea eax, [r14 + 1]
movsxd rbx, r14d
movsxd rcx, eax
sub r9d, r14d
movsxd r8, r9d
shl r8, 3
lea rdx, [rdx + rbx*8]
lea rcx, [r10 + rcx*8]
call sub.VCRUNTIME140.dll_memmove
mov rax, qword [r12 + 0x3f88]
mov qword [rax + rbx*8], r15
cmp qword [rdi + 0x428], 0
jne 0x14005276d
test byte [rdi + 0x401], 1
je 0x14005276d
xor cl, cl
jmp 0x14005276f
mov cl, 1
movss xmm1, dword [rsi + 0x3d50]
xor r12d, r12d
cmp byte [rsi + 0x7e], r12b
xorps xmm0, xmm0
movaps xmm2, xmm1
mov byte [rsp + 0x40], cl
mulss xmm1, dword [0x1400fbe90]
setne r12b
inc r12d
mov dword [rbp + 0x48], 0xffffffff
mulss xmm2, dword [0x1400fbf44]
movups xmmword [rbp + 0x60], xmm0
movss xmm0, dword [rdi + 0x80]
addss xmm0, xmm12
addss xmm1, xmm0
maxss xmm2, xmm1
cvttss2si eax, xmm2
movd xmm13, eax
cvtdq2ps xmm13, xmm13
test cl, cl
je 0x140052810
cmp byte [rdi + 0xce], 0
jne 0x140052810
lea rax, [rbp + 0x50]
mov r9d, r12d
mov qword [rsp + 0x28], rax
lea r8, [rbp + 0x48]
lea rax, [rbp + 0x60]
mov rcx, rdi
lea rdx, [rbp + 0x30]
mov qword [rsp + 0x20], rax
call fcn.14004ef40
mov r8, qword [0x1401121d0]
test al, al
je 0x140052815
mov cl, 1
movzx edx, cl
jmp 0x14005281f
mov r8, qword [rsp + 0x70]
movzx ecx, byte [rsp + 0x42]
movzx edx, byte [rsp + 0x41]
cmp byte [rdi + 0xca], 0
movzx eax, byte [rbp + 0x48]
mov byte [rdi + 0xd6], al
je 0x1400528fb
mov rax, qword [rdi + 0x30]
cmp byte [rax + 0x58], 0
jne 0x14005284a
movsd xmm0, qword [rdi + 0x48]
movsd qword [rax + 8], xmm0
mov rax, qword [rdi + 0x30]
cmp byte [rax + 0x59], 0
jne 0x14005285e
movsd xmm0, qword [rdi + 0x50]
movsd qword [rax + 0x10], xmm0
mov rax, qword [rdi + 0x30]
movss xmm2, dword [rax + 0x118]
movss xmm0, dword [rax + 0xc]
movaps xmm1, xmm2
addss xmm0, dword [rax + 0x11c]
addss xmm1, dword [rax + 8]
movss dword [rax + 0x1c], xmm0
movss xmm0, dword [rax + 0x14]
movss dword [rax + 0x18], xmm1
subss xmm0, dword [rax + 0x11c]
movss xmm1, dword [rax + 0x10]
subss xmm1, xmm2
movaps xmm2, xmm15
addss xmm0, dword [rax + 0x124]
addss xmm1, dword [rax + 0x120]
maxss xmm2, xmm1
movaps xmm1, xmm15
maxss xmm1, xmm0
movss dword [rax + 0x20], xmm2
movss dword [rax + 0x24], xmm1
mov rax, qword [rdi + 0x30]
movss xmm3, dword [rax + 8]
movss xmm2, dword [rax + 0xc]
movaps xmm1, xmm3
addss xmm1, dword [rax + 0x10]
movaps xmm0, xmm2
movss dword [rbp + 0x38], xmm3
addss xmm0, dword [rax + 0x14]
movss dword [rbp + 0x3c], xmm2
movss dword [rbp + 0x40], xmm1
movss dword [rbp + 0x44], xmm0
cmp byte [rdi + 0xce], 0
mov rax, qword [rdi + 0x30]
movsd xmm0, qword [rax + 8]
movsd qword [rdi + 0x3c], xmm0
jne 0x140052a4f
cmp qword [rsp + 0x78], 0
movss xmm2, dword [rdi + 0x220]
movss xmm3, dword [rdi + 0x224]
subss xmm2, dword [rdi + 0x218]
subss xmm3, dword [rdi + 0x21c]
movss xmm4, dword [rdi + 0x5c]
movss xmm5, dword [rdi + 0x58]
subss xmm4, xmm14
addss xmm2, dword [rdi + 0xc0]
addss xmm3, dword [rdi + 0xc4]
jne 0x14005296b
mov qword [rbp - 0x60], 0
lea rax, [rbp - 0x60]
jmp 0x140052995
movss xmm0, dword [rdi + 0x78]
lea rax, [rbp - 0x58]
movss xmm1, dword [rdi + 0x7c]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [rdi + 0x60]
addss xmm1, dword [rdi + 0x64]
movss dword [rbp - 0x58], xmm0
movss dword [rbp - 0x54], xmm1
movss xmm6, dword [rax]
movss xmm1, dword [rax + 4]
test dl, dl
jne 0x1400529a5
movaps xmm5, xmm2
test cl, cl
jne 0x1400529ac
movaps xmm4, xmm3
bt r13d, 0xe
jb 0x1400529c2
comiss xmm1, xmm4
jbe 0x1400529be
test r13b, 8
je 0x1400529c2
xor cl, cl
jmp 0x1400529c4
mov cl, 1
mov byte [rdi + 0xc9], cl
lea rdx, [rsi + 0x397c]
bt r13d, 0xf
jb 0x140052a0b
test cl, cl
je 0x1400529e2
movss xmm0, dword [rdx]
jmp 0x1400529e6
movaps xmm0, xmm15
subss xmm5, xmm0
comiss xmm6, xmm5
jbe 0x1400529fe
mov eax, r13d
and eax, 0x808
cmp eax, 0x800
je 0x140052a0b
mov byte [rdi + 0xc8], 0
movaps xmm1, xmm15
jmp 0x140052a31
mov byte [rdi + 0xc8], 1
test cl, cl
jne 0x140052a2d
comiss xmm1, xmm4
jbe 0x140052a25
test r13b, 8
jne 0x140052a25
mov cl, 1
jmp 0x140052a27
xor cl, cl
mov byte [rdi + 0xc9], cl
movss xmm1, dword [rdx]
test cl, cl
je 0x140052a3b
movss xmm0, dword [rdx]
jmp 0x140052a3f
movaps xmm0, xmm15
movss dword [rdi + 0xc0], xmm0
movss dword [rdi + 0xc4], xmm1
mov r14d, r13d
and r14d, 0x5000000
cmp r14d, 0x1000000
jne 0x140052a79
cmp dword [rsp + 0x58], 0x3000000
je 0x140052a79
mov rax, qword [rsp + 0x60]
add rax, 0x258
jmp 0x140052a7d
lea rax, [rbp + 0x38]
movups xmm4, xmmword [rax]
mov ecx, dword [rdi + 0xc]
movss xmm5, dword [rdi + 0x48]
movss xmm8, dword [rdi + 0x4c]
movaps xmm6, xmm5
movaps xmm7, xmm8
addss xmm6, dword [rdi + 0x50]
addss xmm7, dword [rdi + 0x54]
movups xmmword [rbp + 0x38], xmm4
and ecx, 1
je 0x140052aae
movaps xmm3, xmm15
jmp 0x140052aec
movss xmm0, dword [r8 + 0x3d54]
mulss xmm0, dword [rdi + 0x2b0]
mov rax, qword [rdi + 0x390]
mulss xmm0, dword [rdi + 0x2b4]
test rax, rax
je 0x140052adb
mulss xmm0, dword [rax + 0x2b0]
movss xmm3, dword [r8 + 0x3948]
addss xmm3, xmm3
addss xmm3, xmm0
movss xmm0, dword [rdi + 0x4c]
movaps xmm2, xmm5
addss xmm2, dword [rdi + 0x58]
movss dword [rbp - 0x48], xmm5
movaps xmm1, xmm8
movss dword [rbp - 0x44], xmm0
addss xmm1, xmm3
movss dword [rbp - 0x40], xmm2
movss dword [rbp - 0x3c], xmm1
movss dword [rdi + 0x208], xmm5
movss dword [rdi + 0x20c], xmm8
movss dword [rdi + 0x210], xmm6
movss dword [rdi + 0x214], xmm7
test byte [rdi + 0x401], 1
je 0x140052b97
test ecx, ecx
je 0x140052b49
movaps xmm0, xmm15
jmp 0x140052b87
movss xmm1, dword [r8 + 0x3d54]
mulss xmm1, dword [rdi + 0x2b0]
mov rax, qword [rdi + 0x390]
mulss xmm1, dword [rdi + 0x2b4]
test rax, rax
je 0x140052b76
mulss xmm1, dword [rax + 0x2b0]
movss xmm0, dword [r8 + 0x3948]
addss xmm0, xmm0
addss xmm0, xmm1
addss xmm0, dword [rdi + 0x20c]
movss dword [rdi + 0x20c], xmm0
movss xmm1, dword [rdi + 0x208]
movaps xmm6, xmm4
movss xmm0, dword [rdi + 0x20c]
maxss xmm1, xmm4
shufps xmm6, xmm4, 0x55
movaps xmm9, xmm4
maxss xmm0, xmm6
shufps xmm9, xmm4, 0xaa
movaps xmm8, xmm4
mov eax, r13d
shufps xmm8, xmm4, 0xff
and eax, 0x401
movss dword [rdi + 0x208], xmm1
movss dword [rdi + 0x20c], xmm0
movss xmm1, dword [rdi + 0x210]
movss xmm0, dword [rdi + 0x214]
minss xmm1, xmm9
minss xmm0, xmm8
movss dword [rdi + 0x210], xmm1
movss dword [rdi + 0x214], xmm0
movss xmm11, dword [rdi + 0x48]
movss xmm5, dword [rdi + 0x4c]
movaps xmm7, xmm11
movss dword [rdi + 0x218], xmm11
movaps xmm10, xmm5
addss xmm10, xmm14
addss xmm7, dword [rdi + 0x50]
addss xmm5, dword [rdi + 0x54]
movss dword [rdi + 0x21c], xmm10
subss xmm7, dword [rdi + 0xc0]
subss xmm5, dword [rdi + 0xc4]
movss dword [rdi + 0x220], xmm7
movss dword [rdi + 0x224], xmm5
cmp eax, 1
jne 0x140052c6e
movss xmm12, dword [rdi + 0x84]
jmp 0x140052c77
movss xmm12, dword [rsi + 0x3950]
movss xmm2, dword [0x1400fbec4]
lea r15, [rdi + 0x228]
movss xmm0, dword [rdi + 0x78]
addss xmm11, xmm2
movss xmm3, dword [rdi + 0x84]
addss xmm10, xmm2
mulss xmm0, xmm2
addss xmm7, xmm2
lea r13, [rdi + 0x230]
xorps xmm1, xmm1
addss xmm5, xmm2
cvttss2si eax, xmm0
xorps xmm0, xmm0
addss xmm10, xmm12
movaps xmm12, xmmword [rsp + 0x1b0]
subss xmm5, xmm3
cvtsi2ss xmm1, eax
maxss xmm1, xmm3
addss xmm11, xmm1
subss xmm7, xmm1
cvttss2si eax, xmm11
xorps xmm11, xmm11
cvtsi2ss xmm11, eax
cvttss2si eax, xmm10
movss dword [r15], xmm11
cvtsi2ss xmm0, eax
cvttss2si eax, xmm7
movss dword [rdi + 0x22c], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
cvttss2si eax, xmm5
movss dword [r13], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
movss dword [rdi + 0x234], xmm0
movss xmm0, dword [r15 + 4]
comiss xmm6, xmm0
jbe 0x140052d35
movaps xmm1, xmm6
jmp 0x140052d3d
movaps xmm1, xmm8
minss xmm1, xmm0
comiss xmm4, xmm11
jbe 0x140052d48
movaps xmm0, xmm4
jmp 0x140052d51
movaps xmm0, xmm9
minss xmm0, xmm11
movss dword [r15], xmm0
movss dword [r15 + 4], xmm1
movss xmm0, dword [r15 + 0xc]
comiss xmm6, xmm0
ja 0x140052d70
minss xmm8, xmm0
movaps xmm6, xmm8
movss xmm0, dword [r15 + 8]
comiss xmm4, xmm0
ja 0x140052d84
minss xmm9, xmm0
movaps xmm4, xmm9
movss dword [r15 + 8], xmm4
movss dword [r15 + 0xc], xmm6
movss xmm0, dword [rdi + 0x50]
comiss xmm0, xmm15
jbe 0x140052daf
test dword [rsp + 0x44], 0x2000040
jne 0x140052daf
mulss xmm0, dword [0x1400fbee8]
jmp 0x140052dbf
movss xmm0, dword [rsi + 0x3d50]
mulss xmm0, dword [0x1400fc010]
cvttss2si eax, xmm0
mov rdx, rdi
lea rcx, [rbp - 0x80]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x28c], xmm0
movss xmm0, dword [rdi + 0x220]
subss xmm0, dword [rdi + 0x218]
movss xmm1, dword [rdi + 0x78]
addss xmm1, xmm1
addss xmm1, dword [rdi + 0x60]
subss xmm1, xmm0
movaps xmm0, xmm15
maxss xmm0, xmm1
movss xmm1, dword [rdi + 0x7c]
addss xmm1, xmm1
movss dword [rdi + 0xa0], xmm0
movss xmm0, dword [rdi + 0x224]
subss xmm0, dword [rdi + 0x21c]
addss xmm1, dword [rdi + 0x64]
subss xmm1, xmm0
movaps xmm0, xmm15
maxss xmm0, xmm1
movss dword [rdi + 0xa4], xmm0
call fcn.140056190
mov rcx, qword [rdi + 0x2c0]
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rdi + 0x98], xmm0
movss dword [rdi + 0x9c], xmm1
mov dword [rdi + 0xa8], 0x7f7fffff
mov dword [rdi + 0xac], 0x7f7fffff
mov rax, qword [rsi + 0x3d48]
mov rdx, qword [rax + 0x40]
mov rdx, qword [rdx + 8]
call fcn.140072050
mov rcx, qword [0x1401121d0]
lea r8, [rbp + 0x40]
xor r9d, r9d
lea rdx, [rbp + 0x38]
mov rax, qword [rcx + 0x3fe0]
mov byte [rax + 0xcd], 1
mov rbx, qword [rcx + 0x3fe0]
mov rcx, qword [rbx + 0x2c0]
call fcn.140071f40
mov rax, qword [rbx + 0x2c0]
movsxd rcx, dword [rax + 0x58]
mov rax, qword [rax + 0x60]
add rcx, rcx
movss xmm0, dword [rax + rcx*8 - 0xc]
movss xmm1, dword [rax + rcx*8 - 8]
movss xmm2, dword [rax + rcx*8 - 4]
mov eax, dword [rax + rcx*8 - 0x10]
mov dword [rbx + 0x258], eax
movss dword [rbx + 0x25c], xmm0
movss dword [rbx + 0x260], xmm1
movss dword [rbx + 0x264], xmm2
movzx eax, byte [rdi + 0x401]
and al, 5
cmp al, 1
je 0x14005305f
xor bl, bl
cmp r14d, 0x1000000
jne 0x140052fda
cmp dword [rsp + 0x58], 0x3000000
je 0x140052fda
mov r9, qword [rsp + 0x60]
movsxd rax, dword [r9 + 0x1b0]
cmp eax, 2
jl 0x140052fa3
mov rcx, rax
mov rax, qword [r9 + 0x1b8]
mov rdx, qword [rax + rcx*8 - 0x10]
test rdx, rdx
je 0x140052fa3
movss xmm1, dword [rdi + 0x4c]
movss xmm5, dword [rdx + 0x4c]
movaps xmm2, xmm1
movss xmm7, dword [rdx + 0x48]
movaps xmm0, xmm5
addss xmm0, dword [rdx + 0x54]
movss xmm6, dword [rdi + 0x48]
movaps xmm3, xmm7
addss xmm3, dword [rdx + 0x50]
addss xmm2, dword [rdi + 0x54]
movaps xmm4, xmm6
comiss xmm0, xmm1
addss xmm4, dword [rdi + 0x50]
jbe 0x140052fa3
comiss xmm2, xmm5
jbe 0x140052fa3
comiss xmm3, xmm6
jbe 0x140052fa3
comiss xmm4, xmm7
jbe 0x140052fa3
mov r8b, 1
jmp 0x140052fa6
xor r8b, r8b
mov rdx, qword [rdi + 0x2c0]
movsxd rax, dword [rdx]
imul rcx, rax, 0x38
mov rax, qword [rdx + 8]
cmp dword [rcx + rax - 0x18], 0
jne 0x140052fda
mov rax, qword [r9 + 0x2c0]
cmp dword [rax + 0x20], 0
jle 0x140052fda
test r8b, r8b
jne 0x140052fda
mov bl, 1
mov qword [rdi + 0x2c0], rax
mov rcx, qword [rsi + 0x43d0]
test rcx, rcx
jne 0x140052fed
mov rcx, qword [rsi + 0x4268]
cmp byte [rsp + 0x54], 0
jne 0x140053023
test rcx, rcx
je 0x14005301e
mov rax, qword [rcx + 0x3b8]
cmp qword [rdi + 0x3b8], rax
je 0x140053023
mov rax, qword [rdi + 0x420]
test rax, rax
je 0x14005301e
cmp rax, qword [rcx + 0x420]
je 0x140053023
xor r8b, r8b
jmp 0x140053026
mov r8b, 1
movzx r9d, byte [rsp + 0x40]
lea rax, [rbp + 0x60]
movss dword [rsp + 0x30], xmm13
lea rdx, [rbp - 0x48]
mov qword [rsp + 0x28], rax
mov rcx, rdi
mov dword [rsp + 0x20], r12d
call fcn.14004fe90
test bl, bl
je 0x14005305f
lea rax, [rdi + 0x2c8]
mov qword [rdi + 0x2c0], rax
mov eax, dword [rsp + 0x44]
mov ecx, eax
movss xmm5, dword [rdi + 0x70]
movaps xmm13, xmmword [rsp + 0x1a0]
shr ecx, 3
not cl
and cl, 1
ucomiss xmm5, xmm15
jp 0x1400530be
jne 0x1400530be
movss xmm0, dword [rdi + 0x78]
and eax, 0x808
movss xmm1, dword [rdi + 0x50]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, dword [rdi + 0xc0]
cmp eax, 0x800
jne 0x1400530b4
movss xmm7, dword [rdi + 0x60]
maxss xmm7, xmm1
jmp 0x1400530c1
movaps xmm7, xmm15
maxss xmm7, xmm1
jmp 0x1400530c1
movaps xmm7, xmm5
movss xmm4, dword [rdi + 0x74]
ucomiss xmm4, xmm15
jp 0x140053106
jne 0x140053106
movss xmm0, dword [rdi + 0x7c]
movss xmm1, dword [rdi + 0x54]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, xmm14
subss xmm1, dword [rdi + 0xc4]
test cl, cl
je 0x1400530fc
movss xmm6, dword [rdi + 0x64]
maxss xmm6, xmm1
jmp 0x140053109
movaps xmm6, xmm15
maxss xmm6, xmm1
jmp 0x140053109
movaps xmm6, xmm4
ucomiss xmm5, xmm15
movss xmm2, dword [rdi + 0x84]
movss xmm8, dword [rdi + 0x78]
movss xmm10, dword [rdi + 0x98]
movaps xmm1, xmm8
movss xmm0, dword [rdi + 0x218]
maxss xmm1, xmm2
subss xmm0, xmm10
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm3, eax
cvtdq2ps xmm3, xmm3
movss dword [rdi + 0x238], xmm3
addss xmm7, xmm3
movss xmm9, dword [rdi + 0x7c]
movss xmm11, dword [rdi + 0x9c]
movaps xmm1, xmm9
movss xmm0, dword [rdi + 0x21c]
maxss xmm1, xmm2
subss xmm0, xmm11
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss dword [rdi + 0x23c], xmm2
addss xmm6, xmm2
movss dword [rdi + 0x240], xmm7
movss dword [rdi + 0x244], xmm6
movups xmm0, xmmword [rdi + 0x238]
movups xmmword [rdi + 0x248], xmm0
movss xmm3, dword [rdi + 0x48]
movaps xmm1, xmm3
subss xmm1, xmm10
addss xmm1, xmm8
movss dword [rdi + 0x268], xmm1
movss xmm6, dword [rdi + 0x4c]
movaps xmm2, xmm6
subss xmm2, xmm11
addss xmm2, xmm9
addss xmm2, xmm14
movss dword [rdi + 0x26c], xmm2
jp 0x140053208
jne 0x140053208
movss xmm5, dword [rdi + 0x50]
movaps xmm0, xmm8
addss xmm0, xmm8
subss xmm5, xmm0
subss xmm5, dword [rdi + 0xc0]
ucomiss xmm4, xmm15
addss xmm1, xmm5
movss dword [rdi + 0x270], xmm1
jp 0x14005323b
jne 0x14005323b
movss xmm4, dword [rdi + 0x54]
movaps xmm0, xmm9
addss xmm0, xmm9
subss xmm4, xmm0
subss xmm4, xmm14
subss xmm4, dword [rdi + 0xc4]
movzx r8d, byte [rsp + 0x43]
addss xmm2, xmm4
xor r14d, r14d
lea rcx, [rdi + 0x188]
movaps xmm0, xmm8
addss xmm0, xmm15
cvtps2pd xmm1, xmm10
movss dword [rdi + 0x274], xmm2
subss xmm0, xmm10
cvtps2pd xmm2, xmm3
movss dword [rdi + 0x15c], xmm0
mov qword [rdi + 0x160], r14
cvtps2pd xmm3, xmm6
cvtps2pd xmm0, xmm8
addsd xmm2, xmm0
xorps xmm0, xmm0
subsd xmm2, xmm1
cvtps2pd xmm1, xmm11
addsd xmm2, xmm0
cvtps2pd xmm0, xmm9
addsd xmm3, xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm14
subsd xmm3, xmm1
cvtpd2ps xmm1, xmm2
addsd xmm3, xmm0
movss dword [rdi + 0x128], xmm1
cvtpd2ps xmm0, xmm3
movss dword [rdi + 0x12c], xmm0
movss xmm0, dword [rdi + 0x128]
movss xmm1, dword [rdi + 0x12c]
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
subsd xmm2, xmm0
subsd xmm3, xmm1
cvtpd2ps xmm2, xmm2
cvtpd2ps xmm0, xmm3
movss dword [rdi + 0x168], xmm2
movss dword [rdi + 0x16c], xmm0
movss xmm1, dword [rdi + 0x128]
movss xmm0, dword [rdi + 0x12c]
movss dword [rdi + 0x118], xmm1
movss dword [rdi + 0x11c], xmm0
movss dword [rdi + 0x120], xmm1
movss dword [rdi + 0x124], xmm0
movss dword [rdi + 0x130], xmm1
movss dword [rdi + 0x134], xmm0
movss dword [rdi + 0x138], xmm1
movss dword [rdi + 0x13c], xmm0
mov qword [rdi + 0x148], r14
mov qword [rdi + 0x140], r14
mov qword [rdi + 0x150], r14
mov byte [rdi + 0x158], r14b
mov dword [rdi + 0x170], r14d
movzx eax, word [rdi + 0x176]
mov word [rdi + 0x174], ax
mov byte [rdi + 0x17c], r14b
movss xmm0, dword [rdi + 0xa4]
comiss xmm0, xmm15
seta al
mov byte [rdi + 0x17d], al
mov byte [rdi + 0x17e], r14b
movss xmm1, dword [rsi + 0x3954]
call fcn.14008c110
movaps xmm14, xmmword [rsp + 0x190]
movaps xmm11, xmmword [rsp + 0x1c0]
movaps xmm10, xmmword [rsp + 0x1d0]
movaps xmm9, xmmword [rsp + 0x1e0]
mov qword [rdi + 0x1a4], r14
mov ecx, dword [rdi + 0x1b4]
test ecx, ecx
jns 0x1400533fe
mov eax, ecx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1b0]
test eax, eax
cmovg edx, eax
call fcn.140069350
mov r12, qword [rsp + 0x60]
lea rax, [rdi + 0x290]
mov dword [rdi + 0x1b0], r14d
mov qword [rdi + 0x1c0], rax
mov eax, 1
mov qword [rdi + 0x1c8], r14
mov dword [rdi + 0x1d4], eax
test r12, r12
je 0x140053437
mov eax, dword [r12 + 0x1d4]
mov dword [rdi + 0x1d8], eax
mov eax, dword [rdi + 0x28c]
mov dword [rdi + 0x1dc], eax
mov dword [rdi + 0x1e0], 0xbf800000
mov ecx, dword [rdi + 0x1ec]
test ecx, ecx
jns 0x1400534eb
mov eax, ecx
mov ebx, r14d
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
cmovg ebx, eax
cmp ebx, ecx
jle 0x1400534eb
mov rax, qword [0x1401121d0]
test rax, rax
je 0x140053488
inc dword [rax + 0xf4]
movsxd rcx, ebx
shl rcx, 2
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdx, qword [rdi + 0x1f0]
mov r14, rax
test rdx, rdx
je 0x1400534db
movsxd r8, dword [rdi + 0x1e8]
mov rcx, rax
shl r8, 2
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rdi + 0x1f0]
test rcx, rcx
je 0x1400534d5
mov rax, qword [0x1401121d0]
test rax, rax
je 0x1400534d5
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x1f0], r14
xor r14d, r14d
mov dword [rdi + 0x1ec], ebx
mov dword [rdi + 0x1e8], r14d
mov ecx, dword [rdi + 0x1fc]
test ecx, ecx
jns 0x14005358a
mov eax, ecx
mov ebx, r14d
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
cmovg ebx, eax
cmp ebx, ecx
jle 0x14005358a
mov rax, qword [0x1401121d0]
test rax, rax
je 0x140053527
inc dword [rax + 0xf4]
movsxd rcx, ebx
shl rcx, 2
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdx, qword [rdi + 0x200]
mov r14, rax
test rdx, rdx
je 0x14005357a
movsxd r8, dword [rdi + 0x1f8]
mov rcx, rax
shl r8, 2
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rdi + 0x200]
test rcx, rcx
je 0x140053574
mov rax, qword [0x1401121d0]
test rax, rax
je 0x140053574
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x200], r14
xor r14d, r14d
mov dword [rdi + 0x1fc], ebx
mov dword [rdi + 0x1f8], r14d
movzx eax, byte [rdi + 0xe4]
test al, al
jle 0x1400535a4
dec al
mov byte [rdi + 0xe4], al
movzx eax, byte [rdi + 0xe5]
test al, al
jle 0x1400535b7
dec al
mov byte [rdi + 0xe5], al
cmp byte [rsp + 0x54], 0
je 0x1400535d0
mov rcx, rdi
call fcn.140054050
xor edx, edx
mov rcx, rdi
call fcn.140058b60
mov rbx, qword [rbp - 0x70]
test rbx, rbx
je 0x140053629
mov rdx, qword [rdi + 0x30]
cmp byte [rdx + 0x5a], 0
je 0x140053629
mov rax, qword [0x1401121d0]
mov rcx, qword [rax + 0x4210]
cmp rdx, qword [rcx]
je 0x140053629
movzx eax, byte [rdi + 0x401]
and al, 5
cmp al, 1
je 0x140053629
mov byte [rdx + 0x5a], 0
test byte [rsi + 0x560c], 0x40
mov byte [rsi + 0x43f0], 0
je 0x140053626
mov rdx, qword [rdi]
lea rcx, str._viewport__Window__s_PlatformRequestClose_n
call fcn.140068390
mov byte [rbx], 0
mov r14d, dword [rsp + 0x44]
test r14b, 1
jne 0x140053688
test byte [rdi + 0x401], 1
jne 0x140053688
movss xmm2, dword [rdi + 0x84]
lea rdx, [rbp - 0x80]
movss xmm0, dword [rbp - 0x48]
mov r9, rbx
movss xmm1, dword [rbp - 0x40]
addss xmm0, xmm2
mov r8, qword [rbp - 0x68]
subss xmm1, xmm2
mov rcx, rdi
movss dword [rbp - 0x80], xmm0
movss xmm0, dword [rbp - 0x44]
movss dword [rbp - 0x7c], xmm0
movss xmm0, dword [rbp - 0x3c]
movss dword [rbp - 0x74], xmm0
movss dword [rbp - 0x78], xmm1
call fcn.140050950
xor ebx, ebx
mov dword [rdi + 0x278], ebx
test byte [rsi + 8], 0x40
je 0x14005383d
cmp qword [rsi + 0x4000], rdi
jne 0x1400537fe
movzx eax, byte [rsi + 0xdb9]
cmp byte [rsi + 0x71], al
jne 0x1400537fe
mov rax, qword [rdi + 0x3b0]
test dword [rax + 0xc], 0x200000
jne 0x1400537fe
mov rbx, qword [0x1401121d0]
mov eax, dword [rdi + 0x8c]
cmp byte [rbx + 0x71], 0
mov dword [rbx + 0x40b0], eax
mov rax, qword [rdi + 0x3b0]
mov qword [rbp - 0x50], rax
jne 0x14005373e
movss xmm0, dword [rbx + 0x3948]
movss xmm2, dword [rbx + 0x4048]
addss xmm0, xmm0
comiss xmm2, xmm15
addss xmm0, dword [rbx + 0x3d50]
movss xmm3, dword [rax + 0x58]
jb 0x1400537fc
movss xmm1, dword [rbx + 0x404c]
comiss xmm1, xmm15
jb 0x1400537fc
comiss xmm3, xmm2
jbe 0x1400537fc
comiss xmm0, xmm1
jbe 0x1400537fc
call fcn.14005c150
test al, al
je 0x1400537fc
lea rdx, [rbp - 0x50]
call fcn.14005c2b0
mov r14, qword [0x1401121d0]
test byte [r14 + 0x4400], 1
jne 0x14005376a
call fcn.140053d30
cmp dword [r14 + 0x4424], 0xffffffff
jne 0x140053779
call fcn.14005c090
lea rcx, [rbx + 0x39d0]
mov byte [r14 + 0x43fd], 0
call fcn.1400452a0
mov r8, qword [rbp - 0x50]
lea rcx, [rbx + 0x3be0]
mov dword [r8 + 0x404], eax
call fcn.1400452a0
lea rcx, [rbx + 0x3bf0]
mov dword [r8 + 0x408], eax
call fcn.1400452a0
lea rcx, [rbx + 0x3c00]
mov dword [r8 + 0x40c], eax
call fcn.1400452a0
lea rcx, [rbx + 0x3c10]
mov dword [r8 + 0x410], eax
call fcn.1400452a0
lea rcx, [rbx + 0x3c20]
mov dword [r8 + 0x414], eax
call fcn.1400452a0
mov r14d, dword [rsp + 0x44]
mov dword [r8 + 0x418], eax
xor ebx, ebx
cmp byte [rsi + 0x43fc], 0
je 0x14005383d
bt r14d, 0x15
jb 0x14005383d
mov rax, qword [rsi + 0x4000]
test rax, rax
je 0x140053823
cmp qword [rax + 0x3b0], rdi
je 0x14005383d
cmp rdi, qword [rdi + 0x3b0]
jne 0x14005383d
test dword [rdi + 0xc], 0x20000000
jne 0x14005383d
mov rcx, rdi
call fcn.140067100
test byte [rdi + 0x401], 1
je 0x140053888
mov r8, qword [0x1401121d0]
mov edx, dword [rdi + 0x434]
mov ecx, dword [rsi + 0x4098]
mov eax, dword [rdi + 0x8c]
mov dword [r8 + 0x40b0], eax
mov dword [r8 + 0x40b4], ecx
mov dword [r8 + 0x40b8], edx
movups xmm0, xmmword [rdi + 0x438]
movups xmmword [r8 + 0x40bc], xmm0
jmp 0x140053963
mov rax, qword [0x1401121d0]
movss xmm8, dword [rbp - 0x40]
movss xmm7, dword [rbp - 0x48]
movaps xmm3, xmm8
movss xmm5, dword [rbp - 0x3c]
movaps xmm0, xmm7
movss xmm2, dword [rax + 0x396c]
movaps xmm4, xmm5
movss xmm1, dword [rax + 0x3970]
subss xmm0, xmm2
movss xmm6, dword [rbp - 0x44]
addss xmm3, xmm2
movaps xmm2, xmm6
addss xmm4, xmm1
subss xmm2, xmm1
movss xmm1, dword [rax + 0xd9c]
comiss xmm1, xmm0
jb 0x14005392b
movss xmm0, dword [rax + 0xda0]
comiss xmm0, xmm2
jb 0x14005392b
comiss xmm3, xmm1
jbe 0x14005392b
comiss xmm4, xmm0
jbe 0x14005392b
mov rax, qword [rax + 0x4228]
movss xmm2, dword [rax + 0xc]
movss xmm3, dword [rax + 8]
movaps xmm0, xmm2
addss xmm0, dword [rax + 0x14]
movaps xmm1, xmm3
addss xmm1, dword [rax + 0x10]
comiss xmm0, xmm6
jbe 0x14005392b
comiss xmm5, xmm2
jbe 0x14005392b
comiss xmm1, xmm7
jbe 0x14005392b
comiss xmm8, xmm3
ja 0x14005392f
mov dword [rsp + 0x68], ebx
mov ecx, dword [rsi + 0x4098]
mov rdx, qword [0x1401121d0]
mov eax, dword [rdi + 0x8c]
mov dword [rdx + 0x40b4], ecx
mov ecx, dword [rsp + 0x68]
mov dword [rdx + 0x40b8], ecx
mov dword [rdx + 0x40b0], eax
movups xmm0, xmmword [rbp - 0x48]
movups xmmword [rdx + 0x40bc], xmm0
movaps xmm8, xmmword [rsp + 0x1f0]
movaps xmm7, xmmword [rsp + 0x200]
movaps xmm6, xmmword [rsp + 0x210]
jmp 0x140053a5d
mov rcx, qword [rdi + 0x30]
mov rdx, qword [0x1401121d0]
test rcx, rcx
je 0x14005399a
mov eax, dword [rdx + 0x3f60]
mov dword [rcx + 0x64], eax
cmp qword [rdx + 0x4220], rcx
je 0x1400539d9
test rcx, rcx
je 0x1400539c8
mov eax, dword [rcx + 0x28]
mov dword [rdx + 0x4218], eax
mov rax, qword [rdx + 0x3890]
mov qword [rdx + 0x4220], rcx
test rax, rax
je 0x1400539d9
call rax
jmp 0x1400539d9
mov dword [rdx + 0x4218], 0x3f800000
mov qword [rdx + 0x4220], rcx
mov rcx, qword [0x1401121d0]
mov qword [rcx + 0x3fe0], rdi
movsxd rax, dword [rdi + 0x1d0]
cmp eax, 0xffffffff
je 0x140053a03
imul rdx, rax, 0x218
add rdx, qword [rcx + 0x44e0]
jmp 0x140053a07
xor eax, eax
mov edx, eax
movss xmm0, dword [rcx + 0x3d54]
mov qword [rcx + 0x44b8], rdx
mulss xmm0, dword [rdi + 0x2b0]
mov rax, qword [rdi + 0x390]
mulss xmm0, dword [rdi + 0x2b4]
test rax, rax
je 0x140053a3a
mulss xmm0, dword [rax + 0x2b0]
mov r12, qword [rsp + 0x60]
lea r13, [rdi + 0x230]
movss dword [rcx + 0x3d68], xmm0
lea r15, [rdi + 0x228]
movss dword [rcx + 0x3d50], xmm0
and r14d, 0x1000000
je 0x140053a70
mov ebx, dword [r12 + 0x178]
jmp 0x140053ab5
movsxd rax, dword [rdi + 0x108]
lea rcx, str.FOCUSSCOPE
mov r8, qword [rdi + 0x110]
xor edx, edx
mov r8d, dword [r8 + rax*4 - 4]
call fcn.140044d00
mov rcx, qword [0x1401121d0]
mov ebx, eax
cmp dword [rcx + 0x401c], eax
jne 0x140053ab5
lea r8, str.FOCUSSCOPE
mov edx, ntohl
mov ecx, eax
call fcn.140068440
mov ecx, dword [rsp + 0x44]
mov dword [rdi + 0x178], ebx
bt ecx, 0x1d
jb 0x140053b40
mov rcx, qword [0x1401121d0]
mov r9b, 1
mov r8, r13
mov rdx, r15
mov rax, qword [rcx + 0x3fe0]
mov byte [rax + 0xcd], 1
mov rbx, qword [rcx + 0x3fe0]
mov rcx, qword [rbx + 0x2c0]
call fcn.140071f40
mov rax, qword [rbx + 0x2c0]
movsxd rcx, dword [rax + 0x58]
mov rax, qword [rax + 0x60]
add rcx, rcx
movss xmm0, dword [rax + rcx*8 - 0xc]
movss xmm1, dword [rax + rcx*8 - 8]
movss xmm2, dword [rax + rcx*8 - 4]
mov eax, dword [rax + rcx*8 - 0x10]
mov ecx, dword [rsp + 0x44]
mov dword [rbx + 0x258], eax
movss dword [rbx + 0x25c], xmm0
movss dword [rbx + 0x260], xmm1
movss dword [rbx + 0x264], xmm2
mov eax, dword [rsp + 0x4c]
xor edx, edx
mov r15, qword [rsp + 0x220]
mov r13, qword [rsp + 0x228]
mov rbx, qword [rsp + 0x278]
mov byte [rdi + 0xcd], 0
inc word [rdi + 0xd8]
mov dword [rsi + 0x40f0], edx
cmp eax, dword [rsp + 0x50]
je 0x140053cfa
movzx eax, byte [rdi + 0x401]
and al, 5
cmp al, 1
jne 0x140053ba7
mov eax, dword [rsi + 0x3f60]
cmp dword [rdi + 0x284], eax
jne 0x140053ba0
mov byte [rdi + 0xed], 1
jmp 0x140053ba7
mov byte [rdi + 0xec], 1
test r14d, r14d
je 0x140053c65
test cl, 0x40
jne 0x140053c2a
cmp byte [rdi + 0xe4], dl
jg 0x140053c2a
cmp byte [rdi + 0xe5], dl
jg 0x140053c2a
bt ecx, 0x17
jae 0x140053bf3
cmp byte [rsi + 0x42ac], dl
je 0x140053bf3
mov rcx, qword [rsi + 0x4268]
test rcx, rcx
je 0x140053bf3
mov rax, qword [rdi + 0x3c0]
cmp qword [rcx + 0x3c0], rax
jne 0x140053bf3
mov al, 1
jmp 0x140053bf5
xor al, al
cmp byte [rsi + 0x55c4], dl
jne 0x140053c2a
test al, al
jne 0x140053c2a
movss xmm0, dword [rdi + 0x208]
comiss xmm0, dword [rdi + 0x210]
jae 0x140053c23
movss xmm0, dword [rdi + 0x20c]
comiss xmm0, dword [rdi + 0x214]
jb 0x140053c2a
mov byte [rdi + 0xec], 1
test r12, r12
je 0x140053c65
cmp byte [r12 + 0xce], dl
jne 0x140053c43
cmp byte [r12 + 0xec], dl
jle 0x140053c4a
mov byte [rdi + 0xec], 1
cmp byte [r12 + 0xce], dl
jne 0x140053c5e
cmp byte [r12 + 0xed], dl
jle 0x140053c65
mov byte [rdi + 0xed], 1
comiss xmm15, dword [rsi + 0x3908]
jb 0x140053c76
mov byte [rdi + 0xec], 1
cmp byte [rdi + 0xec], dl
jg 0x140053c94
cmp byte [rdi + 0xed], dl
jg 0x140053c94
xor cl, cl
cmp byte [rdi + 0xee], cl
jg 0x140053c96
xor al, al
jmp 0x140053c98
mov cl, 1
mov al, 1
mov byte [rdi + 0xd2], al
movzx eax, byte [rdi + 0xef]
test al, al
jle 0x140053cb8
dec al
mov byte [rdi + 0xef], al
or dword [rdi + 0xc], 0xc0200
cmp byte [rdi + 0xce], dl
jne 0x140053ccc
cmp byte [rdi + 0xcb], dl
je 0x140053ccc
test cl, cl
je 0x140053ced
cmp byte [rdi + 0xe4], dl
jg 0x140053ced
cmp byte [rdi + 0xe5], dl
jg 0x140053ced
cmp byte [rdi + 0xed], dl
jg 0x140053ced
mov byte [rdi + 0xd0], 1
jmp 0x140053cfa
mov byte [rdi + 0xd0], dl
mov word [rdi + 0x176], dx
cmp byte [rdi + 0xd0], dl
sete al
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.1400c6990
movaps xmm15, xmmword [rsp + 0x180]
add rsp, 0x230
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret