Function at 0x44a010
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x28
mov eax, dword [0x54112c]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
mov ebx, dword [esp + 0x34]
push ebp
push esi
mov esi, dword [esp + 0x38]
push edi
mov edi, dword [esp + 0x44]
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 0x90]
or eax, dword [esi + 0x94]
mov byte [esp + 0x13], 0
jne 0x44a05e
mov eax, dword [esi + 0x98]
or eax, dword [esi + 0x9c]
jne 0x44a05e
push 7
push esi
call fcn.00450e00
add esp, 8
or dword [edi], 2
cmp dword [esi + 0x144], 0
jne 0x44a403
mov eax, dword [esi + 0x890]
test eax, eax
jne 0x44a095
push dword [esi + 0x4cc]
call dword [0x541054]
add esp, 4
mov dword [esi + 0x890], eax
test eax, eax
je 0x44a36a
cmp byte [esi + 0x138], 0
mov dword [esi + 0x148], eax
jne 0x44a1e3
cmp dword [esi + 0x110], 2
mov ecx, dword [esi + 0x150]
jne 0x44a111
cmp dword [ecx + 0x1b0], 2
jne 0x44a111
and dword [esi + 0x134], 0xfffffffd
lea eax, [esp + 0x24]
push eax
mov dword [esi + 0x110], 1
call fcn.0044a7b0
push 0
movups xmm0, xmmword [eax]
movups xmmword [esi + 0x100], xmm0
and dword [edi], 0xfffffffd
mov eax, dword [esi + 0x684]
cdq
push edx
push eax
push esi
call fcn.0042ff70
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0048bf8d
add esp, 0x28
ret
mov eax, dword [ebx + 0x2c8]
test dword [eax + 0x40], 0x40003
je 0x44a12c
cmp dword [ecx + 0x1b0], 1
sete byte [esp + 0x13]
mov edi, dword [ebx]
mov ebp, 0x10000
mov dword [esp + 0x20], ebp
cmp byte [edi + 0x14d], 0
je 0x44a150
add dword [edi + 0x148], 0xa
mov ebp, 0xfff4
mov dword [esp + 0x20], ebp
push 1
push edi
call fcn.00430650
push dword [edi + 0xbe4]
mov eax, dword [edi + 0xbe0]
push ebp
push 1
push dword [edi + 0x148]
call eax
mov ebp, eax
push 0
push edi
mov dword [esp + 0x3c], ebp
call fcn.00430650
add esp, 0x20
cmp ebp, 0x10000000
jne 0x44a1b1
mov eax, str.operation_aborted_by_callback
mov esi, 0x2a
push eax
push edi
call fcn.00443ec0
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0048bf8d
add esp, 0x28
ret
cmp ebp, 0x10000001
jne 0x44a228
mov eax, dword [ebx + 0x2c8]
test byte [eax + 0x44], 0x10
je 0x44a1cc
mov eax, str.Read_callback_asked_for_PAUSE_when_not_supported_
jmp 0x44a233
or dword [edi + 0x134], 0x20
cmp byte [edi + 0x14d], 0
je 0x44a1e3
add dword [edi + 0x148], 0xfffffff6
test byte [esi + 0x134], 0x20
jne 0x44a573
and dword [esi + 0x134], 0xfffffffd
cmp byte [ebx + 0x293], 0
je 0x44a573
push ebx
call fcn.00448d40
add esp, 4
test eax, eax
je 0x44a573
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0048bf8d
add esp, 0x28
ret
cmp ebp, dword [esp + 0x20]
jbe 0x44a257
mov eax, str.read_function_returned_funny_value
push eax
push edi
mov esi, 0x1a
call fcn.00443ec0
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0048bf8d
add esp, 0x28
ret
cmp byte [edi + 0x14f], 0
jne 0x44a30f
cmp byte [edi + 0x14d], 0
je 0x44a30f
cmp byte [edi + 0x3ca], 0
mov eax, 0x518554
mov ebx, 0x516eb4
cmovne ebx, eax
lea eax, [esp + 0x24]
push ebx
push ebp
push str._x_s
push 0xb
push eax
call fcn.004524f0
sub dword [edi + 0x148], eax
add ebp, eax
push eax
lea eax, [esp + 0x3c]
push eax
push dword [edi + 0x148]
call fcn.004af910
mov ecx, ebx
add esp, 0x20
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44a2c0
mov eax, dword [edi + 0x148]
sub ecx, edx
push ecx
add eax, ebp
push ebx
push eax
call fcn.004af910
add esp, 0xc
cmp dword [esp + 0x1c], 0
jne 0x44a2f8
push str.Signaling_end_of_chunked_upload_via_terminating_chunk._n
push edi
mov byte [edi + 0x138], 1
call fcn.00443fa0
add esp, 8
lea ecx, [ebx + 1]
nop dword [eax + eax]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x44a300
sub ebx, ecx
add ebp, ebx
mov ebx, dword [esp + 0x18]
test ebp, ebp
je 0x44a1e3
jle 0x44a1f0
cmp byte [esp + 0x13], 0
mov dword [esi + 0x144], ebp
jne 0x44a403
cmp byte [esi + 0x3ca], 0
je 0x44a403
cmp dword [esi + 0x8dc], 0
jne 0x44a382
push 0x20000
call dword [0x541054]
add esp, 4
mov dword [esi + 0x8dc], eax
test eax, eax
jne 0x44a382
push str.Failed_to_alloc_scratch_buffer_
push esi
call fcn.00443ec0
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0048bf8d
add esp, 0x28
ret
xor ecx, ecx
xor edx, edx
test ebp, ebp
jle 0x44a3ed
nop word [eax + eax]
mov eax, dword [esi + 0x148]
mov bl, byte [edx + eax]
mov eax, dword [esi + 0x8dc]
cmp bl, 0xa
jne 0x44a3e4
mov byte [eax + ecx], 0xd
inc ecx
mov eax, dword [esi + 0x8dc]
mov byte [ecx + eax], bl
cmp byte [esi + 0x3ca], 0
jne 0x44a3e7
mov edi, dword [esi + 0xbd0]
mov eax, edi
mov ebx, dword [esi + 0xbd4]
and eax, ebx
cmp eax, 0xffffffff
je 0x44a3e7
add edi, 1
mov dword [esi + 0xbd0], edi
adc ebx, 0
mov dword [esi + 0xbd4], ebx
jmp 0x44a3e7
mov byte [eax + ecx], bl
inc edx
inc ecx
cmp edx, ebp
jl 0x44a390
cmp ecx, ebp
je 0x44a403
mov eax, dword [esi + 0x8dc]
mov dword [esi + 0x148], eax
mov dword [esi + 0x144], ecx
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
push dword [esi + 0x144]
push dword [esi + 0x148]
push dword [edi + 0x2d8]
push edi
call fcn.00444520
add esp, 0x14
test eax, eax
jne 0x44a575
mov ebx, dword [edi + 0x2d8]
push eax
push eax
lea eax, [esp + 0x20]
push eax
push 4
lea eax, [esp + 0x2c]
push eax
push 0
push 0
push 0x4004747b
push ebx
call dword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
jne 0x44a46f
push 4
lea eax, [esp + 0x20]
push eax
push 0x1001
push 0xffff
push ebx
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp byte [esi + 0x510], 0
je 0x44a48d
push dword [esp + 0x14]
push dword [esi + 0x148]
push 4
push esi
call fcn.00443e30
add esp, 0x10
mov ecx, dword [esp + 0x14]
mov eax, ecx
cdq
add eax, dword [esi + 0x98]
mov dword [esi + 0x98], eax
adc edx, dword [esi + 0x9c]
cmp byte [esi + 0x14d], 0
mov dword [esi + 0x9c], edx
je 0x44a4be
cmp byte [esi + 0x14f], 0
je 0x44a4e7
cmp eax, dword [esi + 0xbd0]
jne 0x44a4e7
cmp edx, dword [esi + 0xbd4]
jne 0x44a4e7
push str.We_are_completely_uploaded_and_fine_n
push esi
mov byte [esi + 0x138], 1
call fcn.00443fa0
mov ecx, dword [esp + 0x1c]
add esp, 8
mov eax, dword [esi + 0x144]
cmp eax, ecx
je 0x44a501
sub eax, ecx
add dword [esi + 0x148], ecx
mov dword [esi + 0x144], eax
jmp 0x44a55e
mov eax, dword [esi + 0x890]
test eax, eax
jne 0x44a528
push dword [esi + 0x4cc]
call dword [0x541054]
add esp, 4
mov dword [esi + 0x890], eax
test eax, eax
je 0x44a36a
cmp byte [esi + 0x138], 0
mov dword [esi + 0x148], eax
mov dword [esi + 0x144], 0
je 0x44a55e
and dword [esi + 0x134], 0xfffffffd
cmp byte [edi + 0x293], 0
je 0x44a55e
push edi
call fcn.00448d40
add esp, 4
test eax, eax
jne 0x44a575
push dword [esi + 0x9c]
push dword [esi + 0x98]
push esi
call fcn.00450c00
add esp, 0xc
xor eax, eax
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048bf8d
add esp, 0x28
ret