Function at 0x140015aa0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x70
mov rbx, qword [0x1402a97d0]
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm7
movaps xmmword [rsp + 0x40], xmm8
mov edi, dword [rbx + 0x5f28]
sub edi, 1
movaps xmmword [rsp + 0x30], xmm9
js 0x140015b46
movsxd rsi, edi
shl rsi, 5
mov rbp, rsi
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rbx + 0x5f30]
cmp dword [rsi + rax + 4], 7
jne 0x140015b39
movsxd r8, dword [rbx + 0x5f28]
mov rcx, rax
mov rdx, rbp
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 [rbx + 0x5f28]
sub rbp, 0x20
sub rsi, 0x20
sub edi, 1
jns 0x140015af0
mov rdi, qword [rbx + 0x5f30]
movsxd rsi, dword [rbx + 0x5f28]
shl rsi, 5
add rsi, rdi
cmp rdi, rsi
je 0x140015b78
cmp dword [rdi + 4], 0
jne 0x140015b6f
mov rdx, rdi
mov rcx, rbx
call qword [rdi + reloc.WS2_32.dll_recv]
add rdi, 0x20
cmp rdi, rsi
jne 0x140015b60
mov rax, qword [0x1402a97d0]
cmp byte [rax + 0x5e], 0
je 0x140015b8f
test byte [rax + 0xc], 2
jne 0x140015b8f
mov byte [rax + 0x5e], 0
mov rdi, qword [0x1402a97d0]
cmp byte [rdi + 0x5ee0], 0
jne 0x140015c8c
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x140015c85
lea rdx, [0x140140100]
call fcn.14000f690
mov rsi, rax
test rax, rax
je 0x140015c85
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov r14d, eax
cmp eax, 0xffffffff
je 0x140015c7c
xor edx, edx
mov r8d, 2
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140015c7c
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rbp, eax
cmp ebp, 0xffffffff
je 0x140015c7c
xor r8d, r8d
mov edx, r14d
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140015c7c
cmp rbp, 0xffffffffffffffff
je 0x140015c7c
mov rcx, rbp
call fcn.140011c20
mov r14, rax
test rax, rax
je 0x140015c7c
mov r9, rsi
mov r8, rbp
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rsi
cmp rax, rbp
je 0x140015c5c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, r14
call fcn.140011cd0
jmp 0x140015c85
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rbp, rbp
je 0x140015c72
mov rdx, rbp
mov rcx, r14
call fcn.1400116a0
mov rcx, r14
call fcn.140011cd0
jmp 0x140015c85
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov byte [rdi + 0x5ee0], 1
movss xmm0, dword [rdi + 0x5ee4]
xorps xmm8, xmm8
xor esi, esi
comiss xmm0, xmm8
jbe 0x140015cd0
subss xmm0, dword [rdi + 0x18]
comiss xmm8, xmm0
movss dword [rdi + 0x5ee4], xmm0
jb 0x140015cd0
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x140015cc3
call fcn.14001a4a0
jmp 0x140015cca
mov byte [rdi + 0xce], 1
mov dword [rdi + 0x5ee4], esi
inc dword [rbx + 0x3f70]
movss xmm0, dword [rbx + 0x18]
cvtps2pd xmm0, xmm0
mov byte [rbx + 0x3f7c], 1
mov word [rbx + 0x5e34], si
mov dword [rbx + 0x4008], esi
addsd xmm0, qword [rbx + 0x3f68]
movsd qword [rbx + 0x3f68], xmm0
mov ecx, dword [rbx + 0x5e4c]
test ecx, ecx
jns 0x140015d28
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x5e48]
test eax, eax
cmovg edx, eax
call fcn.140020610
movss xmm6, dword [0x140140388]
mov dword [rbx + 0x5e48], esi
movsxd rax, dword [rbx + 0x6164]
movss xmm1, dword [rbx + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [rbx + rax*4 + 0x6074]
addss xmm0, dword [rbx + 0x616c]
movss dword [rbx + 0x616c], xmm0
movss dword [rbx + rax*4 + 0x6074], xmm1
mov eax, 0x88888889
mov ecx, dword [rbx + 0x6164]
movss xmm2, dword [rbx + 0x616c]
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 [rbx + 0x6168]
inc eax
mov dword [rbx + 0x6164], ecx
mov ecx, reloc.WLDAP32.dll_Ordinal_60
cmp eax, ecx
cmovl ecx, eax
comiss xmm2, xmm8
mov dword [rbx + 0x6168], ecx
jbe 0x140015dcc
movss xmm1, dword [0x14013e604]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
divss xmm1, xmm2
jmp 0x140015dcf
movaps xmm1, xmm6
lea rcx, [rbx + 0x3fa0]
movss dword [rbx + 0xd4], xmm1
xor edx, edx
call fcn.140020a90
movzx ecx, byte [rbx + 0x5a]
call fcn.14001ca70
mov rdx, qword [0x1402a97d0]
mov rax, qword [rdx + 0x4ae0]
mov rcx, qword [rax]
mov qword [rcx], 5
mov dword [rcx + 8], esi
movsd xmm0, qword [rdx + 0x10]
movsd qword [rcx + 0xc], xmm0
mov rcx, qword [rdx + 0x4ae0]
movsxd rax, dword [rdx + 0x4ad8]
lea rdx, [rcx + rax*8]
cmp rcx, rdx
je 0x140015ecb
nop
mov rax, qword [rcx]
movaps xmm3, xmm8
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], rsi
mov qword [rax + 0xb8], rsi
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, xmm8
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 0x140015e30
mov rax, qword [rbx + 0x38]
mov byte [rax + 0x18], 1
mov rax, qword [0x1402a97d0]
mov rcx, qword [rax + 0x48]
test rcx, rcx
jne 0x140015eee
mov rax, qword [rax + 0x38]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx]
call fcn.14001acf0
mov rcx, qword [rbx + 0x4ae0]
movaps xmm0, xmm6
movsxd rax, dword [rbx + 0x4ad8]
movaps xmm9, xmm6
movss xmm5, dword [0x14013e618]
movaps xmm7, xmm5
lea rdx, [rcx + rax*8]
cmp rcx, rdx
je 0x140015f68
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 0x140015f45
movaps xmm0, xmm4
comiss xmm9, xmm3
jbe 0x140015f4f
movaps xmm9, xmm3
comiss xmm1, xmm5
jbe 0x140015f57
movaps xmm5, xmm1
comiss xmm2, xmm7
jbe 0x140015f5f
movaps xmm7, xmm2
add rcx, 8
cmp rcx, rdx
jne 0x140015f20
mov eax, dword [rbx + 0x39cc]
lea rcx, [rbx + 0x3d58]
movss xmm1, dword [rbx + 0x39d0]
shufps xmm0, xmm0, 0xe1
movss xmm0, xmm9
mov dword [rbx + 0x3d6c], eax
shufps xmm0, xmm0, 0xc6
movss xmm0, xmm5
shufps xmm0, xmm0, 0x27
movss xmm0, xmm7
shufps xmm0, xmm0, 0x39
movups xmmword [rbx + 0x3d74], xmm0
call fcn.140026f10
mov r8d, esi
mov dword [rbx + 0x3d84], esi
cmp byte [rbx + 0x39c8], sil
je 0x140015fce
mov dword [rbx + 0x3d84], 1
mov r8d, 1
mov edx, r8d
cmp byte [rbx + 0x39c9], sil
je 0x140015ff3
mov rax, qword [rbx + 0x3d48]
mov rcx, qword [rax + 0x40]
test byte [rcx], 4
jne 0x140015ff3
or edx, 2
mov dword [rbx + 0x3d84], edx
cmp byte [rbx + 0x39ca], sil
je 0x140016005
or edx, 4
mov dword [rbx + 0x3d84], edx
test byte [rbx + 0xc], 8
je 0x140016014
or edx, 8
mov dword [rbx + 0x3d84], edx
mov rcx, qword [rbx + 0x4ae0]
movsxd rax, dword [rbx + 0x4ad8]
lea rdx, [rcx + rax*8]
cmp rcx, rdx
je 0x140016040
nop dword [rax + rax]
mov rax, qword [rcx]
add rcx, 8
mov byte [rax + 0x48], sil
cmp rcx, rdx
jne 0x140016030
cmp byte [rbx + 0x4d00], sil
je 0x14001607b
mov eax, dword [rbx + 0x4d1c]
cmp eax, dword [rbx + 0x4078]
jne 0x14001607b
mov rcx, qword [0x1402a97d0]
cmp dword [rcx + 0x4078], eax
jne 0x14001606c
mov dword [rcx + 0x407c], eax
cmp dword [rcx + 0x40a8], eax
jne 0x14001607b
mov byte [rcx + 0x40ac], 1
cmp dword [rbx + 0x4068], esi
jne 0x14001608b
mov dword [rbx + 0x4070], esi
jmp 0x14001609d
mov eax, dword [rbx + 0x4064]
test eax, eax
je 0x1400160a3
cmp dword [rbx + 0x4078], eax
jne 0x1400160a3
mov dword [rbx + 0x4074], esi
mov eax, dword [rbx + 0x4064]
test eax, eax
je 0x1400160dd
movss xmm1, dword [rbx + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x4070]
movss dword [rbx + 0x4070], xmm0
cmp dword [rbx + 0x4078], eax
je 0x1400160dd
addss xmm1, dword [rbx + 0x4074]
movss dword [rbx + 0x4074], xmm1
mov dword [rbx + 0x4068], eax
mov eax, dword [rbx + 0x4078]
mov dword [rbx + 0x4064], esi
mov word [rbx + 0x406c], si
test eax, eax
je 0x140016128
cmp dword [rbx + 0x407c], eax
je 0x140016128
cmp dword [rbx + 0x40a8], eax
jne 0x140016128
test byte [rbx + 0x5fc4], 1
je 0x14001611f
lea rcx, str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.14000c000
xor edx, edx
xor ecx, ecx
call fcn.14001aa90
mov ecx, dword [rbx + 0x4078]
test ecx, ecx
je 0x140016147
movss xmm0, dword [rbx + 0x18]
addss xmm0, dword [rbx + 0x4080]
movss dword [rbx + 0x4080], xmm0
mov rax, qword [rbx + 0x4098]
movss xmm0, dword [rbx + 0x18]
addss xmm0, dword [rbx + 0x40bc]
mov qword [rbx + 0x40b0], rax
movzx eax, byte [rbx + 0x4088]
mov byte [rbx + 0x40ad], al
mov eax, dword [rbx + 0x5db8]
movss dword [rbx + 0x40bc], xmm0
mov dword [rbx + 0x40a8], ecx
mov dword [rbx + 0x407c], esi
mov byte [rbx + 0x4089], sil
mov byte [rbx + 0x40ac], sil
mov byte [rbx + 0x4084], sil
test eax, eax
je 0x1400161ac
cmp ecx, eax
je 0x1400161ac
mov dword [rbx + 0x5db8], esi
test ecx, ecx
jne 0x1400161c5
mov dword [rbx + 0x4950], esi
mov byte [rbx + 0x4954], sil
mov dword [rbx + 0x4958], esi
jmp 0x1400161f3
mov eax, dword [rbx + 0x4958]
test eax, eax
je 0x1400161f3
test al, 2
je 0x1400161f3
mov rcx, qword [0x1402a97d0]
mov eax, dword [rbx + 0x4078]
mov dword [rcx + 0x416c], eax
mov dword [rcx + 0x4168], eax
mov word [rcx + 0x4170], si
mov ecx, dword [rbx + 0x4e70]
test ecx, ecx
je 0x140016216
movss xmm0, dword [rbx + 0x4e8c]
comiss xmm0, dword [rbx + 0x3d34]
jb 0x14001621c
mov dword [rbx + 0x4e80], ecx
jmp 0x14001621c
mov dword [rbx + 0x4e80], esi
mov rax, qword [rbx + 0x4020]
test rax, rax
je 0x140016244
movss xmm0, dword [rbx + 0x4e8c]
comiss xmm0, dword [rbx + 0x3d34]
jb 0x14001624a
mov eax, dword [rax + 0x10]
mov dword [rbx + 0x4e84], eax
jmp 0x14001624a
mov dword [rbx + 0x4e84], esi
movss xmm0, dword [rbx + 0x4e78]
mov dword [rbx + 0x4e74], ecx
test ecx, ecx
je 0x140016277
addss xmm0, dword [rbx + 0x18]
mov dword [rbx + 0x4e7c], esi
mov dword [rbx + 0x4e70], esi
movss dword [rbx + 0x4e78], xmm0
jmp 0x1400162b1
comiss xmm0, xmm8
jbe 0x1400162b1
movss xmm2, dword [rbx + 0x18]
movss xmm0, dword [0x1401402f8]
movaps xmm1, xmm2
addss xmm1, dword [rbx + 0x4e7c]
addss xmm2, xmm2
movss dword [rbx + 0x4e7c], xmm1
maxss xmm0, xmm2
comiss xmm1, xmm0
jb 0x1400162b1
mov qword [rbx + 0x4e78], rsi
mov eax, dword [rbx + 0x4d6c]
mov dword [rbx + 0x4d70], eax
mov qword [rbx + 0x4d68], 0x7f7fffff
mov word [rbx + 0x4d01], si
mov dword [rbx + 0x4d78], esi
call fcn.14001d310
call fcn.140013260
call fcn.14001dae0
call fcn.14001c620
mov rdi, qword [0x1402a97d0]
mov rcx, qword [rdi + 0x4030]
test rcx, rcx
je 0x1400163c2
mov eax, dword [rdi + 0x4078]
mov dword [rdi + 0x407c], eax
cmp dword [rdi + 0x40a8], eax
jne 0x14001631b
mov byte [rdi + 0x40ac], 1
mov r9, qword [rcx + 0x378]
cmp byte [rdi + 0xe50], sil
je 0x1400163b9
lea rcx, [rdi + 0xe48]
test rcx, rcx
je 0x140016340
mov rax, rcx
jmp 0x14001634d
mov rax, qword [0x1402a97d0]
add rax, 0xe48
movss xmm0, dword [rax]
movss xmm1, dword [0x140140390]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x1400163b9
comiss xmm2, xmm1
jb 0x1400163b9
movss xmm0, dword [rcx]
lea rdx, [rsp + 0x90]
movss xmm1, dword [rcx + 4]
mov r8d, 1
subss xmm0, dword [rdi + 0x408c]
subss xmm1, dword [rdi + 0x4090]
mov rcx, r9
movss dword [rsp + 0x90], xmm0
movss dword [rsp + 0x94], xmm1
call fcn.14001b7b0
mov rcx, qword [rdi + 0x4030]
xor edx, edx
call fcn.14000e220
jmp 0x140016400
mov qword [rdi + 0x4030], rsi
jmp 0x1400163f7
mov rcx, qword [rdi + 0x4098]
test rcx, rcx
je 0x140016400
mov eax, dword [rdi + 0x4078]
cmp dword [rcx + 0x7c], eax
jne 0x140016400
mov dword [rdi + 0x407c], eax
cmp dword [rdi + 0x40a8], eax
jne 0x1400163ee
mov byte [rdi + 0x40ac], 1
cmp byte [rdi + 0xe50], sil
jne 0x140016400
xor edx, edx
xor ecx, ecx
call fcn.14001aa90
mov r8, qword [0x1402a97d0]
mov eax, dword [r8 + 0x4aa0]
sub eax, 1
js 0x140016443
mov r8, qword [r8 + 0x4aa8]
movsxd rdx, eax
add r8, 8
imul rcx, rdx, 0x38
add r8, rcx
mov rax, qword [r8]
test rax, rax
je 0x140016439
test dword [rax + 0x14], 0x8000000
jne 0x14001645a
sub r8, 0x38
sub rdx, 1
jns 0x140016428
cmp qword [rbx + 0x4cc8], rsi
je 0x140016479
movss xmm0, dword [rbx + 0x4ce4]
comiss xmm0, xmm8
jbe 0x140016479
movss xmm1, dword [rbx + 0x18]
mulss xmm1, dword [0x140140344]
addss xmm1, dword [rbx + 0x4cfc]
minss xmm1, dword [0x14013e604]
jmp 0x140016497
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x140140350]
movss xmm1, dword [rbx + 0x4cfc]
subss xmm1, xmm0
maxss xmm1, xmm8
movss dword [rbx + 0x4cfc], xmm1
movups xmm0, xmmword [rbx + 0x5ec0]
mov dword [rbx + 0x4e88], esi
mov qword [rbx + 0x6174], 0xffffffffffffffff
movups xmmword [rbx + 0x5ed0], xmm0
mov dword [rbx + 0x6170], 0xffffffff
mov byte [rbx + 0x5ec0], sil
call fcn.14001e180
cmp byte [rbx + 0x3f7f], sil
jne 0x1400164f8
movss xmm0, dword [rbx + 0x60]
comiss xmm8, xmm0
ja 0x1400164f8
movsd xmm6, qword [rbx + 0x3f68]
cvtpd2ps xmm6, xmm6
subss xmm6, xmm0
mov r14, qword [rbx + 0x3fc0]
movsxd rax, dword [rbx + 0x3fb8]
lea rbp, [r14 + rax*8]
cmp r14, rbp
je 0x14001661d
mov rdi, qword [r14]
movzx ecx, byte [rdi + 0xb6]
movzx eax, word [rdi + 0xc2]
mov byte [rdi + 0xb7], cl
mov byte [rdi + 0xb6], sil
mov byte [rdi + 0xb8], sil
mov word [rdi + 0xc4], ax
mov word [rdi + 0xc2], si
test cl, cl
jne 0x140016610
cmp byte [rdi + 0x3e4], sil
jne 0x140016610
comiss xmm6, dword [rdi + 0x264]
jbe 0x140016610
mov rcx, qword [rdi + 0x298]
mov byte [rdi + 0x3e4], 1
mov eax, dword [rcx + 0x14]
mov dword [rdi + 0x3dc], eax
mov eax, dword [rcx + 0x24]
mov dword [rdi + 0x3e0], eax
mov rcx, qword [rdi + 0xf8]
test rcx, rcx
je 0x1400165a7
mov qword [rdi + 0xf0], rsi
call fcn.140011cd0
mov qword [rdi + 0xf8], rsi
mov rcx, qword [rdi + 0x298]
call fcn.140027600
mov rcx, qword [rdi + 0x198]
test rcx, rcx
je 0x1400165d2
mov qword [rdi + 0x190], rsi
call fcn.140011cd0
mov qword [rdi + 0x198], rsi
mov rcx, qword [rdi + 0x1d0]
test rcx, rcx
je 0x1400165f1
mov qword [rdi + 0x1c8], rsi
call fcn.140011cd0
mov qword [rdi + 0x1d0], rsi
mov rcx, qword [rdi + 0x1e0]
test rcx, rcx
je 0x140016610
mov qword [rdi + 0x1d8], rsi
call fcn.140011cd0
mov qword [rdi + 0x1e0], rsi
add r14, 8
cmp r14, rbp
jne 0x140016513
mov edi, esi
cmp dword [rbx + 0x4e00], esi
jle 0x14001666b
mov rbp, rsi
nop word [rax + rax]
mov rax, qword [rbx + 0x4e08]
movss xmm0, dword [rax + rbp]
comiss xmm0, xmm8
jb 0x14001665d
comiss xmm6, xmm0
jbe 0x14001665d
movsxd rax, edi
imul rcx, rax, 0x250
add rcx, qword [rbx + 0x4de0]
call fcn.14002b730
inc edi
add rbp, 4
cmp edi, dword [rbx + 0x4e00]
jl 0x140016630
mov rdi, qword [rbx + 0x4dd0]
movsxd rax, dword [rbx + 0x4dc8]
imul rbp, rax, 0x78
add rbp, rdi
cmp rdi, rbp
je 0x1400166a6
movss xmm0, dword [rdi + 4]
comiss xmm0, xmm8
jb 0x14001669d
comiss xmm6, xmm0
jbe 0x14001669d
mov rcx, rdi
call fcn.14002b800
add rdi, 0x78
cmp rdi, rbp
jne 0x140016685
cmp byte [rbx + 0x3f7f], sil
je 0x1400166f9
mov rdi, qword [0x1402a97d0]
mov rcx, qword [rdi + 0x4a88]
test rcx, rcx
je 0x1400166d5
mov qword [rdi + 0x4a80], rsi
call fcn.140011cd0
mov qword [rdi + 0x4a88], rsi
mov rcx, qword [rdi + 0x4a98]
test rcx, rcx
je 0x1400166f4
mov qword [rdi + 0x4a90], rsi
call fcn.140011cd0
mov qword [rdi + 0x4a98], rsi
call fcn.14002b520
mov rax, qword [rbx + 0x4ae8]
mov byte [rbx + 0x3f7f], sil
test rax, rax
je 0x14001676b
cmp byte [rax + 0xb7], sil
jne 0x14001676b
mov rcx, qword [0x1402a97d0]
mov eax, dword [rcx + 0x3fc8]
sub eax, 1
js 0x14001675f
movsxd rdx, eax
mov rax, qword [rcx + 0x3fd0]
lea r8, [rax + rdx*8]
mov rcx, qword [r8]
test rcx, rcx
je 0x140016755
cmp byte [rcx + 0xb7], sil
je 0x140016755
mov eax, dword [rcx + 0x14]
and eax, 0x40200
cmp eax, 0x40200
jne 0x140016761
sub r8, 8
sub rdx, 1
jns 0x140016735
xor ecx, ecx
mov edx, 1
call fcn.14000e220
mov ecx, dword [rbx + 0x3fec]
test ecx, ecx
jns 0x1400167d0
mov eax, ecx
mov edi, esi
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
cmovg edi, eax
cmp edi, ecx
jle 0x1400167d0
movsxd rax, edi
imul rcx, rax, 0x58
call fcn.140011c20
mov rdx, qword [rbx + 0x3ff0]
mov rbp, rax
test rdx, rdx
je 0x1400167c3
movsxd rcx, dword [rbx + 0x3fe8]
imul r8, rcx, 0x58
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbx + 0x3ff0]
call fcn.140011cd0
mov qword [rbx + 0x3ff0], rbp
mov dword [rbx + 0x3fec], edi
lea rcx, [rbx + 0x4ab0]
mov dword [rbx + 0x3fe8], esi
xor edx, edx
call fcn.1400209e0
lea rdi, [rbx + 0x4a80]
mov ecx, dword [rdi + 4]
test ecx, ecx
jns 0x14001680a
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
mov rcx, rdi
test eax, eax
cmovg edx, eax
call fcn.140020610
mov dword [rdi], esi
cmp dword [rdi + 4], esi
jne 0x14001681e
mov edx, 8
mov rcx, rdi
call fcn.140020610
movsxd rcx, dword [rdi]
xor edx, edx
mov rax, qword [rdi + 8]
mov dword [rax + rcx*4], esi
lea rcx, [rbx + 0x4a90]
inc dword [rdi]
call fcn.1400209e0
call fcn.14001c3e0
mov rdi, qword [0x1402a97d0]
mov dword [rdi + 0x4060], esi
mov eax, dword [rdi + 0x6010]
inc eax
cmp dword [rdi + 0x3f70], eax
jne 0x140016929
mov ebp, dword [rdi + 0x4068]
test ebp, ebp
jne 0x14001686e
mov ebp, dword [rdi + 0x4078]
cmp dword [rdi + 0x6018], ebp
je 0x1400168b2
mov dword [rdi + 0x6018], ebp
mov dword [rdi + 0x6014], 0xffffffff
mov ecx, dword [rdi + 0x6024]
test ecx, ecx
jns 0x1400168ac
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x6020]
test eax, eax
cmovg edx, eax
call fcn.140020760
mov dword [rdi + 0x6020], esi
test ebp, ebp
je 0x140016929
movsxd rcx, dword [rdi + 0x6014]
test ecx, ecx
js 0x1400168ed
mov eax, ecx
cmp ecx, dword [rdi + 0x6020]
jge 0x140016900
mov r8, qword [rdi + 0x6028]
lea rdx, [rcx + rcx*8]
cmp byte [r8 + rdx*8 + 5], sil
jne 0x1400168e5
cmp byte [r8 + rdx*8 + 4], 2
jle 0x140016900
inc ecx
mov dword [rdi + 0x6014], ecx
mov eax, ecx
cmp ecx, 0xffffffff
jne 0x1400168fc
mov dword [rdi + 0x4060], ebp
jmp 0x140016929
test ecx, ecx
js 0x140016929
cmp eax, dword [rdi + 0x6020]
jge 0x140016929
cdqe
lea rdx, [rax + rax*8]
mov rax, qword [rdi + 0x6028]
mov ecx, dword [rax + rdx*8]
mov dword [rdi + 0x4060], ecx
mov rax, qword [rdi + 0x6028]
inc byte [rax + rdx*8 + 4]
movzx eax, byte [rbx + 0x5ff1]
test al, al
je 0x140016944
sub al, 1
mov byte [rbx + 0x5ff1], al
jne 0x140016944
mov dword [rbx + 0x4964], esi
movzx eax, byte [rbx + 0x5ff0]
test al, al
je 0x14001696c
sub al, 1
mov byte [rbx + 0x5ff0], al
jne 0x14001696c
lea rcx, str._Auto_disabled_ImGuiDebugLogFlags_EventClipper_to_avoid_spamming__n
call fcn.14000c000
and dword [rbx + 0x5fc4], 0xffffffef
mov byte [rbx + 0x3f7d], 1
lea rcx, str.DebugDefault
mov rax, qword [0x1402a97d0]
xor r8d, r8d
xor edx, edx
or dword [rax + 0x49c8], 2
mov dword [rax + 0x49e8], 0x43c80000
mov dword [rax + 0x49ec], 0x43c80000
mov dword [rax + 0x49d0], 4
call fcn.1400076f0
cmp byte [rbx + 0x79], sil
je 0x1400169f8
movsx ecx, byte [rbx + 0x5ff2]
cmp cl, 0xff
je 0x1400169fb
mov eax, dword [rbx + 0x3f70]
and eax, 0x80000003
jge 0x1400169d6
dec eax
or eax, 0xfffffffc
inc eax
test eax, eax
mov eax, 0x66666667
sete sil
add esi, ecx
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
add eax, eax
sub esi, eax
jmp 0x1400169fb
mov sil, 0xff
mov byte [rbx + 0x5ff2], sil
mov rdi, qword [rbx + 0x5f30]
movsxd rsi, dword [rbx + 0x5f28]
shl rsi, 5
add rsi, rdi
cmp rdi, rsi
je 0x140016a38
nop dword [rax]
cmp dword [rdi + 4], 1
jne 0x140016a2f
mov rdx, rdi
mov rcx, rbx
call qword [rdi + reloc.WS2_32.dll_recv]
add rdi, 0x20
cmp rdi, rsi
jne 0x140016a20
movaps xmm6, xmmword [rsp + 0x60]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm7, xmmword [rsp + 0x50]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret