Function at 0x140020410
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rbp, qword [0x1408c2608]
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
mov ebx, dword [rbp + 0x6308]
sub ebx, 1
movaps xmmword [rax - 0x58], xmm9
js 0x1400204b6
movsxd rdi, ebx
shl rdi, 5
mov rsi, rdi
nop dword [rax]
mov rax, qword [rbp + 0x6310]
cmp dword [rdi + rax + 4], 7
jne 0x1400204a9
movsxd r8, dword [rbp + 0x6308]
mov rcx, rax
mov rdx, rsi
sub rdx, rax
add rdx, rax
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 sub.VCRUNTIME140.dll_memmove
dec dword [rbp + 0x6308]
sub rsi, 0x20
sub rdi, 0x20
sub ebx, 1
jns 0x140020460
mov rbx, qword [rbp + 0x6310]
movsxd rdi, dword [rbp + 0x6308]
shl rdi, 5
add rdi, rbx
cmp rbx, rdi
je 0x1400204e8
cmp dword [rbx + 4], 0
jne 0x1400204df
mov rdx, rbx
mov rcx, rbp
call qword [rbx + recvfrom]
add rbx, 0x20
cmp rbx, rdi
jne 0x1400204d0
mov eax, dword [rbp + 0x3ec0]
mov dword [rbp + 0x3ec4], eax
mov rdx, qword [0x1408c2608]
mov ecx, dword [rdx + 8]
bt ecx, 0xa
jae 0x14002051a
mov eax, dword [rdx + 0xc]
and eax, 0x1400
cmp eax, 0x1400
je 0x14002051a
btr ecx, 0xa
mov dword [rdx + 8], ecx
mov eax, dword [rbp + 8]
mov dword [rbp + 0x3ec0], eax
mov rbx, qword [0x1408c2608]
cmp byte [rbx + 0x62c0], 0
jne 0x140020620
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140020619
lea rdx, [0x1400abe40]
call fcn.140018900
mov rdi, rax
test rax, rax
je 0x140020619
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov r14d, eax
cmp eax, 0xffffffff
je 0x140020610
xor edx, edx
mov r8d, 2
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140020610
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140020610
xor r8d, r8d
mov edx, r14d
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140020610
cmp rsi, 0xffffffffffffffff
je 0x140020610
mov rcx, rsi
call fcn.14001c3c0
mov r14, rax
test rax, rax
je 0x140020610
mov r9, rdi
mov r8, rsi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rdi
cmp rax, rsi
je 0x1400205f0
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, r14
call fcn.14001c470
jmp 0x140020619
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x140020606
mov rdx, rsi
mov rcx, r14
call fcn.14001bdf0
mov rcx, r14
call fcn.14001c470
jmp 0x140020619
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov byte [rbx + 0x62c0], 1
movss xmm0, dword [rbx + 0x62c4]
xorps xmm9, xmm9
xor r14d, r14d
comiss xmm0, xmm9
jbe 0x140020666
subss xmm0, dword [rbx + 0x18]
comiss xmm9, xmm0
movss dword [rbx + 0x62c4], xmm0
jb 0x140020666
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140020658
call fcn.1400260a0
jmp 0x14002065f
mov byte [rbx + 0xee], 1
mov dword [rbx + 0x62c4], r14d
inc dword [rbp + 0x4100]
movss xmm0, dword [rbp + 0x18]
cvtps2pd xmm0, xmm0
mov byte [rbp + 0x4110], 1
mov word [rbp + 0x61c8], r14w
mov dword [rbp + 0x41a8], r14d
addsd xmm0, qword [rbp + 0x40f8]
movsd qword [rbp + 0x40f8], xmm0
mov ecx, dword [rbp + 0x61e4]
test ecx, ecx
jns 0x1400206c1
mov eax, ecx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, ecx
lea rcx, [rbp + 0x61e0]
test eax, eax
cmovg edx, eax
call fcn.14002f970
movss xmm6, dword [0x1400aca18]
mov dword [rbp + 0x61e0], r14d
movsxd rax, dword [rbp + 0x6598]
movss xmm1, dword [rbp + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [rbp + rax*4 + 0x64a8]
addss xmm0, dword [rbp + 0x65a0]
movss dword [rbp + 0x65a0], xmm0
movss dword [rbp + rax*4 + 0x64a8], xmm1
mov eax, 0x88888889
mov ecx, dword [rbp + 0x6598]
movss xmm2, dword [rbp + 0x65a0]
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 + 0x659c]
inc eax
mov dword [rbp + 0x6598], ecx
mov ecx, 0x3c
cmp eax, ecx
cmovl ecx, eax
comiss xmm2, xmm9
mov dword [rbp + 0x659c], ecx
jbe 0x140020766
movss xmm1, dword [0x1400ac990]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
divss xmm1, xmm2
jmp 0x140020769
movaps xmm1, xmm6
lea rcx, [rbp + 0x4140]
movss dword [rbp + 0xf4], xmm1
xor edx, edx
call fcn.14002ff40
movzx ecx, byte [rbp + 0x63]
call fcn.140029c80
call fcn.14002c160
mov rax, qword [rbp + 0x38]
movaps xmm0, xmm6
movss xmm5, dword [0x1400aca30]
movaps xmm8, xmm6
movaps xmm7, xmm5
mov byte [rax + 0x18], 1
mov rbx, qword [0x1408c2608]
mov rcx, qword [rbx + 0x4d10]
movsxd rax, dword [rbx + 0x4d08]
lea rdx, [rcx + rax*8]
cmp rcx, rdx
je 0x140020818
nop word [rax + rax]
mov rax, qword [rcx]
movss xmm4, dword [rax + 8]
comiss xmm0, xmm4
movss xmm3, dword [rax + 0xc]
movaps xmm1, xmm4
addss xmm1, dword [rax + 0x10]
movaps xmm2, xmm3
addss xmm2, dword [rax + 0x14]
jbe 0x1400207f5
movaps xmm0, xmm4
comiss xmm8, xmm3
jbe 0x1400207ff
movaps xmm8, xmm3
comiss xmm1, xmm5
jbe 0x140020807
movaps xmm5, xmm1
comiss xmm2, xmm7
jbe 0x14002080f
movaps xmm7, xmm2
add rcx, 8
cmp rcx, rdx
jne 0x1400207d0
mov eax, dword [rbx + 0x3b04]
lea rcx, [rbx + 0x3ee0]
movss xmm1, dword [rbx + 0x3b08]
shufps xmm0, xmm0, 0xe1
movss xmm0, xmm8
mov dword [rbx + 0x3ef8], eax
shufps xmm0, xmm0, 0xc6
movss xmm0, xmm5
shufps xmm0, xmm0, 0x27
movss xmm0, xmm7
shufps xmm0, xmm0, 0x39
movups xmmword [rbx + 0x3f00], xmm0
call fcn.1400387c0
mov edx, r14d
mov dword [rbx + 0x3f10], r14d
cmp byte [rbx + 0x3b00], r14b
je 0x14002087e
mov dword [rbx + 0x3f10], 1
mov edx, 1
mov ecx, edx
cmp byte [rbx + 0x3b01], r14b
je 0x14002089b
mov rax, qword [rbx + 0x38]
test byte [rax], 4
jne 0x14002089b
or ecx, 2
mov dword [rbx + 0x3f10], ecx
cmp byte [rbx + 0x3b02], r14b
je 0x1400208ad
or ecx, 4
mov dword [rbx + 0x3f10], ecx
test byte [rbx + 0xc], 8
je 0x1400208bc
or ecx, 8
mov dword [rbx + 0x3f10], ecx
mov rax, qword [0x1408c2608]
mov rcx, qword [rax + 0x48]
test rcx, rcx
jne 0x1400208d7
mov rax, qword [rax + 0x38]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx]
call fcn.140026ce0
mov rcx, qword [rbp + 0x4d10]
movsxd rax, dword [rbp + 0x4d08]
lea rdx, [rcx + rax*8]
cmp rcx, rdx
je 0x14002090a
mov rax, qword [rcx]
add rcx, 8
mov qword [rax + 0x30], r14
mov byte [rax + 0xa8], r14b
cmp rcx, rdx
jne 0x1400208f3
cmp byte [rbp + 0x4fa4], r14b
je 0x140020945
mov eax, dword [rbp + 0x4fc4]
cmp eax, dword [rbp + 0x4224]
jne 0x140020945
mov rcx, qword [0x1408c2608]
cmp dword [rcx + 0x4224], eax
jne 0x140020936
mov dword [rcx + 0x4228], eax
cmp dword [rcx + 0x4254], eax
jne 0x140020945
mov byte [rcx + 0x4258], 1
cmp dword [rbp + 0x4214], r14d
jne 0x140020957
mov dword [rbp + 0x4218], r14d
jmp 0x140020969
mov eax, dword [rbp + 0x4210]
test eax, eax
je 0x140020970
cmp dword [rbp + 0x4224], eax
jne 0x140020970
mov dword [rbp + 0x421c], r14d
mov eax, dword [rbp + 0x4210]
test eax, eax
je 0x1400209aa
movss xmm1, dword [rbp + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [rbp + 0x4218]
movss dword [rbp + 0x4218], xmm0
cmp dword [rbp + 0x4224], eax
je 0x1400209aa
addss xmm1, dword [rbp + 0x421c]
movss dword [rbp + 0x421c], xmm1
mov dword [rbp + 0x4214], eax
mov eax, dword [rbp + 0x4224]
mov dword [rbp + 0x4210], r14d
mov word [rbp + 0x4220], r14w
test eax, eax
je 0x1400209f7
cmp dword [rbp + 0x4228], eax
je 0x1400209f7
cmp dword [rbp + 0x4254], eax
jne 0x1400209f7
test byte [rbp + 0x63c4], 1
je 0x1400209ee
lea rcx, str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.14000ba30
xor edx, edx
xor ecx, ecx
call fcn.140026a10
mov ecx, dword [rbp + 0x4224]
test ecx, ecx
je 0x140020a16
movss xmm0, dword [rbp + 0x18]
addss xmm0, dword [rbp + 0x422c]
movss dword [rbp + 0x422c], xmm0
mov rax, qword [rbp + 0x4248]
movss xmm0, dword [rbp + 0x18]
addss xmm0, dword [rbp + 0x426c]
mov qword [rbp + 0x4260], rax
movzx eax, byte [rbp + 0x4234]
mov byte [rbp + 0x4259], al
mov eax, dword [rbp + 0x6128]
movss dword [rbp + 0x426c], xmm0
mov dword [rbp + 0x4254], ecx
mov dword [rbp + 0x4228], r14d
mov byte [rbp + 0x4235], r14b
mov byte [rbp + 0x4258], r14b
mov byte [rbp + 0x4230], r14b
test eax, eax
je 0x140020a7d
cmp ecx, eax
je 0x140020a7d
mov dword [rbp + 0x6128], r14d
test ecx, ecx
jne 0x140020a8f
mov dword [rbp + 0x4b30], r14d
mov byte [rbp + 0x4b34], r14b
mov ecx, dword [rbp + 0x51d8]
test ecx, ecx
je 0x140020ab2
movss xmm0, dword [rbp + 0x51f4]
comiss xmm0, dword [rbp + 0x3eac]
jb 0x140020ab9
mov dword [rbp + 0x51e8], ecx
jmp 0x140020ab9
mov dword [rbp + 0x51e8], r14d
mov rax, qword [rbp + 0x41c0]
test rax, rax
je 0x140020ae1
movss xmm0, dword [rbp + 0x51f4]
comiss xmm0, dword [rbp + 0x3eac]
jb 0x140020ae8
mov eax, dword [rax + 0x10]
mov dword [rbp + 0x51ec], eax
jmp 0x140020ae8
mov dword [rbp + 0x51ec], r14d
movss xmm0, dword [rbp + 0x51e0]
mov dword [rbp + 0x51dc], ecx
test ecx, ecx
je 0x140020b17
addss xmm0, dword [rbp + 0x18]
mov dword [rbp + 0x51e4], r14d
mov dword [rbp + 0x51d8], r14d
movss dword [rbp + 0x51e0], xmm0
jmp 0x140020b51
comiss xmm0, xmm9
jbe 0x140020b51
movss xmm2, dword [rbp + 0x18]
movss xmm0, dword [0x1400ac948]
movaps xmm1, xmm2
addss xmm1, dword [rbp + 0x51e4]
addss xmm2, xmm2
movss dword [rbp + 0x51e4], xmm1
maxss xmm0, xmm2
comiss xmm1, xmm0
jb 0x140020b51
mov qword [rbp + 0x51e0], r14
mov eax, dword [rbp + 0x5024]
mov dword [rbp + 0x5028], eax
mov qword [rbp + 0x5020], 0x7f7fffff
mov word [rbp + 0x4fa5], r14w
mov dword [rbp + 0x5030], r14d
call fcn.14002a5d0
call fcn.14001db00
call fcn.14002ad40
mov rcx, rbp
call fcn.14000cbf0
call fcn.1400297f0
call fcn.14002b170
mov r8, qword [0x1408c2608]
movss xmm7, dword [0x1400ac9d0]
mov eax, dword [r8 + 0x4cd8]
sub eax, 1
js 0x140020be3
mov r8, qword [r8 + 0x4ce0]
movsxd rdx, eax
add r8, 8
imul rcx, rdx, 0x38
add r8, rcx
mov rax, qword [r8]
test rax, rax
je 0x140020bd9
test dword [rax + 0x14], 0x8000000
jne 0x140020bfa
sub r8, 0x38
sub rdx, 1
jns 0x140020bc8
cmp qword [rbp + 0x4f68], r14
je 0x140020c15
movss xmm0, dword [rbp + 0x4f84]
comiss xmm0, xmm9
jbe 0x140020c15
movss xmm1, dword [rbp + 0x18]
mulss xmm1, xmm7
addss xmm1, dword [rbp + 0x4fa0]
minss xmm1, dword [0x1400ac990]
jmp 0x140020c33
movss xmm0, dword [rbp + 0x18]
mulss xmm0, dword [0x1400ac9dc]
movss xmm1, dword [rbp + 0x4fa0]
subss xmm1, xmm0
maxss xmm1, xmm9
movss dword [rbp + 0x4fa0], xmm1
movups xmm0, xmmword [rbp + 0x6258]
mov dword [rbp + 0x51f0], r14d
mov qword [rbp + 0x65a8], 0xffffffffffffffff
movups xmmword [rbp + 0x6268], xmm0
mov dword [rbp + 0x65a4], 0xffffffff
mov byte [rbp + 0x6258], r14b
call fcn.14002b380
cmp byte [rbp + 0x4113], r14b
jne 0x140020c95
movss xmm0, dword [rbp + 0x6c]
comiss xmm9, xmm0
ja 0x140020c95
movsd xmm6, qword [rbp + 0x40f8]
cvtpd2ps xmm6, xmm6
subss xmm6, xmm0
mov rdi, qword [rbp + 0x4160]
movsxd rax, dword [rbp + 0x4158]
lea rsi, [rdi + rax*8]
cmp rdi, rsi
je 0x140020dbb
mov rbx, qword [rdi]
movzx ecx, byte [rbx + 0xff]
movzx eax, word [rbx + 0x10e]
mov byte [rbx + 0x100], cl
mov byte [rbx + 0xff], r14b
mov byte [rbx + 0x101], r14b
mov word [rbx + 0x110], ax
mov word [rbx + 0x10e], r14w
test cl, cl
jne 0x140020dae
cmp byte [rbx + 0x444], r14b
jne 0x140020dae
comiss xmm6, dword [rbx + 0x2b0]
jbe 0x140020dae
mov rcx, qword [rbx + 0x2e8]
mov byte [rbx + 0x444], 1
mov eax, dword [rcx + 0x14]
mov dword [rbx + 0x43c], eax
mov eax, dword [rcx + 0x24]
mov dword [rbx + 0x440], eax
mov rcx, qword [rbx + 0x140]
test rcx, rcx
je 0x140020d45
mov qword [rbx + 0x138], r14
call fcn.14001c470
mov qword [rbx + 0x140], r14
mov rcx, qword [rbx + 0x2e8]
call fcn.140039680
mov rcx, qword [rbx + 0x1e0]
test rcx, rcx
je 0x140020d70
mov qword [rbx + 0x1d8], r14
call fcn.14001c470
mov qword [rbx + 0x1e0], r14
mov rcx, qword [rbx + 0x218]
test rcx, rcx
je 0x140020d8f
mov qword [rbx + 0x210], r14
call fcn.14001c470
mov qword [rbx + 0x218], r14
mov rcx, qword [rbx + 0x228]
test rcx, rcx
je 0x140020dae
mov qword [rbx + 0x220], r14
call fcn.14001c470
mov qword [rbx + 0x228], r14
add rdi, 8
cmp rdi, rsi
jne 0x140020cb0
mov ebx, r14d
cmp dword [rbp + 0x50b8], r14d
jle 0x140020e0b
mov rdi, r14
nop word [rax + rax]
mov rax, qword [rbp + 0x50c0]
movss xmm0, dword [rdi + rax]
comiss xmm0, xmm9
jb 0x140020dfd
comiss xmm6, xmm0
jbe 0x140020dfd
movsxd rax, ebx
imul rcx, rax, 0x250
add rcx, qword [rbp + 0x5098]
call fcn.140048b50
inc ebx
add rdi, 4
cmp ebx, dword [rbp + 0x50b8]
jl 0x140020dd0
mov rbx, qword [rbp + 0x5088]
movsxd rax, dword [rbp + 0x5080]
imul rdi, rax, 0x88
add rdi, rbx
cmp rbx, rdi
je 0x140020e54
nop dword [rax + rax]
movss xmm0, dword [rbx + 4]
comiss xmm0, xmm9
jb 0x140020e48
comiss xmm6, xmm0
jbe 0x140020e48
mov rcx, rbx
call fcn.140048c20
add rbx, 0x88
cmp rbx, rdi
jne 0x140020e30
cmp byte [rbp + 0x4113], r14b
je 0x140020eba
mov rbx, qword [0x1408c2608]
mov rcx, qword [rbx + 0x4cc0]
test rcx, rcx
je 0x140020e83
mov qword [rbx + 0x4cb8], r14
call fcn.14001c470
mov qword [rbx + 0x4cc0], r14
mov rcx, qword [rbx + 0x4cd0]
test rcx, rcx
je 0x140020ea2
mov qword [rbx + 0x4cc8], r14
call fcn.14001c470
mov qword [rbx + 0x4cd0], r14
lea rcx, [rbx + 0x51a0]
mov dword [rbx + 0x5198], r14d
call fcn.14002f110
call fcn.140048960
mov rax, qword [rbp + 0x4d88]
mov byte [rbp + 0x4113], r14b
test rax, rax
je 0x140020f2c
cmp byte [rax + 0x100], r14b
jne 0x140020f2c
mov rcx, qword [0x1408c2608]
mov eax, dword [rcx + 0x4168]
sub eax, 1
js 0x140020f20
movsxd rdx, eax
mov rax, qword [rcx + 0x4170]
lea r8, [rax + rdx*8]
mov rcx, qword [r8]
test rcx, rcx
je 0x140020f16
cmp byte [rcx + 0x100], r14b
je 0x140020f16
mov eax, dword [rcx + 0x14]
and eax, 0x10200
cmp eax, 0x10200
jne 0x140020f22
sub r8, 8
sub rdx, 1
jns 0x140020ef6
xor ecx, ecx
mov edx, 1
call fcn.140016f60
mov ecx, dword [rbp + 0x418c]
test ecx, ecx
jns 0x140020f92
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 0x140020f92
movsxd rax, ebx
imul rcx, rax, 0x70
call fcn.14001c3c0
mov rdx, qword [rbp + 0x4190]
mov rdi, rax
test rdx, rdx
je 0x140020f85
movsxd rcx, dword [rbp + 0x4188]
imul r8, rcx, 0x70
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbp + 0x4190]
call fcn.14001c470
mov qword [rbp + 0x4190], rdi
mov dword [rbp + 0x418c], ebx
lea rcx, [rbp + 0x4ce8]
mov dword [rbp + 0x4188], r14d
xor edx, edx
call fcn.14002fe90
lea rbx, [rbp + 0x4cb8]
mov ecx, dword [rbx + 4]
test ecx, ecx
jns 0x140020fce
mov eax, ecx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.14002f970
mov dword [rbx], r14d
cmp dword [rbx + 4], r14d
jne 0x140020fe4
mov edx, 8
mov rcx, rbx
call fcn.14002f970
movsxd rcx, dword [rbx]
xor edx, edx
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], recvfrom
movsxd rcx, dword [rbx]
lea eax, [rcx + 1]
mov dword [rbx], eax
mov rax, qword [rbp + 0x4cc0]
mov ecx, dword [rax + rcx*4]
mov dword [rbp + 0x4b40], ecx
lea rcx, [rbp + 0x4cc8]
call fcn.14002fe90
test byte [rbp + 8], 0x80
je 0x140021123
mov rax, qword [rbp + 0x41c8]
mov qword [rbp + 0x64a0], r14
test rax, rax
je 0x140021070
mov rcx, qword [rax + 0x470]
test rcx, rcx
je 0x140021056
mov rdx, qword [rbp + 0x118]
call fcn.1400102c0
mov qword [rbp + 0x64a0], rax
jmp 0x140021070
mov rax, qword [rax + 0x3c8]
mov rcx, qword [rax + 0x468]
test rcx, rcx
je 0x140021070
mov qword [rbp + 0x64a0], rcx
mov rbx, qword [rbp + 0x6298]
movsxd rdi, dword [rbp + 0x6290]
shl rdi, 6
add rdi, rbx
cmp rbx, rdi
je 0x1400210a9
nop word [rax + rax]
cmp dword [rbx], 1
jne 0x1400210a0
mov rdx, rbx
mov rcx, rbp
call fcn.14000cef0
add rbx, 0x40
cmp rbx, rdi
jne 0x140021090
mov ecx, dword [rbp + 0x6294]
test ecx, ecx
jns 0x1400210d0
mov eax, ecx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, ecx
lea rcx, [rbp + 0x6290]
test eax, eax
cmovg edx, eax
call fcn.14002fb30
mov dword [rbp + 0x6290], r14d
mov ebx, r14d
cmp dword [rbp + 0x6280], r14d
jle 0x140021123
mov rdi, r14
nop word [rax + rax]
mov rax, qword [rbp + 0x6288]
mov rcx, qword [rdi + rax + 8]
test rcx, rcx
je 0x140021115
cmp qword [rcx + 0x18], r14
jne 0x140021115
test dword [rcx + 0x10], 0x400
jne 0x140021115
call fcn.1400116b0
inc ebx
add rdi, 0x10
cmp ebx, dword [rbp + 0x6280]
jl 0x1400210f0
call fcn.1400295c0
mov rbx, qword [0x1408c2608]
mov dword [rbx + 0x420c], r14d
mov eax, dword [rbx + 0x6438]
inc eax
cmp dword [rbx + 0x4100], eax
jne 0x140021217
mov edi, dword [rbx + 0x4214]
test edi, edi
jne 0x14002115a
mov edi, dword [rbx + 0x4224]
cmp dword [rbx + 0x6440], edi
je 0x1400211a0
mov dword [rbx + 0x6440], edi
mov dword [rbx + 0x643c], 0xffffffff
mov ecx, dword [rbx + 0x644c]
test ecx, ecx
jns 0x140021199
mov eax, ecx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x6448]
test eax, eax
cmovg edx, eax
call fcn.14002fc10
mov dword [rbx + 0x6448], r14d
test edi, edi
je 0x140021217
movsxd rcx, dword [rbx + 0x643c]
test ecx, ecx
js 0x1400211db
mov eax, ecx
cmp ecx, dword [rbx + 0x6448]
jge 0x1400211ee
mov r8, qword [rbx + 0x6450]
lea rdx, [rcx + rcx*8]
cmp byte [r8 + rdx*8 + 5], r14b
jne 0x1400211d3
cmp byte [r8 + rdx*8 + 4], 2
jle 0x1400211ee
inc ecx
mov dword [rbx + 0x643c], ecx
mov eax, ecx
cmp ecx, 0xffffffff
jne 0x1400211ea
mov dword [rbx + 0x420c], edi
jmp 0x140021217
test ecx, ecx
js 0x140021217
cmp eax, dword [rbx + 0x6448]
jge 0x140021217
cdqe
lea rdx, [rax + rax*8]
mov rax, qword [rbx + 0x6450]
mov ecx, dword [rax + rdx*8]
mov dword [rbx + 0x420c], ecx
mov rax, qword [rbx + 0x6450]
inc byte [rax + rdx*8 + 4]
mov r15, qword [0x1408c2608]
movss xmm0, dword [r15 + 0x6404]
comiss xmm9, xmm0
jae 0x1400212f0
movsxd rax, dword [r15 + 0x4c74]
lea rdi, [r15 + 0x3b14]
mov rcx, rax
mulss xmm0, xmm7
shl rcx, 4
add rdi, rcx
lea rsi, [rax + 0x3b1]
shl rsi, 4
add rsi, r15
lea rbx, [rcx + 0x3b0c]
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movss xmm1, dword [0x1400ac960]
lea r9, [rbx + r15]
mulss xmm0, xmm1
movaps xmm2, xmm1
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rsi
addss xmm0, xmm1
call fcn.14000b030
movsxd rax, dword [r15 + 0x4c74]
add rax, rax
mov dword [r15 + rax*8 + 0x3b18], 0x3f800000
movss xmm0, dword [r15 + 0x6404]
subss xmm0, dword [r15 + 0x18]
comiss xmm9, xmm0
movss dword [r15 + 0x6404], xmm0
jb 0x1400212f0
mov rcx, qword [0x1408c2608]
movsxd rax, dword [rcx + 0x4c74]
cmp eax, 0x3a
je 0x1400212e6
movups xmm0, xmmword [rcx + 0x6408]
add rax, rax
movups xmmword [rcx + rax*8 + 0x3b0c], xmm0
mov dword [rcx + 0x4c74], 0x3a
movzx eax, byte [rbp + 0x63f5]
test al, al
je 0x140021313
sub al, 1
mov byte [rbp + 0x63f5], al
jne 0x140021313
mov dword [rbp + 0x4b44], r14d
mov byte [rbp + 0x63f6], r14b
movzx eax, byte [rbp + 0x63f4]
test al, al
je 0x140021349
sub al, 1
mov byte [rbp + 0x63f4], al
jne 0x140021349
lea rcx, str._Debug_Log:_Auto_disabled_some_ImGuiDebugLogFlags_after_2_frames__n
call fcn.14000ba30
mov eax, dword [rbp + 0x63f0]
not eax
mov dword [rbp + 0x63f0], r14d
and dword [rbp + 0x63c4], eax
mov byte [rbp + 0x4111], 1
lea rcx, str.DebugDefault
mov rax, qword [0x1408c2608]
xor r8d, r8d
xor edx, edx
or dword [rax + 0x4bd0], 2
mov dword [rax + 0x4bf4], 0x43c80000
mov dword [rax + 0x4bf8], 0x43c80000
mov dword [rax + 0x4bd8], 4
call fcn.1400051a0
cmp byte [rbp + 0x86], r14b
je 0x1400213db
movsx ecx, byte [rbp + 0x63fc]
cmp cl, 0xff
je 0x1400213de
mov eax, dword [rbp + 0x4100]
and eax, 0x80000003
jge 0x1400213b6
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 0x1400213de
mov r14b, 0xff
mov byte [rbp + 0x63fc], r14b
mov rbx, qword [rbp + 0x6310]
movsxd rdi, dword [rbp + 0x6308]
shl rdi, 5
add rdi, rbx
cmp rbx, rdi
je 0x140021418
nop
cmp dword [rbx + 4], 1
jne 0x14002140f
mov rdx, rbx
mov rcx, rbp
call qword [rbx + recvfrom]
add rbx, 0x20
cmp rbx, rdi
jne 0x140021400
movaps xmm6, xmmword [rsp + 0x70]
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm7, xmmword [rsp + 0x60]
mov rsp, r11
pop r15
pop r14
pop rdi
ret