Function at 0x4337f0
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 0x5fe820
xor esi, esi
call fcn.00427d70
mov ebx, dword [ebp + 8]
mov eax, dword [0x5fe84c]
push 0x5fe820
lea ecx, [ebx*4]
mov edi, dword [ecx + eax]
mov dword [ebp - 8], ecx
call fcn.00427d80
mov eax, dword [edi + 0x58]
add esp, 8
test al, 0x28
je 0x433a75
test eax, 0x10000
jne 0x433a84
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x43399e
test al, 8
je 0x433888
test al, al
js 0x433a9a
push esi
lea eax, [ebp - 4]
push eax
push ebx
push dword [ebp + 0xc]
push dword [edi + 0x60]
call fcn.00547947
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.00539b90
add esp, 4
mov esi, eax
jmp 0x433a5b
test al, 1
je 0x433959
cmp dword [edi + 0x3c], esi
je 0x4338f0
cmp dword [edi + 0x2c], esi
jne 0x4338f0
push 0x5fe820
call fcn.00427d70
mov eax, dword [0x5fe84c]
mov esi, dword [ebp - 8]
push 0x5fe820
mov esi, dword [esi + eax]
call fcn.00427d80
add esp, 8
cmp dword [esi + 0x2c], 0
jne 0x4338f0
cmp dword [0x5fe80c], 0
jne 0x4338f0
lea eax, [ebp - 0x68]
push eax
push dword [ebp + 8]
call fcn.00435b30
add esp, 8
test eax, eax
jne 0x4338f0
cmp dword [esi + 0x2c], eax
jne 0x4338f0
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.00539b90
mov esi, eax
add esp, 4
test esi, esi
jns 0x433a5d
mov eax, dword fs:[0x2c]
mov eax, dword [eax]
mov eax, dword [eax + 0x28f0]
test eax, eax
jne 0x433929
call fcn.0053fcd2
cmp dword [eax], 0x2747
jne 0x433a5b
cmp ebx, 0x400
jbe 0x433a5b
shr ebx, 1
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004337f0
add esp, 0xc
mov esi, eax
jmp 0x433a5b
test al, 4
je 0x433aa6
test al, al
js 0x433977
push 0
lea eax, [ebp - 4]
push eax
push ebx
push dword [ebp + 0xc]
push dword [edi + 0x60]
jmp 0x433869
test eax, 0x4000000
je 0x4339a7
mov eax, dword fs:[0x2c]
mov eax, dword [eax]
mov eax, dword [eax + 0x28f0]
test eax, eax
jne 0x433995
call fcn.0053fcd2
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.00446a80
add esp, 4
mov esi, ebx
cmp eax, ebx
cmovb esi, eax
test esi, esi
jne 0x4339e6
mov eax, dword fs:[0x2c]
mov eax, dword [eax]
mov eax, dword [eax + 0x28f0]
test eax, eax
jne 0x4339d4
call fcn.0053fcd2
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.00446c50
push dword [edi + 0x70]
call fcn.00446a80
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 0x433a24
push edi
call fcn.004399d0
add esp, 4
cmp esi, ebx
je 0x433a45
mov eax, dword fs:[0x2c]
mov eax, dword [eax]
mov eax, dword [eax + 0x28f0]
test eax, eax
jne 0x433a3f
call fcn.0053fcd2
mov dword [eax], 0x2733
push edi
call fcn.00435ed0
add esp, 4
test dword [edi + 0x58], 0x4000000
jne 0x43399b
test esi, esi
jle 0x43399e
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.004232c0
push dword [edi + 0x114]
push ebx
push str.sock_write_fd_d_with_ASSERT_CLOSE:__x
push 0x360000
call fcn.004232c0
push str.vsock_type_file_does_not_support_non_blocking_mode
push 0x36
call fcn.0041f160
push eax
push str.invalid_fd_type_0x_x
push 0x360000
call fcn.004232c0
int3