Function at 0x43e5a0
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x44
push ebx
mov ebx, dword [esp + 0x4c]
push ebp
push esi
mov eax, dword [ebx + 0x10]
push edi
mov esi, str.octet
mov dword [esp + 0x58], 0
mov edi, dword [eax]
mov dword [esp + 0x10], edi
mov eax, dword [edi + 0x374]
test eax, eax
je 0x43e5d0
mov esi, str.netascii
mov eax, dword [esp + 0x5c]
cmp eax, 7
ja case.0x43e5dd.1
jmp dword [eax*4 + 0x43e8ac]
mov edx, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x20]
inc edx
mov eax, edx
mov dword [ebx + 0x18], edx
cmp eax, ecx
jle 0x43e60b
pop edi
pop esi
mov dword [ebx + 8], 0xffffff9e
mov dword [ebx], 3
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret
mov eax, dword [edi + 0x3ac]
lea ebp, [ebx + 0x150]
test eax, eax
je 0x43e659
push 2
push ebp
call fcn.0043e8d0
mov edx, dword [ebx + 0x10]
mov ecx, dword [ebp]
add ecx, 4
add esp, 8
mov eax, dword [edx]
mov dword [eax + 0x110], ecx
mov eax, dword [edi + 0x4828]
mov ecx, dword [edi + 0x482c]
mov edx, eax
and edx, ecx
cmp edx, 0xffffffff
je 0x43e664
push ecx
push eax
push edi
call fcn.0044ebf0
add esp, 0xc
jmp 0x43e664
push 1
push ebp
call fcn.0043e8d0
add esp, 8
mov ecx, dword [ebx + 0x10]
push 0
lea eax, [esp + 0x60]
push 0
mov edx, dword [ecx]
push eax
push 0
mov eax, dword [edx + 0x47f8]
inc eax
push eax
push edi
call fcn.00451650
add esp, 0x18
mov dword [esp + 0x58], eax
test eax, eax
jne 0x43e8a1
mov ecx, dword [esp + 0x5c]
mov edx, dword [ebx + 0x144]
push eax
push esi
push eax
mov eax, dword [ebp]
push ecx
push str._s_c_s_c
add eax, 2
push edx
push eax
call fcn.00436f20
mov edi, dword [esp + 0x78]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x1c
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, esi
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov edi, dword [esp + 0x10]
not ecx
mov eax, dword [edi + 0x1ec]
dec ecx
test eax, eax
lea esi, [edx + ecx + 4]
jne 0x43e7d2
mov eax, dword [edi + 0x3ac]
test eax, eax
je 0x43e71b
mov eax, dword [edi + 0x4828]
mov ecx, dword [edi + 0x482c]
mov edx, eax
and edx, ecx
cmp edx, 0xffffffff
je 0x43e71b
push ecx
push eax
push str._I64d
lea eax, [esp + 0x20]
push 0x40
push eax
call fcn.00436f20
add esp, 0x14
jmp 0x43e727
mov cx, word [0x47c774]
mov word [esp + 0x14], cx
mov edx, dword [ebp]
push str.tsize
add edx, esi
push edx
push esi
push ebx
call fcn.0043e8f0
mov ecx, dword [ebp]
add esi, eax
lea eax, [esp + 0x24]
add ecx, esi
push eax
push ecx
push esi
push ebx
call fcn.0043e8f0
mov edx, dword [ebx + 0x148]
add esi, eax
push edx
push 0x47c1ec
lea eax, [esp + 0x3c]
push 0x40
push eax
call fcn.00436f20
mov ecx, dword [ebp]
push str.blksize
add ecx, esi
push ecx
push esi
push ebx
call fcn.0043e8f0
add esi, eax
mov eax, dword [ebp]
add esp, 0x40
lea edx, [esp + 0x14]
add eax, esi
push edx
push eax
push esi
push ebx
call fcn.0043e8f0
mov ecx, dword [ebx + 0x1c]
lea edx, [esp + 0x24]
push ecx
push 0x47c1ec
push 0x40
push edx
add esi, eax
call fcn.00436f20
mov eax, dword [ebp]
push str.timeout
add eax, esi
push eax
push esi
push ebx
call fcn.0043e8f0
mov edx, dword [ebp]
add esi, eax
lea ecx, [esp + 0x44]
add edx, esi
push ecx
push edx
push esi
push ebx
call fcn.0043e8f0
add esp, 0x40
add esi, eax
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x4c]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x18]
mov eax, dword [ebp]
push ecx
mov ecx, dword [ebx + 0x14]
push edx
push 0
push esi
push eax
push ecx
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, esi
je 0x43e814
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, dword [ebx + 0x10]
push eax
push edx
call fcn.004357e0
push eax
push 0x481a4c
push edi
call fcn.00430130
add esp, 0x14
mov eax, dword [esp + 0x5c]
push eax
call dword [0x480bcc]
mov eax, dword [esp + 0x5c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
mov eax, dword [edi + 0x3ac]
push 6
test eax, eax
push ebx
je 0x43e869
call fcn.0043e950
add esp, 8
mov dword [esp + 0x58], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
push 4
push ebx
call fcn.0043e950
add esp, 8
mov dword [esp + 0x58], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
push 3
push ebx
call fcn.0043e990
add esp, 8
mov dword [esp + 0x58], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
mov eax, dword [esp + 0x58]
pop edi
pop esi
mov dword [ebx], 3
pop ebp
pop ebx
add esp, 0x44
ret
push str.tftp_send_first:_internal_error
push edi
call fcn.00430130
mov eax, dword [esp + 0x60]
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret