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

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esi + 0xc]
push edi
mov edi, dword [ecx]
xor ebx, ebx
mov dword [esp + 0x10], str.octet
mov dword [esp + 0x18], ebx
cmp byte [edi + 0x247], bl
je 0x43907c
mov dword [esp + 0x10], str.netascii
cmp eax, 6
ja case.0x439085.1
jmp dword [eax*4 + 0x43926c]
mov ebx, 1
add dword [esi + 0x14], ebx
mov eax, dword [esi + 0x14]
cmp eax, dword [esi + 0x1c]
jle 0x4390b3
pop edi
mov dword [esi + 8], 0xffffff9e
mov dword [esi], 3
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
cmp byte [edi + 0x255], 0
lea ebp, [esi + 0x348]
mov byte [ebp], 0
je 0x4390fd
mov byte [ebp + 1], 2
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
lea edx, [esi + 0x34c]
mov dword [ecx + 0xd4], edx
mov eax, dword [edi + 0x180]
mov ecx, dword [edi + 0x184]
mov edx, eax
and edx, ecx
cmp edx, 0xffffffff
je 0x439100
push ecx
push eax
push edi
call fcn.004351b0
add esp, 0xc
jmp 0x439100
mov byte [ebp + 1], bl
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x850c]
push 0
push 0
add edx, ebx
push edx
push edi
call fcn.0043ee70
mov ebx, eax
add esp, 0x10
mov dword [esp + 0x14], ebx
test ebx, ebx
jne 0x439130
pop edi
pop esi
pop ebp
lea eax, [ebx + 0x1b]
pop ebx
add esp, 0xc
ret
mov eax, dword [esp + 0x10]
push 0
push eax
push 0
push ebx
push str._s_c_s_c
lea ecx, [esi + 0x34a]
push 0x200
push ecx
call fcn.00427fa0
mov eax, ebx
add esp, 0x1c
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x439158
sub eax, edx
mov edx, eax
mov eax, dword [esp + 0x10]
lea ebx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x439170
mov ecx, dword [esi + 0xc]
mov ecx, dword [ecx + 0x38]
sub eax, ebx
mov ebx, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x18]
push ebx
push ecx
push 0
lea edx, [eax + edx + 4]
mov eax, dword [esi + 0x10]
push edx
push ebp
push eax
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jge 0x4391bc
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [esi + 0xc]
push eax
push ecx
call fcn.00429480
push eax
push 0x4ebbdc
push edi
call fcn.00426270
add esp, 0x14
mov edx, dword [esp + 0x14]
push edx
call fcn.00429b40
mov ebx, dword [esp + 0x1c]
add esp, 4
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0xc
ret
push str.Connected_for_transmit
push 0x4ee150
push edi
call fcn.004261e0
add esp, 0xc
mov dword [esi], 2
call fcn.004389b0
mov ebx, eax
test ebx, ebx
jne 0x439261
push 4
call fcn.00438cd0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
push str.Connected_for_receive
push 0x4ee150
push edi
call fcn.004261e0
add esp, 0xc
mov dword [esi], 1
call fcn.004389b0
mov ebx, eax
test ebx, ebx
jne 0x439261
push 3
call fcn.00438b30
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
pop edi
mov dword [esi], 3
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0xc
ret
push str.tftp_send_first:_internal_error
push edi
call fcn.00426270
add esp, 8
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0xc
ret
push esi
mov esi, ecx
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
mov ecx, dword [esi]
push edi
xor edi, edi
cmp ecx, 3
ja case.default.0x4392a2
jmp dword [ecx*4 + 0x439300]
pop edi
mov ecx, esi
pop esi
jmp 0x439050
push eax
call fcn.00438b30
add esp, 4
pop edi
pop esi
ret
push eax
call fcn.00438cd0
add esp, 4
pop edi
pop esi
ret
push str.TFTP_finished
push 0x4ee150
push edx
call fcn.004261e0
add esp, 0xc
mov eax, edi
pop edi
pop esi
ret
push str.Internal_state_machine_error
push 0x4ebbdc
push edx
call fcn.00426270
add esp, 0xc
pop edi
mov eax, 0x47
pop esi
ret