Function at 0x4350f0
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 0x601860
xor esi, esi
call fcn.00429200
mov ebx, dword [ebp + 8]
mov eax, dword [0x60188c]
push 0x601860
lea ecx, [ebx*4]
mov edi, dword [ecx + eax]
mov dword [ebp - 8], ecx
call fcn.00429210
mov eax, dword [edi + 0x58]
add esp, 8
test al, 0x28
je 0x435375
test eax, 0x10000
jne 0x435384
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x43529e
test al, 8
je 0x435188
test al, al
js 0x43539a
push esi
lea eax, [ebp - 4]
push eax
push ebx
push dword [ebp + 0xc]
push dword [edi + 0x60]
call fcn.00549547
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.0053b400
add esp, 4
mov esi, eax
jmp 0x43535b
test al, 1
je 0x435259
cmp dword [edi + 0x3c], esi
je 0x4351f0
cmp dword [edi + 0x2c], esi
jne 0x4351f0
push 0x601860
call fcn.00429200
mov eax, dword [0x60188c]
mov esi, dword [ebp - 8]
push 0x601860
mov esi, dword [esi + eax]
call fcn.00429210
add esp, 8
cmp dword [esi + 0x2c], 0
jne 0x4351f0
cmp dword [0x60184c], 0
jne 0x4351f0
lea eax, [ebp - 0x68]
push eax
push dword [ebp + 8]
call fcn.00437430
add esp, 8
test eax, eax
jne 0x4351f0
cmp dword [esi + 0x2c], eax
jne 0x4351f0
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.0053b400
mov esi, eax
add esp, 4
test esi, esi
jns 0x43535d
mov eax, dword fs:[0x2c]
mov eax, dword [eax]
mov eax, dword [eax + 0x28f0]
test eax, eax
jne 0x435229
call fcn.00541542
cmp dword [eax], 0x2747
jne 0x43535b
cmp ebx, 0x400
jbe 0x43535b
shr ebx, 1
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004350f0
add esp, 0xc
mov esi, eax
jmp 0x43535b
test al, 4
je 0x4353a6
test al, al
js 0x435277
push 0
lea eax, [ebp - 4]
push eax
push ebx
push dword [ebp + 0xc]
push dword [edi + 0x60]
jmp 0x435169
test eax, 0x4000000
je 0x4352a7
mov eax, dword fs:[0x2c]
mov eax, dword [eax]
mov eax, dword [eax + 0x28f0]
test eax, eax
jne 0x435295
call fcn.00541542
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.004482e0
add esp, 4
mov esi, ebx
cmp eax, ebx
cmovb esi, eax
test esi, esi
jne 0x4352e6
mov eax, dword fs:[0x2c]
mov eax, dword [eax]
mov eax, dword [eax + 0x28f0]
test eax, eax
jne 0x4352d4
call fcn.00541542
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.004484b0
push dword [edi + 0x70]
call fcn.004482e0
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 0x435324
push edi
call fcn.0043b2c0
add esp, 4
cmp esi, ebx
je 0x435345
mov eax, dword fs:[0x2c]
mov eax, dword [eax]
mov eax, dword [eax + 0x28f0]
test eax, eax
jne 0x43533f
call fcn.00541542
mov dword [eax], 0x2733
push edi
call fcn.004377c0
add esp, 4
test dword [edi + 0x58], 0x4000000
jne 0x43529b
test esi, esi
jle 0x43529e
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.00424790
push dword [edi + 0x114]
push ebx
push str.sock_write_fd_d_with_ASSERT_CLOSE:__x
push 0x360000
call fcn.00424790
push str.vsock_type_file_does_not_support_non_blocking_mode
push 0x36
call fcn.004205f0
push eax
push str.invalid_fd_type_0x_x
push 0x360000
call fcn.00424790
int3