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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
push ebx
push esi
push edi
mov dword [ebp - 0xc], str.octet
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x54]
cmp dword [eax + 0x374], 0
je 0x43dd58
mov dword [ebp - 0xc], str.netascii
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x5c], ecx
cmp dword [ebp - 0x5c], 7
ja case.0x43dd6b.1
mov edx, dword [ebp - 0x5c]
jmp dword [edx*4 + 0x43e160]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
add ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x18]
cmp edx, dword [ecx + 0x20]
jle 0x43ddaa
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0xffffff9e
mov ecx, dword [ebp + 8]
mov dword [ecx], 3
mov eax, dword [ebp - 0x58]
jmp 0x43e159
mov edx, dword [ebp - 0x54]
cmp dword [edx + 0x3ac], 0
je 0x43de1e
push 2
mov eax, dword [ebp + 8]
add eax, 0x150
push eax
call fcn.0043e180
add esp, 8
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x150]
add edx, 4
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov dword [eax + 0x110], edx
mov ecx, dword [ebp - 0x54]
add ecx, 0x4880
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x60]
mov ecx, dword [edx]
and ecx, dword [eax + 4]
cmp ecx, 0xffffffff
je 0x43de1c
mov edx, dword [ebp - 0x54]
mov eax, dword [edx + 0x4884]
push eax
mov ecx, dword [edx + 0x4880]
push ecx
mov edx, dword [ebp - 0x54]
push edx
call fcn.004316a0
add esp, 0xc
jmp 0x43de31
push 1
mov eax, dword [ebp + 8]
add eax, 0x150
push eax
call fcn.0043e180
add esp, 8
push 0
push 0
lea ecx, [ebp - 0x10]
push ecx
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x4850]
add edx, 1
push edx
mov eax, dword [ebp - 0x54]
push eax
call fcn.004583e0
add esp, 0x18
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x43de6a
mov eax, dword [ebp - 0x58]
jmp 0x43e159
push 0
mov ecx, dword [ebp - 0xc]
push ecx
push 0
mov edx, dword [ebp - 0x10]
push edx
push str._s_c_s_c
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x144]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x150]
add eax, 2
push eax
call fcn.0042e310
add esp, 0x1c
mov ecx, dword [ebp - 0x10]
push ecx
call sub.MSVCRT.dll_strlen
add esp, 4
mov esi, eax
mov edx, dword [ebp - 0xc]
push edx
call sub.MSVCRT.dll_strlen
add esp, 4
lea eax, [esi + eax + 4]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x54]
cmp dword [ecx + 0x1ec], 0
jne 0x43e059
mov edx, dword [ebp - 0x54]
cmp dword [edx + 0x3ac], 0
je 0x43df18
mov eax, dword [ebp - 0x54]
add eax, 0x4880
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x64]
mov eax, dword [ecx]
and eax, dword [edx + 4]
cmp eax, 0xffffffff
je 0x43df18
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 0x4884]
push edx
mov eax, dword [ecx + 0x4880]
push eax
push str._I64d
push 0x40
lea ecx, [ebp - 0x50]
push ecx
call fcn.0042e310
add esp, 0x14
jmp 0x43df29
push 0x470064
lea edx, [ebp - 0x50]
push edx
call sub.MSVCRT.dll_strcpy
add esp, 8
push str.tsize
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x150]
add ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0043e1c0
add esp, 0x10
mov ecx, dword [ebp - 4]
add ecx, eax
mov dword [ebp - 4], ecx
lea edx, [ebp - 0x50]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x150]
add ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0043e1c0
add esp, 0x10
mov ecx, dword [ebp - 4]
add ecx, eax
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x148]
push eax
push 0x46addc
push 0x40
lea ecx, [ebp - 0x50]
push ecx
call fcn.0042e310
add esp, 0x10
push str.blksize
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x150]
add eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0043e1c0
add esp, 0x10
mov ecx, dword [ebp - 4]
add ecx, eax
mov dword [ebp - 4], ecx
lea edx, [ebp - 0x50]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x150]
add ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0043e1c0
add esp, 0x10
mov ecx, dword [ebp - 4]
add ecx, eax
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
push eax
push 0x46addc
push 0x40
lea ecx, [ebp - 0x50]
push ecx
call fcn.0042e310
add esp, 0x10
push str.timeout
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x150]
add eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0043e1c0
add esp, 0x10
mov ecx, dword [ebp - 4]
add ecx, eax
mov dword [ebp - 4], ecx
lea edx, [ebp - 0x50]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x150]
add ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0043e1c0
add esp, 0x10
mov ecx, dword [ebp - 4]
add ecx, eax
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + 0x4c]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 0x4c]
mov eax, dword [edx + 0x18]
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x150]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
push edx
call dword [sym.imp.WS2_32.dll_sendto]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
je 0x43e0c3
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
push edx
call fcn.0042b500
add esp, 8
push eax
push 0x46bca8
mov eax, dword [ebp - 0x54]
push eax
call fcn.00423a20
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push ecx
call dword [0x479828]
add esp, 4
jmp 0x43e156
mov edx, dword [ebp - 0x54]
cmp dword [edx + 0x3ac], 0
je 0x43e0f6
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0043e220
add esp, 8
mov dword [ebp - 0x58], eax
jmp 0x43e109
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0043e290
add esp, 8
mov dword [ebp - 0x58], eax
jmp 0x43e156
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0043e220
add esp, 8
mov dword [ebp - 0x58], eax
jmp 0x43e156
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0043e290
add esp, 8
mov dword [ebp - 0x58], eax
jmp 0x43e156
mov edx, dword [ebp + 8]
mov dword [edx], 3
jmp 0x43e156
push str.tftp_send_first:_internal_error
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx]
push edx
call fcn.00423a20
add esp, 8
mov eax, dword [ebp - 0x58]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret