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

Disassembly:
push 0xffffffffffffffff
push 0x46e658
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 + 0xc0], ebp
call fcn.0041e470
mov eax, dword [esi + 0xb8]
mov dword [esp + 0x30], ebp
cmp eax, ebp
mov dword [esp + 0x20], eax
jne 0x4497d9
mov dword [esp + 0x20], 0x1499700
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
jne 0x4497f1
mov ecx, dword [esp + 0x50]
push str.No_socket_exists_for_sending__2a_
mov eax, dword [ecx]
jmp 0x449b2e
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 0x449b48
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
mov edx, dword [esp + 0x58]
push edi
inc ebp
push ebx
push edx
mov ecx, esi
mov dword [esp + 0x30], ebp
call fcn.0044a1a0
test al, al
je 0x449a28
mov eax, dword [esp + 0x40]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x44]
cmp ebp, eax
jle 0x44984f
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
jbe 0x44985f
mov dword [esp + 0x1c], eax
xor ebp, ebp
cmp edi, ebp
je 0x44987e
mov edx, dword [esp + 0x4c]
push 0x174
push edx
mov ecx, edi
call fcn.00422330
test al, al
jne 0x4499dc
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0x50]
push eax
push edi
lea ecx, [esi + 0x68]
push edx
mov byte [esp + 0x5c], 0
call fcn.004580b0
mov al, byte [esp + 0x50]
test al, al
jne 0x449a02
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esi + 0x4c]
push ebp
push eax
push ecx
push edx
mov dword [esi + 0xc0], ebp
call dword [sym.imp.WS2_32.dll_send]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x44995c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
mov dword [esi + 0xc0], eax
jne 0x449ab2
mov eax, dword [esp + 0x58]
push edi
push ebx
push eax
mov ecx, esi
call fcn.0044a1a0
test al, al
je 0x449a10
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1c], 0
test eax, eax
mov byte [esp + 0x13], 0
jbe 0x449a5c
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x13]
push ecx
lea edx, [esp + 0x1c]
push edi
push edx
push 0x64
push 0
push eax
mov ecx, esi
call fcn.00448cd0
test al, al
jne 0x44997d
mov ecx, dword [esp + 0x58]
push edi
push ebx
push ecx
mov ecx, esi
call fcn.0044a1a0
test al, al
je 0x449a28
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
add eax, 0x64
cmp eax, ecx
mov dword [esp + 0x1c], eax
jae 0x449a5c
jmp 0x44990e
test ebp, ebp
jle 0x44997d
push ebp
lea ecx, [esi + 0x68]
call fcn.00458050
mov al, byte [esi + 0x100]
test al, al
je 0x44997d
push edi
push ebp
lea ecx, [esi + 0x28]
call fcn.00458420
test edi, edi
je 0x4499a3
test ebp, ebp
jle 0x4499bd
lea edx, [esp + 0x54]
mov ecx, edi
push edx
push ebp
mov byte [esp + 0x5c], 0
call fcn.004225b0
mov al, byte [esp + 0x54]
test al, al
jne 0x449b09
test ebp, ebp
jle 0x4499bd
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 0x4499c7
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x449b46
mov ebp, dword [esp + 0x24]
jmp 0x44981c
mov eax, dword [esi + 0x4c]
lea edx, [esp + 0x14]
push edx
push 0x8004667e
push eax
mov dword [esp + 0x20], ebp
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov edx, dword [ebx]
push str.Socket_SendBytes2_aborted_by_application.__1_
mov ecx, ebx
call dword [edx + 0x10]
jmp 0x449a44
mov eax, dword [ebx]
push str.Aborted_by_application_while_upload_throttling__2_
mov ecx, ebx
call dword [eax + 0x10]
jmp 0x449a44
mov edx, dword [esi + 0x4c]
lea ecx, [esp + 0x14]
push ecx
push 0x8004667e
mov dword [esp + 0x1c], 0
push edx
jmp 0x449a3e
mov ecx, dword [esi + 0x4c]
lea eax, [esp + 0x14]
push eax
push 0x8004667e
mov dword [esp + 0x1c], 0
push ecx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.0041e4b0
xor al, al
jmp 0x449b73
mov eax, dword [esi + 0x4c]
lea edx, [esp + 0x14]
push edx
push 0x8004667e
push eax
mov dword [esp + 0x20], 0
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov al, byte [esp + 0x13]
test al, al
je 0x449a8e
mov edx, dword [ebx]
push str.Socket_send_aborted_by_application
mov ecx, ebx
call dword [edx + 0x10]
jmp 0x449a9a
mov eax, dword [ebx]
push str.Socket_send_idle_timeout
mov ecx, ebx
call dword [eax + 0x10]
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.0041e4b0
xor al, al
jmp 0x449b73
push ebx
push eax
mov ecx, esi
call fcn.00447980
mov edx, dword [ebx]
push str.Error_sending_on_socket
mov ecx, ebx
call dword [edx + 0x10]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebx]
push ecx
push str.send_size
mov ecx, ebx
call dword [eax + 0x2c]
mov edx, dword [esi + 0x4c]
push 2
push edx
call dword [sym.imp.WS2_32.dll_shutdown]
mov eax, dword [esi + 0x4c]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
or eax, 0xffffffff
lea ecx, [esp + 0x18]
mov dword [esi + 0x4c], eax
mov byte [esi + 0x48], 0
mov dword [esp + 0x30], eax
call fcn.0041e4b0
xor al, al
jmp 0x449b73
mov edx, dword [esi + 0x4c]
lea ecx, [esp + 0x14]
push ecx
push 0x8004667e
push edx
mov dword [esp + 0x20], 0
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.0041e4b0
xor al, al
jmp 0x449b73
xor ebp, ebp
mov edx, dword [esi + 0x4c]
lea ecx, [esp + 0x14]
push ecx
push 0x8004667e
push edx
mov dword [esp + 0x20], ebp
call dword [sym.imp.WS2_32.dll_ioctlsocket]
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.0041e4b0
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