Function at 0x140050560
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 - 0xe8], xmm15
mov rax, qword [0x140160080]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov r14, qword [0x140161738]
mov r12, rcx
mov qword [r11 - 0x30], rbx
mov qword [r11 - 0x38], r13
mov r13d, r8d
mov qword [r11 - 0x40], r15
mov qword [rbp - 0x60], r9
mov dword [rsp + 0x44], r8d
mov qword [rbp - 0x78], rdx
call fcn.14004d720
test rax, rax
mov qword [rbp - 0x80], rax
mov rsi, rax
sete bl
mov byte [rsp + 0x41], bl
test rax, rax
jne 0x1400505dd
mov edx, r13d
mov rcx, r12
call fcn.14004da70
mov rsi, rax
mov ecx, r13d
and ecx, 0xc0200
cmp ecx, 0xc0200
jne 0x1400505f7
or r13d, 6
mov dword [rsp + 0x44], r13d
cmp dword [r14 + 0x3f98], 0
mov edx, dword [r14 + 0x3f48]
mov r8d, dword [rsi + 0x280]
mov dword [rsp + 0x48], edx
mov dword [rsp + 0x50], r8d
jne 0x140050626
cmp byte [r14 + 0x3f59], 0
je 0x140050626
mov al, 1
jmp 0x140050628
xor al, al
mov byte [rsi + 0xd3], al
lea eax, [rdx - 1]
cmp r8d, eax
setl dil
mov byte [rsp + 0x40], dil
bt r13d, 0x1a
jae 0x140050672
movsxd rax, dword [r14 + 0x41c8]
imul rax, rax, 0x38
add rax, qword [r14 + 0x41c0]
cmp rsi, qword [rax + 8]
mov eax, dword [rax]
setne cl
cmp dword [rsi + 0xe4], eax
setne al
or cl, al
or dil, cl
mov byte [rsp + 0x40], dil
movzx r15d, byte [rsi + 0xd1]
cmp r8d, edx
je 0x140050703
mov r8d, r13d
movzx edx, bl
mov rcx, rsi
call fcn.14004d870
mov byte [rsi + 0xd1], dil
test dil, dil
je 0x1400506b9
or byte [rsi + 0xf4], 8
or byte [rsi + 0xf5], 8
or byte [rsi + 0xf6], 8
or byte [rsi + 0xf7], 8
mov eax, dword [rsi + 0xc]
xor ecx, ecx
mov ebx, dword [rsp + 0x48]
mov dword [rsi + 0x10], eax
mov dword [rsi + 0xc], r13d
mov dword [rsi + 0x280], ebx
movsd xmm0, qword [r14 + 0x3f40]
mov word [rsi + 0xdc], cx
cvtpd2ps xmm0, xmm0
movss dword [rsi + 0x288], xmm0
movzx eax, word [r14 + 0x3fb8]
inc dword [r14 + 0x3fb8]
mov word [rsi + 0xde], ax
jmp 0x14005070e
mov r13d, dword [rsi + 0xc]
mov ebx, edx
mov dword [rsp + 0x44], r13d
test dword [r14 + 0x40c8], 0x200
je 0x140050731
mov r8d, dword [r14 + 0x40d8]
mov rcx, rsi
mov edx, dword [r14 + 0x4130]
call fcn.1400655a0
mov edx, dword [rsp + 0x50]
cmp edx, ebx
je 0x140050828
cmp dword [rsi + 0x430], 0
jne 0x1400507fe
cmp qword [rsi + 0x420], 0
jne 0x1400507fe
mov rax, qword [0x140161738]
xor cl, cl
cmp byte [rax + 0x7a], cl
jne 0x14005076f
cmp byte [rsi + 0x2c], cl
je 0x140050800
test dword [rsi + 0xc], 0x1200001
lea rdi, [rsi + 0xc]
jne 0x140050800
cmp byte [rsi + 0xd3], cl
jne 0x140050800
movzx ebx, byte [rsi + 0x401]
mov rdx, qword [rbp - 0x78]
mov rcx, rsi
call fcn.140065b10
test byte [rsi + 0x401], 1
mov r13d, dword [rdi]
mov dword [rsp + 0x44], r13d
je 0x1400507b4
and dword [r14 + 0x40c8], 0xffffffef
test byte [rsi + 0x401], 4
je 0x140050820
test bl, 4
jne 0x140050820
test bl, 2
je 0x140050820
cmp byte [rsi + 0xd1], 0
mov edx, dword [rsp + 0x50]
jne 0x140050824
test r15b, r15b
jne 0x140050824
or byte [rsi + 0xf4], 8
or byte [rsi + 0xf5], 8
or byte [rsi + 0xf6], 8
or byte [rsi + 0xf7], 8
mov byte [rsi + 0xd1], 1
jmp 0x140050824
mov cl, 1
movzx ebx, byte [rsi + 0x401]
lea rdi, [rsi + 0xc]
test cl, cl
jne 0x14005078f
and bl, 0xfb
and bl, 0xfd
and bl, 0xfe
mov byte [rsi + 0x401], bl
jmp 0x140050824
mov edx, dword [rsp + 0x50]
mov ebx, dword [rsp + 0x48]
test byte [rsi + 0x401], 1
je 0x140050849
mov rax, qword [rsi + 0x420]
mov rdi, qword [rax + 0x88]
mov qword [rsp + 0x68], rdi
test rdi, rdi
jne 0x140050874
movsxd rax, dword [r14 + 0x3f98]
test eax, eax
jne 0x14005085f
xor eax, eax
mov edi, eax
mov qword [rsp + 0x68], rax
jmp 0x140050876
imul rcx, rax, 0x58
mov rax, qword [r14 + 0x3fa0]
mov rdi, qword [rcx + rax - 0x58]
mov qword [rsp + 0x68], rdi
xor eax, eax
cmp edx, ebx
je 0x14005088a
test r13d, 0x5000000
mov r15, rax
cmovne r15, rdi
jmp 0x140050891
mov r15, qword [rsi + 0x390]
lea rbx, [rsi + 0x108]
mov qword [rsp + 0x70], r15
cmp dword [rbx], 0
jne 0x1400508c4
cmp dword [rbx + 4], 0
jne 0x1400508b5
mov edx, 8
mov rcx, rbx
call fcn.1400686a0
movsxd rdx, dword [rbx]
mov eax, dword [rsi + 8]
mov rcx, qword [rbx + 8]
mov dword [rcx + rdx*4], eax
inc dword [rbx]
mov rdx, qword [0x140161738]
lea rbx, [r14 + 0x3f98]
mov eax, dword [r14 + 0x40c4]
xorps xmm0, xmm0
movups xmm1, xmmword [r14 + 0x409c]
mov qword [r14 + 0x3fc8], rsi
mov r8d, dword [rbx + 4]
movups xmmword [rbp + 4], xmm0
mov dword [rbp], eax
mov rax, qword [rdx + 0x3fc8]
movups xmm0, xmmword [r14 + 0x408c]
mov qword [rbp - 0x40], rsi
movups xmmword [rbp - 0x28], xmm1
movzx ecx, word [rax + 0x108]
movzx eax, word [rdx + 0x4158]
movsd xmm1, qword [r14 + 0x40bc]
mov word [rbp + 6], ax
movzx eax, word [rdx + 0x4168]
mov word [rbp + 8], ax
movzx eax, word [rdx + 0x4178]
mov word [rbp + 0xa], ax
movzx eax, word [rdx + 0x4188]
mov word [rbp + 0xc], ax
movzx eax, word [rdx + 0x41a8]
mov word [rbp + 0xe], ax
movzx eax, word [rdx + 0x4198]
mov word [rbp + 0x10], ax
movzx eax, word [rdx + 0x41c8]
movups xmmword [rbp - 0x38], xmm0
mov word [rbp + 0x12], ax
movups xmm0, xmmword [r14 + 0x40ac]
movzx eax, word [rdx + 0x54d8]
mov word [rbp + 4], cx
mov ecx, dword [rbx]
mov word [rbp + 0x14], ax
movsd qword [rbp - 8], xmm1
movups xmmword [rbp - 0x18], xmm0
cmp ecx, r8d
jne 0x1400509bd
inc ecx
test r8d, r8d
je 0x1400509a9
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x1400509ae
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.140068730
movsxd rax, dword [rbx]
movaps xmm0, xmmword [rbp - 0x40]
movaps xmm1, xmmword [rbp - 0x30]
imul rcx, rax, 0x58
mov rax, qword [rbx + 8]
movups xmmword [rcx + rax], xmm0
movaps xmm0, xmmword [rbp - 0x20]
movups xmmword [rcx + rax + 0x10], xmm1
movaps xmm1, xmmword [rbp - 0x10]
movups xmmword [rcx + rax + 0x20], xmm0
movaps xmm0, xmmword [rbp]
movups xmmword [rcx + rax + 0x30], xmm1
movsd xmm1, qword [rbp + 0x10]
movups xmmword [rcx + rax + 0x40], xmm0
movsd qword [rcx + rax + 0x50], xmm1
inc dword [rbx]
xor ebx, ebx
mov qword [r14 + 0x3fc8], rbx
bt r13d, 0x1c
jae 0x140050a18
inc dword [r14 + 0x41d8]
bt r13d, 0x1a
jae 0x140050a53
lea rcx, [r14 + 0x41c8]
movsxd rax, dword [rcx]
imul rbx, rax, 0x38
add rbx, qword [r14 + 0x41c0]
mov rdx, rbx
mov qword [rbx + 8], rsi
mov eax, dword [rdi + 0x170]
mov dword [rbx + 0x18], eax
call fcn.140067d20
mov eax, dword [rbx]
xor ebx, ebx
mov dword [rsi + 0xe4], eax
mov r10d, dword [rsp + 0x48]
mov r11d, dword [rsp + 0x50]
cmp r11d, r10d
je 0x140050a77
mov r8, r15
mov edx, r13d
mov rcx, rsi
call fcn.140050490
mov qword [rsi + 0x398], rdi
xor dl, dl
xor r15b, r15b
xor r13b, r13b
mov byte [rsp + 0x43], dl
test byte [r14 + 0x40c8], 1
je 0x140050b21
movsx ecx, byte [rsi + 0xf4]
mov r8d, dword [r14 + 0x40cc]
test r8d, ecx
setne dl
mov byte [rsp + 0x43], dl
test r8d, ecx
je 0x140050b12
movss xmm0, dword [r14 + 0x40e8]
movss xmm1, dword [r14 + 0x40e4]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
comiss xmm1, dword [0x14014b45c]
jbe 0x140050b12
movsd xmm0, qword [r14 + 0x40dc]
and ecx, 0xf1
mov eax, dword [rsi + 0xf4]
and eax, 0xffffff00
movsd qword [rsi + 0xf8], xmm0
movsd xmm1, qword [r14 + 0x40e4]
or ecx, eax
mov dword [rsi + 0xf4], ecx
movsd qword [rsi + 0x100], xmm1
jmp 0x140050b21
lea rdx, [r14 + 0x40dc]
mov rcx, rsi
call fcn.140053e50
test byte [r14 + 0x40c8], 2
xorps xmm15, xmm15
je 0x140050b7b
movsx eax, byte [rsi + 0xf5]
mov r8d, dword [r14 + 0x40d0]
and eax, r8d
je 0x140050b56
movss xmm0, dword [r14 + 0x40ec]
comiss xmm0, xmm15
jbe 0x140050b56
mov r15b, 1
jmp 0x140050b5a
test eax, eax
je 0x140050b6c
movss xmm0, dword [r14 + 0x40f0]
comiss xmm0, xmm15
jbe 0x140050b6c
mov r13b, 1
lea rdx, [r14 + 0x40ec]
mov rcx, rsi
call fcn.140054000
test byte [r14 + 0x40c8], 0x80
je 0x140050bbf
movss xmm0, dword [r14 + 0x40fc]
comiss xmm0, xmm15
jb 0x140050ba2
movss dword [rsi + 0xa8], xmm0
mov dword [rsi + 0xb0], ebx
movss xmm0, dword [r14 + 0x4100]
comiss xmm0, xmm15
jb 0x140050bbf
movss dword [rsi + 0xac], xmm0
mov dword [rsi + 0xb4], ebx
test byte [r14 + 0x40c8], 4
je 0x140050bd9
movsd xmm0, qword [r14 + 0x40f4]
movsd qword [rsi + 0x70], xmm0
jmp 0x140050be6
cmp r11d, r10d
je 0x140050be6
mov qword [rsi + 0x70], 0
test dword [r14 + 0x40c8], 0x400
je 0x140050c17
movups xmm0, xmmword [r14 + 0x4134]
movups xmmword [rsi + 0x14], xmm0
movsd xmm1, qword [r14 + 0x4144]
movsd qword [rsi + 0x24], xmm1
mov eax, dword [r14 + 0x414c]
mov dword [rsi + 0x2c], eax
test byte [r14 + 0x40c8], 8
je 0x140050c68
mov ecx, dword [r14 + 0x40d4]
movzx edx, byte [r14 + 0x4105]
test ecx, ecx
je 0x140050c3f
movsx eax, byte [rsi + 0xf6]
test ecx, eax
je 0x140050c68
movzx ecx, byte [rsi + 0xf6]
mov eax, dword [rsi + 0xf4]
and ecx, 0xf1
shl ecx, 0x10
and eax, 0xff00ffff
or ecx, eax
mov byte [rsi + 0xce], dl
mov dword [rsi + 0xf4], ecx
test byte [r14 + 0x40c8], 0x20
je 0x140050c84
mov rcx, rsi
call fcn.1400538a0
mov r10d, dword [rsp + 0x48]
mov r11d, dword [rsp + 0x50]
cmp byte [rsi + 0xd1], 0
je 0x140050ca9
and byte [rsi + 0xf4], 0xf7
and byte [rsi + 0xf5], 0xf7
and byte [rsi + 0xf6], 0xf7
and byte [rsi + 0xf7], 0xf7
movaps xmmword [rsp + 0x200], xmm6
movaps xmmword [rsp + 0x1f0], xmm7
movaps xmmword [rsp + 0x1e0], xmm8
cmp r11d, r10d
je 0x1400530f9
mov edi, dword [rsp + 0x44]
mov r8d, 1
movaps xmmword [rsp + 0x1d0], xmm9
mov eax, edi
movaps xmmword [rsp + 0x1c0], xmm10
and eax, 0x3000000
cmp qword [rbp - 0x78], 0
movaps xmmword [rsp + 0x1b0], xmm11
movaps xmmword [rsp + 0x1a0], xmm12
movaps xmmword [rsp + 0x190], xmm13
mov byte [rsi + 0xcb], 1
movaps xmmword [rsp + 0x180], xmm14
mov dword [rsp + 0x60], eax
movzx eax, byte [rsi + 0xf1]
mov byte [rsp + 0x4c], al
setne al
mov byte [rsi + 0xd5], al
mov dword [rsi + 0x258], 0xff7fffff
mov dword [rsi + 0x25c], 0xff7fffff
mov dword [rsi + 0x260], 0x7f7fffff
mov dword [rsi + 0x264], 0x7f7fffff
mov ecx, dword [rsi + 0x10c]
mov dword [rsp + 0x78], r8d
cmp ecx, r8d
jge 0x140050d9d
test ecx, ecx
je 0x140050d7d
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140050d82
mov eax, 8
cmp eax, r8d
lea rcx, [rsi + 0x108]
mov edx, r8d
cmovg edx, eax
call fcn.1400686a0
mov r8d, 1
mov dword [rsi + 0x108], r8d
mov rcx, qword [rsi + 0x2c0]
call fcn.1400709e0
mov dword [rsi + 0x1d0], 0xffffffff
bt edi, 0x1d
jae 0x140050dec
mov rcx, qword [rsi + 0x2c0]
add rcx, 0xa8
call fcn.1400741e0
mov rdx, qword [rsi + 0x2c0]
mov r8d, 1
lea rcx, [rdx + 0xa8]
call fcn.140074690
cmp byte [rsi + 0x400], 0
je 0x140050e31
mov rcx, qword [rsi + 0x2c0]
mov edx, dword [rsi + 0x3f8]
add rcx, 0x10
mov byte [rsi + 0x400], 0
call fcn.140068460
mov rcx, qword [rsi + 0x2c0]
mov edx, dword [rsi + 0x3fc]
add rcx, 0x20
call fcn.140068330
xor eax, eax
mov qword [rsi + 0x3f8], rax
mov rax, qword [rsi + 0x30]
test rax, rax
je 0x140050e43
cmp qword [rax + 0x88], rsi
je 0x140050e67
test byte [rsi + 0x401], 1
jne 0x140050e67
cmp qword [r14 + 0x43b8], 0
je 0x140050f1e
test dword [rsi + 0xc], 0x80000
jne 0x140050f1e
mov r9, qword [rbp - 0x80]
test r9, r9
je 0x140050f22
mov r9, qword [rsi]
mov rax, r12
mov r8, r9
sub r8, r12
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140050e93
inc rax
test ecx, ecx
jne 0x140050e80
test edx, edx
je 0x140050f1e
movsxd rdi, dword [rsi + 0x88]
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [r12 + rbx], 0
jne 0x140050eb0
inc rbx
cmp rdi, rbx
jae 0x140050f03
test r9, r9
je 0x140050ed9
mov rax, qword [0x140161738]
test rax, rax
je 0x140050ed9
dec dword [rax + 0xfc]
mov rcx, r9
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x140161738]
test rax, rax
je 0x140050ef4
inc dword [rax + 0xfc]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r9, rax
mov rdi, rbx
mov r8, rbx
mov rdx, r12
mov rcx, r9
call sub.VCRUNTIME140.dll_memcpy
mov dword [rsi + 0x88], edi
mov edi, dword [rsp + 0x44]
mov qword [rsi], rax
mov r9, qword [rbp - 0x80]
lea r8, [rsi + 0x68]
mov rcx, rsi
lea rdx, [rsi + 0x60]
call fcn.14004dfb0
movzx eax, byte [rsi + 0xf0]
test al, al
jle 0x140050f45
dec al
mov byte [rsi + 0xf0], al
movzx eax, byte [rsi + 0xf1]
test al, al
jle 0x140050f58
dec al
mov byte [rsi + 0xf1], al
movzx eax, byte [rsi + 0xf2]
test al, al
jle 0x140050f6b
dec al
mov byte [rsi + 0xf2], al
test r9, r9
jne 0x140050f81
test r15b, r15b
je 0x140050f7a
test r13b, r13b
jne 0x140050f81
mov byte [rsi + 0xf1], 1
xor ebx, ebx
cmp byte [rsp + 0x40], bl
je 0x140050fc4
test edi, 0x6000000
je 0x140050fc4
mov byte [rsi + 0xf1], 1
test dil, 0x40
je 0x140050fc4
test r15b, r15b
jne 0x140050fa9
mov dword [rsi + 0x58], ebx
mov dword [rsi + 0x50], ebx
test r13b, r13b
jne 0x140050fb4
mov dword [rsi + 0x5c], ebx
mov dword [rsi + 0x54], ebx
mov qword [rsi + 0x68], 0
mov qword [rsi + 0x60], 0
call fcn.14005d820
mov rcx, qword [rsi + 0x30]
mov r10, qword [0x140161738]
test rcx, rcx
je 0x140050fe3
mov eax, dword [r10 + 0x3f48]
mov dword [rcx + 0x64], eax
cmp qword [r10 + 0x41f8], rcx
je 0x14005102b
test rcx, rcx
je 0x140051019
mov eax, dword [rcx + 0x28]
mov dword [r10 + 0x41f0], eax
mov rax, qword [r10 + 0x3878]
mov qword [r10 + 0x41f8], rcx
test rax, rax
je 0x14005102b
call rax
mov r10, qword [0x140161738]
jmp 0x14005102b
mov dword [r10 + 0x41f0], 0x3f800000
mov qword [r10 + 0x41f8], rcx
test dword [r14 + 8], 0x8000
movss xmm12, dword [0x14014b518]
je 0x140051049
mov rax, qword [rsi + 0x30]
movss xmm0, dword [rax + 0x28]
jmp 0x14005104d
movaps xmm0, xmm12
movss dword [rsi + 0x2b4], xmm0
mov qword [r10 + 0x3fc8], rsi
movsxd rax, dword [rsi + 0x1d0]
cmp eax, 0xffffffff
je 0x140051078
imul rcx, rax, 0x218
add rcx, qword [r10 + 0x44c8]
jmp 0x14005107b
mov rcx, rbx
movss xmm0, dword [r10 + 0x3d3c]
mov qword [r10 + 0x44a0], rcx
mulss xmm0, dword [rsi + 0x2b0]
mov rax, qword [rsi + 0x390]
mulss xmm0, dword [rsi + 0x2b4]
test rax, rax
je 0x1400510af
mulss xmm0, dword [rax + 0x2b0]
movss dword [r10 + 0x3d50], xmm0
movss dword [r10 + 0x3d38], xmm0
mov ebx, dword [rsi + 0xc]
mov dword [rsp + 0x44], ebx
bt ebx, 0x18
jae 0x1400510d9
movss xmm0, dword [r14 + 0x3920]
jmp 0x1400510fb
test ebx, 0x6000000
je 0x1400510f2
bt ebx, 0x1b
jb 0x1400510f2
movss xmm0, dword [r14 + 0x3928]
jmp 0x1400510fb
movss xmm0, dword [r14 + 0x3904]
mov rax, rsi
movss dword [rax + 0x84], xmm0
test byte [rsi + 0x401], 1
jne 0x140051156
mov eax, ebx
and eax, 0x5010000
cmp eax, 0x1000000
jne 0x140051156
ucomiss xmm0, xmm15
jp 0x140051156
jne 0x140051156
bt ebx, 0xa
jae 0x140051136
movss xmm1, dword [r14 + 0x38fc]
jmp 0x14005113a
movaps xmm1, xmm15
movaps xmm0, xmm15
unpcklps xmm0, xmm1
movaps xmm1, xmm0
movsd qword [rsp + 0x58], xmm0
movss xmm2, dword [rsp + 0x58]
shufps xmm1, xmm1, 0x55
jmp 0x140051168
movss xmm2, dword [r14 + 0x38f8]
movss xmm1, dword [r14 + 0x38fc]
mov rax, rsi
movss dword [rax + 0x78], xmm2
movss dword [rax + 0x7c], xmm1
movss xmm0, dword [rax + 0x78]
maxss xmm0, dword [r14 + 0x393c]
maxss xmm0, dword [r14 + 0x4150]
movss dword [rsi + 0x180], xmm0
mov eax, dword [r14 + 0x4154]
mov dword [rsi + 0x184], eax
test bl, 0x21
jne 0x1400512a8
test byte [rsi + 0x401], 1
jne 0x1400512a8
test byte [rsi + 0xc], 1
je 0x1400511c3
movaps xmm2, xmm15
jmp 0x140051201
movss xmm0, dword [r10 + 0x3d3c]
mulss xmm0, dword [rsi + 0x2b0]
mov rax, qword [rsi + 0x390]
mulss xmm0, dword [rsi + 0x2b4]
test rax, rax
je 0x1400511f0
mulss xmm0, dword [rax + 0x2b0]
movss xmm2, dword [r10 + 0x3930]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm0, dword [rsi + 0x48]
movaps xmm1, xmm0
movss dword [rbp + 0x20], xmm0
addss xmm1, dword [rsi + 0x58]
addss xmm2, dword [rsi + 0x4c]
movss xmm0, dword [rsi + 0x4c]
movss dword [rbp + 0x24], xmm0
movss dword [rbp + 0x28], xmm1
movss dword [rbp + 0x2c], xmm2
cmp qword [r14 + 0x3fd0], rsi
jne 0x14005126f
cmp dword [r14 + 0x4000], 0
jne 0x14005126f
cmp dword [r14 + 0x4004], 0
jne 0x14005126f
mov r8b, 1
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x20]
call fcn.140054310
test al, al
je 0x14005126f
cmp word [r14 + 0x3752], 2
jne 0x14005126f
mov byte [rsi + 0xcf], r8b
cmp byte [rsi + 0xcf], 0
je 0x1400512af
cmp byte [rsi + 0xce], 0
sete al
test dword [rsi + 0xc], 0x100
mov byte [rsi + 0xce], al
jne 0x1400512af
comiss xmm15, dword [r10 + 0x5564]
jb 0x1400512af
mov eax, dword [r10 + 0x1c]
mov dword [r10 + 0x5564], eax
jmp 0x1400512af
mov byte [rsi + 0xce], 0
lea r8, [rsi + 0x68]
mov byte [rsi + 0xcf], 0
mov rdx, rsi
lea rcx, [rbp + 0x30]
call fcn.14004e0c0
movzx ecx, byte [rsp + 0x41]
mov byte [rsp + 0x42], cl
test bl, 0x40
je 0x14005130e
cmp byte [rsi + 0xce], 0
jne 0x14005130e
test r15b, r15b
jne 0x1400512f1
movss xmm0, dword [rbp + 0x30]
movss dword [rsi + 0x58], xmm0
mov byte [rsp + 0x41], 1
test r13b, r13b
jne 0x1400513b1
movss xmm0, dword [rbp + 0x34]
movss dword [rsi + 0x5c], xmm0
mov byte [rsp + 0x42], 1
jmp 0x1400513b1
movzx eax, byte [rsi + 0xe8]
test al, al
jg 0x140051326
cmp byte [rsi + 0xe9], 0
jle 0x1400513b1
test r15b, r15b
jne 0x140051353
test al, al
jle 0x140051353
cmp byte [rsi + 0xeb], r15b
je 0x140051344
movss xmm0, dword [rsi + 0x58]
maxss xmm0, dword [rbp + 0x30]
jmp 0x140051349
movss xmm0, dword [rbp + 0x30]
movss dword [rsi + 0x58], xmm0
mov byte [rsp + 0x41], 1
test r13b, r13b
jne 0x140051385
cmp byte [rsi + 0xe9], r13b
jle 0x140051385
cmp byte [rsi + 0xeb], r13b
je 0x140051376
movss xmm0, dword [rsi + 0x5c]
maxss xmm0, dword [rbp + 0x34]
jmp 0x14005137b
movss xmm0, dword [rbp + 0x34]
movss dword [rsi + 0x5c], xmm0
mov byte [rsp + 0x42], 1
cmp byte [rsi + 0xce], 0
jne 0x1400513b1
test dword [rsi + 0xc], 0x100
mov rcx, qword [0x140161738]
jne 0x1400513b1
comiss xmm15, dword [rcx + 0x5564]
jb 0x1400513b1
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x5564], eax
lea r8, [rsi + 0x58]
mov rdx, rsi
lea rcx, [rbp - 0x58]
call fcn.14004dd30
cmp byte [rsi + 0xce], 0
mov r15, qword [0x140161738]
mov r13d, dword [rsp + 0x44]
movss xmm2, dword [rax]
movss xmm0, dword [rax + 4]
movss dword [rsi + 0x58], xmm2
movss dword [rsi + 0x5c], xmm0
je 0x14005145c
bt r13d, 0x18
jb 0x14005145c
test byte [rsi + 0xc], 1
je 0x1400513fc
movaps xmm1, xmm15
jmp 0x14005143a
movss xmm0, dword [r15 + 0x3d3c]
mulss xmm0, dword [rsi + 0x2b0]
mov rax, qword [rsi + 0x390]
mulss xmm0, dword [rsi + 0x2b4]
test rax, rax
je 0x140051429
mulss xmm0, dword [rax + 0x2b0]
movss xmm1, dword [r15 + 0x3930]
addss xmm1, xmm1
addss xmm1, xmm0
addss xmm2, dword [rsi + 0x48]
addss xmm1, dword [rsi + 0x4c]
subss xmm2, dword [rsi + 0x48]
subss xmm1, dword [rsi + 0x4c]
movss dword [rsp + 0x58], xmm2
movss dword [rsp + 0x5c], xmm1
jmp 0x140051467
movsd xmm0, qword [rsi + 0x58]
movsd qword [rsp + 0x58], xmm0
mov ecx, dword [rsi + 0xc]
lea rax, [rsp + 0x58]
movsd xmm0, qword [rax]
movsd qword [rsi + 0x50], xmm0
test cl, 1
je 0x140051483
movaps xmm1, xmm15
jmp 0x1400514c1
movss xmm0, dword [r15 + 0x3d3c]
mulss xmm0, dword [rsi + 0x2b0]
mov rax, qword [rsi + 0x390]
mulss xmm0, dword [rsi + 0x2b4]
test rax, rax
je 0x1400514b0
mulss xmm0, dword [rax + 0x2b0]
movss xmm1, dword [r15 + 0x3930]
addss xmm1, xmm1
addss xmm1, xmm0
bt ecx, 0xa
jae 0x140051514
movss xmm14, dword [r15 + 0x3d3c]
mulss xmm14, dword [rsi + 0x2b0]
mov rax, qword [rsi + 0x390]
mulss xmm14, dword [rsi + 0x2b4]
test rax, rax
je 0x1400514f7
mulss xmm14, dword [rax + 0x2b0]
movss xmm0, dword [r15 + 0x3930]
addss xmm14, dword [rsi + 0x184]
addss xmm0, xmm0
addss xmm14, xmm0
jmp 0x140051518
movaps xmm14, xmm15
movzx ebx, byte [rsp + 0x40]
addss xmm14, xmm1
movzx r12d, byte [rsp + 0x43]
test bl, bl
je 0x140051572
mov eax, r13d
mov dword [rsi + 0xec], 0xffffffff
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x140051572
test r12b, r12b
jne 0x140051572
movsxd rax, dword [r14 + 0x41c8]
imul rcx, rax, 0x38
mov rax, qword [r14 + 0x41d0]
movss xmm0, dword [rcx + rax - 0x14]
movss xmm1, dword [rcx + rax - 0x10]
movss dword [rsi + 0x48], xmm0
movss dword [rsi + 0x4c], xmm1
bt r13d, 0x18
jae 0x140051687
mov rdx, qword [rsp + 0x70]
movzx eax, word [rdx + 0x1b0]
mov word [rsi + 0xdc], ax
mov ecx, dword [rdx + 0x1b4]
mov ebx, dword [rdx + 0x1b0]
cmp ebx, ecx
jne 0x140051644
inc ebx
test ecx, ecx
je 0x1400515ba
mov eax, ecx
cdq
sub eax, edx
mov rdx, qword [rsp + 0x70]
sar eax, 1
add eax, ecx
jmp 0x1400515bf
mov eax, 8
cmp eax, ebx
cmovg ebx, eax
cmp ebx, ecx
jle 0x140051644
test r15, r15
je 0x1400515d4
inc dword [r15 + 0xfc]
movsxd rcx, ebx
shl rcx, 3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r15, qword [rsp + 0x70]
mov rdi, rax
mov rdx, qword [r15 + 0x1b8]
test rdx, rdx
je 0x14005162c
movsxd r8, dword [r15 + 0x1b0]
mov rcx, rax
shl r8, 3
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [r15 + 0x1b8]
test rcx, rcx
je 0x140051626
mov rax, qword [0x140161738]
test rax, rax
je 0x140051626
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, r15
mov qword [r15 + 0x1b8], rdi
mov dword [r15 + 0x1b4], ebx
mov r15, qword [0x140161738]
movsxd rcx, dword [rdx + 0x1b0]
mov rax, qword [rdx + 0x1b8]
movzx ebx, byte [rsp + 0x40]
mov qword [rax + rcx*8], rsi
inc dword [rdx + 0x1b0]
mov eax, dword [rsp + 0x60]
bt r13d, 0x1a
jb 0x14005168b
test r12b, r12b
jne 0x14005168b
cmp eax, 0x3000000
je 0x14005168b
movsd xmm0, qword [rdx + 0x118]
movsd qword [rsi + 0x48], xmm0
jmp 0x14005168b
mov eax, dword [rsp + 0x60]
movss xmm1, dword [rsi + 0xf8]
ucomiss xmm1, dword [0x14014b674]
jp 0x14005169e
je 0x1400516ef
cmp byte [rsi + 0xf1], 0
jne 0x1400516ef
movss xmm0, dword [rsi + 0x100]
lea rdx, [rsp + 0x58]
mulss xmm0, dword [rsi + 0x50]
xor r8d, r8d
mov rcx, rsi
subss xmm1, xmm0
movss xmm0, dword [rsi + 0xfc]
movss dword [rsp + 0x58], xmm1
movss xmm1, dword [rsi + 0x104]
mulss xmm1, dword [rsi + 0x54]
subss xmm0, xmm1
movss dword [rsp + 0x5c], xmm0
call fcn.140053e50
jmp 0x14005173c
bt r13d, 0x1c
jb 0x14005171c
bt r13d, 0x1a
jae 0x140051709
test r12b, r12b
jne 0x140051709
cmp byte [rsp + 0x4c], r12b
jg 0x14005171c
bt r13d, 0x19
jae 0x14005173c
test r12b, r12b
jne 0x14005173c
cmp eax, 0x3000000
je 0x14005173c
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.1400572a0
movss xmm1, dword [rax + 4]
movss xmm0, dword [rax]
movss dword [rsi + 0x48], xmm0
movss dword [rsi + 0x4c], xmm1
cmp dword [rsi + 0x44], 0
jl 0x1400518bc
cmp byte [rsi + 0xca], 0
jne 0x1400518bc
mov rax, qword [rsi + 0x30]
test dword [rax + 4], 0x400
jne 0x1400518bc
movss xmm0, dword [rsi + 0x48]
lea r8, [rsi + 0x48]
movss xmm1, dword [rax + 8]
movaps xmm3, xmm0
comiss xmm0, xmm1
movss xmm6, dword [rax + 0xc]
movaps xmm2, xmm1
movss xmm7, dword [rsi + 0x4c]
movaps xmm4, xmm6
addss xmm3, dword [rsi + 0x50]
addss xmm2, dword [rax + 0x10]
addss xmm4, dword [rax + 0x14]
movaps xmm5, xmm7
addss xmm5, dword [rsi + 0x54]
jb 0x1400517b4
comiss xmm7, xmm6
jb 0x1400517b4
comiss xmm2, xmm3
jb 0x1400517b4
comiss xmm4, xmm5
jae 0x1400518bc
mov edx, dword [rsi + 8]
lea r9, [rsi + 0x50]
mov rcx, rsi
mov dword [rsp + reloc.WLDAP32.dll_Ordinal_32], 0x20
call fcn.14005d4f0
mov r15, qword [0x140161738]
mov rcx, rax
mov qword [rsi + 0x30], rax
test rax, rax
je 0x1400517e8
mov eax, dword [r15 + 0x3f48]
mov dword [rcx + 0x64], eax
cmp qword [r15 + 0x41f8], rcx
je 0x140051830
test rcx, rcx
je 0x14005181e
mov eax, dword [rcx + 0x28]
mov dword [r15 + 0x41f0], eax
mov rax, qword [r15 + 0x3878]
mov qword [r15 + 0x41f8], rcx
test rax, rax
je 0x140051830
call rax
mov r15, qword [0x140161738]
jmp 0x140051830
mov dword [r15 + 0x41f0], 0x3f800000
mov qword [r15 + 0x41f8], rcx
test dword [r14 + 8], 0x8000
je 0x140051845
mov rax, qword [rsi + 0x30]
movss xmm0, dword [rax + 0x28]
jmp 0x140051849
movaps xmm0, xmm12
movss dword [rsi + 0x2b4], xmm0
mov qword [r15 + 0x3fc8], rsi
movsxd rax, dword [rsi + 0x1d0]
cmp eax, 0xffffffff
je 0x140051874
imul rcx, rax, 0x218
add rcx, qword [r15 + 0x44c8]
jmp 0x140051876
xor ecx, ecx
movss xmm0, dword [r15 + 0x3d3c]
mov qword [r15 + 0x44a0], rcx
mulss xmm0, dword [rsi + 0x2b0]
mov rax, qword [rsi + 0x390]
mulss xmm0, dword [rsi + 0x2b4]
test rax, rax
je 0x1400518aa
mulss xmm0, dword [rax + 0x2b0]
movss dword [r15 + 0x3d50], xmm0
movss dword [r15 + 0x3d38], xmm0
movzx ecx, byte [rsi + 0xca]
test cl, cl
je 0x1400518e2
mov rdx, qword [rsp + 0x68]
mov rcx, rsi
call fcn.14005de30
movzx ecx, byte [rsi + 0xca]
mov r15, qword [0x140161738]
mov rax, qword [rsi + 0x30]
movss xmm6, dword [r14 + 0x399c]
movss xmm7, dword [r14 + 0x3998]
maxss xmm6, dword [r14 + 0x39a4]
movss xmm0, dword [rax + 0x18]
movss xmm1, dword [rax + 0x1c]
movaps xmm11, xmm0
movss xmm9, dword [rax + 8]
movaps xmm8, xmm1
movss xmm10, dword [rax + 0xc]
movaps xmm5, xmm9
movss dword [rbp + 0x20], xmm9
movaps xmm4, xmm10
movss dword [rbp + 0x24], xmm10
movaps xmm3, xmm6
addss xmm3, xmm1
addss xmm11, dword [rax + 0x20]
addss xmm8, dword [rax + 0x24]
addss xmm5, dword [rax + 0x10]
addss xmm4, dword [rax + 0x14]
movss dword [rbp + 0x44], xmm3
maxss xmm7, dword [r14 + 0x39a0]
subss xmm8, xmm6
movss dword [rbp + 0x28], xmm5
movss dword [rbp + 0x2c], xmm4
subss xmm11, xmm7
movaps xmm2, xmm7
movss dword [rbp + 0x4c], xmm8
addss xmm2, xmm0
movss dword [rbp + 0x48], xmm11
movss dword [rbp + 0x40], xmm2
test r12b, r12b
jne 0x140051b33
bt r13d, 0x18
jb 0x140051b33
cmp byte [rsi + 0xe8], r12b
jg 0x140051b33
cmp byte [rsi + 0xe9], r12b
jg 0x140051b33
test cl, cl
jne 0x140051a4e
subss xmm5, xmm9
comiss xmm5, xmm15
jbe 0x140051b33
subss xmm4, xmm10
comiss xmm4, xmm15
jbe 0x140051b33
movss xmm0, dword [rsi + 0x54]
cmp byte [r15 + 0x87], cl
je 0x140051a12
test byte [rsi + 0xc], 1
je 0x1400519fc
cmp qword [rsi + 0x428], 0
je 0x140051a12
movss xmm0, dword [r15 + 0x3930]
addss xmm0, xmm0
addss xmm0, dword [r15 + 0x3d38]
subss xmm2, dword [rsi + 0x50]
subss xmm3, xmm0
movss xmm0, dword [rsi + 0x4c]
comiss xmm3, xmm0
ja 0x140051a2d
movaps xmm3, xmm8
minss xmm3, xmm0
movss xmm0, dword [rsi + 0x48]
comiss xmm2, xmm0
ja 0x140051a3f
movaps xmm2, xmm11
minss xmm2, xmm0
movss dword [rsi + 0x48], xmm2
movss dword [rsi + 0x4c], xmm3
jmp 0x140051b33
cmp dword [r14 + 0x38b0], 0
jle 0x140051b33
movsx rax, word [rax + 0x80]
test eax, eax
js 0x140051a82
cmp eax, dword [r15 + 0x38b0]
jge 0x140051a82
lea rcx, [rax + rax*8]
mov rax, qword [r15 + 0x38b8]
lea rdx, [rax + rcx*4]
jmp 0x140051a89
lea rdx, [r15 + 0x4214]
movss xmm2, dword [rsi + 0x54]
movaps xmm0, xmm7
addss xmm0, dword [rdx + 0x10]
movaps xmm1, xmm6
addss xmm1, dword [rdx + 0x14]
movss dword [rbp + 0x40], xmm0
movss dword [rbp + 0x44], 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 + 0x48], xmm4
movss dword [rbp + 0x4c], xmm3
cmp byte [r15 + 0x87], 0
je 0x140051afe
test byte [rsi + 0xc], 1
je 0x140051ae8
cmp qword [rsi + 0x428], 0
je 0x140051afe
movss xmm2, dword [r15 + 0x3930]
addss xmm2, xmm2
addss xmm2, dword [r15 + 0x3d38]
subss xmm0, dword [rsi + 0x50]
subss xmm1, xmm2
movss xmm2, dword [rsi + 0x4c]
comiss xmm1, xmm2
ja 0x140051b18
movaps xmm1, xmm3
minss xmm1, xmm2
movss xmm2, dword [rsi + 0x48]
comiss xmm0, xmm2
ja 0x140051b29
movaps xmm0, xmm4
minss xmm0, xmm2
movss dword [rsi + 0x48], xmm0
movss dword [rsi + 0x4c], xmm1
cmp byte [rsi + 0xca], 0
cvttss2si eax, dword [rsi + 0x48]
movd xmm1, eax
cvttss2si eax, dword [rsi + 0x4c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x48], xmm1
movss dword [rsi + 0x4c], xmm0
jne 0x140051b9e
test byte [rsi + 0x401], 1
jne 0x140051b9e
bt r13d, 0x18
jae 0x140051b79
movss xmm0, dword [r14 + 0x391c]
jmp 0x140051ba2
mov eax, r13d
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x140051b93
movss xmm0, dword [r14 + 0x3924]
jmp 0x140051ba2
movss xmm0, dword [r14 + 0x3900]
jmp 0x140051ba2
movaps xmm0, xmm15
xor r12b, r12b
mov rax, rsi
mov dword [rsp + 0x68], r12d
movss dword [rax + 0x80], xmm0
test bl, bl
je 0x140051dfd
bt r13d, 0xc
jb 0x140051dfd
bt r13d, 0x1a
jae 0x140051bd6
mov byte [rsp + 0x68], 1
jmp 0x140051bfd
test byte [rsi + 0x401], 1
jne 0x140051be6
bt r13d, 0x18
jb 0x140051bfd
bt r13d, 0x19
movzx r12d, r12b
mov eax, 1
cmovae r12d, eax
mov dword [rsp + 0x68], r12d
mov eax, dword [r15 + 0x41b8]
sub eax, 1
js 0x140051dfd
movsxd rdx, eax
imul r8, rdx, 0x38
add r8, 8
add r8, qword [r15 + 0x41c0]
nop
mov rcx, qword [r8]
test rcx, rcx
je 0x140051c31
test dword [rcx + 0xc], 0x8000000
jne 0x140051c40
sub r8, 0x38
sub rdx, 1
jns 0x140051c20
jmp 0x140051dfd
mov rax, rsi
cmp qword [rsi + 0x3a0], rcx
je 0x140051dfd
cmp rax, rcx
je 0x140051dfd
mov rax, qword [rax + 0x398]
test rax, rax
jne 0x140051c50
mov r8, qword [rsi + 0x3a0]
mov byte [rsp + 0x68], al
cmp rsi, r8
jne 0x140051dfd
movsxd r9, dword [r15 + 0x41b8]
dec r9
imul r10, r9, 0x38
add r10, 8
add r10, qword [r15 + 0x41c0]
mov rdx, qword [r10]
test rdx, rdx
je 0x140051d14
test dword [rdx + 0xc], 0x8000000
je 0x140051d14
cmp byte [rdx + 0xcb], 0
jne 0x140051cb9
cmp byte [rdx + 0xcc], 0
je 0x140051d14
mov rax, rsi
cmp r8, rdx
je 0x140051d22
cmp rax, rdx
je 0x140051d22
mov rax, qword [rax + 0x398]
test rax, rax
jne 0x140051cc1
mov rax, qword [rdx + 0x398]
mov rcx, qword [rax + 0x3a0]
test rcx, rcx
je 0x140051d14
mov rax, rsi
cmp r8, rcx
je 0x140051d26
nop dword [rax]
cmp rax, rcx
je 0x140051d26
mov rax, qword [rax + 0x398]
test rax, rax
jne 0x140051cf0
mov rax, qword [rcx + 0x398]
mov rcx, qword [rax + 0x3a0]
test rcx, rcx
jne 0x140051ce5
sub r10, 0x38
sub r9, 1
jns 0x140051c92
xor eax, eax
mov edx, eax
mov r9, qword [r15 + 0x3f70]
movsxd rax, dword [r15 + 0x3f68]
mov rbx, qword [rsi + 0x3a0]
mov r8, qword [rdx + 0x3a0]
lea rcx, [r9 + rax*8]
cmp r9, rcx
jae 0x140051d5e
nop dword [rax + rax]
cmp qword [r9], rbx
je 0x140051d5e
add r9, 8
cmp r9, rcx
jb 0x140051d50
mov rcx, qword [r15 + 0x3f70]
movsxd rax, dword [r15 + 0x3f68]
sub r9, rcx
sar r9, 3
lea rdx, [rcx + rax*8]
cmp rcx, rdx
jae 0x140051d8e
nop dword [rax]
cmp qword [rcx], r8
je 0x140051d8e
add rcx, 8
cmp rcx, rdx
jb 0x140051d80
mov r10, qword [r15 + 0x3f70]
sub rcx, r10
sar rcx, 3
movsxd rdi, ecx
cmp r9d, ecx
jge 0x140051dd5
sub ecx, r9d
lea eax, [r9 + 1]
dec ecx
movsxd r8, ecx
movsxd rcx, eax
movsxd rax, r9d
shl r8, 3
lea rdx, [r10 + rcx*8]
lea rcx, [r10 + rax*8]
call sub.VCRUNTIME140.dll_memmove
mov rax, qword [r15 + 0x3f70]
mov qword [rax + rdi*8 - 8], rbx
jmp 0x140051dfd
sub r9d, ecx
lea eax, [rcx + 1]
movsxd rcx, eax
lea rdx, [r10 + rdi*8]
movsxd r8, r9d
shl r8, 3
lea rcx, [r10 + rcx*8]
call sub.VCRUNTIME140.dll_memmove
mov rax, qword [r15 + 0x3f70]
mov qword [rax + rdi*8], rbx
cmp qword [rsi + 0x428], 0
jne 0x140051e15
test byte [rsi + 0x401], 1
je 0x140051e15
xor r12b, r12b
jmp 0x140051e18
mov r12b, 1
movss xmm1, dword [r14 + 0x3d38]
xorps xmm0, xmm0
xor eax, eax
mov dword [rbp + 0x38], 0xffffffff
cmp byte [r14 + 0x86], al
mov edi, eax
movups xmmword [rbp + 0x50], xmm0
setne dil
movss xmm0, dword [rsi + 0x80]
movaps xmm2, xmm1
mulss xmm1, dword [0x14014b4a4]
addss xmm0, xmm12
inc edi
mulss xmm2, dword [0x14014b51c]
addss xmm0, xmm1
maxss xmm2, xmm0
cvttss2si eax, xmm2
movd xmm13, eax
cvtdq2ps xmm13, xmm13
test r12b, r12b
je 0x140051eba
cmp byte [rsi + 0xce], 0
jne 0x140051eba
lea rax, [rbp + 0x40]
mov r9d, edi
mov qword [rsp + 0x28], rax
lea r8, [rbp + 0x38]
lea rax, [rbp + 0x50]
mov rcx, rsi
lea rdx, [rbp + 0x30]
mov qword [rsp + 0x20], rax
call fcn.14004e4f0
mov r15, qword [0x140161738]
test al, al
je 0x140051eba
mov cl, 1
movzx edx, cl
jmp 0x140051ec4
movzx ecx, byte [rsp + 0x42]
movzx edx, byte [rsp + 0x41]
cmp byte [rsi + 0xca], 0
movzx eax, byte [rbp + 0x38]
mov byte [rsi + 0xd6], al
je 0x140051fa0
mov rax, qword [rsi + 0x30]
cmp byte [rax + 0x58], 0
jne 0x140051eef
movsd xmm0, qword [rsi + 0x48]
movsd qword [rax + 8], xmm0
mov rax, qword [rsi + 0x30]
cmp byte [rax + 0x59], 0
jne 0x140051f03
movsd xmm0, qword [rsi + 0x50]
movsd qword [rax + 0x10], xmm0
mov rax, qword [rsi + 0x30]
movss xmm2, dword [rax + 0x118]
movss xmm0, dword [rax + 0x11c]
movaps xmm1, xmm2
addss xmm1, dword [rax + 8]
addss xmm0, dword [rax + 0xc]
movss dword [rax + 0x18], xmm1
movss xmm1, dword [rax + 0x10]
movss dword [rax + 0x1c], xmm0
subss xmm1, xmm2
movss xmm0, dword [rax + 0x14]
movaps xmm2, xmm15
subss xmm0, dword [rax + 0x11c]
addss xmm1, dword [rax + 0x120]
addss xmm0, dword [rax + 0x124]
maxss xmm2, xmm1
movaps xmm1, xmm15
maxss xmm1, xmm0
movss dword [rax + 0x20], xmm2
movss dword [rax + 0x24], xmm1
mov rax, qword [rsi + 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 + 0x20], xmm3
addss xmm0, dword [rax + 0x14]
movss dword [rbp + 0x24], xmm2
movss dword [rbp + 0x28], xmm1
movss dword [rbp + 0x2c], xmm0
cmp byte [rsi + 0xce], 0
mov rax, qword [rsi + 0x30]
movsd xmm0, qword [rax + 8]
movsd qword [rsi + 0x3c], xmm0
jne 0x1400520fb
cmp qword [rbp - 0x80], 0
movss xmm2, dword [rsi + 0x220]
movss xmm3, dword [rsi + 0x224]
subss xmm2, dword [rsi + 0x218]
subss xmm3, dword [rsi + 0x21c]
movss xmm4, dword [rsi + 0x5c]
movss xmm5, dword [rsi + 0x58]
subss xmm4, xmm14
addss xmm2, dword [rsi + 0xc0]
addss xmm3, dword [rsi + 0xc4]
jne 0x14005200f
mov qword [rbp - 0x70], 0
lea rax, [rbp - 0x70]
jmp 0x140052039
movss xmm0, dword [rsi + 0x78]
lea rax, [rbp - 0x68]
movss xmm1, dword [rsi + 0x7c]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [rsi + 0x60]
addss xmm1, dword [rsi + 0x64]
movss dword [rbp - 0x68], xmm0
movss dword [rbp - 0x64], xmm1
movss xmm6, dword [rax]
movss xmm1, dword [rax + 4]
test dl, dl
jne 0x140052049
movaps xmm5, xmm2
test cl, cl
jne 0x140052050
movaps xmm4, xmm3
bt r13d, 0xe
jb 0x140052066
comiss xmm1, xmm4
jbe 0x140052062
test r13b, 8
je 0x140052066
xor cl, cl
jmp 0x140052068
mov cl, 1
mov byte [rsi + 0xc9], cl
bt r13d, 0xf
jb 0x1400520ad
test cl, cl
je 0x140052084
movss xmm0, dword [r14 + 0x3964]
jmp 0x140052088
movaps xmm0, xmm15
subss xmm5, xmm0
comiss xmm6, xmm5
jbe 0x1400520a0
mov eax, r13d
and eax, 0x808
cmp eax, 0x800
je 0x1400520ad
mov byte [rsi + 0xc8], 0
movaps xmm1, xmm15
jmp 0x1400520d8
mov byte [rsi + 0xc8], 1
test cl, cl
jne 0x1400520cf
comiss xmm1, xmm4
jbe 0x1400520c7
test r13b, 8
jne 0x1400520c7
mov cl, 1
jmp 0x1400520c9
xor cl, cl
mov byte [rsi + 0xc9], cl
movss xmm1, dword [r14 + 0x3964]
test cl, cl
je 0x1400520e7
movss xmm0, dword [r14 + 0x3964]
jmp 0x1400520eb
movaps xmm0, xmm15
movss dword [rsi + 0xc0], xmm0
movss dword [rsi + 0xc4], xmm1
mov eax, r13d
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x140052121
cmp dword [rsp + 0x60], 0x3000000
je 0x140052121
mov rax, qword [rsp + 0x70]
add rax, 0x258
jmp 0x140052125
lea rax, [rbp + 0x20]
movups xmm4, xmmword [rax]
mov eax, dword [rsi + 0xc]
movss xmm5, dword [rsi + 0x48]
movss xmm8, dword [rsi + 0x4c]
movaps xmm6, xmm5
movaps xmm7, xmm8
addss xmm6, dword [rsi + 0x50]
addss xmm7, dword [rsi + 0x54]
movups xmmword [rbp + 0x20], xmm4
and eax, 1
je 0x140052156
movaps xmm3, xmm15
jmp 0x140052194
movss xmm0, dword [r15 + 0x3d3c]
mulss xmm0, dword [rsi + 0x2b0]
mov rcx, qword [rsi + 0x390]
mulss xmm0, dword [rsi + 0x2b4]
test rcx, rcx
je 0x140052183
mulss xmm0, dword [rcx + 0x2b0]
movss xmm3, dword [r15 + 0x3930]
addss xmm3, xmm3
addss xmm3, xmm0
movss xmm0, dword [rsi + 0x4c]
movaps xmm2, xmm5
addss xmm2, dword [rsi + 0x58]
movss dword [rbp - 0x50], xmm5
movaps xmm1, xmm8
movss dword [rbp - 0x4c], xmm0
addss xmm1, xmm3
movss dword [rbp - 0x48], xmm2
movss dword [rbp - 0x44], xmm1
movss dword [rsi + 0x208], xmm5
movss dword [rsi + 0x20c], xmm8
movss dword [rsi + 0x210], xmm6
movss dword [rsi + 0x214], xmm7
test byte [rsi + 0x401], 1
je 0x14005223f
test eax, eax
je 0x1400521f1
movaps xmm0, xmm15
jmp 0x14005222f
movss xmm1, dword [r15 + 0x3d3c]
mulss xmm1, dword [rsi + 0x2b0]
mov rax, qword [rsi + 0x390]
mulss xmm1, dword [rsi + 0x2b4]
test rax, rax
je 0x14005221e
mulss xmm1, dword [rax + 0x2b0]
movss xmm0, dword [r15 + 0x3930]
addss xmm0, xmm0
addss xmm0, xmm1
addss xmm0, dword [rsi + 0x20c]
movss dword [rsi + 0x20c], xmm0
movss xmm1, dword [rsi + 0x208]
movaps xmm5, xmm4
movss xmm0, dword [rsi + 0x20c]
maxss xmm1, xmm4
shufps xmm5, xmm4, 0x55
movaps xmm8, xmm4
maxss xmm0, xmm5
shufps xmm8, xmm4, 0xaa
movaps xmm7, xmm4
mov eax, r13d
shufps xmm7, xmm4, 0xff
and eax, 0x401
movss dword [rsi + 0x208], xmm1
movss dword [rsi + 0x20c], xmm0
movss xmm1, dword [rsi + 0x210]
movss xmm0, dword [rsi + 0x214]
minss xmm1, xmm8
minss xmm0, xmm7
movss dword [rsi + 0x210], xmm1
movss dword [rsi + 0x214], xmm0
movss xmm11, dword [rsi + 0x48]
movss xmm6, dword [rsi + 0x4c]
movaps xmm9, xmm11
movss dword [rsi + 0x218], xmm11
movaps xmm10, xmm6
addss xmm10, xmm14
addss xmm9, dword [rsi + 0x50]
addss xmm6, dword [rsi + 0x54]
movss dword [rsi + 0x21c], xmm10
subss xmm9, dword [rsi + 0xc0]
subss xmm6, dword [rsi + 0xc4]
movss dword [rsi + 0x220], xmm9
movss dword [rsi + 0x224], xmm6
cmp eax, 1
jne 0x140052316
movss xmm12, dword [rsi + 0x84]
jmp 0x14005231f
movss xmm12, dword [r14 + 0x3938]
movss xmm2, dword [0x14014b4c0]
xorps xmm1, xmm1
movss xmm0, dword [rsi + 0x78]
addss xmm11, xmm2
movss xmm3, dword [rsi + 0x84]
addss xmm10, xmm2
mulss xmm0, xmm2
addss xmm9, xmm2
addss xmm6, xmm2
cvttss2si eax, xmm0
xorps xmm0, xmm0
addss xmm10, xmm12
movaps xmm12, xmmword [rsp + 0x1a0]
subss xmm6, xmm3
cvtsi2ss xmm1, eax
maxss xmm1, xmm3
addss xmm11, xmm1
subss xmm9, xmm1
cvttss2si eax, xmm11
xorps xmm11, xmm11
cvtsi2ss xmm11, eax
cvttss2si eax, xmm10
movss dword [rsi + 0x228], xmm11
cvtsi2ss xmm0, eax
cvttss2si eax, xmm9
movss dword [rsi + 0x22c], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
cvttss2si eax, xmm6
movss dword [rsi + 0x230], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
movss dword [rsi + 0x234], xmm0
movss xmm0, dword [rsi + 0x22c]
comiss xmm5, xmm0
jbe 0x1400523da
movaps xmm1, xmm5
jmp 0x1400523e1
movaps xmm1, xmm7
minss xmm1, xmm0
comiss xmm4, xmm11
jbe 0x1400523ec
movaps xmm0, xmm4
jmp 0x1400523f5
movaps xmm0, xmm8
minss xmm0, xmm11
movss dword [rsi + 0x228], xmm0
movss dword [rsi + 0x22c], xmm1
movss xmm0, dword [rsi + 0x234]
comiss xmm5, xmm0
ja 0x140052419
minss xmm7, xmm0
movaps xmm5, xmm7
movss xmm0, dword [rsi + 0x230]
comiss xmm4, xmm0
ja 0x14005242f
minss xmm8, xmm0
movaps xmm4, xmm8
movss dword [rsi + 0x230], xmm4
movss dword [rsi + 0x234], xmm5
movss xmm0, dword [rsi + 0x50]
comiss xmm0, xmm15
jbe 0x14005245d
test r13d, 0x2000040
jne 0x14005245d
mulss xmm0, dword [0x14014b4cc]
jmp 0x14005246e
movss xmm0, dword [r14 + 0x3d38]
mulss xmm0, dword [0x14014b5cc]
cvttss2si eax, xmm0
mov rcx, rsi
mov rdx, rsi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rcx + 0x28c], xmm0
lea rcx, [rsp + 0x58]
movss xmm0, dword [rsi + 0x220]
subss xmm0, dword [rsi + 0x218]
movss xmm1, dword [rsi + 0x78]
movss xmm2, dword [rsi + 0x7c]
addss xmm1, xmm1
addss xmm2, xmm2
addss xmm1, dword [rsi + 0x60]
addss xmm2, dword [rsi + 0x64]
subss xmm1, xmm0
movaps xmm0, xmm15
maxss xmm0, xmm1
movss dword [rsi + 0xa0], xmm0
movss xmm0, dword [rsi + 0x224]
subss xmm0, dword [rsi + 0x21c]
subss xmm2, xmm0
movaps xmm0, xmm15
maxss xmm0, xmm2
movss dword [rsi + 0xa4], xmm0
call fcn.140055c00
movss xmm0, dword [rsi + 0x98]
movss xmm2, dword [rsi + 0x9c]
movss xmm5, dword [rsp + 0x58]
movss xmm3, dword [rsp + 0x5c]
movaps xmm4, xmm5
movss xmm1, dword [0x14014b5bc]
subss xmm4, xmm0
mulss xmm4, dword [0x14014b490]
addss xmm4, xmm0
movaps xmm0, xmm3
subss xmm0, xmm2
movss dword [rsi + 0x98], xmm4
mulss xmm0, dword [0x14014b490]
addss xmm0, xmm2
movss dword [rsi + 0x9c], xmm0
movaps xmm0, xmm5
addss xmm0, xmm1
comiss xmm0, xmm4
jbe 0x140052595
subss xmm5, xmm1
comiss xmm4, xmm5
jbe 0x140052595
movss xmm2, dword [rsi + 0x9c]
movaps xmm0, xmm3
addss xmm0, xmm1
comiss xmm0, xmm2
jbe 0x140052595
subss xmm3, xmm1
comiss xmm2, xmm3
jbe 0x140052595
mov dword [rsi + 0xa8], 0x7f7fffff
mov dword [rsi + 0xac], 0x7f7fffff
mov rax, qword [r14 + 0x3d30]
mov rcx, qword [rsi + 0x2c0]
mov rdx, qword [rax + 0x40]
mov rdx, qword [rdx + 8]
call fcn.140071080
mov rcx, qword [0x140161738]
lea r8, [rbp + 0x28]
xor r9d, r9d
lea rdx, [rbp + 0x20]
mov rax, qword [rcx + 0x3fc8]
mov byte [rax + 0xcd], 1
mov rbx, qword [rcx + 0x3fc8]
mov rcx, qword [rbx + 0x2c0]
call fcn.140070f70
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 [rsi + 0x401]
and al, 5
cmp al, 1
je 0x14005278d
mov eax, r13d
xor bl, bl
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x140052706
cmp dword [rsp + 0x60], 0x3000000
je 0x140052706
mov r9, qword [rsp + 0x70]
movsxd rax, dword [r9 + 0x1b0]
cmp eax, 2
jl 0x1400526cf
mov rcx, rax
mov rax, qword [r9 + 0x1b8]
mov rdx, qword [rax + rcx*8 - 0x10]
test rdx, rdx
je 0x1400526cf
movss xmm1, dword [rsi + 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 [rsi + 0x48]
movaps xmm3, xmm7
addss xmm3, dword [rdx + 0x50]
addss xmm2, dword [rsi + 0x54]
movaps xmm4, xmm6
comiss xmm0, xmm1
addss xmm4, dword [rsi + 0x50]
jbe 0x1400526cf
comiss xmm2, xmm5
jbe 0x1400526cf
comiss xmm3, xmm6
jbe 0x1400526cf
comiss xmm4, xmm7
jbe 0x1400526cf
mov r8b, 1
jmp 0x1400526d2
xor r8b, r8b
mov rdx, qword [rsi + 0x2c0]
movsxd rax, dword [rdx]
imul rcx, rax, 0x38
mov rax, qword [rdx + 8]
cmp dword [rcx + rax - 0x18], 0
jne 0x140052706
mov rax, qword [r9 + 0x2c0]
cmp dword [rax + 0x20], 0
jle 0x140052706
test r8b, r8b
jne 0x140052706
mov bl, 1
mov qword [rsi + 0x2c0], rax
mov rcx, qword [r14 + 0x43a8]
test rcx, rcx
jne 0x140052719
mov rcx, qword [r14 + 0x4240]
mov r15d, dword [rsp + 0x68]
test r15b, r15b
jne 0x140052752
test rcx, rcx
je 0x14005274d
mov rax, qword [rcx + 0x3b8]
cmp qword [rsi + 0x3b8], rax
je 0x140052752
mov rax, qword [rsi + 0x420]
test rax, rax
je 0x14005274d
cmp rax, qword [rcx + 0x420]
je 0x140052752
xor r8b, r8b
jmp 0x140052755
mov r8b, 1
movss dword [rsp + 0x30], xmm13
lea rax, [rbp + 0x50]
mov qword [rsp + 0x28], rax
lea rdx, [rbp - 0x50]
movzx r9d, r12b
mov dword [rsp + 0x20], edi
mov rcx, rsi
call fcn.14004f4c0
test bl, bl
je 0x140052792
lea rax, [rsi + 0x2c8]
mov qword [rsi + 0x2c0], rax
jmp 0x140052792
mov r15d, dword [rsp + 0x68]
movss xmm5, dword [rsi + 0x70]
mov ecx, r13d
movaps xmm13, xmmword [rsp + 0x190]
shr ecx, 3
not cl
and cl, 1
ucomiss xmm5, xmm15
jp 0x1400527f1
jne 0x1400527f1
movss xmm0, dword [rsi + 0x78]
mov eax, r13d
movss xmm1, dword [rsi + 0x50]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
subss xmm1, dword [rsi + 0xc0]
cmp eax, 0x800
jne 0x1400527e7
movss xmm7, dword [rsi + 0x60]
maxss xmm7, xmm1
jmp 0x1400527f4
movaps xmm7, xmm15
maxss xmm7, xmm1
jmp 0x1400527f4
movaps xmm7, xmm5
movss xmm4, dword [rsi + 0x74]
ucomiss xmm4, xmm15
jp 0x140052839
jne 0x140052839
movss xmm0, dword [rsi + 0x7c]
movss xmm1, dword [rsi + 0x54]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, xmm14
subss xmm1, dword [rsi + 0xc4]
test cl, cl
je 0x14005282f
movss xmm6, dword [rsi + 0x64]
maxss xmm6, xmm1
jmp 0x14005283c
movaps xmm6, xmm15
maxss xmm6, xmm1
jmp 0x14005283c
movaps xmm6, xmm4
ucomiss xmm5, xmm15
movss xmm2, dword [rsi + 0x84]
movss xmm8, dword [rsi + 0x78]
movss xmm10, dword [rsi + 0x98]
movaps xmm0, xmm8
movss xmm1, dword [rsi + 0x218]
maxss xmm0, xmm2
subss xmm1, xmm10
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm3, eax
cvtdq2ps xmm3, xmm3
movss dword [rsi + 0x238], xmm3
addss xmm7, xmm3
movss xmm9, dword [rsi + 0x7c]
movss xmm11, dword [rsi + 0x9c]
movaps xmm1, xmm9
movss xmm0, dword [rsi + 0x21c]
maxss xmm1, xmm2
subss xmm0, xmm11
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss dword [rsi + 0x23c], xmm2
addss xmm6, xmm2
movss dword [rsi + 0x240], xmm7
movss dword [rsi + 0x244], xmm6
movups xmm0, xmmword [rsi + 0x238]
movups xmmword [rsi + 0x248], xmm0
movss xmm3, dword [rsi + 0x48]
movaps xmm1, xmm3
subss xmm1, xmm10
addss xmm1, xmm8
movss dword [rsi + 0x268], xmm1
movss xmm6, dword [rsi + 0x4c]
movaps xmm2, xmm6
subss xmm2, xmm11
addss xmm2, xmm9
addss xmm2, xmm14
movss dword [rsi + 0x26c], xmm2
jp 0x14005293b
jne 0x14005293b
movss xmm5, dword [rsi + 0x50]
movaps xmm0, xmm8
addss xmm0, xmm8
subss xmm5, xmm0
subss xmm5, dword [rsi + 0xc0]
ucomiss xmm4, xmm15
addss xmm5, xmm1
movss dword [rsi + 0x270], xmm5
jp 0x14005296e
jne 0x14005296e
movss xmm4, dword [rsi + 0x54]
movaps xmm0, xmm9
addss xmm0, xmm9
subss xmm4, xmm0
subss xmm4, xmm14
subss xmm4, dword [rsi + 0xc4]
movzx r8d, byte [rsp + 0x40]
addss xmm4, xmm2
xor edi, edi
lea rcx, [rsi + 0x188]
cvtps2pd xmm2, xmm8
movss dword [rsi + 0x274], xmm4
movaps xmm0, xmm8
addss xmm0, xmm15
cvtps2pd xmm1, xmm10
subss xmm0, xmm10
movss dword [rsi + 0x15c], xmm0
mov qword [rsi + 0x160], rdi
cvtps2pd xmm0, xmm3
cvtps2pd xmm3, xmm9
addsd xmm2, xmm0
xorps xmm0, xmm0
subsd xmm2, xmm1
cvtps2pd xmm1, xmm11
addsd xmm2, xmm0
cvtps2pd xmm0, xmm6
addsd xmm3, xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm14
subsd xmm3, xmm1
cvtpd2ps xmm1, xmm2
addsd xmm3, xmm0
movss dword [rsi + 0x128], xmm1
cvtpd2ps xmm0, xmm3
movss dword [rsi + 0x12c], xmm0
movss xmm0, dword [rsi + 0x128]
movss xmm1, dword [rsi + 0x12c]
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
subsd xmm2, xmm0
subsd xmm3, xmm1
cvtpd2ps xmm2, xmm2
cvtpd2ps xmm0, xmm3
movss dword [rsi + 0x168], xmm2
movss dword [rsi + 0x16c], xmm0
movss xmm1, dword [rsi + 0x128]
movss xmm0, dword [rsi + 0x12c]
movss dword [rsi + 0x118], xmm1
movss dword [rsi + 0x11c], xmm0
movss dword [rsi + 0x120], xmm1
movss dword [rsi + 0x124], xmm0
movss dword [rsi + 0x130], xmm1
movss dword [rsi + 0x134], xmm0
movss dword [rsi + 0x138], xmm1
movss dword [rsi + 0x13c], xmm0
mov qword [rsi + 0x148], rdi
mov qword [rsi + 0x140], rdi
mov qword [rsi + 0x150], rdi
mov word [rsi + 0x158], di
mov dword [rsi + 0x170], edi
movzx eax, word [rsi + 0x176]
mov word [rsi + 0x174], ax
mov word [rsi + 0x176], di
mov byte [rsi + 0x17c], dil
movss xmm0, dword [rsi + 0xa4]
comiss xmm0, xmm15
seta al
mov byte [rsi + 0x17d], al
mov byte [rsi + 0x17e], dil
movss xmm1, dword [r14 + 0x393c]
call fcn.140093460
movaps xmm14, xmmword [rsp + 0x180]
movaps xmm11, xmmword [rsp + 0x1b0]
movaps xmm10, xmmword [rsp + 0x1c0]
movaps xmm9, xmmword [rsp + 0x1d0]
mov qword [rsi + 0x1a4], rdi
mov ecx, dword [rsi + 0x1b4]
test ecx, ecx
jns 0x140052b36
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rsi + 0x1b0]
test eax, eax
cmovg edx, eax
call fcn.1400682a0
mov r12, qword [rsp + 0x70]
lea rax, [rsi + 0x290]
mov dword [rsi + 0x1b0], edi
mov qword [rsi + 0x1c0], rax
mov eax, 1
mov qword [rsi + 0x1c8], rdi
mov dword [rsi + 0x1d4], eax
test r12, r12
je 0x140052b6e
mov eax, dword [r12 + 0x1d4]
mov dword [rsi + 0x1d8], eax
mov eax, dword [rsi + 0x28c]
mov dword [rsi + 0x1dc], eax
mov dword [rsi + 0x1e0], 0xbf800000
mov ecx, dword [rsi + 0x1ec]
test ecx, ecx
jns 0x140052c20
mov eax, ecx
mov ebx, edi
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
cmovg ebx, eax
cmp ebx, ecx
jle 0x140052c20
mov rax, qword [0x140161738]
test rax, rax
je 0x140052bbe
inc dword [rax + 0xfc]
movsxd rcx, ebx
shl rcx, 2
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdx, qword [rsi + 0x1f0]
mov rdi, rax
test rdx, rdx
je 0x140052c11
movsxd r8, dword [rsi + 0x1e8]
mov rcx, rax
shl r8, 2
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rsi + 0x1f0]
test rcx, rcx
je 0x140052c0b
mov rax, qword [0x140161738]
test rax, rax
je 0x140052c0b
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1f0], rdi
xor edi, edi
mov dword [rsi + 0x1ec], ebx
mov dword [rsi + 0x1e8], edi
mov ecx, dword [rsi + 0x1fc]
test ecx, ecx
jns 0x140052cbc
mov eax, ecx
mov ebx, edi
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
cmovg ebx, eax
cmp ebx, ecx
jle 0x140052cbc
mov rax, qword [0x140161738]
test rax, rax
je 0x140052c5a
inc dword [rax + 0xfc]
movsxd rcx, ebx
shl rcx, 2
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdx, qword [rsi + 0x200]
mov rdi, rax
test rdx, rdx
je 0x140052cad
movsxd r8, dword [rsi + 0x1f8]
mov rcx, rax
shl r8, 2
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rsi + 0x200]
test rcx, rcx
je 0x140052ca7
mov rax, qword [0x140161738]
test rax, rax
je 0x140052ca7
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x200], rdi
xor edi, edi
mov dword [rsi + 0x1fc], ebx
mov dword [rsi + 0x1f8], edi
movzx eax, byte [rsi + 0xe8]
test al, al
jle 0x140052cd5
dec al
mov byte [rsi + 0xe8], al
movzx eax, byte [rsi + 0xe9]
test al, al
jle 0x140052ce8
dec al
mov byte [rsi + 0xe9], al
test r15b, r15b
je 0x140052cff
mov rcx, rsi
call fcn.1400538a0
xor edx, edx
mov rcx, rsi
call fcn.140058460
mov rbx, qword [rbp - 0x78]
test rbx, rbx
je 0x140052d5a
mov rdx, qword [rsi + 0x30]
cmp byte [rdx + 0x5a], 0
je 0x140052d5a
mov rax, qword [0x140161738]
mov rcx, qword [rax + 0x41e8]
cmp rdx, qword [rcx]
je 0x140052d5a
movzx eax, byte [rsi + 0x401]
and al, 5
cmp al, 1
je 0x140052d5a
mov byte [rdx + 0x5a], 0
test byte [r14 + 0x5604], 0x80
mov byte [r14 + 0x43c8], 0
je 0x140052d57
mov rdx, qword [rsi]
lea rcx, str._viewport__Window__s_PlatformRequestClose_n
call fcn.1400672b0
mov byte [rbx], 0
test r13b, 1
jne 0x140052db3
test byte [rsi + 0x401], 1
jne 0x140052db3
movss xmm2, dword [rsi + 0x84]
lea rdx, [rbp + 0x20]
movss xmm1, dword [rbp - 0x48]
movaps xmm0, xmm2
addss xmm0, dword [rbp - 0x50]
mov r8, qword [rbp - 0x60]
subss xmm1, xmm2
mov r9, rbx
mov rcx, rsi
movss dword [rbp + 0x20], xmm0
movss xmm0, dword [rbp - 0x4c]
movss dword [rbp + 0x24], xmm0
movss xmm0, dword [rbp - 0x44]
movss dword [rbp + 0x2c], xmm0
movss dword [rbp + 0x28], xmm1
call fcn.14004ff30
mov dword [rsi + 0x278], 0
test byte [r14 + 8], 0x40
je 0x140052fcc
cmp qword [r14 + 0x3fe0], rsi
jne 0x140052f8c
movzx eax, byte [r14 + 0xe21]
cmp byte [r14 + 0x79], al
jne 0x140052f8c
mov rax, qword [rsi + 0x3b0]
test dword [rax + 0xc], 0x200000
jne 0x140052f8c
mov r15, qword [0x140161738]
mov eax, dword [rsi + 0x8c]
cmp byte [r15 + 0x79], 0
mov dword [r15 + 0x408c], eax
mov r13, qword [rsi + 0x3b0]
jne 0x140052e71
movss xmm0, dword [r15 + 0x3930]
movss xmm2, dword [r15 + 0x4028]
addss xmm0, xmm0
comiss xmm2, xmm15
addss xmm0, dword [r15 + 0x3d38]
movss xmm3, dword [r13 + 0x58]
jb 0x140052f87
movss xmm1, dword [r15 + 0x402c]
comiss xmm1, xmm15
jb 0x140052f87
comiss xmm3, xmm2
jbe 0x140052f87
comiss xmm0, xmm1
jbe 0x140052f87
mov ecx, Ordinal_41
call fcn.14005b220
test al, al
je 0x140052f87
mov rdi, qword [0x140161738]
lea rdx, str._IMWINDOW
mov r8d, reloc.WLDAP32.dll_Ordinal_32
lea rcx, [rdi + 0x4410]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
lea rcx, [rdi + 0x4468]
mov byte [rdi + 0x4430], 0
xor edx, edx
call fcn.140067c40
lea rax, [rdi + 0x4478]
xor ecx, ecx
mov qword [rdi + 0x4480], rcx
mov rbx, qword [0x140161738]
mov qword [rdi + 0x43f8], rax
mov qword [rax], r13
mov dword [rdi + 0x4400], 8
mov eax, dword [rdi + 0x3f48]
mov dword [rdi + 0x440c], eax
test byte [rbx + 0x43e8], 1
jne 0x140052efe
call fcn.140053460
cmp dword [rbx + 0x440c], 0xffffffff
jne 0x140052f0c
call fcn.14005b160
lea rcx, [r15 + 0x39b8]
mov byte [rbx + 0x43e5], 0
call fcn.1400439f0
lea rcx, [r15 + 0x3bc8]
mov dword [r13 + 0x404], eax
call fcn.1400439f0
lea rcx, [r15 + 0x3bd8]
mov dword [r13 + 0x408], eax
call fcn.1400439f0
lea rcx, [r15 + 0x3be8]
mov dword [r13 + 0x40c], eax
call fcn.1400439f0
lea rcx, [r15 + 0x3bf8]
mov dword [r13 + 0x410], eax
call fcn.1400439f0
lea rcx, [r15 + 0x3c08]
mov dword [r13 + 0x414], eax
call fcn.1400439f0
mov dword [r13 + 0x418], eax
xor edi, edi
mov r13d, dword [rsp + 0x44]
cmp byte [r14 + 0x43e4], 0
je 0x140052fcc
bt r13d, 0x15
jb 0x140052fcc
mov rax, qword [r14 + 0x3fe0]
test rax, rax
je 0x140052fb2
cmp qword [rax + 0x3b0], rsi
je 0x140052fcc
cmp rsi, qword [rsi + 0x3b0]
jne 0x140052fcc
test dword [rsi + 0xc], 0x20000000
jne 0x140052fcc
mov rcx, rsi
call fcn.140066010
test byte [rsi + 0x401], 1
je 0x140053018
mov r8, qword [0x140161738]
mov edx, dword [rsi + 0x434]
mov ecx, dword [r14 + 0x4074]
mov eax, dword [rsi + 0x8c]
mov dword [r8 + 0x408c], eax
mov dword [r8 + 0x4090], ecx
mov dword [r8 + 0x4094], edx
movups xmm0, xmmword [rsi + 0x438]
movups xmmword [r8 + 0x4098], xmm0
jmp 0x1400531c6
mov rax, qword [0x140161738]
movss xmm7, dword [rbp - 0x48]
movss xmm6, dword [rbp - 0x50]
movaps xmm3, xmm7
movss xmm5, dword [rbp - 0x44]
movaps xmm0, xmm6
movss xmm2, dword [rax + 0x3954]
movaps xmm4, xmm5
movss xmm1, dword [rax + 0x3958]
subss xmm0, xmm2
movss xmm8, dword [rbp - 0x4c]
addss xmm3, xmm2
movaps xmm2, xmm8
addss xmm4, xmm1
subss xmm2, xmm1
movss xmm1, dword [rax + 0xe04]
comiss xmm1, xmm0
jb 0x1400530bb
movss xmm0, dword [rax + 0xe08]
comiss xmm0, xmm2
jb 0x1400530bb
comiss xmm3, xmm1
jbe 0x1400530bb
comiss xmm4, xmm0
jbe 0x1400530bb
mov rax, qword [rax + 0x4200]
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, xmm8
jbe 0x1400530bb
comiss xmm5, xmm2
jbe 0x1400530bb
comiss xmm1, xmm6
jbe 0x1400530bb
comiss xmm7, xmm3
ja 0x1400530bf
mov dword [rsp + 0x78], edi
mov eax, dword [rsi + 0x8c]
mov rdx, qword [0x140161738]
mov ecx, dword [r14 + 0x4074]
mov dword [rdx + 0x408c], eax
mov eax, dword [rsp + 0x78]
mov dword [rdx + 0x4094], eax
mov dword [rdx + 0x4090], ecx
movups xmm0, xmmword [rbp - 0x50]
movups xmmword [rdx + 0x4098], xmm0
jmp 0x1400531c6
mov rcx, qword [rsi + 0x30]
mov rdx, qword [0x140161738]
test rcx, rcx
je 0x140053112
mov eax, dword [rdx + 0x3f48]
mov dword [rcx + 0x64], eax
cmp qword [rdx + 0x41f8], rcx
je 0x140053151
test rcx, rcx
je 0x140053140
mov eax, dword [rcx + 0x28]
mov dword [rdx + 0x41f0], eax
mov rax, qword [rdx + 0x3878]
mov qword [rdx + 0x41f8], rcx
test rax, rax
je 0x140053151
call rax
jmp 0x140053151
mov dword [rdx + 0x41f0], 0x3f800000
mov qword [rdx + 0x41f8], rcx
mov rcx, qword [0x140161738]
mov qword [rcx + 0x3fc8], rsi
movsxd rax, dword [rsi + 0x1d0]
cmp eax, 0xffffffff
je 0x14005317b
imul rdx, rax, 0x218
add rdx, qword [rcx + 0x44c8]
jmp 0x14005317e
mov rdx, rbx
movss xmm0, dword [rcx + 0x3d3c]
mov qword [rcx + 0x44a0], rdx
mulss xmm0, dword [rsi + 0x2b0]
mov rax, qword [rsi + 0x390]
mulss xmm0, dword [rsi + 0x2b4]
test rax, rax
je 0x1400531b1
mulss xmm0, dword [rax + 0x2b0]
mov r12, qword [rsp + 0x70]
movss dword [rcx + 0x3d50], xmm0
movss dword [rcx + 0x3d38], xmm0
mov edi, dword [rsp + 0x44]
movaps xmm8, xmmword [rsp + 0x1e0]
movaps xmm7, xmmword [rsp + 0x1f0]
movaps xmm6, xmmword [rsp + 0x200]
mov r15, qword [rsp + 0x218]
mov r13, qword [rsp + 0x220]
bt edi, 0x18
jae 0x140053203
mov ebx, dword [r12 + 0x178]
jmp 0x140053248
movsxd rax, dword [rsi + 0x108]
lea rcx, str.FOCUSSCOPE
mov r8, qword [rsi + 0x110]
xor edx, edx
mov r8d, dword [r8 + rax*4 - 4]
call fcn.140043460
mov rcx, qword [0x140161738]
mov ebx, eax
cmp dword [rcx + 0x3ffc], eax
jne 0x140053248
lea r8, str.FOCUSSCOPE
mov edx, listen
mov ecx, eax
call fcn.140067360
mov dword [rsi + 0x178], ebx
mov rbx, qword [rsp + 0x228]
bt edi, 0x1d
jb 0x140053272
lea rdx, [rsi + 0x230]
mov r8b, 1
lea rcx, [rsi + 0x228]
call fcn.14004b730
xor eax, eax
mov byte [rsi + 0xcd], 0
inc word [rsi + 0xd8]
mov dword [r14 + 0x40c8], eax
mov eax, dword [rsp + 0x50]
cmp eax, dword [rsp + 0x48]
je 0x140053431
movzx eax, byte [rsi + 0x401]
and al, 5
cmp al, 1
jne 0x1400532c3
mov eax, dword [r14 + 0x3f48]
cmp dword [rsi + 0x284], eax
jne 0x1400532bc
mov byte [rsi + 0xf1], 1
jmp 0x1400532c3
mov byte [rsi + 0xf0], 1
bt edi, 0x18
jae 0x14005338d
test dil, 0x40
jne 0x14005334e
cmp byte [rsi + 0xe8], 0
jg 0x14005334e
cmp byte [rsi + 0xe9], 0
jg 0x14005334e
bt edi, 0x17
jae 0x140053315
cmp byte [r14 + 0x4284], 0
je 0x140053315
mov rcx, qword [r14 + 0x4240]
test rcx, rcx
je 0x140053315
mov rax, qword [rsi + 0x3c0]
cmp qword [rcx + 0x3c0], rax
jne 0x140053315
mov al, 1
jmp 0x140053317
xor al, al
cmp byte [r14 + 0x55bc], 0
jne 0x14005334e
test al, al
jne 0x14005334e
movss xmm0, dword [rsi + 0x208]
comiss xmm0, dword [rsi + 0x210]
jae 0x140053347
movss xmm0, dword [rsi + 0x20c]
comiss xmm0, dword [rsi + 0x214]
jb 0x14005334e
mov byte [rsi + 0xf0], 1
test r12, r12
je 0x14005338d
cmp byte [r12 + 0xce], 0
jne 0x140053369
cmp byte [r12 + 0xf0], 0
jle 0x140053370
mov byte [rsi + 0xf0], 1
cmp byte [r12 + 0xce], 0
jne 0x140053386
cmp byte [r12 + 0xf1], 0
jle 0x14005338d
mov byte [rsi + 0xf1], 1
comiss xmm15, dword [r14 + 0x38f0]
jb 0x14005339e
mov byte [rsi + 0xf0], 1
cmp byte [rsi + 0xf0], 0
jg 0x1400533be
cmp byte [rsi + 0xf1], 0
jg 0x1400533be
xor cl, cl
cmp byte [rsi + 0xf2], cl
jg 0x1400533c0
xor al, al
jmp 0x1400533c2
mov cl, 1
mov al, 1
mov byte [rsi + 0xd2], al
movzx eax, byte [rsi + 0xf3]
test al, al
jle 0x1400533e2
dec al
mov byte [rsi + 0xf3], al
or dword [rsi + 0xc], 0xc0200
cmp byte [rsi + 0xce], 0
jne 0x1400533f8
cmp byte [rsi + 0xcb], 0
je 0x1400533f8
test cl, cl
je 0x14005342a
cmp byte [rsi + 0xe8], 0
jg 0x14005342a
cmp byte [rsi + 0xe9], 0
jg 0x14005342a
cmp byte [rsi + 0xf1], 0
jg 0x14005342a
mov byte [rsi + 0xd0], 1
movzx eax, word [rsi + 0x174]
mov word [rsi + 0x176], ax
jmp 0x140053431
mov byte [rsi + 0xd0], 0
cmp byte [rsi + 0xd0], 0
sete al
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.1400f24a0
movaps xmm15, xmmword [rsp + 0x170]
add rsp, 0x230
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret