Function at 0x48a150
Capabilities:
Send data
Send data on socket
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push ebx
push esi
push edi
push 0x668d40
xor esi, esi
call fcn.0047e9d0
mov ebx, dword [ebp + 8]
mov eax, dword [0x668d6c]
push 0x668d40
lea ecx, [ebx*4]
mov edi, dword [ecx + eax]
mov dword [ebp - 8], ecx
call fcn.0047e9e0
mov eax, dword [edi + 0x58]
add esp, 8
test al, 0x28
je 0x48a3d5
test eax, 0x10000
jne 0x48a3e4
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x48a2fe
test al, 8
je 0x48a1e8
test al, al
js 0x48a3fa
push esi
lea eax, [ebp - 4]
push eax
push ebx
push dword [ebp + 0xc]
push dword [edi + 0x60]
call fcn.005a68ac
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
or ecx, 0xffffffff
test eax, eax
cmovne ecx, dword [ebp - 4]
push ecx
call fcn.00590b90
add esp, 4
mov esi, eax
jmp 0x48a3bb
test al, 1
je 0x48a2b9
cmp dword [edi + 0x3c], esi
je 0x48a250
cmp dword [edi + 0x2c], esi
jne 0x48a250
push 0x668d40
call fcn.0047e9d0
mov eax, dword [0x668d6c]
mov esi, dword [ebp - 8]
push 0x668d40
mov esi, dword [esi + eax]
call fcn.0047e9e0
add esp, 8
cmp dword [esi + 0x2c], 0
jne 0x48a250
cmp dword [0x668d20], 0
jne 0x48a250
lea eax, [ebp - 0x68]
push eax
push dword [ebp + 8]
call fcn.0048c490
add esp, 8
test eax, eax
jne 0x48a250
cmp dword [esi + 0x2c], eax
jne 0x48a250
mov eax, dword [ebp - 0x4c]
mov dword [esi + 0x2c], 1
mov dword [esi + 0x28], eax
push 0
push ebx
push dword [ebp + 0xc]
push dword [edi + 0x60]
call dword [sym.imp.WS2_32.dll_send]
push eax
call fcn.00590b90
mov esi, eax
add esp, 4
test esi, esi
jns 0x48a3bd
mov eax, dword fs:[0x2c]
mov eax, dword [eax]
mov eax, dword [eax + 0x28f0]
test eax, eax
jne 0x48a289
call fcn.00596e90
cmp dword [eax], 0x2747
jne 0x48a3bb
cmp ebx, 0x400
jbe 0x48a3bb
shr ebx, 1
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0048a150
add esp, 0xc
mov esi, eax
jmp 0x48a3bb
test al, 4
je 0x48a406
test al, al
js 0x48a2d7
push 0
lea eax, [ebp - 4]
push eax
push ebx
push dword [ebp + 0xc]
push dword [edi + 0x60]
jmp 0x48a1c9
test eax, 0x4000000
je 0x48a307
mov eax, dword fs:[0x2c]
mov eax, dword [eax]
mov eax, dword [eax + 0x28f0]
test eax, eax
jne 0x48a2f5
call fcn.00596e90
mov dword [eax], 0x20
or esi, 0xffffffff
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [edi + 0x70]
call fcn.0049da70
add esp, 4
mov esi, ebx
cmp eax, ebx
cmovb esi, eax
test esi, esi
jne 0x48a346
mov eax, dword fs:[0x2c]
mov eax, dword [eax]
mov eax, dword [eax + 0x28f0]
test eax, eax
jne 0x48a334
call fcn.00596e90
or esi, 0xffffffff
mov dword [eax], 0x2733
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push dword [ebp + 0xc]
push dword [edi + 0x70]
call fcn.0049dc40
push dword [edi + 0x70]
call fcn.0049da70
mov ecx, dword [edi + 0x58]
add esp, 0x10
mov edx, eax
neg edx
sbb edx, edx
and ecx, 0xffff7fff
and edx, 0x8000
or edx, ecx
mov dword [edi + 0x58], edx
test eax, eax
je 0x48a384
push edi
call fcn.00490320
add esp, 4
cmp esi, ebx
je 0x48a3a5
mov eax, dword fs:[0x2c]
mov eax, dword [eax]
mov eax, dword [eax + 0x28f0]
test eax, eax
jne 0x48a39f
call fcn.00596e90
mov dword [eax], 0x2733
push edi
call fcn.0048c820
add esp, 4
test dword [edi + 0x58], 0x4000000
jne 0x48a2fb
test esi, esi
jle 0x48a2fe
mov eax, esi
cdq
add dword [edi + 0x18], eax
mov eax, esi
adc dword [edi + 0x1c], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.write_to_non_streamfile_socket
push 0x360000
call fcn.00479f70
push dword [edi + 0x114]
push ebx
push str.sock_write_fd_d_with_ASSERT_CLOSE:__x
push 0x360000
call fcn.00479f70
push str.vsock_type_file_does_not_support_non_blocking_mode
push 0x36
call fcn.00475dd0
push eax
push str.invalid_fd_type_0x_x
push 0x360000
call fcn.00479f70
int3