Function at 0x180022c10
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x80
mov rbp, qword [0x180297f60]
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm7
movaps xmmword [rsp + 0x50], xmm8
mov ebx, dword [rbp + 0x5fa0]
sub ebx, 1
movaps xmmword [rsp + 0x40], xmm10
js 0x180022cb3
movsxd rdi, ebx
shl rdi, 5
mov rsi, rdi
nop dword [rax + rax]
mov rdx, qword [rbp + 0x5fa8]
cmp dword [rdx + rdi + 4], 7
jne 0x180022ca6
movsxd r8, dword [rbp + 0x5fa0]
mov rcx, rdx
sub rdx, rdx
add rdx, rsi
sar rdx, 5
sub r8, rdx
mov rax, rdx
shl rax, 5
add rcx, rax
shl r8, 5
sub r8, 0x20
lea rdx, [rcx + 0x20]
call fcn.1800f3e50
dec dword [rbp + 0x5fa0]
sub rsi, 0x20
sub rdi, 0x20
sub ebx, 1
jns 0x180022c60
mov rbx, qword [rbp + 0x5fa8]
movsxd rdi, dword [rbp + 0x5fa0]
shl rdi, 5
add rdi, rbx
cmp rbx, rdi
je 0x180022ce8
nop dword [rax]
cmp dword [rbx + 4], 0
jne 0x180022cdf
mov rdx, rbx
mov rcx, rbp
call qword [rbx + reloc.WS2_32.dll_recv]
add rbx, 0x20
cmp rbx, rdi
jne 0x180022cd0
mov rax, qword [0x180297f60]
cmp byte [rax + 0x5e], 0
je 0x180022cff
test byte [rax + 0xc], 2
jne 0x180022cff
mov byte [rax + 0x5e], 0
mov rdi, qword [0x180297f60]
xor r14d, r14d
cmp byte [rdi + 0x5f58], r14b
jne 0x180022e7b
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x180022e74
lea rdx, [0x180188014]
call fcn.18001bd70
mov rbx, rax
test rax, rax
je 0x180022e74
mov rcx, rax
call fcn.1800fc488
mov r15d, eax
cmp eax, 0xffffffff
je 0x180022e6c
xor edx, edx
lea r8d, [r14 + 2]
mov rcx, rbx
call fcn.1800fbf30
test eax, eax
jne 0x180022e6c
mov rcx, rbx
call fcn.1800fc488
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x180022e6c
xor r8d, r8d
mov edx, r15d
mov rcx, rbx
call fcn.1800fbf30
test eax, eax
jne 0x180022e6c
cmp rsi, 0xffffffffffffffff
je 0x180022e6c
mov rcx, rsi
call fcn.18001eca0
mov r15, rax
test rax, rax
je 0x180022e6c
mov r9, rbx
lea edx, [r14 + 1]
mov r8, rsi
mov rcx, rax
call fcn.1800fbc58
mov rcx, rbx
cmp rax, rsi
je 0x180022dd9
call fcn.1800fb640
mov rcx, r15
call fcn.18001ed50
jmp 0x180022e74
call fcn.1800fb640
test rsi, rsi
je 0x180022dee
mov rdx, rsi
mov rcx, r15
call fcn.18001e720
mov r8, qword [0x180297f60]
test r8, r8
je 0x180022e5a
movsx rdx, word [r8 + 0x60d8]
lea rcx, [r8 + 0x60dc]
mov r9d, dword [r8 + 0x3f90]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x180022e4f
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60d8], cx
movsx rax, cx
lea rcx, [r8 + 0x60dc]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x60d4]
mov rdx, qword [0x180297f70]
mov rcx, r15
call qword [case.0x18001edcf.0]
jmp 0x180022e74
mov rcx, rbx
call fcn.1800fb640
mov byte [rdi + 0x5f58], 1
movss xmm0, dword [rdi + 0x5f5c]
xorps xmm10, xmm10
comiss xmm0, xmm10
jbe 0x180022f1a
subss xmm0, dword [rdi + 0x18]
comiss xmm10, xmm0
movss dword [rdi + 0x5f5c], xmm0
jb 0x180022f1a
mov rbx, qword [rdi + 0x20]
test rbx, rbx
je 0x180022f0c
mov rax, qword [0x180297f60]
lea rcx, [rsp + 0xb0]
mov qword [rsp + 0xb0], r14
mov dword [rax + 0x5f5c], r14d
call fcn.180028720
lea rdx, [0x180188018]
mov rcx, rbx
mov rsi, rax
call fcn.18001bd70
mov rbx, rax
test rax, rax
je 0x180022f13
mov r8, qword [rsp + 0xb0]
mov r9, rax
mov edx, 1
mov rcx, rsi
call fcn.1800fc6e0
mov rcx, rbx
call fcn.1800fb640
jmp 0x180022f13
mov byte [rdi + 0xce], 1
mov dword [rdi + 0x5f5c], r14d
inc dword [rbp + 0x3f90]
movss xmm0, dword [rbp + 0x18]
cvtps2pd xmm0, xmm0
mov byte [rbp + 0x3f9c], 1
mov word [rbp + 0x5ea8], r14w
mov dword [rbp + 0x4028], r14d
addsd xmm0, qword [rbp + 0x3f88]
movsd qword [rbp + 0x3f88], xmm0
mov ecx, dword [rbp + 0x5ec4]
test ecx, ecx
jns 0x18002303c
mov eax, ecx
mov ebx, r14d
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
cmovg ebx, eax
cmp ebx, ecx
jle 0x18002303c
movsxd rcx, ebx
shl rcx, 2
call fcn.18001eca0
mov rdx, qword [rbp + 0x5ec8]
mov rdi, rax
test rdx, rdx
je 0x18002302f
movsxd r8, dword [rbp + 0x5ec0]
mov rcx, rax
shl r8, 2
call fcn.1800f3e50
mov r9, qword [rbp + 0x5ec8]
test r9, r9
je 0x18002301f
mov r8, qword [0x180297f60]
test r8, r8
je 0x18002301f
movsx rdx, word [r8 + 0x60d8]
lea rcx, [r8 + 0x60dc]
mov r10d, dword [r8 + 0x3f90]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r10d
je 0x180023014
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60d8], cx
movsx rax, cx
lea rcx, [r8 + 0x60dc]
lea rcx, [rcx + rax*8]
mov dword [rcx], r10d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x60d4]
mov rdx, qword [0x180297f70]
mov rcx, r9
call qword [case.0x18001edcf.0]
mov qword [rbp + 0x5ec8], rdi
mov dword [rbp + 0x5ec4], ebx
movss xmm8, dword [0x180185ef4]
mov dword [rbp + 0x5ec0], r14d
movsxd rax, dword [rbp + 0x61fc]
movss xmm1, dword [rbp + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [rbp + rax*4 + 0x610c]
addss xmm0, dword [rbp + 0x6204]
movss dword [rbp + 0x6204], xmm0
movss dword [rbp + rax*4 + 0x610c], xmm1
mov eax, 0x88888889
mov ecx, dword [rbp + 0x61fc]
movss xmm2, dword [rbp + 0x6204]
inc ecx
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x3c
sub ecx, eax
mov eax, dword [rbp + 0x6200]
inc eax
mov dword [rbp + 0x61fc], ecx
mov ecx, 0x3c
cmp eax, ecx
cmovl ecx, eax
comiss xmm2, xmm10
mov dword [rbp + 0x6200], ecx
jbe 0x1800230e2
movss xmm1, dword [0x180185eec]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
divss xmm1, xmm2
jmp 0x1800230e6
movaps xmm1, xmm8
lea rcx, [rbp + 0x3fc0]
movss dword [rbp + 0xd4], xmm1
xor edx, edx
call fcn.18002ee90
movzx ecx, byte [rbp + 0x5a]
call fcn.18002a800
mov rdx, qword [0x180297f60]
mov rax, qword [rdx + 0x4b30]
mov rcx, qword [rax]
mov qword [rcx], 5
mov dword [rcx + 8], r14d
movsd xmm0, qword [rdx + 0x10]
movsd qword [rcx + 0xc], xmm0
mov rcx, qword [rdx + 0x4b30]
movsxd rax, dword [rdx + 0x4b28]
lea rdx, [rcx + rax*8]
cmp rcx, rdx
je 0x1800231eb
nop word [rax + rax]
mov rax, qword [rcx]
movaps xmm3, xmm10
add rcx, 8
movsd xmm4, qword [rax + 0xb8]
movsd xmm2, qword [rax + 0xc0]
movaps xmm1, xmm4
movsd qword [rax + 0xb0], xmm2
movaps xmm0, xmm4
shufps xmm0, xmm0, 0x55
mov qword [rax + 0xc0], r14
mov qword [rax + 0xb8], r14
movsd qword [rax + 0xa8], xmm4
addss xmm0, dword [rax + 8]
addss xmm1, dword [rax + 4]
movss dword [rax + 0x18], xmm0
movaps xmm0, xmm4
movss dword [rax + 0x14], xmm1
movss xmm1, dword [rax + 0xc]
shufps xmm0, xmm0, 0x55
subss xmm1, xmm4
addss xmm1, xmm2
movss xmm2, dword [rax + 0x10]
subss xmm2, xmm0
movaps xmm0, xmm10
maxss xmm3, xmm1
addss xmm2, dword [rax + 0xb4]
movss dword [rax + 0x1c], xmm3
maxss xmm0, xmm2
movss dword [rax + 0x20], xmm0
cmp rcx, rdx
jne 0x180023150
mov rax, qword [rbp + 0x38]
mov byte [rax + 0x18], 1
mov rax, qword [0x180297f60]
mov rcx, qword [rax + 0x48]
test rcx, rcx
jne 0x18002320e
mov rax, qword [rax + 0x38]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx]
call fcn.180028fe0
mov rcx, qword [rbp + 0x4b30]
movaps xmm0, xmm8
movsxd rax, dword [rbp + 0x4b28]
movaps xmm7, xmm8
movss xmm5, dword [0x1801882c4]
movaps xmm6, xmm5
lea rdx, [rcx + rax*8]
cmp rcx, rdx
je 0x180023286
nop dword [rax]
mov rax, qword [rcx]
movss xmm4, dword [rax + 4]
comiss xmm0, xmm4
movss xmm3, dword [rax + 8]
movaps xmm1, xmm4
addss xmm1, dword [rax + 0xc]
movaps xmm2, xmm3
addss xmm2, dword [rax + 0x10]
jbe 0x180023265
movaps xmm0, xmm4
comiss xmm7, xmm3
jbe 0x18002326d
movaps xmm7, xmm3
comiss xmm1, xmm5
jbe 0x180023275
movaps xmm5, xmm1
comiss xmm2, xmm6
jbe 0x18002327d
movaps xmm6, xmm2
add rcx, 8
cmp rcx, rdx
jne 0x180023240
mov eax, dword [rbp + 0x39cc]
lea rcx, [rbp + 0x3d68]
movss xmm1, dword [rbp + 0x39d0]
shufps xmm0, xmm0, 0xe1
movss xmm0, xmm7
mov dword [rbp + 0x3d7c], eax
shufps xmm0, xmm0, 0xc6
movss xmm0, xmm5
shufps xmm0, xmm0, 0x27
movss xmm0, xmm6
shufps xmm0, xmm0, 0x39
movups xmmword [rbp + 0x3d84], xmm0
call fcn.18003b540
mov r8d, r14d
mov dword [rbp + 0x3d94], r14d
cmp byte [rbp + 0x39c8], r14b
je 0x1800232ec
mov dword [rbp + 0x3d94], 1
mov r8d, 1
mov edx, r8d
cmp byte [rbp + 0x39c9], r14b
je 0x180023311
mov rax, qword [rbp + 0x3d58]
mov rcx, qword [rax + 0x40]
test byte [rcx], 4
jne 0x180023311
or edx, 2
mov dword [rbp + 0x3d94], edx
cmp byte [rbp + 0x39ca], r14b
je 0x180023323
or edx, 4
mov dword [rbp + 0x3d94], edx
test byte [rbp + 0xc], 8
je 0x180023332
or edx, 8
mov dword [rbp + 0x3d94], edx
mov rcx, qword [rbp + 0x4b30]
movsxd rax, dword [rbp + 0x4b28]
lea rdx, [rcx + rax*8]
cmp rcx, rdx
je 0x180023360
nop dword [rax]
mov rax, qword [rcx]
add rcx, 8
mov byte [rax + 0x48], r14b
cmp rcx, rdx
jne 0x180023350
cmp byte [rbp + 0x4d50], r14b
je 0x18002339b
mov eax, dword [rbp + 0x4d6c]
cmp eax, dword [rbp + 0x409c]
jne 0x18002339b
mov rcx, qword [0x180297f60]
cmp dword [rcx + 0x409c], eax
jne 0x18002338c
mov dword [rcx + 0x40a0], eax
cmp dword [rcx + 0x40c8], eax
jne 0x18002339b
mov byte [rcx + 0x40cc], 1
lea rax, [rbp + 0x4088]
mov ecx, dword [rax]
cmp dword [rbp + 0x408c], r14d
jne 0x1800233b6
mov dword [rbp + 0x4094], r14d
jmp 0x1800233c7
mov edx, ecx
mov r8, rax
test ecx, ecx
je 0x1800233d3
cmp dword [rbp + 0x409c], ecx
jne 0x1800233d3
mov dword [rbp + 0x4098], r14d
mov edx, ecx
mov r8, rax
lea rdi, [rbp + 0x409c]
test edx, edx
je 0x18002340a
movss xmm1, dword [rbp + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [rbp + 0x4094]
movss dword [rbp + 0x4094], xmm0
cmp dword [rdi], edx
je 0x18002340a
addss xmm1, dword [rbp + 0x4098]
movss dword [rbp + 0x4098], xmm1
mov eax, dword [rdi]
lea rsi, [0x180185bc8]
mov dword [rbp + 0x408c], edx
mov dword [r8], r14d
mov word [rbp + 0x4090], r14w
test eax, eax
je 0x180023541
cmp dword [rbp + 0x40a0], eax
je 0x180023541
cmp dword [rbp + 0x40c8], eax
jne 0x180023541
test byte [rbp + 0x603c], 1
je 0x180023459
lea rcx, str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.180018370
mov rbx, qword [0x180297f60]
mov eax, dword [rbx + 0x409c]
test eax, eax
je 0x1800234af
mov rdx, qword [rbx + 0x4050]
mov ecx, eax
test rdx, rdx
je 0x1800234a2
cmp eax, dword [rdx + 0x84]
jne 0x1800234a2
test byte [rbx + 0x603c], 1
je 0x18002349b
lea rcx, str.SetActiveID___cancel_MovingWindow_n
call fcn.180018370
mov ecx, dword [rbx + 0x409c]
mov qword [rbx + 0x4050], r14
cmp dword [rbx + 0x4f00], ecx
jne 0x1800234af
call fcn.18005a390
mov edx, dword [rbx + 0x409c]
test edx, edx
setne al
mov byte [rbx + 0x40a8], al
test edx, edx
je 0x18002350f
test byte [rbx + 0x603c], 1
je 0x1800234f6
mov rax, qword [rbx + 0x40b8]
test rax, rax
je 0x1800234df
mov r8, qword [rax + 8]
jmp 0x1800234e2
mov r8, rsi
xor r9d, r9d
mov qword [rsp + 0x20], rsi
lea rcx, str.SetActiveID___old:0x_08X__window___s______new:0x_08X__window___s___n
call fcn.180018370
mov dword [rbx + 0x40a4], r14d
mov word [rbx + 0x40ab], r14w
mov dword [rbx + 0x40c4], 0xffffffff
mov dword [rbx + 0x409c], r14d
mov word [rbx + 0x40a9], r14w
mov qword [rbx + 0x40b8], r14
mov byte [rbx + 0x40ad], r14b
mov dword [rbx + 0x4988], r14d
mov byte [rbx + 0x498c], r14b
mov dword [rbx + 0x4994], r14d
mov ecx, dword [rdi]
test ecx, ecx
je 0x18002355c
movss xmm0, dword [rbp + 0x18]
addss xmm0, dword [rbp + 0x40a4]
movss dword [rbp + 0x40a4], xmm0
mov rax, qword [rbp + 0x40b8]
movss xmm0, dword [rbp + 0x18]
addss xmm0, dword [rbp + 0x40dc]
mov qword [rbp + 0x40d0], rax
movzx eax, byte [rbp + 0x40ac]
mov byte [rbp + 0x40cd], al
mov eax, dword [rbp + 0x5e18]
movss dword [rbp + 0x40dc], xmm0
mov dword [rbp + 0x40c8], ecx
mov dword [rbp + 0x40a0], r14d
mov byte [rbp + 0x40ad], r14b
mov byte [rbp + 0x40cc], r14b
mov byte [rbp + 0x40a8], r14b
test eax, eax
je 0x1800235c3
cmp ecx, eax
je 0x1800235c3
mov dword [rbp + 0x5e18], r14d
test ecx, ecx
jne 0x1800235de
mov dword [rbp + 0x4988], r14d
mov byte [rbp + 0x498c], r14b
mov dword [rbp + 0x4994], r14d
jmp 0x180023607
mov eax, dword [rbp + 0x4994]
test eax, eax
je 0x180023607
test al, 2
je 0x180023607
mov rax, qword [0x180297f60]
mov dword [rax + 0x41a4], ecx
mov dword [rax + 0x41a0], ecx
mov word [rax + 0x41a8], r14w
mov edx, dword [rbp + 0x4ed0]
mov r8, rbp
mov eax, 0x4eec
mov r9, rbp
mov ecx, 0x3d40
test edx, edx
je 0x18002363a
movss xmm0, dword [rbp + 0x4eec]
comiss xmm0, dword [rbp + 0x3d40]
jb 0x180023641
mov dword [rbp + 0x4ee0], edx
jmp 0x180023641
mov dword [rbp + 0x4ee0], r14d
mov r10, qword [rbp + 0x4040]
test r10, r10
je 0x180023666
movss xmm0, dword [r8 + rax]
comiss xmm0, dword [rcx + r9]
jb 0x18002366d
mov eax, dword [r10 + 0x10]
mov dword [rbp + 0x4ee4], eax
jmp 0x18002366d
mov dword [rbp + 0x4ee4], r14d
movss xmm0, dword [rbp + 0x4ed8]
mov dword [rbp + 0x4ed4], edx
test edx, edx
je 0x18002369c
addss xmm0, dword [rbp + 0x18]
mov dword [rbp + 0x4edc], r14d
mov dword [rbp + 0x4ed0], r14d
movss dword [rbp + 0x4ed8], xmm0
jmp 0x1800236d6
comiss xmm0, xmm10
jbe 0x1800236d6
movss xmm2, dword [rbp + 0x18]
movss xmm0, dword [0x18018821c]
movaps xmm1, xmm2
addss xmm1, dword [rbp + 0x4edc]
addss xmm2, xmm2
movss dword [rbp + 0x4edc], xmm1
maxss xmm0, xmm2
comiss xmm1, xmm0
jb 0x1800236d6
mov qword [rbp + 0x4ed8], r14
mov eax, dword [rbp + 0x4dcc]
mov dword [rbp + 0x4dd0], eax
mov qword [rbp + 0x4dc8], 0x7f7fffff
mov word [rbp + 0x4d51], r14w
mov dword [rbp + 0x4dd8], r14d
call fcn.18002b1e0
call fcn.1800203c0
call fcn.18002b890
call fcn.18002a3b0
mov rbx, qword [0x180297f60]
mov rcx, qword [rbx + 0x4050]
test rcx, rcx
je 0x1800237ec
mov eax, dword [rbx + 0x409c]
mov dword [rbx + 0x40a0], eax
cmp dword [rbx + 0x40c8], eax
jne 0x180023742
mov byte [rbx + 0x40cc], 1
mov r9, qword [rcx + 0x388]
cmp byte [rbx + 0xe50], r14b
je 0x1800237e3
lea rcx, [rbx + 0xe48]
test rcx, rcx
je 0x180023767
mov rax, rcx
jmp 0x180023774
mov rax, qword [0x180297f60]
add rax, 0xe48
movss xmm0, dword [rax]
movss xmm1, dword [0x1801882c0]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x1800237e3
comiss xmm2, xmm1
jb 0x1800237e3
movss xmm0, dword [rcx]
lea rdx, [rsp + 0xb0]
movss xmm1, dword [rcx + 4]
mov r8d, 1
subss xmm0, dword [rbx + 0x40b0]
subss xmm1, dword [rbx + 0x40b4]
mov rcx, r9
movss dword [rsp + 0xb0], xmm0
movss dword [rsp + 0xb4], xmm1
call fcn.180029b70
mov rcx, qword [rbx + 0x4050]
xor edx, edx
call fcn.18001a7b0
jmp 0x180023918
mov qword [rbx + 0x4050], r14
jmp 0x180023830
mov rcx, qword [rbx + 0x40b8]
test rcx, rcx
je 0x180023918
mov eax, dword [rbx + 0x409c]
cmp dword [rcx + 0x84], eax
jne 0x180023918
mov dword [rbx + 0x40a0], eax
cmp dword [rbx + 0x40c8], eax
jne 0x180023823
mov byte [rbx + 0x40cc], 1
cmp byte [rbx + 0xe50], r14b
jne 0x180023918
mov rbx, qword [0x180297f60]
mov eax, dword [rbx + 0x409c]
test eax, eax
je 0x180023886
mov rdx, qword [rbx + 0x4050]
mov ecx, eax
test rdx, rdx
je 0x180023879
cmp eax, dword [rdx + 0x84]
jne 0x180023879
test byte [rbx + 0x603c], 1
je 0x180023872
lea rcx, str.SetActiveID___cancel_MovingWindow_n
call fcn.180018370
mov ecx, dword [rbx + 0x409c]
mov qword [rbx + 0x4050], r14
cmp dword [rbx + 0x4f00], ecx
jne 0x180023886
call fcn.18005a390
mov edx, dword [rbx + 0x409c]
test edx, edx
setne al
mov byte [rbx + 0x40a8], al
test edx, edx
je 0x1800238e6
test byte [rbx + 0x603c], 1
je 0x1800238cd
mov rax, qword [rbx + 0x40b8]
test rax, rax
je 0x1800238b6
mov r8, qword [rax + 8]
jmp 0x1800238b9
mov r8, rsi
xor r9d, r9d
mov qword [rsp + 0x20], rsi
lea rcx, str.SetActiveID___old:0x_08X__window___s______new:0x_08X__window___s___n
call fcn.180018370
mov dword [rbx + 0x40a4], r14d
mov dword [rbx + 0x40c4], 0xffffffff
mov word [rbx + 0x40ab], r14w
mov dword [rbx + 0x4994], r14d
mov byte [rbx + 0x498c], r14b
mov dword [rbx + 0x4988], r14d
mov byte [rbx + 0x40ad], r14b
mov qword [rbx + 0x40b8], r14
mov word [rbx + 0x40a9], r14w
mov dword [rbx + 0x409c], r14d
mov r8, qword [0x180297f60]
movss xmm6, dword [0x180188274]
mov eax, dword [r8 + 0x4af0]
sub eax, 1
js 0x180023963
mov r8, qword [r8 + 0x4af8]
movsxd rdx, eax
add r8, 8
imul rcx, rdx, 0x38
add r8, rcx
mov rax, qword [r8]
test rax, rax
je 0x180023959
test dword [rax + 0x14], 0x8000000
jne 0x18002397a
sub r8, 0x38
sub rdx, 1
jns 0x180023948
cmp qword [rbp + 0x4d18], r14
je 0x180023995
movss xmm0, dword [rbp + 0x4d34]
comiss xmm0, xmm10
jbe 0x180023995
movss xmm1, dword [rbp + 0x18]
mulss xmm1, xmm6
addss xmm1, dword [rbp + 0x4d4c]
minss xmm1, dword [0x180185eec]
jmp 0x1800239b3
movss xmm0, dword [rbp + 0x18]
mulss xmm0, dword [0x180188280]
movss xmm1, dword [rbp + 0x4d4c]
subss xmm1, xmm0
maxss xmm1, xmm10
movss dword [rbp + 0x4d4c], xmm1
movups xmm0, xmmword [rbp + 0x5f38]
mov dword [rbp + 0x4ee8], r14d
mov qword [rbp + 0x620c], 0xffffffffffffffff
movups xmmword [rbp + 0x5f48], xmm0
mov dword [rbp + 0x6208], 0xffffffff
mov byte [rbp + 0x5f38], r14b
call fcn.18002bf40
cmp byte [rbp + 0x3f9f], r14b
jne 0x180023a18
movss xmm0, dword [rbp + 0x60]
comiss xmm10, xmm0
ja 0x180023a18
movsd xmm8, qword [rbp + 0x3f88]
cvtpd2ps xmm8, xmm8
subss xmm8, xmm0
mov rdi, qword [rbp + 0x3fe0]
movsxd rax, dword [rbp + 0x3fd8]
lea rsi, [rdi + rax*8]
cmp rdi, rsi
je 0x180023d2b
mov rbx, qword [rdi]
movzx ecx, byte [rbx + 0xbe]
movzx eax, word [rbx + 0xcc]
mov byte [rbx + 0xbf], cl
mov byte [rbx + 0xbe], r14b
mov byte [rbx + 0xc0], r14b
mov word [rbx + 0xce], ax
mov word [rbx + 0xcc], r14w
test cl, cl
jne 0x180023d1e
cmp byte [rbx + 0x3f4], r14b
jne 0x180023d1e
comiss xmm8, dword [rbx + 0x274]
jbe 0x180023d1e
mov rcx, qword [rbx + 0x2a8]
mov byte [rbx + 0x3f4], 1
mov eax, dword [rcx + 0x14]
mov dword [rbx + 0x3ec], eax
mov eax, dword [rcx + 0x24]
mov dword [rbx + 0x3f0], eax
mov r9, qword [rbx + 0x108]
test r9, r9
je 0x180023b44
mov qword [rbx + 0x100], r14
mov r8, qword [0x180297f60]
test r8, r8
je 0x180023b2d
movsx rdx, word [r8 + 0x60d8]
lea rcx, [r8 + 0x60dc]
mov r10d, dword [r8 + 0x3f90]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r10d
je 0x180023b22
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60d8], cx
movsx rax, cx
lea rcx, [r8 + 0x60dc]
lea rcx, [rcx + rax*8]
mov dword [rcx], r10d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x60d4]
mov rdx, qword [0x180297f70]
mov rcx, r9
call qword [case.0x18001edcf.0]
mov qword [rbx + 0x108], r14
mov rcx, qword [rbx + 0x2a8]
call fcn.18003c060
mov r9, qword [rbx + 0x1a8]
test r9, r9
je 0x180023bea
mov qword [rbx + 0x1a0], r14
mov r8, qword [0x180297f60]
test r8, r8
je 0x180023bd3
movsx rdx, word [r8 + 0x60d8]
lea rcx, [r8 + 0x60dc]
mov r10d, dword [r8 + 0x3f90]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r10d
je 0x180023bc8
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60d8], cx
movsx rax, cx
lea rcx, [r8 + 0x60dc]
lea rcx, [rcx + rax*8]
mov dword [rcx], r10d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x60d4]
mov rdx, qword [0x180297f70]
mov rcx, r9
call qword [case.0x18001edcf.0]
mov qword [rbx + 0x1a8], r14
mov r9, qword [rbx + 0x1e0]
test r9, r9
je 0x180023c84
mov qword [rbx + 0x1d8], r14
mov r8, qword [0x180297f60]
test r8, r8
je 0x180023c6d
movsx rdx, word [r8 + 0x60d8]
lea rcx, [r8 + 0x60dc]
mov r10d, dword [r8 + 0x3f90]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r10d
je 0x180023c62
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60d8], cx
movsx rax, cx
lea rcx, [r8 + 0x60dc]
lea rcx, [rcx + rax*8]
mov dword [rcx], r10d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x60d4]
mov rdx, qword [0x180297f70]
mov rcx, r9
call qword [case.0x18001edcf.0]
mov qword [rbx + 0x1e0], r14
mov r9, qword [rbx + 0x1f0]
test r9, r9
je 0x180023d1e
mov qword [rbx + 0x1e8], r14
mov r8, qword [0x180297f60]
test r8, r8
je 0x180023d07
movsx rdx, word [r8 + 0x60d8]
lea rcx, [r8 + 0x60dc]
mov r10d, dword [r8 + 0x3f90]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r10d
je 0x180023cfc
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60d8], cx
movsx rax, cx
lea rcx, [r8 + 0x60dc]
lea rcx, [rcx + rax*8]
mov dword [rcx], r10d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x60d4]
mov rdx, qword [0x180297f70]
mov rcx, r9
call qword [case.0x18001edcf.0]
mov qword [rbx + 0x1f0], r14
add rdi, 8
cmp rdi, rsi
jne 0x180023a33
mov ebx, r14d
cmp dword [rbp + 0x4e60], r14d
jle 0x180023d7c
mov rdi, r14
nop word [rax + rax]
mov rax, qword [rbp + 0x4e68]
movss xmm0, dword [rdi + rax]
comiss xmm0, xmm10
jb 0x180023d6e
comiss xmm8, xmm0
jbe 0x180023d6e
movsxd rax, ebx
imul rcx, rax, 0x250
add rcx, qword [rbp + 0x4e40]
call fcn.18004e120
inc ebx
add rdi, 4
cmp ebx, dword [rbp + 0x4e60]
jl 0x180023d40
mov rbx, qword [rbp + 0x4e30]
movsxd rax, dword [rbp + 0x4e28]
imul rdi, rax, 0x78
add rdi, rbx
cmp rbx, rdi
je 0x180023dc2
nop word [rax + rax]
movss xmm0, dword [rbx + 4]
comiss xmm0, xmm10
jb 0x180023db9
comiss xmm8, xmm0
jbe 0x180023db9
mov rcx, rbx
call fcn.18004e200
add rbx, 0x78
cmp rbx, rdi
jne 0x180023da0
cmp byte [rbp + 0x3f9f], r14b
je 0x180023f0f
mov rbx, qword [0x180297f60]
mov r9, qword [rbx + 0x4ad8]
test r9, r9
je 0x180023e70
mov qword [rbx + 0x4ad0], r14
mov r8, qword [0x180297f60]
test r8, r8
je 0x180023e59
movsx rdx, word [r8 + 0x60d8]
lea rcx, [r8 + 0x60dc]
mov r10d, dword [r8 + 0x3f90]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r10d
je 0x180023e4e
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60d8], cx
movsx rax, cx
lea rcx, [r8 + 0x60dc]
lea rcx, [rcx + rax*8]
mov dword [rcx], r10d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x60d4]
mov rdx, qword [0x180297f70]
mov rcx, r9
call qword [case.0x18001edcf.0]
mov qword [rbx + 0x4ad8], r14
mov r9, qword [rbx + 0x4ae8]
test r9, r9
je 0x180023f0a
mov qword [rbx + 0x4ae0], r14
mov r8, qword [0x180297f60]
test r8, r8
je 0x180023ef3
movsx rdx, word [r8 + 0x60d8]
lea rcx, [r8 + 0x60dc]
mov r10d, dword [r8 + 0x3f90]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r10d
je 0x180023ee8
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60d8], cx
movsx rax, cx
lea rcx, [r8 + 0x60dc]
lea rcx, [rcx + rax*8]
mov dword [rcx], r10d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x60d4]
mov rdx, qword [0x180297f70]
mov rcx, r9
call qword [case.0x18001edcf.0]
mov qword [rbx + 0x4ae8], r14
call fcn.18004df20
mov rax, qword [rbp + 0x4b38]
mov byte [rbp + 0x3f9f], r14b
test rax, rax
je 0x180023f86
cmp byte [rax + 0xbf], r14b
jne 0x180023f86
mov rcx, qword [0x180297f60]
mov eax, dword [rcx + 0x3fe8]
sub eax, 1
js 0x180023f7a
movsxd rdx, eax
mov rax, qword [rcx + 0x3ff0]
lea r8, [rax + rdx*8]
nop dword [rax + rax]
mov rcx, qword [r8]
test rcx, rcx
je 0x180023f70
cmp byte [rcx + 0xbf], r14b
je 0x180023f70
mov eax, dword [rcx + 0x14]
and eax, 0x10200
cmp eax, 0x10200
jne 0x180023f7c
sub r8, 8
sub rdx, 1
jns 0x180023f50
xor ecx, ecx
mov edx, 1
call fcn.18001a7b0
mov ecx, dword [rbp + 0x400c]
test ecx, ecx
jns 0x180024074
mov eax, ecx
mov ebx, r14d
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
cmovg ebx, eax
cmp ebx, ecx
jle 0x180024074
movsxd rax, ebx
imul rcx, rax, 0x68
call fcn.18001eca0
mov rdx, qword [rbp + 0x4010]
mov rdi, rax
test rdx, rdx
je 0x180024067
movsxd rax, dword [rbp + 0x4008]
mov rcx, rdi
imul r8, rax, 0x68
call fcn.1800f3e50
mov r9, qword [rbp + 0x4010]
test r9, r9
je 0x180024057
mov r8, qword [0x180297f60]
test r8, r8
je 0x180024057
movsx rdx, word [r8 + 0x60d8]
lea rcx, [r8 + 0x60dc]
mov r10d, dword [r8 + 0x3f90]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r10d
je 0x18002404c
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60d8], cx
movsx rax, cx
lea rcx, [r8 + 0x60dc]
lea rcx, [rcx + rax*8]
mov dword [rcx], r10d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x60d4]
mov rdx, qword [0x180297f70]
mov rcx, r9
call qword [case.0x18001edcf.0]
mov qword [rbp + 0x4010], rdi
mov dword [rbp + 0x400c], ebx
lea rcx, [rbp + 0x4b00]
mov dword [rbp + 0x4008], r14d
xor edx, edx
call fcn.18002ede0
mov ecx, dword [rbp + 0x4ad4]
mov eax, ecx
test ecx, ecx
jns 0x18002417b
cdq
mov ebx, r14d
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
cmovg ebx, eax
mov eax, ecx
cmp ebx, ecx
jle 0x18002417b
movsxd rcx, ebx
shl rcx, 2
call fcn.18001eca0
mov rdx, qword [rbp + 0x4ad8]
mov rdi, rax
test rdx, rdx
je 0x18002416c
movsxd r8, dword [rbp + 0x4ad0]
mov rcx, rax
shl r8, 2
call fcn.1800f3e50
mov r9, qword [rbp + 0x4ad8]
test r9, r9
je 0x18002415c
mov r8, qword [0x180297f60]
test r8, r8
je 0x18002415c
movsx rdx, word [r8 + 0x60d8]
lea rcx, [r8 + 0x60dc]
mov r10d, dword [r8 + 0x3f90]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r10d
je 0x180024151
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60d8], cx
movsx rax, cx
lea rcx, [r8 + 0x60dc]
lea rcx, [rcx + rax*8]
mov dword [rcx], r10d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x60d4]
mov rdx, qword [0x180297f70]
mov rcx, r9
call qword [case.0x18001edcf.0]
mov qword [rbp + 0x4ad8], rdi
mov eax, ebx
mov dword [rbp + 0x4ad4], ebx
mov dword [rbp + 0x4ad0], r14d
test eax, eax
jne 0x180024251
lea ecx, [rax + 0x20]
call fcn.18001eca0
mov rdx, qword [rbp + 0x4ad8]
mov rbx, rax
test rdx, rdx
je 0x180024240
movsxd r8, dword [rbp + 0x4ad0]
mov rcx, rax
shl r8, 2
call fcn.1800f3e50
mov r9, qword [rbp + 0x4ad8]
test r9, r9
je 0x180024230
mov r8, qword [0x180297f60]
test r8, r8
je 0x180024230
movsx rdx, word [r8 + 0x60d8]
lea rcx, [r8 + 0x60dc]
mov r10d, dword [r8 + 0x3f90]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r10d
je 0x180024225
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60d8], cx
movsx rax, cx
lea rcx, [r8 + 0x60dc]
lea rcx, [rcx + rax*8]
mov dword [rcx], r10d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x60d4]
mov rdx, qword [0x180297f70]
mov rcx, r9
call qword [case.0x18001edcf.0]
mov qword [rbp + 0x4ad8], rbx
mov dword [rbp + 0x4ad4], 8
movsxd rcx, dword [rbp + 0x4ad0]
mov rax, qword [rbp + 0x4ad8]
mov dword [rax + rcx*4], r14d
inc dword [rbp + 0x4ad0]
mov ecx, dword [rbp + 0x4ae4]
test ecx, ecx
jns 0x180024357
mov eax, ecx
mov ebx, r14d
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
cmovg ebx, eax
cmp ebx, ecx
jle 0x180024357
movsxd rax, ebx
imul rcx, rax, 0x38
call fcn.18001eca0
mov rdx, qword [rbp + 0x4ae8]
mov rdi, rax
test rdx, rdx
je 0x18002434a
movsxd rax, dword [rbp + 0x4ae0]
mov rcx, rdi
imul r8, rax, 0x38
call fcn.1800f3e50
mov r9, qword [rbp + 0x4ae8]
test r9, r9
je 0x18002433a
mov r8, qword [0x180297f60]
test r8, r8
je 0x18002433a
movsx rdx, word [r8 + 0x60d8]
lea rcx, [r8 + 0x60dc]
mov r10d, dword [r8 + 0x3f90]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r10d
je 0x18002432f
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60d8], cx
movsx rax, cx
lea rcx, [r8 + 0x60dc]
lea rcx, [rcx + rax*8]
mov dword [rcx], r10d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x60d4]
mov rdx, qword [0x180297f70]
mov rcx, r9
call qword [case.0x18001edcf.0]
mov qword [rbp + 0x4ae8], rdi
mov dword [rbp + 0x4ae4], ebx
mov dword [rbp + 0x4ae0], r14d
call fcn.18002a180
mov rbx, qword [0x180297f60]
mov dword [rbx + 0x4084], r14d
mov eax, dword [rbx + 0x60a8]
inc eax
cmp dword [rbx + 0x3f90], eax
jne 0x180024526
mov edi, dword [rbx + 0x408c]
test edi, edi
jne 0x180024395
mov edi, dword [rbx + 0x409c]
cmp dword [rbx + 0x60b0], edi
je 0x1800244af
mov dword [rbx + 0x60b0], edi
mov dword [rbx + 0x60ac], 0xffffffff
mov ecx, dword [rbx + 0x60bc]
test ecx, ecx
jns 0x1800244a8
mov eax, ecx
mov esi, r14d
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
cmovg esi, eax
cmp esi, ecx
jle 0x1800244a8
movsxd rax, esi
lea rcx, [rax + rax*8]
shl rcx, 3
call fcn.18001eca0
mov rdx, qword [rbx + 0x60c0]
mov r15, rax
test rdx, rdx
je 0x18002449b
movsxd rax, dword [rbx + 0x60b8]
mov rcx, r15
lea r8, [rax + rax*8]
shl r8, 3
call fcn.1800f3e50
mov r9, qword [rbx + 0x60c0]
test r9, r9
je 0x18002448b
mov r8, qword [0x180297f60]
test r8, r8
je 0x18002448b
movsx r11, word [r8 + 0x60d8]
lea rdx, [r8 + 0x60dc]
mov r10d, dword [r8 + 0x3f90]
lea rdx, [rdx + r11*8]
cmp dword [rdx], r10d
je 0x180024480
lea ecx, [r11 + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
lea rdx, [r8 + 0x60dc]
sub ecx, eax
mov word [r8 + 0x60d8], cx
movsx rax, cx
lea rdx, [rdx + rax*8]
mov dword [rdx], r10d
mov dword [rdx + 4], r14d
inc word [rdx + 6]
inc dword [r8 + 0x60d4]
mov rdx, qword [0x180297f70]
mov rcx, r9
call qword [case.0x18001edcf.0]
mov qword [rbx + 0x60c0], r15
mov dword [rbx + 0x60bc], esi
mov dword [rbx + 0x60b8], r14d
test edi, edi
je 0x180024526
movsxd rcx, dword [rbx + 0x60ac]
test ecx, ecx
js 0x1800244ea
mov eax, ecx
cmp ecx, dword [rbx + 0x60b8]
jge 0x1800244fd
mov r8, qword [rbx + 0x60c0]
lea rdx, [rcx + rcx*8]
cmp byte [r8 + rdx*8 + 5], r14b
jne 0x1800244e2
cmp byte [r8 + rdx*8 + 4], 2
jle 0x1800244fd
inc ecx
mov dword [rbx + 0x60ac], ecx
mov eax, ecx
cmp ecx, 0xffffffff
jne 0x1800244f9
mov dword [rbx + 0x4084], edi
jmp 0x180024526
test ecx, ecx
js 0x180024526
cmp eax, dword [rbx + 0x60b8]
jge 0x180024526
cdqe
lea rdx, [rax + rax*8]
mov rax, qword [rbx + 0x60c0]
mov ecx, dword [rax + rdx*8]
mov dword [rbx + 0x4084], ecx
mov rax, qword [rbx + 0x60c0]
inc byte [rax + rdx*8 + 4]
mov r15, qword [0x180297f60]
movss xmm0, dword [r15 + 0x607c]
comiss xmm10, xmm0
jae 0x180024603
movsxd rcx, dword [r15 + 0x4a8c]
lea rbx, [r15 + 0x39e8]
mov rax, rcx
mulss xmm0, xmm6
shl rax, 4
lea rdi, [r15 + 0x39e4]
add rbx, rax
add rdi, rax
lea rsi, [rcx + 0x39e]
shl rsi, 4
add rsi, r15
call fcn.1801041a0
movss xmm1, dword [0x180185ee8]
mov r9, rsi
mulss xmm0, xmm1
movaps xmm2, xmm1
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rdi
addss xmm0, xmm1
call fcn.1800178f0
movsxd rax, dword [r15 + 0x4a8c]
add rax, rax
mov dword [r15 + rax*8 + 0x39ec], 0x3f800000
movss xmm0, dword [r15 + 0x607c]
subss xmm0, dword [r15 + 0x18]
comiss xmm10, xmm0
movss dword [r15 + 0x607c], xmm0
jb 0x180024603
mov rcx, qword [0x180297f60]
movsxd rax, dword [rcx + 0x4a8c]
cmp eax, 0x36
je 0x1800245f9
movups xmm0, xmmword [rcx + 0x6080]
add rax, 0x39e
add rax, rax
movups xmmword [rcx + rax*8], xmm0
mov dword [rcx + 0x4a8c], 0x36
movzx eax, byte [rbp + 0x606d]
test al, al
je 0x180024626
sub al, 1
mov byte [rbp + 0x606d], al
jne 0x180024626
mov dword [rbp + 0x49a0], r14d
mov byte [rbp + 0x606e], r14b
movzx eax, byte [rbp + 0x606c]
test al, al
je 0x18002465c
sub al, 1
mov byte [rbp + 0x606c], al
jne 0x18002465c
lea rcx, str._Debug_Log:_Auto_disabled_some_ImGuiDebugLogFlags_after_2_frames__n
call fcn.180018370
mov eax, dword [rbp + 0x6068]
not eax
mov dword [rbp + 0x6068], r14d
and dword [rbp + 0x603c], eax
mov byte [rbp + 0x3f9d], 1
lea rcx, str.DebugDefault
mov rax, qword [0x180297f60]
xor r8d, r8d
xor edx, edx
or dword [rax + 0x4a18], 2
mov dword [rax + 0x4a38], 0x43c80000
mov dword [rax + 0x4a3c], 0x43c80000
mov dword [rax + 0x4a20], 4
call fcn.1800125b0
cmp byte [rbp + 0x7a], r14b
je 0x1800246eb
movsx ecx, byte [rbp + 0x6074]
cmp cl, 0xff
je 0x1800246ee
mov eax, dword [rbp + 0x3f90]
and eax, 0x80000003
jge 0x1800246c6
dec eax
or eax, 0xfffffffc
inc eax
test eax, eax
mov eax, 0x66666667
sete r14b
add r14d, ecx
imul r14d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
add eax, eax
sub r14d, eax
jmp 0x1800246ee
mov r14b, 0xff
mov byte [rbp + 0x6074], r14b
mov rbx, qword [rbp + 0x5fa8]
movsxd rdi, dword [rbp + 0x5fa0]
shl rdi, 5
add rdi, rbx
cmp rbx, rdi
je 0x180024728
nop
cmp dword [rbx + 4], 1
jne 0x18002471f
mov rdx, rbx
mov rcx, rbp
call qword [rbx + reloc.WS2_32.dll_recv]
add rbx, 0x20
cmp rbx, rdi
jne 0x180024710
movaps xmm6, xmmword [rsp + 0x70]
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm10, xmmword [r11 - 0x40]
movaps xmm7, xmmword [rsp + 0x60]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret