Function at 0x140015290
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x70
mov rbx, qword [0x1405c5240]
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
mov edi, dword [rbx + 0x5f60]
sub edi, 1
movaps xmmword [rax - 0x58], xmm9
movaps xmmword [rax - 0x68], xmm10
js 0x140015336
movsxd rsi, edi
shl rsi, 5
mov rbp, rsi
nop word [rax + rax]
mov rax, qword [rbx + 0x5f68]
cmp dword [rsi + rax + 4], 7
jne 0x140015329
movsxd r8, dword [rbx + 0x5f60]
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 + 0x5f60]
sub rbp, 0x20
sub rsi, 0x20
sub edi, 1
jns 0x1400152e0
mov rdi, qword [rbx + 0x5f68]
movsxd rsi, dword [rbx + 0x5f60]
shl rsi, 5
add rsi, rdi
cmp rdi, rsi
je 0x140015368
cmp dword [rdi + 4], 0
jne 0x14001535f
mov rdx, rdi
mov rcx, rbx
call qword [rdi + reloc.WS2_32.dll_recv]
add rdi, 0x20
cmp rdi, rsi
jne 0x140015350
mov rax, qword [0x1405c5240]
cmp byte [rax + 0x5e], 0
je 0x14001537f
test byte [rax + 0xc], 2
jne 0x14001537f
mov byte [rax + 0x5e], 0
mov rdi, qword [0x1405c5240]
cmp byte [rdi + 0x5f18], 0
jne 0x14001547a
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x140015473
lea rdx, [0x140161e50]
call int.14000e620
mov rsi, rax
test rax, rax
je 0x140015473
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov r14d, eax
cmp eax, 0xffffffff
je 0x14001546a
xor edx, edx
mov rcx, rsi
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14001546a
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rbp, eax
cmp ebp, 0xffffffff
je 0x14001546a
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 0x14001546a
cmp rbp, 0xffffffffffffffff
je 0x14001546a
mov rcx, rbp
call fcn.140011430
mov r14, rax
test rax, rax
je 0x14001546a
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 0x14001544a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, r14
call fcn.1400114e0
jmp 0x140015473
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rbp, rbp
je 0x140015460
mov rdx, rbp
mov rcx, r14
call fcn.140010eb0
mov rcx, r14
call fcn.1400114e0
jmp 0x140015473
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov byte [rdi + 0x5f18], 1
movss xmm0, dword [rdi + 0x5f1c]
xorps xmm7, xmm7
xor esi, esi
comiss xmm0, xmm7
jbe 0x1400154bb
subss xmm0, dword [rdi + 0x18]
comiss xmm7, xmm0
movss dword [rdi + 0x5f1c], xmm0
jb 0x1400154bb
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x1400154ae
call fcn.14001a0a0
jmp 0x1400154b5
mov byte [rdi + 0xce], 1
mov dword [rdi + 0x5f1c], esi
inc dword [rbx + 0x3f90]
movss xmm0, dword [rbx + 0x18]
cvtps2pd xmm0, xmm0
mov byte [rbx + 0x3f9c], 1
mov word [rbx + 0x5e68], si
mov dword [rbx + 0x4028], esi
addsd xmm0, qword [rbx + 0x3f88]
movsd qword [rbx + 0x3f88], xmm0
mov ecx, dword [rbx + 0x5e84]
test ecx, ecx
jns 0x140015513
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x5e80]
test eax, eax
cmovg edx, eax
call fcn.1400206c0
movss xmm6, dword [0x140162108]
movss xmm10, dword [0x140162094]
mov dword [rbx + 0x5e80], esi
movsxd rax, dword [rbx + 0x619c]
movss xmm1, dword [rbx + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [rbx + rax*4 + 0x60ac]
addss xmm0, dword [rbx + 0x61a4]
movss dword [rbx + 0x61a4], xmm0
movss dword [rbx + rax*4 + 0x60ac], xmm1
mov eax, 0x88888889
mov ecx, dword [rbx + 0x619c]
movss xmm2, dword [rbx + 0x61a4]
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 + 0x61a0]
inc eax
mov dword [rbx + 0x619c], ecx
mov ecx, reloc.WLDAP32.dll_Ordinal_60
cmp eax, ecx
cmovl ecx, eax
comiss xmm2, xmm7
mov dword [rbx + 0x61a0], ecx
jbe 0x1400155bb
movd xmm0, ecx
movaps xmm1, xmm10
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
divss xmm1, xmm2
jmp 0x1400155be
movaps xmm1, xmm6
lea rcx, [rbx + 0x3fc0]
movss dword [rbx + 0xd4], xmm1
xor edx, edx
call fcn.140020b40
movzx ecx, byte [rbx + 0x5a]
call fcn.14001c7b0
mov rdx, qword [0x1405c5240]
mov rax, qword [rdx + 0x4b00]
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 + 0x4b00]
movsxd rax, dword [rdx + 0x4af8]
lea rdx, [rcx + rax*8]
cmp rcx, rdx
je 0x1400156b9
nop dword [rax]
mov rax, qword [rcx]
movaps xmm3, xmm7
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, xmm7
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 0x140015620
mov rax, qword [rbx + 0x38]
mov byte [rax + 0x18], 1
mov rax, qword [0x1405c5240]
mov rcx, qword [rax + 0x48]
test rcx, rcx
jne 0x1400156dc
mov rax, qword [rax + 0x38]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx]
call fcn.14001a930
mov rcx, qword [rbx + 0x4b00]
movaps xmm9, xmm6
movsxd rax, dword [rbx + 0x4af8]
movaps xmm8, xmm6
movss xmm4, dword [0x140162118]
movaps xmm5, xmm4
lea rdx, [rcx + rax*8]
cmp rcx, rdx
je 0x14001575a
nop dword [rax + rax]
mov rax, qword [rcx]
movss xmm3, dword [rax + 4]
comiss xmm9, xmm3
movss xmm2, dword [rax + 8]
movaps xmm0, xmm3
addss xmm0, dword [rax + 0xc]
movaps xmm1, xmm2
addss xmm1, dword [rax + 0x10]
jbe 0x140015737
movaps xmm9, xmm3
comiss xmm8, xmm2
jbe 0x140015741
movaps xmm8, xmm2
comiss xmm0, xmm4
jbe 0x140015749
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x140015751
movaps xmm5, xmm1
add rcx, 8
cmp rcx, rdx
jne 0x140015710
movss dword [rbx + 0x3d84], xmm9
lea rcx, [rbx + 0x3d68]
movss dword [rbx + 0x3d88], xmm8
movss dword [rbx + 0x3d8c], xmm4
movss dword [rbx + 0x3d90], xmm5
mov eax, dword [rbx + 0x39cc]
movss xmm1, dword [rbx + 0x39d0]
mov dword [rbx + 0x3d7c], eax
call fcn.14002d280
mov r8d, esi
mov dword [rbx + 0x3d94], esi
cmp byte [rbx + 0x39c8], sil
je 0x1400157be
mov dword [rbx + 0x3d94], 1
mov r8d, 1
mov edx, r8d
cmp byte [rbx + 0x39c9], sil
je 0x1400157e3
mov rax, qword [rbx + 0x3d58]
mov rcx, qword [rax + 0x40]
test byte [rcx], 4
jne 0x1400157e3
or edx, 2
mov dword [rbx + 0x3d94], edx
cmp byte [rbx + 0x39ca], sil
je 0x1400157f5
or edx, 4
mov dword [rbx + 0x3d94], edx
test byte [rbx + 0xc], 8
je 0x140015804
or edx, 8
mov dword [rbx + 0x3d94], edx
mov rcx, qword [rbx + 0x4b00]
movsxd rax, dword [rbx + 0x4af8]
lea rdx, [rcx + rax*8]
cmp rcx, rdx
je 0x140015830
nop dword [rax + rax]
mov rax, qword [rcx]
add rcx, 8
mov byte [rax + 0x48], sil
cmp rcx, rdx
jne 0x140015820
cmp byte [rbx + 0x4d20], sil
je 0x14001586b
mov eax, dword [rbx + 0x4d3c]
cmp eax, dword [rbx + 0x409c]
jne 0x14001586b
mov rcx, qword [0x1405c5240]
cmp dword [rcx + 0x409c], eax
jne 0x14001585c
mov dword [rcx + 0x40a0], eax
cmp dword [rcx + 0x40c8], eax
jne 0x14001586b
mov byte [rcx + 0x40cc], 1
cmp dword [rbx + 0x408c], esi
jne 0x14001587b
mov dword [rbx + 0x4094], esi
jmp 0x14001588d
mov eax, dword [rbx + 0x4088]
test eax, eax
je 0x140015893
cmp dword [rbx + 0x409c], eax
jne 0x140015893
mov dword [rbx + 0x4098], esi
mov eax, dword [rbx + 0x4088]
test eax, eax
je 0x1400158cd
movss xmm1, dword [rbx + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x4094]
movss dword [rbx + 0x4094], xmm0
cmp dword [rbx + 0x409c], eax
je 0x1400158cd
addss xmm1, dword [rbx + 0x4098]
movss dword [rbx + 0x4098], xmm1
mov dword [rbx + 0x408c], eax
mov eax, dword [rbx + 0x409c]
mov dword [rbx + 0x4088], esi
mov word [rbx + 0x4090], si
test eax, eax
je 0x140015918
cmp dword [rbx + 0x40a0], eax
je 0x140015918
cmp dword [rbx + 0x40c8], eax
jne 0x140015918
test byte [rbx + 0x5ffc], 1
je 0x14001590f
lea rcx, str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.14000af40
xor edx, edx
xor ecx, ecx
call fcn.14001a670
mov ecx, dword [rbx + 0x409c]
test ecx, ecx
je 0x140015937
movss xmm0, dword [rbx + 0x18]
addss xmm0, dword [rbx + 0x40a4]
movss dword [rbx + 0x40a4], xmm0
mov rax, qword [rbx + 0x40b8]
movss xmm0, dword [rbx + 0x18]
addss xmm0, dword [rbx + 0x40dc]
mov qword [rbx + 0x40d0], rax
movzx eax, byte [rbx + 0x40ac]
mov byte [rbx + 0x40cd], al
mov eax, dword [rbx + 0x5dd8]
movss dword [rbx + 0x40dc], xmm0
mov dword [rbx + 0x40c8], ecx
mov dword [rbx + 0x40a0], esi
mov byte [rbx + 0x40ad], sil
mov byte [rbx + 0x40cc], sil
mov byte [rbx + 0x40a8], sil
test eax, eax
je 0x14001599c
cmp ecx, eax
je 0x14001599c
mov dword [rbx + 0x5dd8], esi
test ecx, ecx
jne 0x1400159b5
mov dword [rbx + 0x4970], esi
mov byte [rbx + 0x4974], sil
mov dword [rbx + 0x4978], esi
jmp 0x1400159dd
mov eax, dword [rbx + 0x4978]
test eax, eax
je 0x1400159dd
test al, 2
je 0x1400159dd
mov rax, qword [0x1405c5240]
mov dword [rax + 0x418c], ecx
mov dword [rax + 0x4188], ecx
mov word [rax + 0x4190], si
mov ecx, dword [rbx + 0x4e90]
test ecx, ecx
je 0x140015a00
movss xmm0, dword [rbx + 0x4eac]
comiss xmm0, dword [rbx + 0x3d40]
jb 0x140015a06
mov dword [rbx + 0x4ea0], ecx
jmp 0x140015a06
mov dword [rbx + 0x4ea0], esi
mov rax, qword [rbx + 0x4040]
test rax, rax
je 0x140015a2e
movss xmm0, dword [rbx + 0x4eac]
comiss xmm0, dword [rbx + 0x3d40]
jb 0x140015a34
mov eax, dword [rax + 0x10]
mov dword [rbx + 0x4ea4], eax
jmp 0x140015a34
mov dword [rbx + 0x4ea4], esi
movss xmm0, dword [rbx + 0x4e98]
mov dword [rbx + 0x4e94], ecx
test ecx, ecx
je 0x140015a61
addss xmm0, dword [rbx + 0x18]
mov dword [rbx + 0x4e9c], esi
mov dword [rbx + 0x4e90], esi
movss dword [rbx + 0x4e98], xmm0
jmp 0x140015a9a
comiss xmm0, xmm7
jbe 0x140015a9a
movss xmm2, dword [rbx + 0x18]
movss xmm0, dword [0x140162060]
movaps xmm1, xmm2
addss xmm1, dword [rbx + 0x4e9c]
addss xmm2, xmm2
movss dword [rbx + 0x4e9c], xmm1
maxss xmm0, xmm2
comiss xmm1, xmm0
jb 0x140015a9a
mov qword [rbx + 0x4e98], rsi
mov eax, dword [rbx + 0x4d8c]
mov dword [rbx + 0x4d90], eax
mov qword [rbx + 0x4d88], 0x7f7fffff
mov word [rbx + 0x4d21], si
mov dword [rbx + 0x4d98], esi
call fcn.14001d040
call fcn.140012a30
call fcn.14001d820
call fcn.14001c380
mov rdi, qword [0x1405c5240]
mov rcx, qword [rdi + 0x4050]
test rcx, rcx
je 0x140015bab
mov eax, dword [rdi + 0x409c]
mov dword [rdi + 0x40a0], eax
cmp dword [rdi + 0x40c8], eax
jne 0x140015b04
mov byte [rdi + 0x40cc], 1
mov r9, qword [rcx + 0x388]
cmp byte [rdi + 0xe50], sil
je 0x140015ba2
lea rcx, [rdi + 0xe48]
test rcx, rcx
je 0x140015b29
mov rax, rcx
jmp 0x140015b36
mov rax, qword [0x1405c5240]
add rax, 0xe48
movss xmm0, dword [rax]
movss xmm1, dword [0x140162114]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x140015ba2
comiss xmm2, xmm1
jb 0x140015ba2
movss xmm0, dword [rcx]
lea rdx, [rsp + 0x90]
movss xmm1, dword [rcx + 4]
mov r8d, 1
subss xmm0, dword [rdi + 0x40b0]
subss xmm1, dword [rdi + 0x40b4]
mov rcx, r9
movss dword [rsp + 0x90], xmm0
movss dword [rsp + 0x94], xmm1
call fcn.14001b540
mov rcx, qword [rdi + 0x4050]
xor edx, edx
call fcn.14000d110
jmp 0x140015bec
mov qword [rdi + 0x4050], rsi
jmp 0x140015be3
mov rcx, qword [rdi + 0x40b8]
test rcx, rcx
je 0x140015bec
mov eax, dword [rdi + 0x409c]
cmp dword [rcx + 0x84], eax
jne 0x140015bec
mov dword [rdi + 0x40a0], eax
cmp dword [rdi + 0x40c8], eax
jne 0x140015bda
mov byte [rdi + 0x40cc], 1
cmp byte [rdi + 0xe50], sil
jne 0x140015bec
xor edx, edx
xor ecx, ecx
call fcn.14001a670
mov r8, qword [0x1405c5240]
mov eax, dword [r8 + 0x4ac0]
sub eax, 1
js 0x140015c2f
mov r8, qword [r8 + 0x4ac8]
movsxd rdx, eax
add r8, 8
imul rcx, rdx, 0x38
add r8, rcx
mov rax, qword [r8]
test rax, rax
je 0x140015c25
test dword [rax + 0x14], 0x8000000
jne 0x140015c45
sub r8, 0x38
sub rdx, 1
jns 0x140015c14
cmp qword [rbx + 0x4ce8], rsi
je 0x140015c61
movss xmm0, dword [rbx + 0x4d04]
comiss xmm0, xmm7
jbe 0x140015c61
movss xmm1, dword [rbx + 0x18]
mulss xmm1, dword [0x1401620b8]
addss xmm1, dword [rbx + 0x4d1c]
minss xmm1, xmm10
jmp 0x140015c7e
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x1401620c8]
movss xmm1, dword [rbx + 0x4d1c]
subss xmm1, xmm0
maxss xmm1, xmm7
movss dword [rbx + 0x4d1c], xmm1
movups xmm0, xmmword [rbx + 0x5ef8]
mov dword [rbx + 0x4ea8], esi
mov qword [rbx + 0x61ac], 0xffffffffffffffff
movups xmmword [rbx + 0x5f08], xmm0
mov dword [rbx + 0x61a8], 0xffffffff
mov byte [rbx + 0x5ef8], sil
call fcn.14001dee0
cmp byte [rbx + 0x3f9f], sil
jne 0x140015cde
movss xmm0, dword [rbx + 0x60]
comiss xmm7, xmm0
ja 0x140015cde
movsd xmm6, qword [rbx + 0x3f88]
cvtpd2ps xmm6, xmm6
subss xmm6, xmm0
mov r14, qword [rbx + 0x3fe0]
movsxd rax, dword [rbx + 0x3fd8]
lea rbp, [r14 + rax*8]
cmp r14, rbp
je 0x140015e0a
nop dword [rax]
mov rdi, qword [r14]
movzx ecx, byte [rdi + 0xbe]
movzx eax, word [rdi + 0xcc]
mov byte [rdi + 0xbf], cl
mov byte [rdi + 0xbe], sil
mov byte [rdi + 0xc0], sil
mov word [rdi + 0xce], ax
mov word [rdi + 0xcc], si
test cl, cl
jne 0x140015dfd
cmp byte [rdi + 0x3f4], sil
jne 0x140015dfd
comiss xmm6, dword [rdi + 0x274]
jbe 0x140015dfd
mov rcx, qword [rdi + 0x2a8]
mov byte [rdi + 0x3f4], 1
mov eax, dword [rcx + 0x14]
mov dword [rdi + 0x3ec], eax
mov eax, dword [rcx + 0x24]
mov dword [rdi + 0x3f0], eax
mov rcx, qword [rdi + 0x108]
test rcx, rcx
je 0x140015d94
mov qword [rdi + 0x100], rsi
call fcn.1400114e0
mov qword [rdi + 0x108], rsi
mov rcx, qword [rdi + 0x2a8]
call fcn.14002df30
mov rcx, qword [rdi + 0x1a8]
test rcx, rcx
je 0x140015dbf
mov qword [rdi + 0x1a0], rsi
call fcn.1400114e0
mov qword [rdi + 0x1a8], rsi
mov rcx, qword [rdi + 0x1e0]
test rcx, rcx
je 0x140015dde
mov qword [rdi + 0x1d8], rsi
call fcn.1400114e0
mov qword [rdi + 0x1e0], rsi
mov rcx, qword [rdi + 0x1f0]
test rcx, rcx
je 0x140015dfd
mov qword [rdi + 0x1e8], rsi
call fcn.1400114e0
mov qword [rdi + 0x1f0], rsi
add r14, 8
cmp r14, rbp
jne 0x140015d00
mov edi, esi
cmp dword [rbx + 0x4e20], esi
jle 0x140015e5a
mov rbp, rsi
nop word [rax + rax]
mov rax, qword [rbx + 0x4e28]
movss xmm0, dword [rax + rbp]
comiss xmm0, xmm7
jb 0x140015e4c
comiss xmm6, xmm0
jbe 0x140015e4c
movsxd rax, edi
imul rcx, rax, 0x250
add rcx, qword [rbx + 0x4e00]
call fcn.14003ff90
inc edi
add rbp, 4
cmp edi, dword [rbx + 0x4e20]
jl 0x140015e20
mov rdi, qword [rbx + 0x4df0]
movsxd rax, dword [rbx + 0x4de8]
imul rbp, rax, 0x78
add rbp, rdi
cmp rdi, rbp
je 0x140015e94
movss xmm0, dword [rdi + 4]
comiss xmm0, xmm7
jb 0x140015e8b
comiss xmm6, xmm0
jbe 0x140015e8b
mov rcx, rdi
call fcn.140040060
add rdi, 0x78
cmp rdi, rbp
jne 0x140015e74
cmp byte [rbx + 0x3f9f], sil
je 0x140015ee7
mov rdi, qword [0x1405c5240]
mov rcx, qword [rdi + 0x4aa8]
test rcx, rcx
je 0x140015ec3
mov qword [rdi + 0x4aa0], rsi
call fcn.1400114e0
mov qword [rdi + 0x4aa8], rsi
mov rcx, qword [rdi + 0x4ab8]
test rcx, rcx
je 0x140015ee2
mov qword [rdi + 0x4ab0], rsi
call fcn.1400114e0
mov qword [rdi + 0x4ab8], rsi
call fcn.14003fda0
mov rax, qword [rbx + 0x4b08]
mov byte [rbx + 0x3f9f], sil
test rax, rax
je 0x140015f59
cmp byte [rax + 0xbf], sil
jne 0x140015f59
mov rcx, qword [0x1405c5240]
mov eax, dword [rcx + 0x3fe8]
sub eax, 1
js 0x140015f4d
movsxd rdx, eax
mov rax, qword [rcx + 0x3ff0]
lea r8, [rax + rdx*8]
mov rcx, qword [r8]
test rcx, rcx
je 0x140015f43
cmp byte [rcx + 0xbf], sil
je 0x140015f43
mov eax, dword [rcx + 0x14]
and eax, 0x10200
cmp eax, 0x10200
jne 0x140015f4f
sub r8, 8
sub rdx, 1
jns 0x140015f23
xor ecx, ecx
mov edx, 1
call fcn.14000d110
mov ecx, dword [rbx + 0x400c]
test ecx, ecx
jns 0x140015fbe
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 0x140015fbe
movsxd rax, edi
imul rcx, rax, 0x58
call fcn.140011430
mov rdx, qword [rbx + 0x4010]
mov rbp, rax
test rdx, rdx
je 0x140015fb1
movsxd rcx, dword [rbx + 0x4008]
imul r8, rcx, 0x58
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbx + 0x4010]
call fcn.1400114e0
mov qword [rbx + 0x4010], rbp
mov dword [rbx + 0x400c], edi
lea rcx, [rbx + 0x4ad0]
mov dword [rbx + 0x4008], esi
xor edx, edx
call fcn.140020a90
lea rdi, [rbx + 0x4aa0]
mov ecx, dword [rdi + 4]
test ecx, ecx
jns 0x140015ff8
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.1400206c0
mov dword [rdi], esi
cmp dword [rdi + 4], esi
jne 0x14001600c
mov edx, 8
mov rcx, rdi
call fcn.1400206c0
movsxd rcx, dword [rdi]
xor edx, edx
mov rax, qword [rdi + 8]
mov dword [rax + rcx*4], esi
lea rcx, [rbx + 0x4ab0]
inc dword [rdi]
call fcn.140020a90
call fcn.14001c150
mov rdi, qword [0x1405c5240]
mov dword [rdi + 0x4084], esi
mov eax, dword [rdi + 0x6048]
inc eax
cmp dword [rdi + 0x3f90], eax
jne 0x140016117
mov ebp, dword [rdi + 0x408c]
test ebp, ebp
jne 0x14001605c
mov ebp, dword [rdi + 0x409c]
cmp dword [rdi + 0x6050], ebp
je 0x1400160a0
mov dword [rdi + 0x6050], ebp
mov dword [rdi + 0x604c], 0xffffffff
mov ecx, dword [rdi + 0x605c]
test ecx, ecx
jns 0x14001609a
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x6058]
test eax, eax
cmovg edx, eax
call fcn.140020810
mov dword [rdi + 0x6058], esi
test ebp, ebp
je 0x140016117
movsxd rcx, dword [rdi + 0x604c]
test ecx, ecx
js 0x1400160db
mov eax, ecx
cmp ecx, dword [rdi + 0x6058]
jge 0x1400160ee
mov r8, qword [rdi + 0x6060]
lea rdx, [rcx + rcx*8]
cmp byte [r8 + rdx*8 + 5], sil
jne 0x1400160d3
cmp byte [r8 + rdx*8 + 4], 2
jle 0x1400160ee
inc ecx
mov dword [rdi + 0x604c], ecx
mov eax, ecx
cmp ecx, 0xffffffff
jne 0x1400160ea
mov dword [rdi + 0x4084], ebp
jmp 0x140016117
test ecx, ecx
js 0x140016117
cmp eax, dword [rdi + 0x6058]
jge 0x140016117
cdqe
lea rdx, [rax + rax*8]
mov rax, qword [rdi + 0x6060]
mov ecx, dword [rax + rdx*8]
mov dword [rdi + 0x4084], ecx
mov rax, qword [rdi + 0x6060]
inc byte [rax + rdx*8 + 4]
movzx eax, byte [rbx + 0x6029]
test al, al
je 0x140016132
sub al, 1
mov byte [rbx + 0x6029], al
jne 0x140016132
mov dword [rbx + 0x4984], esi
movzx eax, byte [rbx + 0x6028]
test al, al
je 0x14001615a
sub al, 1
mov byte [rbx + 0x6028], al
jne 0x14001615a
lea rcx, str._Auto_disabled_ImGuiDebugLogFlags_EventClipper_to_avoid_spamming__n
call fcn.14000af40
and dword [rbx + 0x5ffc], 0xffffffef
mov byte [rbx + 0x3f9d], 1
lea rcx, str.DebugDefault
mov rax, qword [0x1405c5240]
xor r8d, r8d
xor edx, edx
or dword [rax + 0x49e8], 2
mov dword [rax + 0x4a08], 0x43c80000
mov dword [rax + 0x4a0c], 0x43c80000
mov dword [rax + 0x49f0], 4
call fcn.140005e80
cmp byte [rbx + 0x79], sil
je 0x1400161e6
movsx ecx, byte [rbx + 0x602a]
cmp cl, 0xff
je 0x1400161e9
mov eax, dword [rbx + 0x3f90]
and eax, 0x80000003
jge 0x1400161c4
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 0x1400161e9
mov sil, 0xff
mov byte [rbx + 0x602a], sil
mov rdi, qword [rbx + 0x5f68]
movsxd rsi, dword [rbx + 0x5f60]
shl rsi, 5
add rsi, rdi
cmp rdi, rsi
je 0x140016228
nop word [rax + rax]
cmp dword [rdi + 4], 1
jne 0x14001621f
mov rdx, rdi
mov rcx, rbx
call qword [rdi + reloc.WS2_32.dll_recv]
add rdi, 0x20
cmp rdi, rsi
jne 0x140016210
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 xmm10, xmmword [r11 - 0x50]
movaps xmm7, xmmword [rsp + 0x50]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret