Function at 0x1400c0fa0
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 [0x141256160]
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 0x1400c1043
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 0x1400c1036
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 0x1400c0ff0
xor edi, edi
mov ebp, edi
cmp dword [rsi + 0x30a8], edi
jle 0x1400c1084
mov esi, edi
mov rax, qword [rbx + 0x30b0]
cmp dword [rax + rsi + 4], edi
jne 0x1400c106f
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 0x1400c1051
mov rsi, qword [0x141256160]
cmp byte [rsi + 0xcc], dil
je 0x1400c109a
test byte [rsi + 0xc], 2
jne 0x1400c109a
mov byte [rsi + 0xcc], dil
mov rbp, rsi
cmp byte [rsi + 0x3061], dil
jne 0x1400c1105
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x1400c10fe
lea r8, [rsp + 0xb0]
mov qword [rsp + 0xb0], rdi
call fcn.1400bd0e0
mov rsi, rax
test rax, rax
je 0x1400c10f7
mov rdx, qword [rsp + 0xb0]
mov rcx, rax
call fcn.1400cf810
mov rcx, qword [0x141256160]
test rcx, rcx
je 0x1400c10ee
dec dword [rcx + 0x3b4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rsi, qword [0x141256160]
mov byte [rbp + 0x3061], 1
movss xmm0, dword [rbp + 0x3064]
xorps xmm6, xmm6
comiss xmm0, xmm6
mov qword [rsp + 0x80], r15
jbe 0x1400c11a9
subss xmm0, dword [rbp + 0x18]
comiss xmm6, xmm0
movss dword [rbp + 0x3064], xmm0
jb 0x1400c11a9
mov r14, qword [rbp + 0x20]
test r14, r14
je 0x1400c119c
lea rcx, [rsp + 0xb0]
mov dword [rsi + 0x3064], edi
mov qword [rsp + 0xb0], rdi
call fcn.1400cfb70
lea rdx, [0x140d5fdac]
mov rcx, r14
mov r15, rax
call fcn.1400bcfb0
mov rsi, rax
test rax, rax
je 0x1400c1193
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 [0x141256160]
jmp 0x1400c11a3
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 0x1400c1207
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.1400d1250
mov rsi, qword [0x141256160]
movss xmm10, dword [0x140d6235c]
movss xmm9, dword [0x140d620a4]
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 0x1400c1295
divss xmm1, dword [0x140d6225c]
movaps xmm0, xmm9
divss xmm0, xmm1
jmp 0x1400c1299
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 0x1400c1379
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 0x1400c12d1
mov rax, qword [rbx + 0xa8]
mov byte [rax + 0x18], 1
mov rcx, qword [rsi + 0xb8]
test rcx, rcx
jne 0x1400c139e
mov rax, qword [rsi + 0xa8]
mov rcx, qword [rax + 0x50]
mov rcx, qword [rcx]
call fcn.1400c8c90
mov eax, dword [rbx + 0x1df0]
movaps xmm2, xmm10
movss xmm5, dword [0x140d623d0]
movaps xmm8, xmm10
movaps xmm7, xmm5
test eax, eax
jle 0x1400c1419
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 0x1400c13f5
movaps xmm2, xmm4
comiss xmm8, xmm3
jbe 0x1400c13ff
movaps xmm8, xmm3
comiss xmm0, xmm5
jbe 0x1400c1407
movaps xmm5, xmm0
comiss xmm1, xmm7
jbe 0x1400c140f
movaps xmm7, xmm1
add rcx, 8
sub rdx, 1
jne 0x1400c13d0
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 0x1400c146a
je 0x1400c1521
movss xmm7, dword [0x140d62150]
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 0x1400c14e9
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 0x1400c14e0
mov eax, 4
jmp 0x1400c14eb
cmp eax, r15d
cmovg eax, r15d
jmp 0x1400c14eb
mov eax, edi
mov byte [r14], al
inc ebp
inc r14
cmp ebp, 0x40
jl 0x1400c1490
movss xmm0, dword [0x140d62020]
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 0x1400c1548
mov dword [rbx + 0x19b4], 1
mov r8d, 1
mov edx, r8d
cmp byte [rbx + 0x1619], dil
je 0x1400c156d
mov rax, qword [rbx + 0x1978]
mov rcx, qword [rax + 0x40]
test byte [rcx], 4
jne 0x1400c156d
or edx, 2
mov dword [rbx + 0x19b4], edx
cmp byte [rbx + 0x161a], dil
je 0x1400c157f
or edx, 4
mov dword [rbx + 0x19b4], edx
test byte [rbx + 0xc], 8
je 0x1400c158e
or edx, 8
mov dword [rbx + 0x19b4], edx
mov edx, edi
cmp dword [rbx + 0x1df0], edi
jle 0x1400c15c9
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 0x1400c15a0
cmp byte [rbx + 0x1f84], dil
je 0x1400c15fd
mov eax, dword [rbx + 0x1fa4]
cmp eax, dword [rbx + 0x1c94]
jne 0x1400c15fd
cmp dword [rsi + 0x1c94], eax
jne 0x1400c15ee
mov dword [rsi + 0x1c98], eax
cmp dword [rsi + 0x1cd0], eax
jne 0x1400c15fd
mov byte [rsi + 0x1cd4], 1
cmp dword [rbx + 0x1c84], edi
jne 0x1400c160d
mov dword [rbx + 0x1c8c], edi
jmp 0x1400c161f
mov eax, dword [rbx + 0x1c80]
test eax, eax
je 0x1400c1625
cmp dword [rbx + 0x1c94], eax
jne 0x1400c1625
mov dword [rbx + 0x1c90], edi
mov eax, dword [rbx + 0x1c80]
test eax, eax
je 0x1400c165f
movss xmm1, dword [rbx + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x1c8c]
movss dword [rbx + 0x1c8c], xmm0
cmp dword [rbx + 0x1c94], eax
je 0x1400c165f
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 0x1400c16f6
cmp dword [rbx + 0x1cd0], eax
jne 0x1400c16f6
test eax, eax
je 0x1400c16f6
mov ecx, dword [rsi + 0x1c94]
test ecx, ecx
setne al
mov byte [rsi + 0x1ca0], al
test ecx, ecx
je 0x1400c16cd
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 0x1400c1715
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 0x1400c177a
cmp ecx, eax
je 0x1400c177a
mov dword [rbx + 0x2fe8], edi
test ecx, ecx
jne 0x1400c178c
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 [0x140d62388]
lea rcx, [rbx + 0x145]
lea rax, [rbx + 0x4a4]
mov r8d, 0x80
cmp byte [rcx - 1], dil
je 0x1400c1840
movss xmm0, dword [rax - 4]
comiss xmm6, xmm0
jbe 0x1400c1839
movaps xmm0, xmm6
jmp 0x1400c1843
addss xmm0, dword [rbx + 0x18]
jmp 0x1400c1843
movaps xmm0, xmm1
movss dword [rax - 4], xmm0
cmp byte [rcx], dil
je 0x1400c1862
movss xmm0, dword [rax]
comiss xmm6, xmm0
jbe 0x1400c185b
movaps xmm0, xmm6
jmp 0x1400c1865
addss xmm0, dword [rbx + 0x18]
jmp 0x1400c1865
movaps xmm0, xmm1
movss dword [rax], xmm0
cmp byte [rcx + 1], dil
je 0x1400c1885
movss xmm0, dword [rax + 4]
comiss xmm6, xmm0
jbe 0x1400c187e
movaps xmm0, xmm6
jmp 0x1400c1888
addss xmm0, dword [rbx + 0x18]
jmp 0x1400c1888
movaps xmm0, xmm1
movss dword [rax + 4], xmm0
cmp byte [rcx + 2], dil
je 0x1400c18a9
movss xmm0, dword [rax + 8]
comiss xmm6, xmm0
jbe 0x1400c18a2
movaps xmm0, xmm6
jmp 0x1400c18ac
addss xmm0, dword [rbx + 0x18]
jmp 0x1400c18ac
movaps xmm0, xmm1
movss dword [rax + 8], xmm0
add rcx, 4
add rax, 0x10
sub r8, 1
jne 0x1400c1824
call fcn.1400cc440
call fcn.1400c03e0
call fcn.1400c0c30
mov r9, qword [0x141256160]
mov rcx, qword [r9 + 0x1c28]
test rcx, rcx
je 0x1400c19ee
mov eax, dword [r9 + 0x1c94]
mov dword [r9 + 0x1c98], eax
cmp dword [r9 + 0x1cd0], eax
jne 0x1400c1908
mov byte [r9 + 0x1cd4], 1
mov rcx, qword [rcx + 0x3a8]
cmp byte [r9 + 0x130], dil
je 0x1400c19e0
lea rax, [r9 + 0x128]
mov rdx, rax
test rax, rax
jne 0x1400c1932
lea rdx, [r9 + 0x128]
movss xmm0, dword [rdx]
movss xmm1, dword [0x140d623cc]
comiss xmm0, xmm1
movss xmm2, dword [rdx + 4]
jb 0x1400c19e0
comiss xmm2, xmm1
jb 0x1400c19e0
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 0x1400c199a
jne 0x1400c199a
movss xmm0, dword [rcx + 0x24]
ucomiss xmm0, xmm2
jp 0x1400c199a
je 0x1400c19cb
test dword [rcx + 0x1c], 0x100
jne 0x1400c19b8
comiss xmm6, dword [r9 + 0x3064]
jb 0x1400c19b8
mov eax, dword [r9 + 0x1c]
mov dword [r9 + 0x3064], eax
mov r8d, 1
lea rdx, [rsp + 0xb0]
call fcn.1400c8fb0
mov rcx, qword [r9 + 0x1c28]
call fcn.1400c8960
mov r9, qword [0x141256160]
jmp 0x1400c1a2c
call fcn.1400bfa80
mov qword [r9 + 0x1c28], rdi
jmp 0x1400c1a2c
mov rcx, qword [r9 + 0x1cc0]
test rcx, rcx
je 0x1400c1a2c
mov eax, dword [r9 + 0x1c94]
cmp dword [rcx + 0x64], eax
jne 0x1400c1a2c
mov dword [r9 + 0x1c98], eax
cmp dword [r9 + 0x1cd0], eax
jne 0x1400c1a1e
mov byte [r9 + 0x1cd4], 1
cmp byte [r9 + 0x130], dil
jne 0x1400c1a2c
call fcn.1400bfa80
mov eax, dword [r9 + 0x1dd0]
sub eax, 1
js 0x1400c1a6b
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 0x1400c1a61
test dword [rax + 0x1c], 0x8000000
jne 0x1400c1a81
sub r8, 0x30
sub rdx, 1
jns 0x1400c1a50
cmp qword [rbx + 0x1f30], rdi
je 0x1400c1a9d
movss xmm0, dword [rbx + 0x1f4c]
comiss xmm0, xmm6
jbe 0x1400c1a9d
movss xmm1, dword [rbx + 0x18]
mulss xmm1, dword [0x140d62190]
addss xmm1, dword [rbx + 0x1f7c]
minss xmm1, xmm9
jmp 0x1400c1aba
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x140d621a8]
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.1400c0760
mov r11, qword [0x141256160]
movaps xmm9, xmmword [rsp + 0x40]
mov r8, qword [r11 + 0x1e00]
test r8, r8
je 0x1400c1b3c
cmp byte [r8 + 0x9e], dil
je 0x1400c1b3c
test dword [r8 + 0x1c], 0x40000
jne 0x1400c1b3c
cmp byte [r11 + 0x140], dil
jne 0x1400c1b3c
mov ecx, dword [r11 + 0x3c]
test ecx, ecx
js 0x1400c1b3c
call fcn.1400c36d0
test al, al
je 0x1400c1b3c
mov al, 1
jmp 0x1400c1b3e
xor al, al
mov byte [r11 + 0x1f78], al
cmp dword [r11 + 0x1c94], edi
jne 0x1400c1ba9
test al, al
je 0x1400c1ba9
mov qword [r11 + 0x1f60], r8
mov dword [r11 + 0x1f70], 0x7fffffff
cmp dword [r11 + 0x1e08], edi
je 0x1400c1b96
mov ecx, dword [r11 + 0x1e50]
cmp ecx, 0x7fffffff
je 0x1400c1b96
cmp byte [r11 + 0x141], dil
mov eax, 2
cmovne eax, edi
add eax, ecx
mov dword [r11 + 0x1f74], eax
jmp 0x1400c1ba9
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 0x1400c1c44
mov eax, dword [r11 + 0x1f70]
mov qword [r11 + 0x1f58], r8
cmp eax, 0x7fffffff
je 0x1400c1c00
mov ecx, dword [r8 + 0x1d4]
cmp ecx, ebp
je 0x1400c1c00
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [r11 + 0x1f68], edx
mov eax, dword [r11 + 0x1f74]
cmp eax, 0x7fffffff
je 0x1400c1c27
mov ecx, dword [r8 + 0x1d8]
cmp ecx, ebp
je 0x1400c1c27
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 0x1400c1c78
movss xmm0, dword [rbx + 0xd0]
comiss xmm6, xmm0
ja 0x1400c1c78
movsd xmm10, qword [rbx + 0x1b88]
cvtpd2ps xmm10, xmm10
subss xmm10, xmm0
mov ebp, edi
cmp dword [rbx + 0x1bb0], edi
je 0x1400c1de6
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 0x1400c1dd4
cmp byte [rsi + 0x3f8], dil
jne 0x1400c1dd4
comiss xmm10, dword [rsi + 0x29c]
jbe 0x1400c1dd4
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 0x1400c1d32
mov rax, qword [0x141256160]
mov qword [rsi + 0xd8], rdi
test rax, rax
je 0x1400c1d25
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.1400d8260
mov rcx, qword [rsi + 0x1b0]
test rcx, rcx
je 0x1400c1d70
mov rax, qword [0x141256160]
mov qword [rsi + 0x1a8], rdi
test rax, rax
je 0x1400c1d63
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 0x1400c1da2
mov rax, qword [0x141256160]
mov qword [rsi + 0x1f0], rdi
test rax, rax
je 0x1400c1d95
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 0x1400c1dd4
mov rax, qword [0x141256160]
mov qword [rsi + 0x200], rdi
test rax, rax
je 0x1400c1dc7
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 0x1400c1c90
mov ebp, edi
cmp dword [rbx + 0x2068], edi
jle 0x1400c1f4b
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 0x1400c1f22
comiss xmm10, xmm0
jbe 0x1400c1f22
mov rsi, qword [rbx + 0x2038]
mov r13, qword [0x141256160]
add rsi, r15
lea rcx, [rsi + 0x1e8]
call fcn.1400dc1c0
mov rcx, qword [rsi + 0x218]
test rcx, rcx
je 0x1400c1e8f
mov rax, qword [0x141256160]
mov qword [rsi + 0x210], rdi
test rax, rax
je 0x1400c1e82
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 0x1400c1ecf
mov rax, qword [0x141256160]
mov qword [rsi + 0x1d8], rdi
test rax, rax
je 0x1400c1ec2
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 0x1400c1ef6
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 0x1400c1ee0
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 0x1400c1e20
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 0x1400c1fcb
mov rsi, qword [0x141256160]
mov rcx, qword [rsi + 0x1db8]
test rcx, rcx
je 0x1400c1f94
mov qword [rsi + 0x1db0], rdi
test rsi, rsi
je 0x1400c1f87
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 0x1400c1fc6
mov rax, qword [0x141256160]
mov qword [rsi + 0x1dc0], rdi
test rax, rax
je 0x1400c1fb9
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.1400e42a0
mov rax, qword [rbx + 0x1e00]
mov byte [rbx + 0x1b9f], dil
test rax, rax
je 0x1400c204b
cmp byte [rax + 0x9f], dil
jne 0x1400c204b
mov rcx, qword [0x141256160]
mov eax, dword [rcx + 0x1bc0]
sub eax, 1
js 0x1400c2044
movsxd r9, eax
mov rax, qword [rcx + 0x1bc8]
lea r10, [rax + r9*8]
mov r8, qword [r10]
test r8, r8
je 0x1400c203a
cmp byte [r8 + 0x9f], dil
je 0x1400c203a
mov eax, dword [r8 + 0x1c]
and eax, 0x40200
cmp eax, 0x40200
setne cl
bt dword [r8 + 0x1c], 0x18
setae al
test al, cl
jne 0x1400c2188
sub r10, 8
sub r9, 1
jns 0x1400c2007
xor ecx, ecx
call fcn.1400c8960
mov ecx, dword [rbx + 0x1be4]
test ecx, ecx
jns 0x1400c2071
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.1400d0c90
mov dword [rbx + 0x1be0], edi
mov ecx, dword [rbx + 0x1de4]
test ecx, ecx
jns 0x1400c209d
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.1400d11b0
lea rsi, [rbx + 0x1db0]
mov dword [rbx + 0x1de0], edi
mov ecx, dword [rsi + 4]
test ecx, ecx
jns 0x1400c20c9
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.1400d1250
mov dword [rsi], edi
cmp dword [rsi + 4], edi
jne 0x1400c20dd
mov edx, 8
mov rcx, rsi
call fcn.1400d1250
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.1400d09c0
mov r9, qword [0x141256160]
mov rsi, qword [rbx + 0x1e00]
mov r10d, dword [r9 + 0x1dd0]
test r10d, r10d
je 0x1400c21d3
mov r11d, edi
test rsi, rsi
je 0x1400c21bd
test r10d, r10d
jle 0x1400c21bd
mov r14, qword [r9 + 0x1dd8]
mov rbp, rdi
add r14, 8
mov rax, qword [r14]
test rax, rax
je 0x1400c21a9
test dword [rax + 0x1c], 0x1000000
jne 0x1400c21a9
mov edx, r11d
cmp r11d, r10d
jge 0x1400c21d3
mov rcx, qword [r9 + 0x1dd8]
add rcx, 8
add rcx, rbp
mov r8, qword [rcx]
test r8, r8
je 0x1400c217b
mov rax, qword [rsi + 0x3a8]
cmp qword [r8 + 0x3a8], rax
je 0x1400c21a9
inc edx
add rcx, 0x30
cmp edx, r10d
jl 0x1400c2163
jmp 0x1400c21c2
mov rcx, qword [r8 + 0x3c0]
test rcx, rcx
je 0x1400c21a1
cmp byte [rcx + 0x9f], dil
jne 0x1400c2046
mov rcx, r8
jmp 0x1400c2046
inc r11d
add rbp, 0x30
add r14, 0x30
cmp r11d, r10d
jl 0x1400c2138
cmp r11d, r10d
jge 0x1400c21d3
xor edx, edx
mov ecx, r11d
call fcn.1400caad0
mov r9, qword [0x141256160]
mov r14, qword [rsp + 0x88]
mov rbp, qword [rsp + 0xb8]
mov dword [r9 + 0x3108], edi
cmp byte [r9 + 0x3104], dil
je 0x1400c22ad
mov esi, dword [r9 + 0x1c84]
mov dword [r9 + 0x1f80], 7
mov ecx, dword [r9 + 0x74]
test ecx, ecx
js 0x1400c2221
call fcn.1400c36d0
test al, al
je 0x1400c2221
mov byte [r9 + 0x3104], dil
movss xmm0, dword [r9 + 0x43c]
ucomiss xmm0, xmm6
jp 0x1400c2243
jne 0x1400c2243
test esi, esi
je 0x1400c2243
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.1400ca680
mov edx, esi
lea rcx, [0x140d5fc88]
call fcn.1400e5fd0
lea rcx, [0x140d5fcd0]
call fcn.1400e5fd0
mov eax, reloc.WS2_32.dll_recv
lea rdx, [0x140d5fcb0]
test esi, esi
mov rcx, rdi
cmove rcx, rax
mov rax, qword [0x141256160]
add rax, 0x1624
add rcx, rax
call fcn.1400e60d0
call fcn.1400c8840
mov r9, qword [0x141256160]
mov byte [rbx + 0x1b9d], 1
lea rcx, [0x140d5fca0]
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.1400c64d0
movaps xmm6, xmmword [rsp + 0x70]
cmp dword [rbx + 0x30a8], edi
jle 0x1400c232d
mov rsi, rdi
nop
mov rax, qword [rbx + 0x30b0]
cmp dword [rax + rsi + 4], 1
jne 0x1400c231f
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 0x1400c2300
add rsp, 0x90
pop rdi
pop rsi
pop rbx
ret