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

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r13
push r14
push r15
lea rbp, [r11 - 0x138]
sub rsp, 0x208
movaps xmmword [r11 - 0xd8], xmm15
mov rax, qword [0x1800b1020]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov r14, qword [0x1800b42d8]
mov rsi, rcx
mov qword [r11 + 0x10], rbx
mov ebx, r8d
mov qword [r11 - 0x38], r12
mov qword [rsp + 0x78], rcx
call fcn.180035230
test rax, rax
mov rdi, rax
sete al
mov byte [rsp + 0x40], al
test rdi, rdi
jne 0x180038100
mov edx, ebx
mov rcx, rsi
call fcn.180035510
mov rdi, rax
jmp 0x18003810e
mov r8d, ebx
movzx edx, al
mov rcx, rdi
call fcn.180035390
mov r9d, dword [rdi + 0x280]
lea rsi, [r14 + 0x3fb0]
mov eax, ebx
mov dword [rsp + 0x4c], r9d
mov r13d, ebx
and eax, 0xc0200
or r13d, 6
cmp eax, 0xc0200
cmovne r13d, ebx
cmp dword [rsi], 0
mov ebx, dword [r14 + 0x3f60]
mov dword [rsp + 0x48], r13d
mov dword [rsp + 0x50], ebx
jne 0x18003815b
cmp byte [r14 + 0x3f71], 0
je 0x18003815b
mov al, 1
jmp 0x18003815d
xor al, al
mov byte [rdi + 0xd3], al
lea eax, [rbx - 1]
cmp r9d, eax
setl r8b
mov byte [rsp + 0x44], r8b
bt r13d, 0x1a
jae 0x1800381ab
movsxd rax, dword [r14 + 0x41f0]
lea rdx, [rax + rax*2]
shl rdx, 4
add rdx, qword [r14 + 0x41e8]
cmp rdi, qword [rdx + 8]
mov eax, dword [rdx]
setne cl
cmp dword [rdi + 0xe0], eax
setne al
or cl, al
or r8b, cl
mov byte [rsp + 0x44], r8b
movzx r15d, byte [rdi + 0xd1]
xor r12d, r12d
cmp r9d, ebx
je 0x180038234
mov byte [rdi + 0xd1], r8b
test r8b, r8b
je 0x1800381ef
or byte [rdi + 0xf0], 8
or byte [rdi + 0xf1], 8
or byte [rdi + 0xf2], 8
mov eax, dword [rdi + 0xf0]
bts eax, 0x1b
sar eax, 0x18
mov byte [rdi + 0xf3], al
mov eax, dword [rdi + 0xc]
mov dword [rdi + 0x10], eax
mov dword [rdi + 0xc], r13d
mov dword [rdi + 0x280], ebx
movsd xmm0, qword [r14 + 0x3f58]
mov word [rdi + 0xda], r12w
cvtpd2ps xmm0, xmm0
movss dword [rdi + 0x288], xmm0
movzx eax, word [r14 + 0x3fd0]
inc dword [r14 + 0x3fd0]
mov word [rdi + 0xdc], ax
jmp 0x18003823d
mov r13d, dword [rdi + 0xc]
mov dword [rsp + 0x48], r13d
test dword [r14 + 0x40f0], 0x200
je 0x180038265
mov r8d, dword [r14 + 0x4100]
mov rcx, rdi
mov edx, dword [r14 + 0x4158]
call fcn.18004b9c0
mov r9d, dword [rsp + 0x4c]
cmp r9d, ebx
je 0x180038363
cmp dword [rdi + 0x430], r12d
jne 0x18003833e
cmp qword [rdi + 0x420], r12
jne 0x18003833e
mov rax, qword [0x1800b42d8]
xor cl, cl
cmp byte [rax + 0x72], cl
jne 0x18003829f
cmp byte [rdi + 0x2c], cl
je 0x180038340
test dword [rdi + 0xc], 0x1200001
jne 0x180038340
cmp byte [rdi + 0xd3], cl
jne 0x180038340
movzx ebx, byte [rdi + 0x401]
xor edx, edx
mov rcx, rdi
call fcn.18004bf70
movzx eax, byte [rdi + 0x401]
mov r13d, dword [rdi + 0xc]
mov dword [rsp + 0x48], r13d
test al, 1
je 0x1800382ec
and dword [r14 + 0x40f0], 0xffffffef
movzx eax, byte [rdi + 0x401]
test al, 4
je 0x18003835a
test bl, 4
jne 0x18003835a
test bl, 2
je 0x18003835a
mov r9d, dword [rsp + 0x4c]
cmp byte [rdi + 0xd1], r12b
jne 0x18003835f
test r15b, r15b
jne 0x18003835f
or byte [rdi + 0xf0], 8
or byte [rdi + 0xf1], 8
or byte [rdi + 0xf2], 8
mov eax, dword [rdi + 0xf0]
bts eax, 0x1b
mov byte [rdi + 0xd1], 1
sar eax, 0x18
mov byte [rdi + 0xf3], al
jmp 0x18003835f
mov cl, 1
movzx ebx, byte [rdi + 0x401]
test cl, cl
jne 0x1800382bf
and bl, 0xf8
mov byte [rdi + 0x401], bl
jmp 0x18003835f
mov r9d, dword [rsp + 0x4c]
mov ebx, dword [rsp + 0x50]
test byte [rdi + 0x401], 1
je 0x18003837c
mov rax, qword [rdi + 0x420]
mov r12, qword [rax + 0x88]
jmp 0x180038393
movsxd rax, dword [rsi]
test eax, eax
je 0x180038393
imul rcx, rax, 0x58
mov rax, qword [r14 + 0x3fb8]
mov r12, qword [rcx + rax - 0x58]
mov qword [rbp + 0x18], r12
cmp r9d, ebx
je 0x1800383b0
mov ecx, 0
test r13d, 0x5000000
mov eax, ecx
cmovne rax, r12
jmp 0x1800383b9
mov rax, qword [rdi + 0x390]
xor ecx, ecx
lea rbx, [rdi + 0x108]
mov qword [rsp + 0x60], rax
cmp dword [rbx], 0
mov r15d, 8
jne 0x1800383f4
cmp dword [rbx + 4], 0
mov eax, ecx
jne 0x1800383e5
mov edx, r15d
mov rcx, rbx
call fcn.18004e920
mov eax, dword [rbx]
mov rcx, qword [rbx + 8]
movsxd rdx, eax
mov eax, dword [rdi + 8]
mov dword [rcx + rdx*4], eax
inc dword [rbx]
mov rdx, qword [0x1800b42d8]
xor eax, eax
movups xmm1, xmmword [r14 + 0x40c0]
mov qword [rbp - 8], rax
mov dword [rbp], eax
xorps xmm0, xmm0
mov eax, dword [r14 + 0x40e8]
mov qword [r14 + 0x3fe0], rdi
mov r8d, dword [rsi + 4]
movups xmmword [rbp - 0x18], xmm0
mov dword [rbp - 0x10], eax
mov rax, qword [rdx + 0x3fe0]
movups xmm0, xmmword [r14 + 0x40b0]
mov qword [rbp - 0x50], rdi
movups xmmword [rbp - 0x38], xmm1
movzx ecx, word [rax + 0x108]
movzx eax, word [rdx + 0x4180]
movsd xmm1, qword [r14 + 0x40e0]
mov word [rbp - 0xa], ax
movzx eax, word [rdx + 0x4190]
mov word [rbp - 8], ax
movzx eax, word [rdx + 0x41a0]
mov word [rbp - 6], ax
movzx eax, word [rdx + 0x41b0]
mov word [rbp - 4], ax
movzx eax, word [rdx + 0x41d0]
mov word [rbp - 2], ax
movzx eax, word [rdx + 0x41c0]
mov word [rbp], ax
movzx eax, word [rdx + 0x41f0]
mov word [rbp + 2], ax
movzx eax, word [rdx + 0x54dc]
movups xmmword [rbp - 0x48], xmm0
mov word [rbp + 4], ax
movups xmm0, xmmword [r14 + 0x40d0]
mov eax, dword [rsi]
movsd qword [rbp - 0x18], xmm1
mov word [rbp - 0xc], cx
movups xmmword [rbp - 0x28], xmm0
cmp eax, r8d
jne 0x1800384f0
lea ecx, [rax + 1]
test r8d, r8d
je 0x1800384dc
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x1800384df
mov eax, r15d
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rsi
call fcn.18004e9c0
mov eax, dword [rsi]
movaps xmm0, xmmword [rbp - 0x50]
xor ebx, ebx
movaps xmm1, xmmword [rbp - 0x40]
cdqe
imul rcx, rax, 0x58
mov rax, qword [rsi + 8]
movups xmmword [rcx + rax], xmm0
movaps xmm0, xmmword [rbp - 0x30]
movups xmmword [rcx + rax + 0x10], xmm1
movaps xmm1, xmmword [rbp - 0x20]
movups xmmword [rcx + rax + 0x20], xmm0
movaps xmm0, xmmword [rbp - 0x10]
movups xmmword [rcx + rax + 0x30], xmm1
movsd xmm1, qword [rbp]
movups xmmword [rcx + rax + 0x40], xmm0
movsd qword [rcx + rax + 0x50], xmm1
inc dword [rsi]
mov qword [r14 + 0x3fe0], rbx
bt r13d, 0x1c
jae 0x18003854a
inc dword [r14 + 0x4200]
bt r13d, 0x1a
jae 0x180038580
lea rcx, [r14 + 0x41f0]
movsxd rax, dword [rcx]
lea rbx, [rax + rax*2]
shl rbx, 4
add rbx, qword [r14 + 0x41e8]
mov rdx, rbx
mov qword [rbx + 8], rdi
call fcn.18004e1d0
mov eax, dword [rbx]
xor ebx, ebx
mov dword [rdi + 0xe0], eax
mov r10d, dword [rsp + 0x50]
mov r11d, dword [rsp + 0x4c]
cmp r11d, r10d
je 0x1800385a6
mov r8, qword [rsp + 0x60]
mov edx, r13d
mov rcx, rdi
call fcn.180037fc0
mov qword [rdi + 0x398], r12
xor r12b, r12b
mov byte [rsp + 0x41], 0
xor r13b, r13b
test byte [r14 + 0x40f0], 1
je 0x180038650
mov r8d, dword [r14 + 0x40f4]
movzx ecx, byte [rdi + 0xf0]
movsx eax, cl
and eax, r8d
setne byte [rsp + 0x41]
test r8d, eax
je 0x180038641
movss xmm0, dword [r14 + 0x4110]
movss xmm1, dword [r14 + 0x410c]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
comiss xmm1, dword [0x18009f89c]
jbe 0x180038641
movsd xmm0, qword [r14 + 0x4104]
and ecx, 0xf1
mov eax, dword [rdi + 0xf0]
and eax, 0xffffff00
movsd qword [rdi + 0xf4], xmm0
movsd xmm1, qword [r14 + 0x410c]
or ecx, eax
mov dword [rdi + 0xf0], ecx
movsd qword [rdi + 0xfc], xmm1
jmp 0x180038650
lea rdx, [r14 + 0x4104]
mov rcx, rdi
call fcn.18003b550
mov eax, dword [r14 + 0x40f0]
xorps xmm15, xmm15
test al, 2
je 0x1800386ad
movsx eax, byte [rdi + 0xf1]
lea rdx, [r14 + 0x4114]
mov r8d, dword [r14 + 0x40f8]
and eax, r8d
je 0x180038688
movss xmm0, dword [rdx]
comiss xmm0, xmm15
jbe 0x180038688
mov r12b, 1
jmp 0x18003868c
test eax, eax
je 0x18003869e
movss xmm0, dword [r14 + 0x4118]
comiss xmm0, xmm15
jbe 0x18003869e
mov r13b, 1
mov rcx, rdi
call fcn.18003b670
mov eax, dword [r14 + 0x40f0]
test al, al
jns 0x1800386eb
movss xmm0, dword [r14 + 0x4124]
comiss xmm0, xmm15
jb 0x1800386ce
movss dword [rdi + 0xa8], xmm0
mov dword [rdi + 0xb0], ebx
movss xmm0, dword [r14 + 0x4128]
comiss xmm0, xmm15
jb 0x1800386eb
movss dword [rdi + 0xac], xmm0
mov dword [rdi + 0xb4], ebx
test byte [r14 + 0x40f0], 4
je 0x180038705
movsd xmm0, qword [r14 + 0x411c]
movsd qword [rdi + 0x70], xmm0
jmp 0x180038712
cmp r11d, r10d
je 0x180038712
mov qword [rdi + 0x70], 0
mov ecx, dword [r14 + 0x40f0]
bt ecx, 0xa
jae 0x18003874a
movups xmm0, xmmword [r14 + 0x415c]
movups xmmword [rdi + 0x14], xmm0
movsd xmm1, qword [r14 + 0x416c]
movsd qword [rdi + 0x24], xmm1
mov eax, dword [r14 + 0x4174]
mov dword [rdi + 0x2c], eax
mov ecx, dword [r14 + 0x40f0]
test r15b, cl
je 0x18003879e
mov edx, dword [r14 + 0x40fc]
movzx r8d, byte [r14 + 0x412d]
test edx, edx
je 0x18003876d
movsx eax, byte [rdi + 0xf2]
test edx, eax
je 0x18003879e
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], r8b
mov dword [rdi + 0xf0], ecx
mov ecx, dword [r14 + 0x40f0]
test cl, 0x20
je 0x1800387b5
mov rcx, rdi
call fcn.18003b050
mov r10d, dword [rsp + 0x50]
mov r11d, dword [rsp + 0x4c]
cmp byte [rdi + 0xd1], 0
je 0x1800387e5
and byte [rdi + 0xf0], 0xf7
and byte [rdi + 0xf1], 0xf7
and byte [rdi + 0xf2], 0xf7
mov eax, dword [rdi + 0xf0]
sar eax, 0x18
and eax, 0xfffffff7
mov byte [rdi + 0xf3], al
movaps xmmword [rsp + 0x1f0], xmm6
movaps xmmword [rsp + 0x1e0], xmm7
movaps xmmword [rsp + 0x1d0], xmm8
cmp r11d, r10d
je 0x18003a998
mov esi, dword [rsp + 0x48]
mov r8d, 1
movaps xmmword [rsp + 0x1c0], xmm9
mov eax, esi
movaps xmmword [rsp + 0x1b0], xmm10
and eax, 0x3000000
movaps xmmword [rsp + 0x1a0], xmm11
movaps xmmword [rsp + 0x190], xmm12
movaps xmmword [rsp + 0x180], xmm13
mov byte [rdi + 0xcb], 1
mov byte [rdi + 0xd5], 0
movaps xmmword [rsp + 0x170], xmm14
mov dword [rsp + 0x5c], eax
movzx eax, byte [rdi + 0xed]
mov dword [rdi + 0x258], 0xff7fffff
mov dword [rdi + 0x25c], 0xff7fffff
mov dword [rdi + 0x260], 0x7f7fffff
mov dword [rdi + 0x264], 0x7f7fffff
mov ecx, dword [rdi + 0x10c]
mov byte [rsp + 0x54], al
cmp ecx, r8d
jge 0x1800388cb
test ecx, ecx
je 0x1800388ad
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1800388b0
mov eax, r15d
cmp eax, r8d
lea rcx, [rdi + 0x108]
mov edx, r8d
cmovg edx, eax
call fcn.18004e920
mov r8d, 1
mov dword [rdi + 0x108], r8d
mov rcx, qword [rdi + 0x2c0]
call fcn.180056100
mov dword [rdi + 0x1d0], 0xffffffff
bt esi, 0x1d
jae 0x18003891a
mov rcx, qword [rdi + 0x2c0]
add rcx, 0xa8
call fcn.180059660
mov rdx, qword [rdi + 0x2c0]
mov r8d, 1
lea rcx, [rdx + 0xa8]
call fcn.180059b20
cmp byte [rdi + 0x400], 0
je 0x18003895f
mov rcx, qword [rdi + 0x2c0]
mov edx, dword [rdi + 0x3f8]
add rcx, 0x10
mov byte [rdi + 0x400], 0
call fcn.18004e720
mov rcx, qword [rdi + 0x2c0]
mov edx, dword [rdi + 0x3fc]
add rcx, 0x20
call fcn.18004e5f0
xor eax, eax
mov qword [rdi + 0x3f8], rax
mov rax, qword [rdi + 0x30]
test rax, rax
je 0x180038971
cmp qword [rax + 0x88], rdi
je 0x180038995
test byte [rdi + 0x401], 1
jne 0x180038995
cmp qword [r14 + 0x43e0], 0
je 0x180038a76
test dword [rdi + 0xc], 0x80000
jne 0x180038a76
movzx r9d, byte [rsp + 0x40]
test r9b, r9b
jne 0x180038a7c
mov r10, qword [rsp + 0x78]
mov rsi, qword [rdi]
mov rax, r10
mov r8, rsi
sub r8, r10
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1800389d3
inc rax
test ecx, ecx
jne 0x1800389c0
test edx, edx
je 0x180038b72
movsxd r15, dword [rdi + 0x88]
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [r10 + rbx], 0
jne 0x1800389f0
inc rbx
cmp r15, rbx
jae 0x180038a54
test rsi, rsi
je 0x180038a19
mov rax, qword [0x1800b42d8]
test rax, rax
je 0x180038a19
dec dword [rax + 0xf4]
mov rdx, qword [0x1800b42c8]
mov rcx, rsi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov rax, qword [0x1800b42d8]
test rax, rax
je 0x180038a3a
inc dword [rax + 0xf4]
mov rdx, qword [0x1800b42c8]
mov rcx, rbx
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov r10, qword [rsp + 0x78]
mov rsi, rax
mov r15, rbx
mov r8, rbx
mov rdx, r10
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov qword [rdi], rsi
mov esi, dword [rsp + 0x48]
mov dword [rdi + 0x88], r15d
mov r15d, 8
movzx r9d, byte [rsp + 0x40]
lea r8, [rdi + 0x68]
mov rcx, rdi
lea rdx, [rdi + 0x60]
call fcn.180035ac0
movzx eax, byte [rdi + 0xec]
test al, al
jle 0x180038a9f
dec al
mov byte [rdi + 0xec], al
movzx eax, byte [rdi + 0xed]
test al, al
jle 0x180038ab2
dec al
mov byte [rdi + 0xed], al
movzx eax, byte [rdi + 0xee]
test al, al
jle 0x180038ac5
dec al
mov byte [rdi + 0xee], al
test r9b, r9b
je 0x180038adb
test r12b, r12b
je 0x180038ad4
test r13b, r13b
jne 0x180038adb
mov byte [rdi + 0xed], 1
cmp byte [rsp + 0x44], 0
je 0x180038b1d
test esi, 0x6000000
je 0x180038b1d
mov byte [rdi + 0xed], 1
test sil, 0x40
je 0x180038b1d
xor eax, eax
test r12b, r12b
jne 0x180038b04
mov dword [rdi + 0x58], eax
mov dword [rdi + 0x50], eax
test r13b, r13b
jne 0x180038b0f
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov qword [r8], 0
mov qword [rdx], 0
call fcn.180044840
mov rcx, qword [rdi + 0x30]
mov r9, qword [0x1800b42d8]
test rcx, rcx
je 0x180038b3c
mov eax, dword [r9 + 0x3f60]
mov dword [rcx + 0x64], eax
cmp qword [r9 + 0x4220], rcx
je 0x180038b8d
test rcx, rcx
je 0x180038b7b
mov eax, dword [rcx + 0x28]
mov dword [r9 + 0x4218], eax
mov rax, qword [r9 + 0x3890]
mov qword [r9 + 0x4220], rcx
test rax, rax
je 0x180038b8d
call rax
mov r9, qword [0x1800b42d8]
jmp 0x180038b8d
mov esi, dword [rsp + 0x48]
jmp 0x180038a7c
mov dword [r9 + 0x4218], 0x3f800000
mov qword [r9 + 0x4220], rcx
test dword [r14 + 8], 0x8000
movss xmm12, dword [0x18009f930]
je 0x180038bab
mov rax, qword [rdi + 0x30]
movss xmm0, dword [rax + 0x28]
jmp 0x180038baf
movaps xmm0, xmm12
mov rcx, rdi
movss dword [rdi + 0x2b4], xmm0
call fcn.18002f990
mov ebx, dword [rdi + 0xc]
mov esi, ebx
mov dword [rsp + 0x48], ebx
and esi, 0x1000000
je 0x180038bdb
movss xmm0, dword [r14 + 0x3938]
jmp 0x180038bfd
test ebx, 0x6000000
je 0x180038bf4
bt ebx, 0x1b
jb 0x180038bf4
movss xmm0, dword [r14 + 0x3940]
jmp 0x180038bfd
movss xmm0, dword [r14 + 0x391c]
movss dword [rdi + 0x84], xmm0
movzx ecx, byte [rdi + 0x401]
and cl, 1
jne 0x180038c4e
mov eax, ebx
and eax, 0x5010000
cmp eax, 0x1000000
jne 0x180038c4e
movss xmm0, dword [rdi + 0x84]
ucomiss xmm0, xmm15
jp 0x180038c4e
jne 0x180038c4e
bt ebx, 0xa
jae 0x180038c44
movss xmm0, dword [r14 + 0x3914]
movaps xmm1, xmm15
jmp 0x180038c60
movaps xmm0, xmm15
movaps xmm1, xmm15
jmp 0x180038c60
movss xmm1, dword [r14 + 0x3910]
movss xmm0, dword [r14 + 0x3914]
movss dword [rdi + 0x78], xmm1
movss dword [rdi + 0x7c], xmm0
movss xmm0, dword [rdi + 0x78]
maxss xmm0, dword [r14 + 0x3954]
maxss xmm0, dword [r14 + 0x4178]
movss dword [rdi + 0x180], xmm0
mov eax, dword [r14 + 0x417c]
mov dword [rdi + 0x184], eax
test bl, 0x21
jne 0x180038e2f
test cl, cl
jne 0x180038e2f
test bl, 1
je 0x180038cb2
movaps xmm3, xmm15
jmp 0x180038cf0
movss xmm0, dword [r9 + 0x3d54]
mulss xmm0, dword [rdi + 0x2b0]
mov rax, qword [rdi + 0x390]
mulss xmm0, dword [rdi + 0x2b4]
test rax, rax
je 0x180038cdf
mulss xmm0, dword [rax + 0x2b0]
movss xmm3, dword [r9 + 0x3948]
addss xmm3, xmm3
addss xmm3, xmm0
movss xmm6, dword [rdi + 0x48]
movaps xmm4, xmm6
movss xmm8, dword [rdi + 0x4c]
addss xmm4, dword [rdi + 0x58]
addss xmm3, dword [rdi + 0x4c]
cmp qword [r14 + 0x3fe8], rdi
jne 0x180038df9
cmp dword [r14 + 0x4020], 0
jne 0x180038df9
cmp dword [r14 + 0x4024], 0
jne 0x180038df9
mov rax, qword [r9 + 0x3fe0]
movss xmm2, dword [r9 + 0x396c]
movss xmm0, dword [r9 + 0x3970]
maxss xmm6, dword [rax + 0x258]
minss xmm4, dword [rax + 0x260]
maxss xmm8, dword [rax + 0x25c]
minss xmm3, dword [rax + 0x264]
movaps xmm1, xmm6
subss xmm1, xmm2
movaps xmm7, xmm4
addss xmm7, xmm2
movaps xmm5, xmm8
movss xmm2, dword [r9 + 0xd9c]
subss xmm5, xmm0
movaps xmm9, xmm3
addss xmm9, xmm0
comiss xmm2, xmm1
jb 0x180038df9
movss xmm0, dword [r9 + 0xda0]
comiss xmm0, xmm5
jb 0x180038df9
comiss xmm7, xmm2
jbe 0x180038df9
comiss xmm9, xmm0
jbe 0x180038df9
mov rax, qword [r9 + 0x4228]
movss xmm2, dword [rax + 0xc]
movss xmm5, dword [rax + 8]
movaps xmm0, xmm2
addss xmm0, dword [rax + 0x14]
movaps xmm1, xmm5
addss xmm1, dword [rax + 0x10]
comiss xmm0, xmm8
jbe 0x180038df9
comiss xmm3, xmm2
jbe 0x180038df9
comiss xmm1, xmm6
jbe 0x180038df9
comiss xmm4, xmm5
jbe 0x180038df9
cmp word [r14 + 0x36ca], 2
jne 0x180038df9
mov byte [rdi + 0xcf], 1
cmp byte [rdi + 0xcf], 0
je 0x180038e36
cmp byte [rdi + 0xce], 0
sete al
mov byte [rdi + 0xce], al
bt ebx, 8
jb 0x180038e36
comiss xmm15, dword [r9 + 0x556c]
jb 0x180038e36
mov eax, dword [r9 + 0x1c]
mov dword [r9 + 0x556c], eax
jmp 0x180038e36
mov byte [rdi + 0xce], 0
lea r8, [rdi + 0x68]
mov byte [rdi + 0xcf], 0
mov rdx, rdi
lea rcx, [rbp + 0x10]
call fcn.180035bd0
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x42], al
mov byte [rsp + 0x43], al
test bl, 0x40
je 0x180038e99
cmp byte [rdi + 0xce], 0
jne 0x180038e99
test r12b, r12b
jne 0x180038e7c
movss xmm0, dword [rbp + 0x10]
movss dword [rdi + 0x58], xmm0
mov byte [rsp + 0x42], 1
test r13b, r13b
jne 0x180038f3c
movss xmm0, dword [rbp + 0x14]
movss dword [rdi + 0x5c], xmm0
mov byte [rsp + 0x43], 1
jmp 0x180038f3c
movzx eax, byte [rdi + 0xe4]
test al, al
jg 0x180038eb1
cmp byte [rdi + 0xe5], 0
jle 0x180038f3c
test r12b, r12b
jne 0x180038ede
test al, al
jle 0x180038ede
cmp byte [rdi + 0xe7], r12b
je 0x180038ecf
movss xmm0, dword [rdi + 0x58]
maxss xmm0, dword [rbp + 0x10]
jmp 0x180038ed4
movss xmm0, dword [rbp + 0x10]
movss dword [rdi + 0x58], xmm0
mov byte [rsp + 0x42], 1
test r13b, r13b
jne 0x180038f10
cmp byte [rdi + 0xe5], r13b
jle 0x180038f10
cmp byte [rdi + 0xe7], r13b
je 0x180038f01
movss xmm0, dword [rdi + 0x5c]
maxss xmm0, dword [rbp + 0x14]
jmp 0x180038f06
movss xmm0, dword [rbp + 0x14]
movss dword [rdi + 0x5c], xmm0
mov byte [rsp + 0x43], 1
cmp byte [rdi + 0xce], 0
jne 0x180038f3c
test dword [rdi + 0xc], 0x100
mov rcx, qword [0x1800b42d8]
jne 0x180038f3c
comiss xmm15, dword [rcx + 0x556c]
jb 0x180038f3c
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x556c], eax
lea r8, [rdi + 0x58]
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.180035840
cmp byte [rdi + 0xce], 0
mov r13, qword [0x1800b42d8]
movss xmm2, dword [rax]
movss xmm0, dword [rax + 4]
movss dword [rdi + 0x58], xmm2
movss dword [rdi + 0x5c], xmm0
je 0x180038fde
test esi, esi
jne 0x180038fde
mov eax, dword [rdi + 0xc]
test al, 1
je 0x180038f80
movaps xmm1, xmm15
jmp 0x180038fbe
movss xmm0, dword [r13 + 0x3d54]
mulss xmm0, dword [rdi + 0x2b0]
mov rcx, qword [rdi + 0x390]
mulss xmm0, dword [rdi + 0x2b4]
test rcx, rcx
je 0x180038fad
mulss xmm0, dword [rcx + 0x2b0]
movss xmm1, dword [r13 + 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 - 0x78], xmm2
movss dword [rbp - 0x74], xmm1
jmp 0x180038feb
movsd xmm0, qword [rdi + 0x58]
mov eax, dword [rdi + 0xc]
movsd qword [rbp - 0x78], xmm0
lea rcx, [rbp - 0x78]
movsd xmm0, qword [rcx]
movsd qword [rdi + 0x50], xmm0
test al, 1
je 0x180039002
movaps xmm1, xmm15
jmp 0x180039040
movss xmm0, dword [r13 + 0x3d54]
mulss xmm0, dword [rdi + 0x2b0]
mov rcx, qword [rdi + 0x390]
mulss xmm0, dword [rdi + 0x2b4]
test rcx, rcx
je 0x18003902f
mulss xmm0, dword [rcx + 0x2b0]
movss xmm1, dword [r13 + 0x3948]
addss xmm1, xmm1
addss xmm1, xmm0
bt eax, 0xa
jae 0x180039090
movss xmm0, dword [r13 + 0x3d54]
mulss xmm0, dword [rdi + 0x2b0]
mov rax, qword [rdi + 0x390]
mulss xmm0, dword [rdi + 0x2b4]
test rax, rax
je 0x180039073
mulss xmm0, dword [rax + 0x2b0]
movss xmm14, dword [r13 + 0x3948]
addss xmm0, dword [rdi + 0x184]
addss xmm14, xmm14
addss xmm14, xmm0
jmp 0x180039094
movaps xmm14, xmm15
cmp byte [rsp + 0x44], 0
addss xmm14, xmm1
je 0x1800390ec
mov eax, dword [rsp + 0x48]
and eax, 0xc000000
mov dword [rdi + 0xe8], 0xffffffff
cmp eax, 0x4000000
jne 0x1800390ec
cmp byte [rsp + 0x41], 0
jne 0x1800390ec
movsxd rax, dword [r14 + 0x41f0]
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 0x41f8]
add rcx, rcx
movss xmm0, dword [rax + rcx*8 - 0x10]
movss xmm1, dword [rax + rcx*8 - 0xc]
movss dword [rdi + 0x48], xmm0
movss dword [rdi + 0x4c], xmm1
test esi, esi
je 0x180039182
mov rdx, qword [rsp + 0x60]
lea rbx, [rdx + 0x1b0]
movzx eax, word [rbx]
mov word [rdi + 0xda], ax
mov ecx, dword [rbx + 4]
mov eax, dword [rbx]
cmp eax, ecx
jne 0x180039146
lea r8d, [rax + 1]
test ecx, ecx
je 0x180039126
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
lea r15d, [rcx + rax]
cmp r15d, r8d
mov rcx, rbx
cmovg r8d, r15d
mov edx, r8d
call fcn.18004e550
mov eax, dword [rbx]
mov rdx, qword [rsp + 0x60]
mov r13, qword [0x1800b42d8]
mov r15d, dword [rsp + 0x48]
movsxd rcx, eax
mov rax, qword [rbx + 8]
mov qword [rax + rcx*8], rdi
inc dword [rbx]
movzx ebx, byte [rsp + 0x41]
mov eax, dword [rsp + 0x5c]
bt r15d, 0x1a
jb 0x180039190
test bl, bl
jne 0x180039190
cmp eax, 0x3000000
je 0x180039190
movsd xmm0, qword [rdx + 0x118]
movsd qword [rdi + 0x48], xmm0
jmp 0x180039190
movzx ebx, byte [rsp + 0x41]
mov r15d, dword [rsp + 0x48]
mov eax, dword [rsp + 0x5c]
movss xmm1, dword [rdi + 0xf4]
ucomiss xmm1, dword [0x18009fa1c]
jp 0x1800391a3
je 0x1800391f1
cmp byte [rdi + 0xed], 0
jne 0x1800391f1
movss xmm0, dword [rdi + 0xfc]
lea rdx, [rbp - 0x78]
mulss xmm0, dword [rdi + 0x50]
xor r8d, r8d
mov rcx, rdi
subss xmm1, xmm0
movss xmm0, dword [rdi + 0xf8]
movss dword [rbp - 0x78], xmm1
movss xmm1, dword [rdi + 0x100]
mulss xmm1, dword [rdi + 0x54]
subss xmm0, xmm1
movss dword [rbp - 0x74], xmm0
call fcn.18003b550
jmp 0x18003923b
bt r15d, 0x1c
jb 0x18003921b
bt r15d, 0x1a
jae 0x180039209
test bl, bl
jne 0x180039209
cmp byte [rsp + 0x54], bl
jg 0x18003921b
bt r15d, 0x19
jae 0x18003923b
test bl, bl
jne 0x18003923b
cmp eax, 0x3000000
je 0x18003923b
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.18003e150
movss xmm1, dword [rax + 4]
movss xmm0, dword [rax]
movss dword [rdi + 0x48], xmm0
movss dword [rdi + 0x4c], xmm1
cmp dword [rdi + 0x44], 0
jl 0x180039358
cmp byte [rdi + 0xca], 0
jne 0x180039358
mov rax, qword [rdi + 0x30]
test dword [rax + 4], 0x400
jne 0x180039358
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 [rdi + 0x50]
addss xmm2, dword [rax + 0x10]
addss xmm4, dword [rax + 0x14]
movaps xmm5, xmm7
addss xmm5, dword [rdi + 0x54]
jb 0x1800392b3
comiss xmm7, xmm6
jb 0x1800392b3
comiss xmm2, xmm3
jb 0x1800392b3
comiss xmm4, xmm5
jae 0x180039358
mov edx, dword [rdi + 8]
lea r9, [rdi + 0x50]
mov rcx, rdi
mov dword [rsp + 0x20], 0x20
call fcn.180044520
mov r13, qword [0x1800b42d8]
mov rcx, rax
mov qword [rdi + 0x30], rax
test rax, rax
je 0x1800392e7
mov eax, dword [r13 + 0x3f60]
mov dword [rcx + 0x64], eax
cmp qword [r13 + 0x4220], rcx
je 0x18003932f
test rcx, rcx
je 0x18003931d
mov eax, dword [rcx + 0x28]
mov dword [r13 + 0x4218], eax
mov rax, qword [r13 + 0x3890]
mov qword [r13 + 0x4220], rcx
test rax, rax
je 0x18003932f
call rax
mov r13, qword [0x1800b42d8]
jmp 0x18003932f
mov dword [r13 + 0x4218], 0x3f800000
mov qword [r13 + 0x4220], rcx
test dword [r14 + 8], 0x8000
je 0x180039344
mov rax, qword [rdi + 0x30]
movss xmm0, dword [rax + 0x28]
jmp 0x180039348
movaps xmm0, xmm12
mov rcx, rdi
movss dword [rdi + 0x2b4], xmm0
call fcn.18002f990
movzx eax, byte [rdi + 0xca]
test al, al
je 0x18003937d
mov rdx, qword [rbp + 0x18]
mov rcx, rdi
call fcn.180044e40
movzx eax, byte [rdi + 0xca]
mov r13, qword [0x1800b42d8]
mov rcx, qword [rdi + 0x30]
movss xmm6, dword [r14 + 0x39b4]
movss xmm7, dword [r14 + 0x39b0]
maxss xmm6, dword [r14 + 0x39bc]
movss xmm0, dword [rcx + 0x18]
movss xmm1, dword [rcx + 0x1c]
movaps xmm11, xmm0
movss xmm8, dword [rcx + 8]
movaps xmm10, xmm1
movss xmm9, dword [rcx + 0xc]
movaps xmm4, xmm8
movss dword [rbp + 0x18], xmm8
movaps xmm5, xmm9
movss dword [rbp + 0x1c], xmm9
movaps xmm3, xmm6
addss xmm3, xmm1
addss xmm11, dword [rcx + 0x20]
addss xmm10, dword [rcx + 0x24]
addss xmm4, dword [rcx + 0x10]
addss xmm5, dword [rcx + 0x14]
movss dword [rbp + 0x34], xmm3
maxss xmm7, dword [r14 + 0x39b8]
subss xmm10, xmm6
movss dword [rbp + 0x20], xmm4
movss dword [rbp + 0x24], xmm5
subss xmm11, xmm7
movaps xmm2, xmm7
movss dword [rbp + 0x3c], xmm10
addss xmm2, xmm0
movss dword [rbp + 0x38], xmm11
movss dword [rbp + 0x30], xmm2
test bl, bl
jne 0x1800395c4
test esi, esi
jne 0x1800395c4
cmp byte [rdi + 0xe4], sil
jg 0x1800395c4
cmp byte [rdi + 0xe5], sil
jg 0x1800395c4
test al, al
jne 0x1800394e2
subss xmm4, xmm8
comiss xmm4, xmm15
jbe 0x1800395c4
subss xmm5, xmm9
comiss xmm5, xmm15
jbe 0x1800395c4
movss xmm0, dword [rdi + 0x54]
cmp byte [r13 + 0x7e], al
je 0x1800394a6
test byte [rdi + 0xc], 1
je 0x180039490
cmp qword [rdi + 0x428], 0
je 0x1800394a6
movss xmm0, dword [r13 + 0x3948]
addss xmm0, xmm0
addss xmm0, dword [r13 + 0x3d50]
subss xmm2, dword [rdi + 0x50]
subss xmm3, xmm0
movss xmm0, dword [rdi + 0x4c]
comiss xmm3, xmm0
ja 0x1800394c1
movaps xmm3, xmm10
minss xmm3, xmm0
movss xmm0, dword [rdi + 0x48]
comiss xmm2, xmm0
ja 0x1800394d3
movaps xmm2, xmm11
minss xmm2, xmm0
movss dword [rdi + 0x48], xmm2
movss dword [rdi + 0x4c], xmm3
jmp 0x1800395c4
cmp dword [r14 + 0x38c8], 0
jle 0x1800395c4
movsx rax, word [rcx + 0x80]
test eax, eax
js 0x180039516
cmp eax, dword [r13 + 0x38c8]
jge 0x180039516
lea rcx, [rax + rax*8]
mov rax, qword [r13 + 0x38d0]
lea rdx, [rax + rcx*4]
jmp 0x18003951d
lea rdx, [r13 + 0x423c]
movss xmm2, dword [rdi + 0x54]
movaps xmm0, xmm7
addss xmm0, dword [rdx + 0x10]
movaps xmm1, xmm6
addss xmm1, dword [rdx + 0x14]
movss dword [rbp + 0x30], xmm0
movss dword [rbp + 0x34], xmm1
movss xmm4, dword [rdx + 0x18]
movss xmm3, dword [rdx + 0x14]
addss xmm4, dword [rdx + 0x10]
addss xmm3, dword [rdx + 0x1c]
subss xmm4, xmm7
subss xmm3, xmm6
movss dword [rbp + 0x38], xmm4
movss dword [rbp + 0x3c], xmm3
cmp byte [r13 + 0x7e], 0
je 0x18003958f
test byte [rdi + 0xc], 1
je 0x180039579
cmp qword [rdi + 0x428], 0
je 0x18003958f
movss xmm2, dword [r13 + 0x3948]
addss xmm2, xmm2
addss xmm2, dword [r13 + 0x3d50]
subss xmm0, dword [rdi + 0x50]
subss xmm1, xmm2
movss xmm2, dword [rdi + 0x4c]
comiss xmm1, xmm2
ja 0x1800395a9
movaps xmm1, xmm3
minss xmm1, xmm2
movss xmm2, dword [rdi + 0x48]
comiss xmm0, xmm2
ja 0x1800395ba
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 0x18003962f
test cl, 1
jne 0x18003962f
test esi, esi
je 0x18003960a
movss xmm0, dword [r14 + 0x3934]
jmp 0x180039633
mov eax, r15d
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x180039624
movss xmm0, dword [r14 + 0x393c]
jmp 0x180039633
movss xmm0, dword [r14 + 0x3918]
jmp 0x180039633
movaps xmm0, xmm15
mov ebx, dword [rsp + 0x48]
xor al, al
movss dword [rdi + 0x80], xmm0
mov dword [rsp + 0x58], eax
cmp byte [rsp + 0x44], al
je 0x180039874
bt ebx, 0xc
jb 0x180039874
bt ebx, 0x1a
jae 0x180039666
mov byte [rsp + 0x58], 1
jmp 0x180039682
test cl, 1
jne 0x18003966f
test esi, esi
jne 0x180039682
bt ebx, 0x19
movzx eax, al
mov ecx, 1
cmovae eax, ecx
mov dword [rsp + 0x58], eax
mov r9d, dword [r13 + 0x41e0]
sub r9d, 1
js 0x180039874
mov r8, qword [r13 + 0x41e8]
movsxd rdx, r9d
add r8, 8
lea rcx, [rdx + rdx*2]
shl rcx, 4
add r8, rcx
nop dword [rax]
mov rcx, qword [r8]
test rcx, rcx
je 0x1800396c1
test dword [rcx + 0xc], 0x8000000
jne 0x1800396d0
sub r8, 0x30
sub rdx, 1
jns 0x1800396b0
jmp 0x180039874
mov r15, qword [rdi + 0x3a0]
mov rax, rdi
cmp r15, rcx
je 0x180039874
cmp rax, rcx
je 0x180039874
mov rax, qword [rax + 0x398]
test rax, rax
jne 0x1800396e3
mov byte [rsp + 0x58], al
cmp rdi, r15
jne 0x180039874
movsxd r8, r9d
mov r9, qword [r13 + 0x41e8]
add r9, 8
lea rcx, [r8 + r8*2]
shl rcx, 4
add r9, rcx
nop
mov rdx, qword [r9]
test rdx, rdx
je 0x1800397a4
test dword [rdx + 0xc], 0x8000000
je 0x1800397a4
cmp byte [rdx + 0xcb], 0
jne 0x180039743
cmp byte [rdx + 0xcc], 0
je 0x1800397a4
mov rax, rdi
cmp r15, rdx
je 0x1800397b2
nop dword [rax + rax]
cmp rax, rdx
je 0x1800397b2
mov rax, qword [rax + 0x398]
test rax, rax
jne 0x180039750
mov rax, qword [rdx + 0x398]
mov rcx, qword [rax + 0x3a0]
test rcx, rcx
je 0x1800397a4
mov rax, rdi
cmp r15, rcx
je 0x1800397b4
nop dword [rax]
cmp rax, rcx
je 0x1800397b4
mov rax, qword [rax + 0x398]
test rax, rax
jne 0x180039780
mov rax, qword [rcx + 0x398]
mov rcx, qword [rax + 0x3a0]
test rcx, rcx
jne 0x180039774
sub r9, 0x30
sub r8, 1
jns 0x180039720
xor edx, edx
mov r8, qword [rdx + 0x3a0]
mov rdx, qword [r13 + 0x3f88]
movsxd rax, dword [r13 + 0x3f80]
mov r9, rdx
lea rcx, [rdx + rax*8]
cmp rdx, rcx
jae 0x1800397e3
cmp qword [r9], r15
je 0x1800397e3
add r9, 8
cmp r9, rcx
jb 0x1800397d5
sub r9, rdx
mov rsi, rdx
sar r9, 3
cmp rdx, rcx
jae 0x180039800
cmp qword [rsi], r8
je 0x180039800
add rsi, 8
cmp rsi, rcx
jb 0x1800397f2
sub rsi, rdx
mov r10, rdx
sar rsi, 3
cmp r9d, esi
jge 0x180039845
mov eax, esi
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 [r13 + 0x3f88]
movsxd rcx, esi
mov qword [rax + rcx*8 - 8], r15
jmp 0x180039874
lea eax, [rsi + 1]
movsxd rbx, esi
movsxd rcx, eax
sub r9d, esi
movsxd r8, r9d
shl r8, 3
lea rdx, [rdx + rbx*8]
lea rcx, [r10 + rcx*8]
call sub.VCRUNTIME140.dll_memmove
mov rax, qword [r13 + 0x3f88]
mov qword [rax + rbx*8], r15
mov ebx, dword [rsp + 0x48]
cmp qword [rdi + 0x428], 0
jne 0x18003988c
test byte [rdi + 0x401], 1
je 0x18003988c
xor r12b, r12b
jmp 0x18003988f
mov r12b, 1
movss xmm1, dword [r14 + 0x3d50]
xorps xmm0, xmm0
xor r15d, r15d
mov dword [rbp + 0x28], 0xffffffff
cmp byte [r14 + 0x7d], r15b
movaps xmm2, xmm1
mulss xmm1, dword [0x18009f8d4]
setne r15b
mulss xmm2, dword [0x18009f934]
inc r15d
movups xmmword [rbp + 0x40], xmm0
movss xmm0, dword [rdi + 0x80]
addss xmm0, xmm12
addss xmm0, xmm1
maxss xmm2, xmm0
cvttss2si eax, xmm2
movd xmm13, eax
cvtdq2ps xmm13, xmm13
test r12b, r12b
je 0x18003992e
cmp byte [rdi + 0xce], 0
jne 0x18003992e
lea rax, [rbp + 0x30]
mov r9d, r15d
mov qword [rsp + 0x28], rax
lea r8, [rbp + 0x28]
lea rax, [rbp + 0x40]
mov rcx, rdi
lea rdx, [rbp + 0x10]
mov qword [rsp + 0x20], rax
call fcn.180036010
mov r13, qword [0x1800b42d8]
test al, al
je 0x18003992e
mov dl, 1
movzx ecx, dl
jmp 0x180039938
movzx ecx, byte [rsp + 0x42]
movzx edx, byte [rsp + 0x43]
cmp byte [rdi + 0xca], 0
movzx eax, byte [rbp + 0x28]
mov byte [rdi + 0xd6], al
mov rax, qword [rdi + 0x30]
je 0x180039a15
cmp byte [rax + 0x58], 0
jne 0x180039967
movsd xmm0, qword [rdi + 0x48]
movsd qword [rax + 8], xmm0
mov rax, qword [rdi + 0x30]
cmp byte [rax + 0x59], 0
jne 0x18003997b
movsd xmm0, qword [rdi + 0x50]
movsd qword [rax + 0x10], xmm0
mov rax, qword [rdi + 0x30]
movss xmm0, dword [rax + 0x11c]
movaps xmm2, xmm15
addss xmm0, dword [rax + 0xc]
movss xmm1, dword [rax + 8]
addss xmm1, dword [rax + 0x118]
movss dword [rax + 0x1c], xmm0
movss xmm0, dword [rax + 0x10]
movss dword [rax + 0x18], xmm1
subss xmm0, dword [rax + 0x118]
movss xmm1, dword [rax + 0x14]
subss xmm1, dword [rax + 0x11c]
addss xmm0, dword [rax + 0x120]
addss xmm1, dword [rax + 0x124]
maxss xmm2, xmm0
movaps xmm0, xmm15
maxss xmm0, xmm1
movss dword [rax + 0x20], xmm2
movss dword [rax + 0x24], xmm0
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 + 0x18], xmm3
addss xmm0, dword [rax + 0x14]
movss dword [rbp + 0x1c], xmm2
movss dword [rbp + 0x20], xmm1
movss dword [rbp + 0x24], xmm0
cmp byte [rdi + 0xce], 0
movsd xmm0, qword [rax + 8]
movsd qword [rdi + 0x3c], xmm0
jne 0x180039b63
cmp byte [rsp + 0x40], 0
lea rax, [rbp - 0x78]
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]
je 0x180039a80
mov qword [rbp - 0x78], 0
jmp 0x180039aa6
movss xmm0, dword [rdi + 0x78]
movss xmm1, dword [rdi + 0x7c]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [rdi + 0x60]
addss xmm1, dword [rdi + 0x64]
movss dword [rbp - 0x78], xmm0
movss dword [rbp - 0x74], xmm1
movss xmm6, dword [rax]
movss xmm1, dword [rax + 4]
test cl, cl
jne 0x180039ab6
movaps xmm5, xmm2
test dl, dl
jne 0x180039abd
movaps xmm4, xmm3
bt ebx, 0xe
jb 0x180039ad1
comiss xmm1, xmm4
jbe 0x180039acd
test bl, 8
je 0x180039ad1
xor cl, cl
jmp 0x180039ad3
mov cl, 1
mov byte [rdi + 0xc9], cl
bt ebx, 0xf
jb 0x180039b16
test cl, cl
je 0x180039aee
movss xmm0, dword [r14 + 0x397c]
jmp 0x180039af2
movaps xmm0, xmm15
subss xmm5, xmm0
comiss xmm6, xmm5
jbe 0x180039b09
mov eax, ebx
and eax, 0x808
cmp eax, 0x800
je 0x180039b16
mov byte [rdi + 0xc8], 0
movaps xmm1, xmm15
jmp 0x180039b40
mov byte [rdi + 0xc8], 1
test cl, cl
jne 0x180039b37
comiss xmm1, xmm4
jbe 0x180039b2f
test bl, 8
jne 0x180039b2f
mov cl, 1
jmp 0x180039b31
xor cl, cl
mov byte [rdi + 0xc9], cl
movss xmm1, dword [r14 + 0x397c]
test cl, cl
je 0x180039b4f
movss xmm0, dword [r14 + 0x397c]
jmp 0x180039b53
movaps xmm0, xmm15
movss dword [rdi + 0xc0], xmm0
movss dword [rdi + 0xc4], xmm1
mov esi, ebx
and esi, 0x5000000
cmp esi, 0x1000000
jne 0x180039b8a
cmp dword [rsp + 0x5c], 0x3000000
je 0x180039b8a
mov rax, qword [rsp + 0x60]
add rax, 0x258
jmp 0x180039b8e
lea rax, [rbp + 0x18]
movups xmm0, xmmword [rax]
mov eax, dword [rdi + 0xc]
movss xmm4, dword [rdi + 0x48]
movss xmm7, dword [rdi + 0x4c]
movaps xmm5, xmm4
movaps xmm6, xmm7
addss xmm5, dword [rdi + 0x50]
addss xmm6, dword [rdi + 0x54]
movups xmmword [rbp - 0x78], xmm0
and eax, 1
je 0x180039bbd
movaps xmm3, xmm15
jmp 0x180039bfb
movss xmm0, dword [r13 + 0x3d54]
mulss xmm0, dword [rdi + 0x2b0]
mov rcx, qword [rdi + 0x390]
mulss xmm0, dword [rdi + 0x2b4]
test rcx, rcx
je 0x180039bea
mulss xmm0, dword [rcx + 0x2b0]
movss xmm3, dword [r13 + 0x3948]
addss xmm3, xmm3
addss xmm3, xmm0
movss xmm0, dword [rdi + 0x4c]
movaps xmm2, xmm4
addss xmm2, dword [rdi + 0x58]
movss dword [rbp - 0x68], xmm4
movaps xmm1, xmm7
movss dword [rbp - 0x64], xmm0
addss xmm1, xmm3
movss dword [rbp - 0x60], xmm2
movss dword [rbp - 0x5c], xmm1
movss dword [rdi + 0x208], xmm4
movss dword [rdi + 0x20c], xmm7
movss dword [rdi + 0x210], xmm5
movss dword [rdi + 0x214], xmm6
test byte [rdi + 0x401], 1
je 0x180039ca4
test eax, eax
je 0x180039c56
movaps xmm0, xmm15
jmp 0x180039c94
movss xmm1, dword [r13 + 0x3d54]
mulss xmm1, dword [rdi + 0x2b0]
mov rax, qword [rdi + 0x390]
mulss xmm1, dword [rdi + 0x2b4]
test rax, rax
je 0x180039c83
mulss xmm1, dword [rax + 0x2b0]
movss xmm0, dword [r13 + 0x3948]
addss xmm0, xmm0
addss xmm0, xmm1
addss xmm0, dword [rdi + 0x20c]
movss dword [rdi + 0x20c], xmm0
movss xmm1, dword [rdi + 0x208]
mov eax, ebx
movss xmm0, dword [rdi + 0x20c]
and eax, 0x401
movss xmm3, dword [rbp - 0x78]
movss xmm4, dword [rbp - 0x74]
maxss xmm1, xmm3
movss xmm12, dword [rbp - 0x70]
maxss xmm0, xmm4
movss xmm11, dword [rbp - 0x6c]
movss dword [rdi + 0x208], xmm1
movss dword [rdi + 0x20c], xmm0
movss xmm1, dword [rdi + 0x210]
movss xmm0, dword [rdi + 0x214]
minss xmm1, xmm12
minss xmm0, xmm11
movss dword [rdi + 0x210], xmm1
movss dword [rdi + 0x214], xmm0
movss xmm9, dword [rdi + 0x48]
movss xmm5, dword [rdi + 0x4c]
movaps xmm6, xmm9
movss dword [rdi + 0x218], xmm9
movaps xmm7, xmm5
addss xmm7, xmm14
addss xmm6, dword [rdi + 0x50]
addss xmm5, dword [rdi + 0x54]
movss dword [rdi + 0x21c], xmm7
subss xmm6, dword [rdi + 0xc0]
subss xmm5, dword [rdi + 0xc4]
movss dword [rdi + 0x220], xmm6
movss dword [rdi + 0x224], xmm5
cmp eax, 1
jne 0x180039d79
movss xmm8, dword [rdi + 0x84]
movaps xmm10, xmm8
jmp 0x180039d8b
movss xmm8, dword [r14 + 0x3950]
movss xmm10, dword [rdi + 0x84]
movss xmm2, dword [0x18009f8ec]
xorps xmm1, xmm1
movss xmm0, dword [rdi + 0x78]
addss xmm9, xmm2
mulss xmm0, xmm2
addss xmm7, xmm2
addss xmm6, xmm2
addss xmm5, xmm2
cvttss2si eax, xmm0
xorps xmm0, xmm0
addss xmm7, xmm8
subss xmm5, xmm10
cvtsi2ss xmm1, eax
maxss xmm1, xmm10
addss xmm9, xmm1
subss xmm6, xmm1
cvttss2si eax, xmm9
xorps xmm9, xmm9
cvtsi2ss xmm9, eax
cvttss2si eax, xmm7
movss dword [rdi + 0x228], xmm9
cvtsi2ss xmm0, eax
cvttss2si eax, xmm6
movss dword [rdi + 0x22c], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
cvttss2si eax, xmm5
movss dword [rdi + 0x230], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
movss dword [rdi + 0x234], xmm0
movss xmm0, dword [rdi + 0x22c]
comiss xmm4, xmm0
jbe 0x180039e32
movaps xmm1, xmm4
jmp 0x180039e3a
movaps xmm1, xmm11
minss xmm1, xmm0
comiss xmm3, xmm9
jbe 0x180039e45
movaps xmm0, xmm3
jmp 0x180039e4e
movaps xmm0, xmm12
minss xmm0, xmm9
movss dword [rdi + 0x228], xmm0
movss dword [rdi + 0x22c], xmm1
movss xmm0, dword [rdi + 0x234]
comiss xmm4, xmm0
ja 0x180039e73
movaps xmm4, xmm11
minss xmm4, xmm0
movss xmm0, dword [rdi + 0x230]
comiss xmm3, xmm0
ja 0x180039e88
movaps xmm3, xmm12
minss xmm3, xmm0
movaps xmm12, xmmword [rsp + 0x190]
movss dword [rdi + 0x230], xmm3
movss dword [rdi + 0x234], xmm4
movss xmm0, dword [rdi + 0x50]
comiss xmm0, xmm15
jbe 0x180039ebe
test ebx, 0x2000040
jne 0x180039ebe
mulss xmm0, dword [0x18009f8f8]
jmp 0x180039ecf
movss xmm0, dword [r14 + 0x3d50]
mulss xmm0, dword [0x18009f9b0]
cvttss2si eax, xmm0
mov rdx, rdi
lea rcx, [rsp + 0x68]
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]
movss xmm2, dword [rdi + 0x7c]
addss xmm1, xmm1
addss xmm2, xmm2
addss xmm1, dword [rdi + 0x60]
addss xmm2, dword [rdi + 0x64]
subss xmm1, xmm0
movaps xmm0, xmm15
maxss xmm0, xmm1
movss dword [rdi + 0xa0], xmm0
movss xmm0, dword [rdi + 0x224]
subss xmm0, dword [rdi + 0x21c]
subss xmm2, xmm0
movaps xmm0, xmm15
maxss xmm0, xmm2
movss dword [rdi + 0xa4], xmm0
call fcn.18003ccb0
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 [r14 + 0x3d48]
mov rdx, qword [rax + 0x40]
mov rdx, qword [rdx + 8]
call fcn.1800567d0
mov rcx, qword [0x1800b42d8]
lea r8, [rbp - 0x70]
xor r9d, r9d
lea rdx, [rbp - 0x78]
mov rax, qword [rcx + 0x3fe0]
mov byte [rax + 0xcd], 1
mov rbx, qword [rcx + 0x3fe0]
mov rcx, qword [rbx + 0x2c0]
call fcn.1800566c0
mov rax, qword [rbx + 0x2c0]
mov rcx, qword [rax + 0x60]
movsxd rdx, dword [rax + 0x58]
add rdx, rdx
mov eax, dword [rcx + rdx*8 - 0x10]
movss xmm0, dword [rcx + rdx*8 - 0xc]
movss xmm1, dword [rcx + rdx*8 - 8]
movss xmm2, dword [rcx + rdx*8 - 4]
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 0x18003a171
xor bl, bl
cmp esi, 0x1000000
jne 0x18003a0ea
cmp dword [rsp + 0x5c], 0x3000000
je 0x18003a0ea
mov r9, qword [rsp + 0x60]
movsxd rax, dword [r9 + 0x1b0]
cmp eax, 2
jl 0x18003a0b3
mov rcx, rax
mov rax, qword [r9 + 0x1b8]
mov rdx, qword [rax + rcx*8 - 0x10]
test rdx, rdx
je 0x18003a0b3
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 0x18003a0b3
comiss xmm2, xmm5
jbe 0x18003a0b3
comiss xmm3, xmm6
jbe 0x18003a0b3
comiss xmm4, xmm7
jbe 0x18003a0b3
mov r8b, 1
jmp 0x18003a0b6
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 0x18003a0ea
mov rax, qword [r9 + 0x2c0]
cmp dword [rax + 0x20], 0
jle 0x18003a0ea
test r8b, r8b
jne 0x18003a0ea
mov bl, 1
mov qword [rdi + 0x2c0], rax
mov rcx, qword [r14 + 0x43d0]
test rcx, rcx
jne 0x18003a0fd
mov rcx, qword [r14 + 0x4268]
mov esi, dword [rsp + 0x58]
test sil, sil
jne 0x18003a135
test rcx, rcx
je 0x18003a130
mov rax, qword [rcx + 0x3b8]
cmp qword [rdi + 0x3b8], rax
je 0x18003a135
mov rax, qword [rdi + 0x420]
test rax, rax
je 0x18003a130
cmp rax, qword [rcx + 0x420]
je 0x18003a135
xor r8b, r8b
jmp 0x18003a138
mov r8b, 1
lea rax, [rbp + 0x40]
movss dword [rsp + 0x30], xmm13
mov qword [rsp + 0x28], rax
lea rdx, [rbp - 0x68]
movzx r9d, r12b
mov dword [rsp + 0x20], r15d
mov rcx, rdi
call fcn.180036f50
test bl, bl
je 0x18003a175
lea rax, [rdi + 0x2c8]
mov qword [rdi + 0x2c0], rax
jmp 0x18003a175
mov esi, dword [rsp + 0x58]
mov r15d, dword [rsp + 0x48]
mov ecx, r15d
movss xmm5, dword [rdi + 0x70]
movaps xmm13, xmmword [rsp + 0x180]
shr ecx, 3
not cl
and cl, 1
ucomiss xmm5, xmm15
jp 0x18003a1dc
jne 0x18003a1dc
movss xmm0, dword [rdi + 0x78]
mov eax, r15d
movss xmm1, dword [rdi + 0x50]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
subss xmm1, dword [rdi + 0xc0]
cmp eax, 0x800
jne 0x18003a1d1
movss xmm8, dword [rdi + 0x60]
maxss xmm8, xmm1
jmp 0x18003a1e0
movaps xmm8, xmm15
maxss xmm8, xmm1
jmp 0x18003a1e0
movaps xmm8, xmm5
movss xmm4, dword [rdi + 0x74]
ucomiss xmm4, xmm15
jp 0x18003a228
jne 0x18003a228
movss xmm7, dword [rdi + 0x7c]
movss xmm1, dword [rdi + 0x54]
movaps xmm0, xmm7
addss xmm0, xmm7
subss xmm1, xmm0
subss xmm1, xmm14
subss xmm1, dword [rdi + 0xc4]
test cl, cl
je 0x18003a21e
movss xmm6, dword [rdi + 0x64]
maxss xmm6, xmm1
jmp 0x18003a230
movaps xmm6, xmm15
maxss xmm6, xmm1
jmp 0x18003a230
movss xmm7, dword [rdi + 0x7c]
movaps xmm6, xmm4
ucomiss xmm5, xmm15
movss xmm2, dword [rdi + 0x84]
movss xmm9, dword [rdi + 0x78]
movss xmm10, dword [rdi + 0x98]
movaps xmm1, xmm9
movss xmm0, dword [rdi + 0x218]
maxss xmm1, xmm2
subss xmm0, xmm10
addss xmm1, xmm0
cvttss2si eax, xmm1
movaps xmm1, xmm7
maxss xmm1, xmm2
movd xmm3, eax
cvtdq2ps xmm3, xmm3
movss dword [rdi + 0x238], xmm3
addss xmm8, xmm3
movss xmm11, dword [rdi + 0x9c]
movss xmm0, dword [rdi + 0x21c]
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], xmm8
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, xmm9
movss dword [rdi + 0x268], xmm1
movss xmm6, dword [rdi + 0x4c]
movaps xmm2, xmm6
subss xmm2, xmm11
addss xmm2, xmm7
addss xmm2, xmm14
movss dword [rdi + 0x26c], xmm2
jp 0x18003a329
jne 0x18003a329
movss xmm5, dword [rdi + 0x50]
movaps xmm0, xmm9
addss xmm0, xmm9
subss xmm5, xmm0
subss xmm5, dword [rdi + 0xc0]
ucomiss xmm4, xmm15
addss xmm5, xmm1
movss dword [rdi + 0x270], xmm5
jp 0x18003a35a
jne 0x18003a35a
movss xmm4, dword [rdi + 0x54]
movaps xmm0, xmm7
addss xmm0, xmm7
subss xmm4, xmm0
subss xmm4, xmm14
subss xmm4, dword [rdi + 0xc4]
movzx r8d, byte [rsp + 0x44]
addss xmm4, xmm2
xor r12d, r12d
lea rcx, [rdi + 0x188]
cvtps2pd xmm2, xmm9
movss dword [rdi + 0x274], xmm4
movaps xmm0, xmm9
addss xmm0, xmm15
cvtps2pd xmm1, xmm10
subss xmm0, xmm10
movss dword [rdi + 0x15c], xmm0
mov qword [rdi + 0x160], r12
cvtps2pd xmm0, xmm3
cvtps2pd xmm3, xmm7
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 [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 xmm2, dword [rdi + 0x12c]
movss dword [rdi + 0x118], xmm1
movss dword [rdi + 0x11c], xmm2
movss dword [rdi + 0x120], xmm1
movss dword [rdi + 0x124], xmm2
movsd xmm0, qword [rdi + 0x128]
movsd qword [rdi + 0x130], xmm0
movsd xmm1, qword [rdi + 0x128]
movsd qword [rdi + 0x138], xmm1
mov qword [rdi + 0x148], r12
mov qword [rdi + 0x140], r12
mov qword [rdi + 0x150], r12
mov byte [rdi + 0x158], r12b
mov dword [rdi + 0x170], r12d
movzx eax, word [rdi + 0x176]
mov word [rdi + 0x174], ax
mov byte [rdi + 0x17c], r12b
movss xmm0, dword [rdi + 0xa4]
comiss xmm0, xmm15
seta al
mov byte [rdi + 0x17d], al
mov byte [rdi + 0x17e], r12b
movss xmm1, dword [r14 + 0x3954]
call fcn.18006a860
movaps xmm14, xmmword [rsp + 0x170]
movaps xmm11, xmmword [rsp + 0x1a0]
movaps xmm10, xmmword [rsp + 0x1b0]
movaps xmm9, xmmword [rsp + 0x1c0]
mov qword [rdi + 0x1a4], r12
mov ecx, dword [rdi + 0x1b4]
test ecx, ecx
jns 0x18003a51d
mov eax, ecx
cdq
sub eax, edx
mov edx, r12d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1b0]
test eax, eax
cmovg edx, eax
call fcn.18004e550
mov r13, qword [rsp + 0x60]
lea rax, [rdi + 0x290]
mov dword [rdi + 0x1b0], r12d
mov qword [rdi + 0x1c0], rax
mov qword [rdi + 0x1c8], r12
mov r12d, 1
mov dword [rdi + 0x1d4], r12d
test r13, r13
je 0x18003a559
mov eax, dword [r13 + 0x1d4]
jmp 0x18003a55c
mov eax, r12d
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 0x18003a59e
mov eax, ecx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1e8]
test eax, eax
cmovg edx, eax
call fcn.18004e920
mov dword [rdi + 0x1e8], 0
mov ecx, dword [rdi + 0x1fc]
test ecx, ecx
jns 0x18003a5ce
mov eax, ecx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1f8]
test eax, eax
cmovg edx, eax
call fcn.18004e920
mov dword [rdi + 0x1f8], 0
movzx eax, byte [rdi + 0xe4]
test al, al
jle 0x18003a5eb
dec al
mov byte [rdi + 0xe4], al
movzx eax, byte [rdi + 0xe5]
test al, al
jle 0x18003a5fe
dec al
mov byte [rdi + 0xe5], al
test sil, sil
je 0x18003a6a4
mov rcx, rdi
call fcn.18003b050
mov eax, dword [rdi + 0xc]
mov rdx, qword [0x1800b42d8]
bt eax, 0x12
jae 0x18003a62a
xor ebx, ebx
mov qword [rdx + 0x4270], rbx
jmp 0x18003a6a6
cmp rdi, qword [rdi + 0x3a0]
je 0x18003a653
bt eax, 0x1a
jb 0x18003a653
mov eax, dword [rdi + 0x3d0]
test eax, eax
je 0x18003a653
xor ebx, ebx
mov dword [rdx + 0x4270], eax
mov dword [rdx + 0x4274], ebx
jmp 0x18003a6a6
movsxd rcx, dword [rdx + 0x42a4]
xor ebx, ebx
mov rax, qword [rdx + 0x4268]
xorps xmm0, xmm0
mov qword [rdx + 0x4270], rbx
mov dword [rax + rcx*4 + 0x3d0], ebx
add rcx, rcx
mov rax, qword [rdx + 0x4268]
movups xmmword [rax + rcx*8 + 0x3d8], xmm0
mov word [rdx + 0x42ad], r12w
mov dword [rdx + 0x42b0], ebx
movups xmmword [rdx + 0x42b4], xmm0
mov byte [rdx + 0x42ac], r12b
jmp 0x18003a6a6
xor ebx, ebx
test r12b, r15b
jne 0x18003a705
test byte [rdi + 0x401], r12b
jne 0x18003a705
movss xmm2, dword [rdi + 0x84]
lea rdx, [rsp + 0x68]
movss xmm0, dword [rbp - 0x68]
xor r9d, r9d
movss xmm1, dword [rbp - 0x60]
addss xmm0, xmm2
mov r8, qword [rsp + 0x78]
subss xmm1, xmm2
mov rcx, rdi
movss dword [rsp + 0x68], xmm0
movss xmm0, dword [rbp - 0x64]
movss dword [rsp + 0x6c], xmm0
movss xmm0, dword [rbp - 0x5c]
movss dword [rsp + 0x74], xmm0
movss dword [rsp + 0x70], xmm1
call fcn.180037a10
mov dword [rdi + 0x278], 0
test byte [r14 + 8], 0x40
je 0x18003a879
cmp qword [r14 + 0x4000], rdi
jne 0x18003a839
movzx eax, byte [r14 + 0xdb9]
cmp byte [r14 + 0x71], al
jne 0x18003a839
mov rax, qword [rdi + 0x3b0]
test dword [rax + 0xc], 0x200000
jne 0x18003a839
mov rbx, qword [0x1800b42d8]
mov eax, dword [rdi + 0x8c]
cmp byte [rbx + 0x71], 0
mov dword [rbx + 0x40b0], eax
mov rax, qword [rdi + 0x3b0]
mov qword [rbp - 0x78], rax
jne 0x18003a7bc
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 0x18003a837
movss xmm1, dword [rbx + 0x404c]
comiss xmm1, xmm15
jb 0x18003a837
comiss xmm3, xmm2
jbe 0x18003a837
comiss xmm0, xmm1
jbe 0x18003a837
call fcn.1800423c0
test al, al
je 0x18003a837
lea rdx, [rbp - 0x78]
call fcn.180042520
mov rsi, qword [0x1800b42d8]
test byte [rsi + 0x4400], r12b
jne 0x18003a7e3
call fcn.18003acf0
cmp dword [rsi + 0x4424], 0xffffffff
jne 0x18003a7f1
call fcn.180042300
mov r9, qword [rbp - 0x78]
lea r8, [0x180099d68]
sub r9, r8
mov byte [rsi + 0x43fd], 0
lea r10, [0x180099d80]
nop dword [rax]
movsxd rcx, dword [r8]
add rcx, 0x39d
shl rcx, 4
add rcx, rbx
call fcn.18002d670
mov dword [r9 + r8 + 0x404], eax
add r8, 4
cmp r8, r10
jl 0x18003a810
xor ebx, ebx
cmp byte [r14 + 0x43fc], 0
je 0x18003a879
bt r15d, 0x15
jb 0x18003a879
mov rax, qword [r14 + 0x4000]
test rax, rax
je 0x18003a85f
cmp qword [rax + 0x3b0], rdi
je 0x18003a879
cmp rdi, qword [rdi + 0x3b0]
jne 0x18003a879
test dword [rdi + 0xc], 0x20000000
jne 0x18003a879
mov rcx, rdi
call fcn.18004c440
test byte [rdi + 0x401], r12b
je 0x18003a8c5
mov r8, qword [0x1800b42d8]
mov edx, dword [rdi + 0x434]
mov ecx, dword [r14 + 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 0x18003aa02
mov rdx, qword [0x1800b42d8]
movss xmm8, dword [rbp - 0x60]
movss xmm6, dword [rbp - 0x68]
movaps xmm3, xmm8
movss xmm5, dword [rbp - 0x5c]
movaps xmm0, xmm6
movss xmm2, dword [rdx + 0x396c]
movaps xmm4, xmm5
movss xmm1, dword [rdx + 0x3970]
subss xmm0, xmm2
movss xmm7, dword [rbp - 0x64]
addss xmm3, xmm2
movaps xmm2, xmm7
addss xmm4, xmm1
subss xmm2, xmm1
movss xmm1, dword [rdx + 0xd9c]
comiss xmm1, xmm0
jb 0x18003a968
movss xmm0, dword [rdx + 0xda0]
comiss xmm0, xmm2
jb 0x18003a968
comiss xmm3, xmm1
jbe 0x18003a968
comiss xmm4, xmm0
jbe 0x18003a968
mov rax, qword [rdx + 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, xmm7
jbe 0x18003a968
comiss xmm5, xmm2
jbe 0x18003a968
comiss xmm1, xmm6
jbe 0x18003a968
comiss xmm8, xmm3
ja 0x18003a96b
mov r12d, ebx
mov ecx, dword [r14 + 0x4098]
mov eax, dword [rdi + 0x8c]
mov dword [rdx + 0x40b0], eax
mov dword [rdx + 0x40b4], ecx
mov dword [rdx + 0x40b8], r12d
movups xmm0, xmmword [rbp - 0x68]
movups xmmword [rdx + 0x40bc], xmm0
jmp 0x18003aa02
mov rcx, qword [rdi + 0x30]
mov rdx, qword [0x1800b42d8]
test rcx, rcx
je 0x18003a9b1
mov eax, dword [rdx + 0x3f60]
mov dword [rcx + 0x64], eax
cmp qword [rdx + 0x4220], rcx
je 0x18003a9f0
test rcx, rcx
je 0x18003a9df
mov eax, dword [rcx + 0x28]
mov dword [rdx + 0x4218], eax
mov rax, qword [rdx + 0x3890]
mov qword [rdx + 0x4220], rcx
test rax, rax
je 0x18003a9f0
call rax
jmp 0x18003a9f0
mov dword [rdx + 0x4218], 0x3f800000
mov qword [rdx + 0x4220], rcx
mov rcx, rdi
call fcn.18002f990
mov r15d, dword [rsp + 0x48]
mov r13, qword [rsp + 0x60]
movaps xmm8, xmmword [rsp + 0x1d0]
mov esi, r15d
movaps xmm7, xmmword [rsp + 0x1e0]
movaps xmm6, xmmword [rsp + 0x1f0]
mov r12, qword [rsp + 0x200]
and esi, 0x1000000
je 0x18003aa37
mov ebx, dword [r13 + 0x178]
jmp 0x18003aa7c
movsxd rcx, dword [rdi + 0x108]
xor edx, edx
mov rax, qword [rdi + 0x110]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, str.FOCUSSCOPE
call fcn.18002d050
mov rcx, qword [0x1800b42d8]
mov ebx, eax
cmp dword [rcx + 0x401c], eax
jne 0x18003aa7c
lea r8, str.FOCUSSCOPE
mov edx, 0xb
mov ecx, eax
call fcn.18004d7e0
mov dword [rdi + 0x178], ebx
bt r15d, 0x1d
jb 0x18003ab08
mov rcx, qword [0x1800b42d8]
lea r8, [rdi + 0x230]
lea rdx, [rdi + 0x228]
mov r9b, 1
mov rax, qword [rcx + 0x3fe0]
mov byte [rax + 0xcd], 1
mov rbx, qword [rcx + 0x3fe0]
mov rcx, qword [rbx + 0x2c0]
call fcn.1800566c0
mov rax, qword [rbx + 0x2c0]
mov rcx, qword [rax + 0x60]
movsxd rdx, dword [rax + 0x58]
add rdx, rdx
movss xmm0, dword [rcx + rdx*8 - 0xc]
movss xmm1, dword [rcx + rdx*8 - 8]
movss xmm2, dword [rcx + rdx*8 - 4]
mov eax, dword [rcx + rdx*8 - 0x10]
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 rbx, qword [rsp + 0x248]
mov byte [rdi + 0xcd], 0
inc word [rdi + 0xd8]
mov dword [r14 + 0x40f0], edx
cmp eax, dword [rsp + 0x50]
je 0x18003acb3
movzx eax, byte [rdi + 0x401]
and al, 5
cmp al, 1
jne 0x18003ab61
mov eax, dword [r14 + 0x3f60]
cmp dword [rdi + 0x284], eax
jne 0x18003ab5a
mov byte [rdi + 0xed], 1
jmp 0x18003ab61
mov byte [rdi + 0xec], 1
test esi, esi
je 0x18003ac1e
test r15b, 0x40
jne 0x18003abe7
cmp byte [rdi + 0xe4], dl
jg 0x18003abe7
cmp byte [rdi + 0xe5], dl
jg 0x18003abe7
bt r15d, 0x17
jae 0x18003abaf
cmp byte [r14 + 0x42ac], dl
je 0x18003abaf
mov rcx, qword [r14 + 0x4268]
test rcx, rcx
je 0x18003abaf
mov rax, qword [rdi + 0x3c0]
cmp qword [rcx + 0x3c0], rax
jne 0x18003abaf
mov al, 1
jmp 0x18003abb1
xor al, al
cmp byte [r14 + 0x55c4], dl
jne 0x18003abe7
test al, al
jne 0x18003abe7
movss xmm0, dword [rdi + 0x208]
comiss xmm0, dword [rdi + 0x210]
jae 0x18003abe0
movss xmm0, dword [rdi + 0x20c]
comiss xmm0, dword [rdi + 0x214]
jb 0x18003abe7
mov byte [rdi + 0xec], 1
test r13, r13
je 0x18003ac1e
cmp byte [r13 + 0xce], dl
jne 0x18003abfe
cmp byte [r13 + 0xec], dl
jle 0x18003ac0e
mov byte [rdi + 0xec], 1
cmp byte [r13 + 0xce], dl
jne 0x18003ac17
cmp byte [r13 + 0xed], dl
jle 0x18003ac1e
mov byte [rdi + 0xed], 1
comiss xmm15, dword [r14 + 0x3908]
jb 0x18003ac88
mov byte [rdi + 0xec], 1
mov cl, 1
mov al, 1
mov byte [rdi + 0xd2], al
movzx eax, byte [rdi + 0xef]
test al, al
jle 0x18003ac53
dec al
mov byte [rdi + 0xef], al
or dword [rdi + 0xc], 0xc0200
cmp byte [rdi + 0xce], dl
jne 0x18003ac67
cmp byte [rdi + 0xcb], dl
je 0x18003ac67
test cl, cl
je 0x18003aca6
cmp byte [rdi + 0xe4], dl
jg 0x18003aca6
cmp byte [rdi + 0xe5], dl
jg 0x18003aca6
cmp byte [rdi + 0xed], dl
jg 0x18003aca6
mov byte [rdi + 0xd0], 1
jmp 0x18003acb3
cmp byte [rdi + 0xec], dl
jg 0x18003ac2f
cmp byte [rdi + 0xed], dl
jg 0x18003ac2f
xor cl, cl
cmp byte [rdi + 0xee], cl
jg 0x18003ac31
xor al, al
jmp 0x18003ac33
mov byte [rdi + 0xd0], dl
mov word [rdi + 0x176], dx
cmp byte [rdi + 0xd0], dl
sete al
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.1800754f0
movaps xmm15, xmmword [rsp + 0x160]
add rsp, 0x208
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret