Function at 0x4637f0
Capabilities:
Get number of processors
Send data
Send data on socket
Set socket configuration

Disassembly:
push 0xffffffffffffffff
push 0x491ef8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
lea ecx, [esp + 0x18]
mov dword [esi + 0xc8], ebp
call fcn.00428f40
mov eax, dword [esi + 0xc0]
mov dword [esp + 0x30], ebp
cmp eax, ebp
mov dword [esp + 0x1c], eax
jne 0x463839
mov dword [esp + 0x1c], 0x80befc00
mov eax, dword [esi + 0x54]
cmp eax, 0xffffffff
jne 0x463851
mov ecx, dword [esp + 0x50]
push str.No_socket_exists_for_sending__2a_
mov eax, dword [ecx]
jmp 0x463c0b
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 1
push ecx
push 0x8004667e
push eax
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp dword [esp + 0x3c], ebp
je 0x463c23
mov edi, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x58]
push edi
inc ebp
push edx
push eax
mov ecx, esi
mov dword [esp + 0x30], ebp
call fcn.00464340
test al, al
je 0x463a46
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x40]
cmp ebp, eax
jle 0x4638a7
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x3c]
cmp ebx, eax
jbe 0x4638b1
mov ebx, eax
xor ebp, ebp
cmp edi, ebp
je 0x4638d0
mov ecx, dword [esp + 0x4c]
push 0x174
push ecx
mov ecx, edi
call fcn.004309f0
test al, al
jne 0x463a70
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x54]
push edx
push edi
lea ecx, [esi + 0x70]
push eax
mov byte [esp + 0x60], 0
call fcn.00473930
mov al, byte [esp + 0x54]
test al, al
jne 0x463aa0
mov ecx, dword [esp + 0x38]
mov edx, dword [esi + 0x54]
push ebp
push ebx
push ecx
push edx
mov dword [esi + 0xc8], ebp
call dword [sym.imp.WS2_32.dll_send]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x4639c2
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
mov dword [esi + 0xc8], eax
jne 0x463b89
mov ebx, dword [esp + 0x50]
mov eax, dword [esp + 0x58]
push edi
push ebx
push eax
mov ecx, esi
call fcn.00464340
test al, al
je 0x463ab0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], 0
test eax, eax
mov byte [esp + 0x11], 0
mov byte [esp + 0x13], 0
mov byte [esp + 0x12], 0
jbe 0x463b22
lea ecx, [esp + 0x12]
lea edx, [esp + 0x13]
push ecx
lea eax, [esp + 0x15]
push edx
mov edx, dword [esp + 0x54]
push eax
lea ecx, [esp + 0x24]
push edi
push ecx
push 0x64
push 0
push edx
mov ecx, esi
call fcn.00462c00
test al, al
jne 0x4639e7
mov eax, dword [esp + 0x58]
push edi
push ebx
push eax
mov ecx, esi
call fcn.00464340
test al, al
je 0x463ae9
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
add eax, 0x64
cmp eax, ecx
mov dword [esp + 0x20], eax
jae 0x463b22
jmp 0x46396a
test ebp, ebp
jle 0x4639e3
push ebp
lea ecx, [esi + 0x70]
call fcn.004738d0
mov al, byte [esi + 0x12c]
test al, al
je 0x4639e3
push edi
push ebp
lea ecx, [esi + 0x30]
call fcn.00473ca0
mov ebx, dword [esp + 0x50]
test edi, edi
je 0x463a0d
test ebp, ebp
jle 0x463a27
lea ecx, [esp + 0x10]
mov byte [esp + 0x10], 0
push ecx
push ebp
mov ecx, edi
call fcn.00430c90
mov al, byte [esp + 0x10]
test al, al
jne 0x463be1
test ebp, ebp
jle 0x463a27
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
sub ecx, ebp
add eax, ebp
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], eax
test ebp, ebp
jne 0x463a31
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x463c23
mov ebp, dword [esp + 0x24]
jmp 0x463878
mov esi, dword [esi + 0x54]
mov dword [esp + 0x14], 0
cmp esi, 0xffffffff
je 0x463c0e
lea edx, [esp + 0x14]
push edx
push 0x8004667e
push esi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
jmp 0x463c0e
mov esi, dword [esi + 0x54]
mov dword [esp + 0x14], ebp
cmp esi, 0xffffffff
je 0x463a8d
lea eax, [esp + 0x14]
push eax
push 0x8004667e
push esi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov ecx, dword [esp + 0x50]
push str.Socket_SendBytes2_aborted_by_application.__1_
mov edx, dword [ecx]
call dword [edx + 0x10]
jmp 0x463c0e
mov ecx, dword [esp + 0x50]
push str.Aborted_by_application_while_upload_throttling__2_
mov eax, dword [ecx]
jmp 0x463c0b
mov esi, dword [esi + 0x54]
mov dword [esp + 0x14], 0
cmp esi, 0xffffffff
je 0x463ad1
lea ecx, [esp + 0x14]
push ecx
push 0x8004667e
push esi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.00428f80
xor al, al
jmp 0x463c57
mov esi, dword [esi + 0x54]
mov dword [esp + 0x14], 0
cmp esi, 0xffffffff
je 0x463b0a
lea edx, [esp + 0x14]
push edx
push 0x8004667e
push esi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.00428f80
xor al, al
jmp 0x463c57
mov esi, dword [esi + 0x54]
mov dword [esp + 0x14], 0
cmp esi, 0xffffffff
je 0x463b43
lea eax, [esp + 0x14]
push eax
push 0x8004667e
push esi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov al, byte [esp + 0x11]
test al, al
je 0x463b54
mov edx, dword [ebx]
push str.Socket_send_aborted_by_application
jmp 0x463b6c
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebx]
push ecx
push str.idleTimeoutMs
mov ecx, ebx
call dword [eax + 0x2c]
mov edx, dword [ebx]
push str.Socket_send_idle_timeout
mov ecx, ebx
call dword [edx + 0x10]
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.00428f80
xor al, al
jmp 0x463c57
mov edi, dword [esp + 0x50]
push edi
push eax
call fcn.004614f0
mov eax, dword [edi]
add esp, 8
mov ecx, edi
push str.Error_sending_on_socket
call dword [eax + 0x10]
mov edx, dword [edi]
push ebx
push str.send_size
mov ecx, edi
call dword [edx + 0x2c]
mov eax, dword [esi + 0x54]
push 2
push eax
call dword [sym.imp.WS2_32.dll_shutdown]
mov ecx, dword [esi + 0x54]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
or eax, 0xffffffff
lea ecx, [esp + 0x18]
mov dword [esi + 0x54], eax
mov byte [esi + 0x50], 0
mov dword [esp + 0x30], eax
call fcn.00428f80
xor al, al
jmp 0x463c57
mov esi, dword [esi + 0x54]
mov dword [esp + 0x14], 0
cmp esi, 0xffffffff
je 0x463c02
lea edx, [esp + 0x14]
push edx
push 0x8004667e
push esi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov eax, dword [ebx]
push str.Socket_send_aborted_by_application
mov ecx, ebx
call dword [eax + 0x10]
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.00428f80
xor al, al
jmp 0x463c57
mov esi, dword [esi + 0x54]
mov dword [esp + 0x14], 0
cmp esi, 0xffffffff
je 0x463c44
lea ecx, [esp + 0x14]
push ecx
push 0x8004667e
push esi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.00428f80
mov al, 1
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 0x24