Function at 0x1400858b0
Capabilities:
Resolve function by parsing pe exports
Write file on windows

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0x90
mov rsi, qword [0x1411df5e0]
mov qword [rax + 0x10], rbp
mov rbx, rsi
mov qword [rax - 0x20], r14
movaps xmmword [rax - 0x38], xmm6
mov edi, dword [rsi + 0x30a8]
sub edi, 1
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
js 0x140085953
movsxd rbp, edi
shl rbp, 5
mov r14, rbp
nop dword [rax + rax]
mov rdx, qword [rsi + 0x30b0]
cmp dword [rdx + rbp + 4], 7
jne 0x140085946
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]
sub r14, 0x20
sub rbp, 0x20
sub edi, 1
jns 0x140085900
xor edi, edi
mov ebp, edi
cmp dword [rsi + 0x30a8], edi
jle 0x140085994
mov esi, edi
mov rax, qword [rbx + 0x30b0]
cmp dword [rax + rsi + 4], edi
jne 0x14008597f
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 0x140085961
mov rsi, qword [0x1411df5e0]
cmp byte [rsi + 0xcc], dil
je 0x1400859aa
test byte [rsi + 0xc], 2
jne 0x1400859aa
mov byte [rsi + 0xcc], dil
mov rbp, rsi
cmp byte [rsi + 0x3061], dil
jne 0x140085a15
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140085a0e
lea r8, [rsp + 0xb0]
mov qword [rsp + 0xb0], rdi
call fcn.140081a70
mov rsi, rax
test rax, rax
je 0x140085a07
mov rdx, qword [rsp + 0xb0]
mov rcx, rax
call fcn.140094140
mov rcx, qword [0x1411df5e0]
test rcx, rcx
je 0x1400859fe
dec dword [rcx + 0x3b4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rsi, qword [0x1411df5e0]
mov byte [rbp + 0x3061], 1
movss xmm0, dword [rbp + 0x3064]
xorps xmm6, xmm6
comiss xmm0, xmm6
mov qword [rsp + 0x80], r15
jbe 0x140085ab9
subss xmm0, dword [rbp + 0x18]
comiss xmm6, xmm0
movss dword [rbp + 0x3064], xmm0
jb 0x140085ab9
mov r14, qword [rbp + 0x20]
test r14, r14
je 0x140085aac
lea rcx, [rsp + 0xb0]
mov dword [rsi + 0x3064], edi
mov qword [rsp + 0xb0], rdi
call fcn.1400944a0
lea rdx, [0x140ccfefc]
mov rcx, r14
mov r15, rax
call fcn.140081940
mov rsi, rax
test rax, rax
je 0x140085aa3
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 [0x1411df5e0]
jmp 0x140085ab3
mov byte [rbp + 0x39c], 1
mov dword [rbp + 0x3064], edi
inc dword [rbx + 0x1b90]
movss xmm0, dword [rbx + 0x18]
cvtps2pd xmm0, xmm0
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 0x140085b17
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.140095b80
mov rsi, qword [0x1411df5e0]
movss xmm10, dword [0x140cd2294]
movss xmm9, dword [0x140cd1fdc]
mov dword [rbx + 0x3040], edi
movsxd rax, dword [rbx + 0x32fc]
movss xmm1, dword [rbx + 0x18]
movaps xmm0, xmm1
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 0x140085ba5
divss xmm1, dword [0x140cd2194]
movaps xmm0, xmm9
divss xmm0, xmm1
jmp 0x140085ba9
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 0x140085c89
mov rdx, rdi
mov rax, qword [rsi + 0x1df8]
movaps xmm3, xmm6
inc r8d
mov rcx, qword [rdx + rax]
add rdx, 8
movsd xmm4, qword [rcx + 0xa0]
movsd xmm2, qword [rcx + 0xa8]
movaps xmm1, xmm4
addss xmm1, dword [rcx + 4]
movsd qword [rcx + 0x98], xmm2
movaps xmm0, xmm4
shufps xmm0, xmm0, 0x55
addss xmm0, dword [rcx + 8]
mov qword [rcx + 0xa8], rdi
movss dword [rcx + 0x14], xmm1
movss xmm1, dword [rcx + 0xc]
mov qword [rcx + 0xa0], rdi
subss xmm1, xmm4
movss dword [rcx + 0x18], xmm0
movaps xmm0, xmm4
shufps xmm0, xmm0, 0x55
movsd qword [rcx + 0x90], xmm4
addss xmm1, xmm2
movss xmm2, dword [rcx + 0x10]
subss xmm2, xmm0
movaps xmm0, xmm6
maxss xmm3, xmm1
addss xmm2, dword [rcx + 0x9c]
movss dword [rcx + 0x1c], xmm3
maxss xmm0, xmm2
movss dword [rcx + 0x20], xmm0
cmp r8d, dword [rsi + 0x1df0]
jl 0x140085be1
mov rax, qword [rbx + 0xa8]
mov byte [rax + 0x18], 1
mov rcx, qword [rsi + 0xb8]
test rcx, rcx
jne 0x140085cae
mov rax, qword [rsi + 0xa8]
mov rcx, qword [rax + 0x50]
mov rcx, qword [rcx]
call fcn.14008d5a0
mov eax, dword [rbx + 0x1df0]
movaps xmm2, xmm10
movss xmm5, dword [0x140cd2308]
movaps xmm8, xmm10
movaps xmm7, xmm5
test eax, eax
jle 0x140085d29
mov rcx, qword [rbx + 0x1df8]
mov edx, eax
nop dword [rax]
mov rax, qword [rcx]
movss xmm4, dword [rax + 4]
comiss xmm2, xmm4
movss xmm3, dword [rax + 8]
movaps xmm0, xmm4
addss xmm0, dword [rax + 0xc]
movaps xmm1, xmm3
addss xmm1, dword [rax + 0x10]
jbe 0x140085d05
movaps xmm2, xmm4
comiss xmm8, xmm3
jbe 0x140085d0f
movaps xmm8, xmm3
comiss xmm0, xmm5
jbe 0x140085d17
movaps xmm5, xmm0
comiss xmm1, xmm7
jbe 0x140085d1f
movaps xmm7, xmm1
add rcx, 8
sub rdx, 1
jne 0x140085ce0
mov eax, dword [rbx + 0x161c]
movss xmm1, dword [rbx + 0x1620]
shufps xmm2, xmm2, 0xe1
movss xmm2, xmm8
mov dword [rbx + 0x199c], eax
movaps xmm8, xmmword [rsp + 0x50]
shufps xmm2, xmm2, 0xc6
movss xmm2, xmm5
shufps xmm2, xmm2, 0x27
movss xmm2, xmm7
shufps xmm2, xmm2, 0x39
movups xmmword [rbx + 0x19a4], xmm2
movss xmm0, dword [rbx + 0x19a0]
ucomiss xmm0, xmm1
jp 0x140085d7a
je 0x140085e31
movss xmm7, dword [0x140cd2088]
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 0x140085df9
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 0x140085df0
mov eax, 4
jmp 0x140085dfb
cmp eax, r15d
cmovg eax, r15d
jmp 0x140085dfb
mov eax, edi
mov byte [r14], al
inc ebp
inc r14
cmp ebp, 0x40
jl 0x140085da0
movss xmm0, dword [0x140cd1f58]
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 0x140085e58
mov dword [rbx + 0x19b4], 1
mov r8d, 1
mov edx, r8d
cmp byte [rbx + 0x1619], dil
je 0x140085e7d
mov rax, qword [rbx + 0x1978]
mov rcx, qword [rax + 0x40]
test byte [rcx], 4
jne 0x140085e7d
or edx, 2
mov dword [rbx + 0x19b4], edx
cmp byte [rbx + 0x161a], dil
je 0x140085e8f
or edx, 4
mov dword [rbx + 0x19b4], edx
test byte [rbx + 0xc], 8
je 0x140085e9e
or edx, 8
mov dword [rbx + 0x19b4], edx
mov edx, edi
cmp dword [rbx + 0x1df0], edi
jle 0x140085ed9
mov r8, rdi
nop dword [rax + rax]
mov rax, qword [rbx + 0x1df8]
lea r8, [r8 + 8]
xorps xmm0, xmm0
inc edx
mov rcx, qword [r8 + rax - 8]
movups xmmword [rcx + 0x40], xmm0
movups xmmword [rcx + 0x50], xmm0
movups xmmword [rcx + 0x60], xmm0
cmp edx, dword [rbx + 0x1df0]
jl 0x140085eb0
cmp byte [rbx + 0x1f84], dil
je 0x140085f0d
mov eax, dword [rbx + 0x1fa4]
cmp eax, dword [rbx + 0x1c94]
jne 0x140085f0d
cmp dword [rsi + 0x1c94], eax
jne 0x140085efe
mov dword [rsi + 0x1c98], eax
cmp dword [rsi + 0x1cd0], eax
jne 0x140085f0d
mov byte [rsi + 0x1cd4], 1
cmp dword [rbx + 0x1c84], edi
jne 0x140085f1d
mov dword [rbx + 0x1c8c], edi
jmp 0x140085f2f
mov eax, dword [rbx + 0x1c80]
test eax, eax
je 0x140085f35
cmp dword [rbx + 0x1c94], eax
jne 0x140085f35
mov dword [rbx + 0x1c90], edi
mov eax, dword [rbx + 0x1c80]
test eax, eax
je 0x140085f6f
movss xmm1, dword [rbx + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x1c8c]
movss dword [rbx + 0x1c8c], xmm0
cmp dword [rbx + 0x1c94], eax
je 0x140085f6f
addss xmm1, dword [rbx + 0x1c90]
movss dword [rbx + 0x1c90], xmm1
mov dword [rbx + 0x1c84], eax
mov ebp, 0xffffffff
movzx eax, byte [rbx + 0x1c89]
mov byte [rbx + 0x1c8a], al
mov eax, dword [rbx + 0x1c94]
mov dword [rbx + 0x1c80], edi
mov word [rbx + 0x1c88], di
mov byte [rbx + 0x1c8b], dil
cmp dword [rbx + 0x1c98], eax
je 0x140086006
cmp dword [rbx + 0x1cd0], eax
jne 0x140086006
test eax, eax
je 0x140086006
mov ecx, dword [rsi + 0x1c94]
test ecx, ecx
setne al
mov byte [rsi + 0x1ca0], al
test ecx, ecx
je 0x140085fdd
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 ecx, dword [rbx + 0x1c94]
test ecx, ecx
je 0x140086025
movss xmm0, dword [rbx + 0x18]
addss xmm0, dword [rbx + 0x1c9c]
movss dword [rbx + 0x1c9c], xmm0
mov rax, qword [rbx + 0x1cc0]
movss xmm0, dword [rbx + 0x18]
addss xmm0, 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], xmm0
mov dword [rbx + 0x1cd0], ecx
mov dword [rbx + 0x1c98], edi
mov byte [rbx + 0x1ca5], dil
mov byte [rbx + 0x1cd4], dil
mov byte [rbx + 0x1ca0], dil
test eax, eax
je 0x14008608a
cmp ecx, eax
je 0x14008608a
mov dword [rbx + 0x2fe8], edi
test ecx, ecx
jne 0x14008609c
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 [0x140cd22c0]
lea rcx, [rbx + 0x145]
lea rax, [rbx + 0x4a4]
mov r8d, 0x80
cmp byte [rcx - 1], dil
je 0x140086150
movss xmm0, dword [rax - 4]
comiss xmm6, xmm0
jbe 0x140086149
movaps xmm0, xmm6
jmp 0x140086153
addss xmm0, dword [rbx + 0x18]
jmp 0x140086153
movaps xmm0, xmm1
movss dword [rax - 4], xmm0
cmp byte [rcx], dil
je 0x140086172
movss xmm0, dword [rax]
comiss xmm6, xmm0
jbe 0x14008616b
movaps xmm0, xmm6
jmp 0x140086175
addss xmm0, dword [rbx + 0x18]
jmp 0x140086175
movaps xmm0, xmm1
movss dword [rax], xmm0
cmp byte [rcx + 1], dil
je 0x140086195
movss xmm0, dword [rax + 4]
comiss xmm6, xmm0
jbe 0x14008618e
movaps xmm0, xmm6
jmp 0x140086198
addss xmm0, dword [rbx + 0x18]
jmp 0x140086198
movaps xmm0, xmm1
movss dword [rax + 4], xmm0
cmp byte [rcx + 2], dil
je 0x1400861b9
movss xmm0, dword [rax + 8]
comiss xmm6, xmm0
jbe 0x1400861b2
movaps xmm0, xmm6
jmp 0x1400861bc
addss xmm0, dword [rbx + 0x18]
jmp 0x1400861bc
movaps xmm0, xmm1
movss dword [rax + 8], xmm0
add rcx, 4
add rax, 0x10
sub r8, 1
jne 0x140086134
call fcn.140090d70
call fcn.140084cf0
call fcn.140085540
mov r9, qword [0x1411df5e0]
mov rcx, qword [r9 + 0x1c28]
test rcx, rcx
je 0x1400862fe
mov eax, dword [r9 + 0x1c94]
mov dword [r9 + 0x1c98], eax
cmp dword [r9 + 0x1cd0], eax
jne 0x140086218
mov byte [r9 + 0x1cd4], 1
mov rcx, qword [rcx + 0x3a8]
cmp byte [r9 + 0x130], dil
je 0x1400862f0
lea rax, [r9 + 0x128]
mov rdx, rax
test rax, rax
jne 0x140086242
lea rdx, [r9 + 0x128]
movss xmm0, dword [rdx]
movss xmm1, dword [0x140cd2304]
comiss xmm0, xmm1
movss xmm2, dword [rdx + 4]
jb 0x1400862f0
comiss xmm2, xmm1
jb 0x1400862f0
movss xmm1, dword [rax]
subss xmm1, dword [r9 + 0x1cb8]
movss xmm2, dword [rax + 4]
subss xmm2, dword [r9 + 0x1cbc]
movss xmm0, dword [rcx + 0x20]
ucomiss xmm0, xmm1
movss dword [rsp + 0xb0], xmm1
movss dword [rsp + 0xb4], xmm2
jp 0x1400862aa
jne 0x1400862aa
movss xmm0, dword [rcx + 0x24]
ucomiss xmm0, xmm2
jp 0x1400862aa
je 0x1400862db
test dword [rcx + 0x1c], 0x100
jne 0x1400862c8
comiss xmm6, dword [r9 + 0x3064]
jb 0x1400862c8
mov eax, dword [r9 + 0x1c]
mov dword [r9 + 0x3064], eax
mov r8d, 1
lea rdx, [rsp + 0xb0]
call fcn.14008d8c0
mov rcx, qword [r9 + 0x1c28]
call fcn.14008d270
mov r9, qword [0x1411df5e0]
jmp 0x14008633c
call fcn.140084410
mov qword [r9 + 0x1c28], rdi
jmp 0x14008633c
mov rcx, qword [r9 + 0x1cc0]
test rcx, rcx
je 0x14008633c
mov eax, dword [r9 + 0x1c94]
cmp dword [rcx + 0x64], eax
jne 0x14008633c
mov dword [r9 + 0x1c98], eax
cmp dword [r9 + 0x1cd0], eax
jne 0x14008632e
mov byte [r9 + 0x1cd4], 1
cmp byte [r9 + 0x130], dil
jne 0x14008633c
call fcn.140084410
mov eax, dword [r9 + 0x1dd0]
sub eax, 1
js 0x14008637b
movsxd rdx, eax
lea r8, [rdx + rdx*2]
shl r8, 4
add r8, 8
add r8, qword [r9 + 0x1dd8]
nop
mov rax, qword [r8]
test rax, rax
je 0x140086371
test dword [rax + 0x1c], 0x8000000
jne 0x140086391
sub r8, 0x30
sub rdx, 1
jns 0x140086360
cmp qword [rbx + 0x1f30], rdi
je 0x1400863ad
movss xmm0, dword [rbx + 0x1f4c]
comiss xmm0, xmm6
jbe 0x1400863ad
movss xmm1, dword [rbx + 0x18]
mulss xmm1, dword [0x140cd20c8]
addss xmm1, dword [rbx + 0x1f7c]
minss xmm1, xmm9
jmp 0x1400863ca
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x140cd20e0]
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.140085070
mov r11, qword [0x1411df5e0]
movaps xmm9, xmmword [rsp + 0x40]
mov r8, qword [r11 + 0x1e00]
test r8, r8
je 0x14008644c
cmp byte [r8 + 0x9e], dil
je 0x14008644c
test dword [r8 + 0x1c], 0x40000
jne 0x14008644c
cmp byte [r11 + 0x140], dil
jne 0x14008644c
mov ecx, dword [r11 + 0x3c]
test ecx, ecx
js 0x14008644c
call fcn.140087fe0
test al, al
je 0x14008644c
mov al, 1
jmp 0x14008644e
xor al, al
mov byte [r11 + 0x1f78], al
cmp dword [r11 + 0x1c94], edi
jne 0x1400864b9
test al, al
je 0x1400864b9
mov qword [r11 + 0x1f60], r8
mov dword [r11 + 0x1f70], 0x7fffffff
cmp dword [r11 + 0x1e08], edi
je 0x1400864a6
mov ecx, dword [r11 + 0x1e50]
cmp ecx, 0x7fffffff
je 0x1400864a6
cmp byte [r11 + 0x141], dil
mov eax, 2
cmovne eax, edi
add eax, ecx
mov dword [r11 + 0x1f74], eax
jmp 0x1400864b9
movzx eax, byte [r11 + 0x141]
neg al
sbb ecx, ecx
mov dword [r11 + 0x1f74], ecx
mov r8, qword [r11 + 0x1f60]
mov qword [r11 + 0x1f58], rdi
mov dword [r11 + 0x1f6c], 0x7fffffff
mov dword [r11 + 0x1f68], 0x7fffffff
test r8, r8
je 0x140086554
mov eax, dword [r11 + 0x1f70]
mov qword [r11 + 0x1f58], r8
cmp eax, 0x7fffffff
je 0x140086510
mov ecx, dword [r8 + 0x1d4]
cmp ecx, ebp
je 0x140086510
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [r11 + 0x1f68], edx
mov eax, dword [r11 + 0x1f74]
cmp eax, 0x7fffffff
je 0x140086537
mov ecx, dword [r8 + 0x1d8]
cmp ecx, ebp
je 0x140086537
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [r11 + 0x1f6c], edx
mov qword [r11 + 0x1f60], rdi
mov dword [r11 + 0x1f74], 0x7fffffff
mov dword [r11 + 0x1f70], 0x7fffffff
mov dword [r11 + 0x1e50], 0x7fffffff
cmp byte [rbx + 0x1b9f], dil
jne 0x140086588
movss xmm0, dword [rbx + 0xd0]
comiss xmm6, xmm0
ja 0x140086588
movsd xmm10, qword [rbx + 0x1b88]
cvtpd2ps xmm10, xmm10
subss xmm10, xmm0
mov ebp, edi
cmp dword [rbx + 0x1bb0], edi
je 0x1400866f6
mov r14, rdi
nop dword [rax]
mov rax, qword [rbx + 0x1bb8]
mov rsi, qword [r14 + 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 0x1400866e4
cmp byte [rsi + 0x3f8], dil
jne 0x1400866e4
comiss xmm10, dword [rsi + 0x29c]
jbe 0x1400866e4
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 0x140086642
mov rax, qword [0x1411df5e0]
mov qword [rsi + 0xd8], rdi
test rax, rax
je 0x140086635
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0xe0], rdi
mov rcx, qword [rsi + 0x2d0]
call fcn.14009cb90
mov rcx, qword [rsi + 0x1b0]
test rcx, rcx
je 0x140086680
mov rax, qword [0x1411df5e0]
mov qword [rsi + 0x1a8], rdi
test rax, rax
je 0x140086673
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1b0], rdi
mov rcx, qword [rsi + 0x1f8]
test rcx, rcx
je 0x1400866b2
mov rax, qword [0x1411df5e0]
mov qword [rsi + 0x1f0], rdi
test rax, rax
je 0x1400866a5
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1f8], rdi
mov rcx, qword [rsi + 0x208]
test rcx, rcx
je 0x1400866e4
mov rax, qword [0x1411df5e0]
mov qword [rsi + 0x200], rdi
test rax, rax
je 0x1400866d7
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x208], rdi
inc ebp
add r14, 8
cmp ebp, dword [rbx + 0x1bb0]
jne 0x1400865a0
mov ebp, edi
cmp dword [rbx + 0x2068], edi
jle 0x14008685b
mov qword [rsp + 0xc0], r12
mov r15, rdi
movabs r12, 0x6d3a06d3a06d3a07
mov qword [rsp + 0xc8], r13
mov r14, rdi
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rbx + 0x2070]
movss xmm0, dword [r14 + rax]
comiss xmm0, xmm6
jb 0x140086832
comiss xmm10, xmm0
jbe 0x140086832
mov rsi, qword [rbx + 0x2038]
mov r13, qword [0x1411df5e0]
add rsi, r15
lea rcx, [rsi + 0x1e8]
call fcn.1400a0af0
mov rcx, qword [rsi + 0x218]
test rcx, rcx
je 0x14008679f
mov rax, qword [0x1411df5e0]
mov qword [rsi + 0x210], rdi
test rax, rax
je 0x140086792
dec dword [rax + 0x3b4]
call qword [sym.imp.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 0x1400867df
mov rax, qword [0x1411df5e0]
mov qword [rsi + 0x1d8], rdi
test rax, rax
je 0x1400867d2
dec dword [rax + 0x3b4]
call qword [sym.imp.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 0x140086806
mov rcx, rdi
mov rax, qword [rsi + 0x10]
lea rcx, [rcx + 0x68]
inc edx
mov word [rax + rcx - 0x18], 0xffff
cmp edx, dword [rsi + 0x6c]
jl 0x1400867f0
sub rsi, qword [r13 + 0x2038]
mov rax, r12
imul rsi
sar rdx, 8
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, qword [r13 + 0x2070]
movsxd rcx, edx
mov dword [rax + rcx*4], 0xbf800000
inc ebp
add r14, 4
add r15, 0x258
cmp ebp, dword [rbx + 0x2068]
jl 0x140086730
mov r13, qword [rsp + 0xc8]
mov r12, qword [rsp + 0xc0]
movaps xmm10, xmmword [rsp + 0x30]
mov r15, qword [rsp + 0x80]
cmp byte [rbx + 0x1b9f], dil
je 0x1400868db
mov rsi, qword [0x1411df5e0]
mov rcx, qword [rsi + 0x1db8]
test rcx, rcx
je 0x1400868a4
mov qword [rsi + 0x1db0], rdi
test rsi, rsi
je 0x140086897
dec dword [rsi + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1db8], rdi
mov rcx, qword [rsi + 0x1dc8]
test rcx, rcx
je 0x1400868d6
mov rax, qword [0x1411df5e0]
mov qword [rsi + 0x1dc0], rdi
test rax, rax
je 0x1400868c9
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1dc8], rdi
call fcn.1400a87e0
mov rax, qword [rbx + 0x1e00]
mov byte [rbx + 0x1b9f], dil
test rax, rax
je 0x14008695b
cmp byte [rax + 0x9f], dil
jne 0x14008695b
mov rcx, qword [0x1411df5e0]
mov eax, dword [rcx + 0x1bc0]
sub eax, 1
js 0x140086954
movsxd r9, eax
mov rax, qword [rcx + 0x1bc8]
lea r10, [rax + r9*8]
mov r8, qword [r10]
test r8, r8
je 0x14008694a
cmp byte [r8 + 0x9f], dil
je 0x14008694a
mov eax, dword [r8 + 0x1c]
and eax, 0x40200
cmp eax, 0x40200
setne cl
bt dword [r8 + 0x1c], 0x18
setae al
test al, cl
jne 0x140086a98
sub r10, 8
sub r9, 1
jns 0x140086917
xor ecx, ecx
call fcn.14008d270
mov ecx, dword [rbx + 0x1be4]
test ecx, ecx
jns 0x140086981
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.1400955c0
mov dword [rbx + 0x1be0], edi
mov ecx, dword [rbx + 0x1de4]
test ecx, ecx
jns 0x1400869ad
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.140095ae0
lea rsi, [rbx + 0x1db0]
mov dword [rbx + 0x1de0], edi
mov ecx, dword [rsi + 4]
test ecx, ecx
jns 0x1400869d9
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.140095b80
mov dword [rsi], edi
cmp dword [rsi + 4], edi
jne 0x1400869ed
mov edx, 8
mov rcx, rsi
call fcn.140095b80
movsxd rcx, dword [rsi]
xor edx, edx
mov rax, qword [rsi + 8]
mov dword [rax + rcx*4], edi
lea rcx, [rbx + 0x1dc0]
inc dword [rsi]
call fcn.1400952f0
mov r9, qword [0x1411df5e0]
mov rsi, qword [rbx + 0x1e00]
mov r10d, dword [r9 + 0x1dd0]
test r10d, r10d
je 0x140086ae3
mov r11d, edi
test rsi, rsi
je 0x140086acd
test r10d, r10d
jle 0x140086acd
mov r14, qword [r9 + 0x1dd8]
mov rbp, rdi
add r14, 8
mov rax, qword [r14]
test rax, rax
je 0x140086ab9
test dword [rax + 0x1c], 0x1000000
jne 0x140086ab9
mov edx, r11d
cmp r11d, r10d
jge 0x140086ae3
mov rcx, qword [r9 + 0x1dd8]
add rcx, 8
add rcx, rbp
mov r8, qword [rcx]
test r8, r8
je 0x140086a8b
mov rax, qword [rsi + 0x3a8]
cmp qword [r8 + 0x3a8], rax
je 0x140086ab9
inc edx
add rcx, 0x30
cmp edx, r10d
jl 0x140086a73
jmp 0x140086ad2
mov rcx, qword [r8 + 0x3c0]
test rcx, rcx
je 0x140086ab1
cmp byte [rcx + 0x9f], dil
jne 0x140086956
mov rcx, r8
jmp 0x140086956
inc r11d
add rbp, 0x30
add r14, 0x30
cmp r11d, r10d
jl 0x140086a48
cmp r11d, r10d
jge 0x140086ae3
xor edx, edx
mov ecx, r11d
call fcn.14008f400
mov r9, qword [0x1411df5e0]
mov r14, qword [rsp + 0x88]
mov rbp, qword [rsp + 0xb8]
mov dword [r9 + 0x3108], edi
cmp byte [r9 + 0x3104], dil
je 0x140086bbd
mov esi, dword [r9 + 0x1c84]
mov dword [r9 + 0x1f80], 7
mov ecx, dword [r9 + 0x74]
test ecx, ecx
js 0x140086b31
call fcn.140087fe0
test al, al
je 0x140086b31
mov byte [r9 + 0x3104], dil
movss xmm0, dword [r9 + 0x43c]
ucomiss xmm0, xmm6
jp 0x140086b53
jne 0x140086b53
test esi, esi
je 0x140086b53
mov dword [r9 + 0x3108], esi
mov byte [r9 + 0x3104], dil
or dword [r9 + 0x1ce8], 0x40
xor edx, edx
mov dword [r9 + 0x1d48], 0x3f19999a
call fcn.14008efb0
mov edx, esi
lea rcx, [0x140ccfdd8]
call fcn.1400aa510
lea rcx, [0x140ccfe20]
call fcn.1400aa510
mov eax, reloc.WS2_32.dll_recv
lea rdx, [0x140ccfe00]
test esi, esi
mov rcx, rdi
cmove rcx, rax
mov rax, qword [0x1411df5e0]
add rax, 0x1624
add rcx, rax
call fcn.1400aa610
call fcn.14008d150
mov r9, qword [0x1411df5e0]
mov byte [rbx + 0x1b9d], 1
lea rcx, [0x140ccfdf0]
or dword [r9 + 0x1ce8], 2
xor r8d, r8d
xor edx, edx
mov dword [r9 + 0x1d08], 0x43c80000
mov dword [r9 + 0x1d0c], 0x43c80000
mov dword [r9 + 0x1cf0], 4
call fcn.14008ade0
movaps xmm6, xmmword [rsp + 0x70]
cmp dword [rbx + 0x30a8], edi
jle 0x140086c3d
mov rsi, rdi
nop
mov rax, qword [rbx + 0x30b0]
cmp dword [rax + rsi + 4], 1
jne 0x140086c2f
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 0x140086c10
add rsp, 0x90
pop rdi
pop rsi
pop rbx
ret