Function at 0x14005b9b0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov byte [rsp + 0x20], r9b
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xf8
mov rax, qword [0x140128218]
xor rax, rsp
mov qword [rsp + 0xe8], rax
mov dword [rsp + 0x24], 0
xor r9d, r9d
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0xd8]
mov rax, qword [rsp + 0x100]
mov rcx, qword [rax]
call qword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x14005ba39
lea rdx, [0x14010b638]
mov rcx, qword [rsp + 0x108]
call fcn.14006ac80
nop
mov eax, dword [rsp + 0x24]
or eax, 1
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x108]
jmp 0x14005bd56
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x90]
call fcn.14005af20
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x100]
add rax, 0x48
mov rcx, qword [rsp + 0x100]
add rcx, 0x28
mov r9, rax
mov r8, rcx
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x70]
call fcn.140052960
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
mov r8d, 0xa
xor edx, edx
mov rcx, qword [rsp + 0x48]
call fcn.14004bdb0
cdqe
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x70]
call fcn.14006ab00
nop
lea rcx, [rsp + 0x90]
call fcn.14006ab00
mov edx, 8
lea rcx, [rsp + 0xb0]
call fcn.140005a40
imul rax, qword [rsp + 0x28], 0x10
mov rdx, rax
lea rcx, [rsp + 0xb0]
call fcn.140077d30
nop
mov dword [rsp + 0x20], 0
jmp 0x14005bb0d
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cmp rax, qword [rsp + 0x28]
jae 0x14005bc80
lea rcx, [rsp + 0xb0]
call fcn.140021450
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x10
add rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x100]
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
mov r9d, 8
mov r8d, reloc.WS2_32.dll_recv
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x14005bba3
lea rdx, [0x14010b638]
mov rcx, qword [rsp + 0x108]
call fcn.14006ac80
mov eax, dword [rsp + 0x24]
or eax, 1
mov dword [rsp + 0x24], eax
lea rcx, [rsp + 0xb0]
call fcn.140066500
mov rax, qword [rsp + 0x108]
jmp 0x14005bd56
xor edx, edx
mov eax, dword [rsp + 0x20]
mov ecx, reloc.WS2_32.dll_recv
div ecx
mov eax, edx
test eax, eax
jne 0x14005bbf9
mov eax, dword [rsp + 0x20]
cvtsi2ss xmm0, rax
mov rax, qword [rsp + 0x28]
test rax, rax
jl 0x14005bbd0
cvtsi2ss xmm1, rax
jmp 0x14005bbe9
mov rcx, rax
shr rcx, 1
and rax, 1
or rcx, rax
cvtsi2ss xmm2, rcx
addss xmm2, xmm2
movaps xmm1, xmm2
divss xmm0, xmm1
mov rax, qword [rsp + 0x110]
movss dword [rax], xmm0
movzx eax, byte [rsp + 0x118]
test eax, eax
je 0x14005bc7b
xor edx, edx
mov eax, dword [rsp + 0x20]
mov ecx, 0x1f40
div ecx
mov eax, edx
test eax, eax
jne 0x14005bc7b
lea rcx, [0x14010c214]
call fcn.1400ce0a8
mov eax, dword [rsp + 0x20]
cvtsi2ss xmm0, rax
mov rax, qword [rsp + 0x28]
test rax, rax
jl 0x14005bc3e
cvtsi2ss xmm1, rax
jmp 0x14005bc57
mov rcx, rax
shr rcx, 1
and rax, 1
or rcx, rax
cvtsi2ss xmm2, rcx
addss xmm2, xmm2
movaps xmm1, xmm2
divss xmm0, xmm1
mulss xmm0, dword [0x14010db88]
cvtss2sd xmm0, xmm0
movaps xmm1, xmm0
movq rdx, xmm1
lea rcx, str.downloading_update__.2f__
call fcn.14004b520
jmp 0x14005bb03
movzx eax, byte [rsp + 0x118]
test eax, eax
je 0x14005bcb5
lea rdx, str._ndownload_complete
lea rcx, [0x140165d30]
call fcn.140078900
mov qword [rsp + 0x60], rax
lea rdx, [0x140078cb0]
mov rcx, qword [rsp + 0x60]
call fcn.140069d90
mov eax, reloc.WS2_32.dll_recv
mul qword [rsp + 0x28]
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0xb0]
call fcn.140021450
mov rcx, qword [rsp + 0x68]
mov r8, rcx
mov rdx, rax
lea rcx, [rsp + 0xb8]
call fcn.14005af20
nop
mov rax, qword [rsp + 0x100]
add rax, 0x48
mov rcx, qword [rsp + 0x100]
add rcx, 0x28
mov r9, rax
mov r8, rcx
lea rdx, [rsp + 0xb8]
mov rcx, qword [rsp + 0x108]
call fcn.140052960
mov eax, dword [rsp + 0x24]
or eax, 1
mov dword [rsp + 0x24], eax
lea rcx, [rsp + 0xb8]
call fcn.14006ab00
nop
lea rcx, [rsp + 0xb0]
call fcn.140066500
mov rax, qword [rsp + 0x108]
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.1400afe40
add rsp, 0xf8
ret