Function at 0x1400775b0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0x90
mov rsi, qword [0x141281328]
mov qword [rax + 0x10], rbp
mov rbx, rsi
mov qword [rax - 0x20], r14
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
mov eax, dword [rsi + 0x30a8]
lea ebp, [rax - 1]
test ebp, ebp
js 0x140077659
movsxd rdi, ebp
shl rdi, 5
mov r14, rdi
nop dword [rax]
mov rdx, qword [rsi + 0x30b0]
cmp dword [rdx + rdi + 4], 7
jne 0x140077646
movsxd r8, dword [rsi + 0x30a8]
mov rcx, rdx
sub rdx, rdx
add rdx, r14
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 [rsi + 0x30a8]
mov eax, dword [rsi + 0x30a8]
sub r14, 0x20
sub rdi, 0x20
sub ebp, 1
jns 0x140077600
xor edi, edi
mov ebp, edi
test eax, eax
jle 0x140077696
mov esi, edi
mov rax, qword [rbx + 0x30b0]
cmp dword [rax + rsi + 4], edi
jne 0x140077681
movsxd rdx, ebp
mov rcx, rbx
shl rdx, 5
add rdx, rax
call qword [rax + rsi + reloc.WS2_32.dll_recv]
inc ebp
add rsi, 0x20
cmp ebp, dword [rbx + 0x30a8]
jl 0x140077663
mov rsi, qword [0x141281328]
cmp byte [rsi + 0xcc], dil
je 0x1400776ac
test byte [rsi + 0xc], 2
jne 0x1400776ac
mov byte [rsi + 0xcc], dil
mov rbp, rsi
cmp byte [rsi + 0x3061], dil
jne 0x14007771d
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140077716
lea r8, [rsp + 0xb0]
mov qword [rsp + 0xb0], rdi
call fcn.140073d50
mov rsi, rax
test rax, rax
je 0x14007770f
mov rdx, qword [rsp + 0xb0]
mov rcx, rax
call fcn.140085b70
mov rcx, qword [0x141281328]
test rcx, rcx
je 0x140077700
dec dword [rcx + 0x3b4]
mov rdx, qword [0x141281330]
mov rcx, rsi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov rsi, qword [0x141281328]
mov byte [rbp + 0x3061], 1
movss xmm0, dword [rbp + 0x3064]
xorps xmm6, xmm6
comiss xmm0, xmm6
mov qword [rsp + 0x80], r15
jbe 0x1400777c1
subss xmm0, dword [rbp + 0x18]
comiss xmm6, xmm0
movss dword [rbp + 0x3064], xmm0
jb 0x1400777c1
mov r14, qword [rbp + 0x20]
test r14, r14
je 0x1400777b4
lea rcx, [rsp + 0xb0]
mov dword [rsi + 0x3064], edi
mov qword [rsp + 0xb0], rdi
call fcn.140085ed0
lea rdx, [0x140cc1d1c]
mov rcx, r14
mov r15, rax
call fcn.140073c20
mov rsi, rax
test rax, rax
je 0x1400777ab
mov r8, qword [rsp + 0xb0]
mov r9, rax
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rsi, qword [0x141281328]
jmp 0x1400777bb
mov byte [rbp + 0x39c], 1
mov dword [rbp + 0x3064], edi
inc dword [rbx + 0x1b90]
movss xmm1, dword [rbx + 0x18]
cvtps2pd xmm0, xmm1
mov byte [rbx + 0x1b9c], 1
mov dword [rbx + 0x3028], edi
mov dword [rbx + 0x1c00], edi
addsd xmm0, qword [rbx + 0x1b88]
movsd qword [rbx + 0x1b88], xmm0
mov ecx, dword [rbx + 0x3044]
test ecx, ecx
jns 0x140077824
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x3040]
test eax, eax
cmovg edx, eax
call fcn.140087640
movss xmm1, dword [rbx + 0x18]
mov rsi, qword [0x141281328]
movss xmm10, dword [0x140cc424c]
movaps xmm0, xmm1
movss xmm9, dword [0x140cc3f74]
mov dword [rbx + 0x3040], edi
movsxd rax, dword [rbx + 0x32fc]
subss xmm0, dword [rbx + rax*4 + 0x311c]
addss xmm0, dword [rbx + 0x3300]
movss dword [rbx + 0x3300], xmm0
movss dword [rbx + rax*4 + 0x311c], xmm1
mov eax, 0x88888889
mov ecx, dword [rbx + 0x32fc]
movss xmm1, dword [rbx + 0x3300]
inc ecx
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x78
sub ecx, eax
comiss xmm1, xmm6
mov dword [rbx + 0x32fc], ecx
jbe 0x1400778ad
divss xmm1, dword [0x140cc4140]
movaps xmm0, xmm9
divss xmm0, xmm1
jmp 0x1400778b1
movaps xmm0, xmm10
movss dword [rbx + 0x3a0], xmm0
mov r8d, edi
mov rax, qword [rsi + 0x1df8]
mov rcx, qword [rax]
mov qword [rcx], 5
mov dword [rcx + 8], edi
movsd xmm0, qword [rsi + 0x10]
movsd qword [rcx + 0xc], xmm0
cmp dword [rsi + 0x1df0], edi
jle 0x14007799f
mov rdx, rdi
nop dword [rax]
mov rax, qword [rsi + 0x1df8]
inc r8d
mov rcx, qword [rdx + rax]
add rdx, 8
movsd xmm2, qword [rcx + 0xa0]
movsd xmm3, qword [rcx + 0xa8]
movss xmm1, dword [rcx + 4]
addss xmm1, xmm2
movsd qword [rcx + 0x90], xmm2
mov qword [rcx + 0xa8], rdi
movsd xmm0, qword [rcx + 0xa8]
movsd qword [rcx + 0xa0], xmm0
movaps xmm0, xmm2
shufps xmm0, xmm0, 0x55
addss xmm0, dword [rcx + 8]
movss dword [rcx + 0x14], xmm1
movaps xmm1, xmm6
movsd qword [rcx + 0x98], xmm3
movss dword [rcx + 0x18], xmm0
movss xmm0, dword [rcx + 0xc]
subss xmm0, xmm2
movaps xmm2, xmm6
addss xmm0, xmm3
maxss xmm2, xmm0
movss xmm0, dword [rcx + 0x10]
subss xmm0, dword [rcx + 0x94]
addss xmm0, dword [rcx + 0x9c]
movss dword [rcx + 0x1c], xmm2
maxss xmm1, xmm0
movss dword [rcx + 0x20], xmm1
cmp r8d, dword [rsi + 0x1df0]
jl 0x1400778f0
mov rax, qword [rbx + 0xa8]
mov byte [rax + 0x18], 1
mov rcx, qword [rsi + 0xb8]
test rcx, rcx
jne 0x1400779c4
mov rax, qword [rsi + 0xa8]
mov rcx, qword [rax + 0x50]
mov rcx, qword [rcx]
call fcn.14007f0f0
mov eax, dword [rbx + 0x1df0]
movaps xmm0, xmm10
movss xmm5, dword [0x140cc42c0]
movaps xmm8, xmm10
movaps xmm7, xmm5
test eax, eax
jle 0x140077a39
mov rcx, qword [rbx + 0x1df8]
mov edx, eax
nop
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 0x140077a15
movaps xmm0, xmm4
comiss xmm8, xmm3
jbe 0x140077a1f
movaps xmm8, xmm3
comiss xmm1, xmm5
jbe 0x140077a27
movaps xmm5, xmm1
comiss xmm2, xmm7
jbe 0x140077a2f
movaps xmm7, xmm2
add rcx, 8
sub rdx, 1
jne 0x1400779f0
mov eax, dword [rbx + 0x161c]
movss xmm1, dword [rbx + 0x1620]
shufps xmm0, xmm0, 0xe1
movss xmm0, xmm8
mov dword [rbx + 0x199c], eax
movaps xmm8, xmmword [rsp + 0x50]
shufps xmm0, xmm0, 0xc6
movss xmm0, xmm5
shufps xmm0, xmm0, 0x27
movss xmm0, xmm7
shufps xmm0, xmm0, 0x39
movups xmmword [rbx + 0x19a4], xmm0
movss xmm0, dword [rbx + 0x19a0]
ucomiss xmm0, xmm1
jp 0x140077a8a
je 0x140077b41
movss xmm7, dword [0x140cc4020]
lea r14, [rbx + 0x1b3c]
movss dword [rbx + 0x19a0], xmm1
mov ebp, edi
mov r15d, 0x200
nop dword [rax]
movd xmm0, ebp
cvtdq2ps xmm0, xmm0
test ebp, ebp
je 0x140077b09
movss xmm1, dword [rbx + 0x19a0]
minss xmm1, xmm0
divss xmm1, xmm0
movaps xmm0, xmm9
subss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_acosf
movaps xmm1, xmm7
divss xmm1, xmm0
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
cvttss2si eax, xmm0
inc eax
cdq
sub eax, edx
sar eax, 1
add eax, eax
cmp eax, 4
jge 0x140077b00
mov eax, 4
jmp 0x140077b0b
cmp eax, r15d
cmovg eax, r15d
jmp 0x140077b0b
mov eax, edi
mov byte [r14], al
inc ebp
inc r14
cmp ebp, 0x40
jl 0x140077ab0
movss xmm0, dword [0x140cc3ef4]
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movss xmm1, dword [rbx + 0x19a0]
movaps xmm2, xmm9
subss xmm2, xmm0
divss xmm1, xmm2
movss dword [rbx + 0x1b38], xmm1
mov r8d, edi
movaps xmm7, xmmword [rsp + 0x60]
mov dword [rbx + 0x19b4], edi
cmp byte [rbx + 0x1618], dil
je 0x140077b68
mov dword [rbx + 0x19b4], 1
mov r8d, 1
mov edx, r8d
cmp byte [rbx + 0x1619], dil
je 0x140077b8d
mov rax, qword [rbx + 0x1978]
mov rcx, qword [rax + 0x40]
test byte [rcx], 4
jne 0x140077b8d
or edx, 2
mov dword [rbx + 0x19b4], edx
cmp byte [rbx + 0x161a], dil
je 0x140077b9f
or edx, 4
mov dword [rbx + 0x19b4], edx
test byte [rbx + 0xc], 8
je 0x140077bae
or edx, 8
mov dword [rbx + 0x19b4], edx
mov r8d, edi
cmp dword [rbx + 0x1df0], edi
jle 0x140077beb
mov rdx, rdi
nop dword [rax]
mov rax, qword [rbx + 0x1df8]
lea rdx, [rdx + 8]
xorps xmm0, xmm0
inc r8d
mov rcx, qword [rdx + rax - 8]
movups xmmword [rcx + 0x40], xmm0
movups xmmword [rcx + 0x50], xmm0
movups xmmword [rcx + 0x60], xmm0
cmp r8d, dword [rbx + 0x1df0]
jl 0x140077bc0
cmp byte [rbx + 0x1f84], dil
je 0x140077c1f
mov eax, dword [rbx + 0x1fa4]
cmp eax, dword [rbx + 0x1c94]
jne 0x140077c1f
cmp dword [rsi + 0x1c94], eax
jne 0x140077c10
mov dword [rsi + 0x1c98], eax
cmp dword [rsi + 0x1cd0], eax
jne 0x140077c1f
mov byte [rsi + 0x1cd4], 1
mov eax, dword [rbx + 0x1c80]
cmp dword [rbx + 0x1c84], edi
jne 0x140077c35
mov dword [rbx + 0x1c8c], edi
jmp 0x140077c43
mov edx, eax
test eax, eax
je 0x140077c4b
cmp dword [rbx + 0x1c94], eax
jne 0x140077c4b
mov dword [rbx + 0x1c90], edi
mov edx, eax
movss xmm2, dword [rbx + 0x18]
mov ecx, dword [rbx + 0x1c94]
test edx, edx
je 0x140077c84
movaps xmm0, xmm2
addss xmm0, dword [rbx + 0x1c8c]
movss dword [rbx + 0x1c8c], xmm0
cmp ecx, edx
je 0x140077c84
movaps xmm0, xmm2
addss xmm0, dword [rbx + 0x1c90]
movss dword [rbx + 0x1c90], xmm0
movaps xmm1, xmm2
movzx eax, byte [rbx + 0x1c89]
mov ebp, 0xffffffff
mov dword [rbx + 0x1c84], edx
mov edx, ecx
mov byte [rbx + 0x1c8a], al
mov dword [rbx + 0x1c80], edi
mov word [rbx + 0x1c88], di
mov byte [rbx + 0x1c8b], dil
cmp dword [rbx + 0x1c98], ecx
je 0x140077d25
cmp dword [rbx + 0x1cd0], ecx
jne 0x140077d25
test ecx, ecx
je 0x140077d25
mov ecx, dword [rsi + 0x1c94]
test ecx, ecx
setne al
mov byte [rsi + 0x1ca0], al
test ecx, ecx
je 0x140077cf1
mov dword [rsi + 0x1c9c], edi
mov word [rsi + 0x1ca3], di
mov dword [rsi + 0x1ccc], ebp
mov dword [rsi + 0x1c94], edi
mov word [rsi + 0x1ca1], di
mov qword [rsi + 0x1cc0], rdi
mov word [rsi + 0x1ca5], di
mov qword [rsi + 0x1ca8], rdi
mov qword [rsi + 0x1cb0], rdi
mov edx, dword [rbx + 0x1c94]
movss xmm1, dword [rbx + 0x18]
test edx, edx
je 0x140077d3c
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x1c9c]
movss dword [rbx + 0x1c9c], xmm0
mov rax, qword [rbx + 0x1cc0]
addss xmm1, dword [rbx + 0x1ce4]
mov qword [rbx + 0x1cd8], rax
movzx eax, byte [rbx + 0x1ca4]
mov byte [rbx + 0x1cd5], al
mov eax, dword [rbx + 0x2fe8]
movss dword [rbx + 0x1ce4], xmm1
mov dword [rbx + 0x1cd0], edx
mov dword [rbx + 0x1c98], edi
mov byte [rbx + 0x1ca5], dil
mov byte [rbx + 0x1cd4], dil
mov byte [rbx + 0x1ca0], dil
test eax, eax
je 0x140077d9c
cmp edx, eax
je 0x140077d9c
mov dword [rbx + 0x2fe8], edi
test edx, edx
jne 0x140077dae
mov qword [rbx + 0x1ca8], rdi
mov qword [rbx + 0x1cb0], rdi
mov eax, dword [rbx + 0x1ff4]
mov r8d, 0x800
mov dword [rbx + 0x1ff8], eax
mov eax, edi
mov qword [rbx + 0x1ff0], 0x7f7fffff
mov word [rbx + 0x1f85], di
mov dword [rbx + 0x2000], edi
cmp byte [rsi + 0x140], dil
setne al
mov ecx, eax
or ecx, 2
cmp byte [rsi + 0x141], dil
cmove ecx, eax
mov edx, ecx
or edx, 4
cmp byte [rsi + 0x142], dil
cmove edx, ecx
lea rcx, [rbx + 0xca0]
mov eax, edx
or eax, 8
cmp byte [rsi + 0x143], dil
cmove eax, edx
lea rdx, [rbx + 0x4a0]
mov dword [rbx + 0x3c0], eax
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [0x140cc4278]
lea rcx, [rbx + 0x145]
lea rax, [rbx + 0x4a4]
mov edx, 0x80
cmp byte [rcx - 1], dil
je 0x140077e61
movss xmm0, dword [rax - 4]
comiss xmm6, xmm0
jbe 0x140077e5a
movaps xmm0, xmm6
jmp 0x140077e64
addss xmm0, dword [rbx + 0x18]
jmp 0x140077e64
movaps xmm0, xmm1
movss dword [rax - 4], xmm0
cmp byte [rcx], dil
je 0x140077e83
movss xmm0, dword [rax]
comiss xmm6, xmm0
jbe 0x140077e7c
movaps xmm0, xmm6
jmp 0x140077e86
addss xmm0, dword [rbx + 0x18]
jmp 0x140077e86
movaps xmm0, xmm1
movss dword [rax], xmm0
cmp byte [rcx + 1], dil
je 0x140077ea6
movss xmm0, dword [rax + 4]
comiss xmm6, xmm0
jbe 0x140077e9f
movaps xmm0, xmm6
jmp 0x140077ea9
addss xmm0, dword [rbx + 0x18]
jmp 0x140077ea9
movaps xmm0, xmm1
movss dword [rax + 4], xmm0
cmp byte [rcx + 2], dil
je 0x140077eca
movss xmm0, dword [rax + 8]
comiss xmm6, xmm0
jbe 0x140077ec3
movaps xmm0, xmm6
jmp 0x140077ecd
addss xmm0, dword [rbx + 0x18]
jmp 0x140077ecd
movaps xmm0, xmm1
movss dword [rax + 8], xmm0
add rcx, 4
add rax, 0x10
sub rdx, 1
jne 0x140077e45
call fcn.1400827c0
call fcn.1400769e0
call fcn.140077240
mov r9, qword [0x141281328]
mov rcx, qword [r9 + 0x1c28]
test rcx, rcx
je 0x140077fff
mov eax, dword [r9 + 0x1c94]
mov dword [r9 + 0x1c98], eax
cmp dword [r9 + 0x1cd0], eax
jne 0x140077f29
mov byte [r9 + 0x1cd4], 1
mov r10, qword [rcx + 0x3a8]
cmp byte [r9 + 0x130], dil
je 0x140077ff1
movss xmm2, dword [r9 + 0x128]
movss xmm0, dword [0x140cc42bc]
comiss xmm2, xmm0
movss xmm1, dword [r9 + 0x12c]
jb 0x140077ff1
comiss xmm1, xmm0
jb 0x140077ff1
subss xmm2, dword [r9 + 0x1cb8]
subss xmm1, dword [r9 + 0x1cbc]
movss xmm0, dword [r10 + 0x20]
ucomiss xmm0, xmm2
movss dword [rsp + 0xb0], xmm2
movss dword [rsp + 0xb4], xmm1
jp 0x140077fa7
jne 0x140077fa7
movss xmm0, dword [r10 + 0x24]
ucomiss xmm0, xmm1
jp 0x140077fa7
je 0x140077fe3
test dword [r10 + 0x1c], 0x100
jne 0x140077fc6
comiss xmm6, dword [r9 + 0x3064]
jb 0x140077fc6
mov eax, dword [r9 + 0x1c]
mov dword [r9 + 0x3064], eax
mov r8d, 1
lea rdx, [rsp + 0xb0]
mov rcx, r10
call fcn.14007f3d0
mov rcx, qword [r9 + 0x1c28]
call fcn.14007ee50
mov r9, qword [0x141281328]
jmp 0x14007803d
call fcn.140076170
mov qword [r9 + 0x1c28], rdi
jmp 0x14007803d
mov rcx, qword [r9 + 0x1cc0]
test rcx, rcx
je 0x14007803d
mov eax, dword [r9 + 0x1c94]
cmp dword [rcx + 0x64], eax
jne 0x14007803d
mov dword [r9 + 0x1c98], eax
cmp dword [r9 + 0x1cd0], eax
jne 0x14007802f
mov byte [r9 + 0x1cd4], 1
cmp byte [r9 + 0x130], dil
jne 0x14007803d
call fcn.140076170
mov eax, dword [r9 + 0x1dd0]
sub eax, 1
js 0x14007807d
mov r8, qword [r9 + 0x1dd8]
movsxd rdx, eax
add r8, 8
lea rcx, [rdx + rdx*2]
shl rcx, 4
add r8, rcx
mov rax, qword [r8]
test rax, rax
je 0x140078073
test dword [rax + 0x1c], 0x8000000
jne 0x140078093
sub r8, 0x30
sub rdx, 1
jns 0x140078062
cmp qword [rbx + 0x1f30], rdi
je 0x1400780af
movss xmm0, dword [rbx + 0x1f4c]
comiss xmm0, xmm6
jbe 0x1400780af
movss xmm1, dword [rbx + 0x18]
mulss xmm1, dword [0x140cc4070]
addss xmm1, dword [rbx + 0x1f7c]
minss xmm1, xmm9
jmp 0x1400780cc
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x140cc4088]
movss xmm1, dword [rbx + 0x1f7c]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rbx + 0x1f7c], xmm1
mov dword [rbx + 0x1f80], edi
mov qword [rbx + 0x3308], 0xffffffffffffffff
mov dword [rbx + 0x3304], ebp
mov dword [rbx + 0x3050], 0x3f800000
mov dword [rbx + 0x3054], 0x3f800000
call fcn.140076d90
mov rbp, qword [0x141281328]
movaps xmm9, xmmword [rsp + 0x40]
mov r8, qword [rbp + 0x1e00]
test r8, r8
je 0x14007814d
cmp byte [r8 + 0x9e], dil
je 0x14007814d
test dword [r8 + 0x1c], 0x40000
jne 0x14007814d
cmp byte [rbp + 0x140], dil
jne 0x14007814d
mov ecx, dword [rbp + 0x3c]
test ecx, ecx
js 0x14007814d
call fcn.140079bd0
test al, al
je 0x14007814d
mov al, 1
jmp 0x14007814f
xor al, al
mov byte [rbp + 0x1f78], al
cmp dword [rbp + 0x1c94], edi
jne 0x1400781b2
test al, al
je 0x1400781b2
mov qword [rbp + 0x1f60], r8
mov dword [rbp + 0x1f70], 0x7fffffff
cmp dword [rbp + 0x1e08], edi
je 0x1400781a1
mov ecx, dword [rbp + 0x1e50]
cmp ecx, 0x7fffffff
je 0x1400781a1
cmp byte [rbp + 0x141], dil
mov eax, 2
cmovne eax, edi
add eax, ecx
mov dword [rbp + 0x1f74], eax
jmp 0x1400781b2
movzx eax, byte [rbp + 0x141]
neg al
sbb ecx, ecx
mov dword [rbp + 0x1f74], ecx
mov r8, qword [rbp + 0x1f60]
mov qword [rbp + 0x1f58], rdi
mov dword [rbp + 0x1f6c], 0x7fffffff
mov dword [rbp + 0x1f68], 0x7fffffff
test r8, r8
je 0x140078247
mov eax, dword [rbp + 0x1f70]
mov qword [rbp + 0x1f58], r8
cmp eax, 0x7fffffff
je 0x140078206
mov ecx, dword [r8 + 0x1d4]
cmp ecx, 0xffffffff
je 0x140078206
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [rbp + 0x1f68], edx
mov eax, dword [rbp + 0x1f74]
cmp eax, 0x7fffffff
je 0x14007822c
mov ecx, dword [r8 + 0x1d8]
cmp ecx, 0xffffffff
je 0x14007822c
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [rbp + 0x1f6c], edx
mov qword [rbp + 0x1f60], rdi
mov dword [rbp + 0x1f74], 0x7fffffff
mov dword [rbp + 0x1f70], 0x7fffffff
mov dword [rbp + 0x1e50], 0x7fffffff
cmp byte [rbx + 0x1b9f], dil
jne 0x14007827a
movss xmm0, dword [rbx + 0xd0]
comiss xmm6, xmm0
ja 0x14007827a
movsd xmm10, qword [rbx + 0x1b88]
cvtpd2ps xmm10, xmm10
subss xmm10, xmm0
mov r14d, edi
cmp dword [rbx + 0x1bb0], edi
je 0x140078400
mov r15, rdi
nop dword [rax]
mov rax, qword [rbx + 0x1bb8]
mov rsi, qword [r15 + rax]
movzx eax, byte [rsi + 0x9e]
mov byte [rsi + 0x9f], al
mov word [rsi + 0xaa], di
mov byte [rsi + 0x9e], dil
mov byte [rsi + 0xa0], dil
test al, al
jne 0x1400783ec
cmp byte [rsi + 0x3f8], dil
jne 0x1400783ec
comiss xmm10, dword [rsi + 0x29c]
jbe 0x1400783ec
mov rcx, qword [rsi + 0x2d0]
mov byte [rsi + 0x3f8], 1
mov eax, dword [rcx + 0x14]
mov dword [rsi + 0x3f0], eax
mov eax, dword [rcx + 0x24]
mov dword [rsi + 0x3f4], eax
mov rcx, qword [rsi + 0xe0]
test rcx, rcx
je 0x140078331
mov qword [rsi + 0xd8], rdi
test rbp, rbp
je 0x14007831e
dec dword [rbp + 0x3b4]
mov rdx, qword [0x141281330]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rsi + 0xe0], rdi
mov rcx, qword [rsi + 0x2d0]
call fcn.14008eaf0
mov rcx, qword [rsi + 0x1b0]
test rcx, rcx
je 0x140078375
mov rax, qword [0x141281328]
mov qword [rsi + 0x1a8], rdi
test rax, rax
je 0x140078362
dec dword [rax + 0x3b4]
mov rdx, qword [0x141281330]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rsi + 0x1b0], rdi
mov rcx, qword [rsi + 0x1f8]
test rcx, rcx
je 0x1400783ad
mov rax, qword [0x141281328]
mov qword [rsi + 0x1f0], rdi
test rax, rax
je 0x14007839a
dec dword [rax + 0x3b4]
mov rdx, qword [0x141281330]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rsi + 0x1f8], rdi
mov rcx, qword [rsi + 0x208]
test rcx, rcx
je 0x1400783e5
mov rax, qword [0x141281328]
mov qword [rsi + 0x200], rdi
test rax, rax
je 0x1400783d2
dec dword [rax + 0x3b4]
mov rdx, qword [0x141281330]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rsi + 0x208], rdi
mov rbp, qword [0x141281328]
inc r14d
add r15, 8
cmp r14d, dword [rbx + 0x1bb0]
jne 0x140078290
mov r14d, edi
cmp dword [rbx + 0x2068], edi
jle 0x140078573
mov qword [rsp + 0xc0], r12
mov r15, rdi
mov qword [rsp + 0xc8], r13
mov r12, rdi
movabs r13, 0x6d3a06d3a06d3a07
nop
mov rax, qword [rbx + 0x2070]
movss xmm0, dword [r15 + rax]
comiss xmm0, xmm6
jb 0x140078548
comiss xmm10, xmm0
jbe 0x140078548
mov rsi, qword [rbx + 0x2038]
add rsi, r12
lea rcx, [rsi + 0x1e8]
call fcn.140092c10
mov rcx, qword [rsi + 0x218]
test rcx, rcx
je 0x14007849e
mov rax, qword [0x141281328]
mov qword [rsi + 0x210], rdi
test rax, rax
je 0x14007848b
dec dword [rax + 0x3b4]
mov rdx, qword [0x141281330]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rsi + 0x218], rdi
mov qword [rsi + 0x220], rdi
mov byte [rsi + 0x24c], 1
mov rcx, qword [rsi + 0x1e0]
test rcx, rcx
je 0x1400784e4
mov rax, qword [0x141281328]
mov qword [rsi + 0x1d8], rdi
test rax, rax
je 0x1400784d1
dec dword [rax + 0x3b4]
mov rdx, qword [0x141281330]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rsi + 0x1e0], rdi
mov edx, edi
mov byte [rsi + 0x256], 1
cmp dword [rsi + 0x6c], edi
jle 0x140078515
mov rcx, rdi
mov r8d, 0xffffffff
nop dword [rax + rax]
mov rax, qword [rsi + 0x10]
lea rcx, [rcx + 0x68]
inc edx
mov word [rax + rcx - 0x18], r8w
cmp edx, dword [rsi + 0x6c]
jl 0x140078500
sub rsi, qword [rbp + 0x2038]
mov rax, r13
imul rsi
sar rdx, 8
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, qword [rbp + 0x2070]
mov rbp, qword [0x141281328]
movsxd rcx, edx
mov dword [rax + rcx*4], 0xbf800000
inc r14d
add r15, 4
add r12, 0x258
cmp r14d, dword [rbx + 0x2068]
jl 0x140078430
mov r13, qword [rsp + 0xc8]
mov r12, qword [rsp + 0xc0]
movaps xmm10, xmmword [rsp + 0x30]
mov r15, qword [rsp + 0x80]
mov r14, qword [rsp + 0x88]
cmp byte [rbx + 0x1b9f], dil
je 0x14007860a
mov rcx, qword [rbp + 0x1db8]
mov rsi, rbp
test rcx, rcx
je 0x1400785cd
mov qword [rbp + 0x1db0], rdi
test rbp, rbp
je 0x1400785b3
dec dword [rbp + 0x3b4]
mov rdx, qword [0x141281330]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rbp + 0x1db8], rdi
mov rbp, qword [0x141281328]
mov rcx, qword [rsi + 0x1dc8]
test rcx, rcx
je 0x1400785fe
mov qword [rsi + 0x1dc0], rdi
test rbp, rbp
je 0x1400785eb
dec dword [rbp + 0x3b4]
mov rdx, qword [0x141281330]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rsi + 0x1dc8], rdi
call fcn.14009b4e0
mov rbp, qword [0x141281328]
mov rax, qword [rbx + 0x1e00]
mov byte [rbx + 0x1b9f], dil
test rax, rax
je 0x140078684
cmp byte [rax + 0x9f], dil
jne 0x140078684
mov eax, dword [rbp + 0x1bc0]
sub eax, 1
js 0x14007867d
movsxd r9, eax
mov rax, qword [rbp + 0x1bc8]
lea r10, [rax + r9*8]
nop
mov r8, qword [r10]
test r8, r8
je 0x140078673
cmp byte [r8 + 0x9f], dil
je 0x140078673
mov eax, dword [r8 + 0x1c]
and eax, 0x40200
cmp eax, 0x40200
setne cl
bt dword [r8 + 0x1c], 0x18
setae al
test al, cl
jne 0x1400788a8
sub r10, 8
sub r9, 1
jns 0x140078640
xor ecx, ecx
call fcn.14007ee50
mov ecx, dword [rbx + 0x1be4]
mov rbp, qword [rsp + 0xb8]
test ecx, ecx
jns 0x1400786b2
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x1be0]
test eax, eax
cmovg edx, eax
call fcn.140087050
mov dword [rbx + 0x1be0], edi
mov ecx, dword [rbx + 0x1de4]
test ecx, ecx
jns 0x1400786de
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x1de0]
test eax, eax
cmovg edx, eax
call fcn.1400875a0
lea rsi, [rbx + 0x1db0]
mov dword [rbx + 0x1de0], edi
mov ecx, dword [rsi + 4]
test ecx, ecx
jns 0x14007870d
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
mov rcx, rsi
test eax, eax
cmovg edx, eax
call fcn.140087640
mov ecx, dword [rsi + 4]
mov dword [rsi], edi
mov eax, edi
test ecx, ecx
jne 0x140078722
lea edx, [rcx + 8]
mov rcx, rsi
call fcn.140087640
mov eax, dword [rsi]
movsxd rcx, eax
xor edx, edx
mov rax, qword [rsi + 8]
mov dword [rax + rcx*4], edi
lea rcx, [rbx + 0x1dc0]
inc dword [rsi]
call fcn.140086d50
mov rcx, qword [rbx + 0x1e00]
xor edx, edx
call fcn.140080d90
mov r8, qword [0x141281328]
mov dword [r8 + 0x3108], edi
cmp byte [r8 + 0x3104], dil
je 0x14007881b
mov esi, dword [r8 + 0x1c84]
mov dword [r8 + 0x1f80], 7
mov ecx, dword [r8 + 0x74]
test ecx, ecx
js 0x14007878f
call fcn.140079bd0
test al, al
je 0x14007878f
mov byte [r8 + 0x3104], dil
movss xmm0, dword [r8 + 0x43c]
ucomiss xmm0, xmm6
jp 0x1400787b1
jne 0x1400787b1
test esi, esi
je 0x1400787b1
mov dword [r8 + 0x3108], esi
mov byte [r8 + 0x3104], dil
or dword [r8 + 0x1ce8], 0x40
xor edx, edx
mov dword [r8 + 0x1d48], 0x3f19999a
call fcn.140080930
mov edx, esi
lea rcx, [0x140cc1c18]
call fcn.14009d2b0
lea rcx, [0x140cc1bf8]
call fcn.14009d2b0
mov eax, reloc.WS2_32.dll_recv
lea rdx, [0x140cc1c38]
test esi, esi
mov rcx, rdi
cmove rcx, rax
mov rax, qword [0x141281328]
add rax, 0x1624
add rcx, rax
call fcn.14009d340
call fcn.14007edb0
mov r8, qword [0x141281328]
mov byte [rbx + 0x1b9d], 1
lea rcx, [0x140cc1bd8]
or dword [r8 + 0x1ce8], 2
xor edx, edx
mov dword [r8 + 0x1d08], 0x43c80000
mov dword [r8 + 0x1d0c], 0x43c80000
mov dword [r8 + 0x1cf0], 4
xor r8d, r8d
call fcn.14007c9e0
movaps xmm6, xmmword [rsp + 0x70]
cmp dword [rbx + 0x30a8], edi
jle 0x14007889d
mov rsi, rdi
nop dword [rax]
mov rax, qword [rbx + 0x30b0]
cmp dword [rax + rsi + 4], 1
jne 0x14007888f
movsxd rdx, edi
mov rcx, rbx
shl rdx, 5
add rdx, rax
call qword [rax + rsi + reloc.WS2_32.dll_recv]
inc edi
add rsi, 0x20
cmp edi, dword [rbx + 0x30a8]
jl 0x140078870
add rsp, 0x90
pop rdi
pop rsi
pop rbx
ret
mov rcx, qword [r8 + 0x3c0]
test rcx, rcx
je 0x1400788c1
cmp byte [rcx + 0x9f], dil
jne 0x14007867f
mov rcx, r8
jmp 0x14007867f