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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push esi
push edi
lea edi, [ebp - 0x78]
mov ecx, 0x1e
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x5749c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], str.octet
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x68]
movzx ecx, byte [eax + 0x33b]
test ecx, ecx
je 0x52e0ff
mov dword [ebp - 0x10], str.netascii
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x70], edx
cmp dword [ebp - 0x70], 7
ja case.0x52e112.1
mov eax, dword [ebp - 0x70]
jmp dword [eax*4 + 0x52e57c]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x18]
cmp eax, dword [edx + 0x20]
jle 0x52e151
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0xffffff9e
mov edx, dword [ebp + 8]
mov dword [edx], 3
mov eax, dword [ebp - 0x6c]
jmp 0x52e521
mov eax, dword [ebp - 0x68]
movzx ecx, byte [eax + 0x349]
test ecx, ecx
je 0x52e1c9
push 2
mov edx, dword [ebp + 8]
add edx, 0x160
push edx
call fcn.0052dac0
add esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x160]
add ecx, 4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
mov edx, dword [eax]
mov dword [edx + 0x10c], ecx
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
mov edx, dword [ebp - 0x74]
mov eax, dword [ecx + 0x47c8]
and eax, dword [edx + 0x47cc]
cmp eax, 0xffffffff
je 0x52e1c7
mov ecx, dword [ebp - 0x68]
mov edx, dword [ecx + 0x47cc]
push edx
mov eax, dword [ecx + 0x47c8]
push eax
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.0047309d
add esp, 0xc
jmp 0x52e1dd
push 1
mov edx, dword [ebp + 8]
add edx, 0x160
push edx
call fcn.0052dac0
add esp, 8
push 0
push 0
lea eax, [ebp - 0x18]
push eax
push 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
mov eax, dword [edx]
mov ecx, 1
shl ecx, 0
add ecx, dword [eax + 0x47a4]
push ecx
mov edx, dword [ebp - 0x68]
push edx
call fcn.004722b5
add esp, 0x18
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x52e21b
mov eax, dword [ebp - 0x6c]
jmp 0x52e521
push 0
mov eax, dword [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp - 0x18]
push ecx
push str._s_c_s_c
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x154]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x160]
add edx, 2
push edx
call fcn.00472341
add esp, 0x1c
mov eax, dword [ebp - 0x18]
push eax
call fcn.00472f0d
add esp, 4
mov esi, eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00472f0d
add esp, 4
lea edx, [esi + eax + 4]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x68]
movzx ecx, byte [eax + 0x1dc]
test ecx, ecx
jne 0x52e404
mov edx, dword [ebp - 0x68]
movzx eax, byte [edx + 0x349]
test eax, eax
je 0x52e2cf
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x78]
mov ecx, dword [edx + 0x47c8]
and ecx, dword [eax + 0x47cc]
cmp ecx, 0xffffffff
je 0x52e2cf
mov edx, dword [ebp - 0x68]
mov eax, dword [edx + 0x47cc]
push eax
mov ecx, dword [edx + 0x47c8]
push ecx
push str._I64d
push 0x40
lea edx, [ebp - 0x60]
push edx
call fcn.00472341
add esp, 0x14
jmp 0x52e2e0
push 0x571478
lea eax, [ebp - 0x60]
push eax
call fcn.00471b1c
add esp, 8
push str.tsize
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x160]
add edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0052df60
add esp, 0x10
add eax, dword [ebp - 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x60]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x160]
add ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0052df60
add esp, 0x10
add eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x158]
push edx
push 0x571484
push 0x40
lea eax, [ebp - 0x60]
push eax
call fcn.00472341
add esp, 0x10
push str.blksize
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x160]
add edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0052df60
add esp, 0x10
add eax, dword [ebp - 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x60]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x160]
add ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0052df60
add esp, 0x10
add eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1c]
push edx
push 0x571490
push 0x40
lea eax, [ebp - 0x60]
push eax
call fcn.00472341
add esp, 0x10
push str.timeout
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x160]
add edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0052df60
add esp, 0x10
add eax, dword [ebp - 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x60]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x160]
add ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0052df60
add esp, 0x10
add eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + 0x4c]
mov esi, esp
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + 0x4c]
mov edx, dword [ecx + 0x18]
push edx
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x160]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
push ecx
call dword [sym.imp.WS2_32.dll_sendto]
cmp esi, esp
call fcn.00471e55
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 8]
je 0x52e480
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, esp
call fcn.00471e55
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
push ecx
call fcn.00471194
add esp, 8
push eax
push 0x57149c
mov edx, dword [ebp - 0x68]
push edx
call fcn.00472a1c
add esp, 0xc
mov esi, esp
mov eax, dword [ebp - 0x18]
push eax
call dword [0x567010]
add esp, 4
cmp esi, esp
call fcn.00471e55
jmp 0x52e51e
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x349]
test edx, edx
je 0x52e4be
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0052dfb0
add esp, 8
mov dword [ebp - 0x6c], eax
jmp 0x52e4d1
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0052e030
add esp, 8
mov dword [ebp - 0x6c], eax
jmp 0x52e51e
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0052dfb0
add esp, 8
mov dword [ebp - 0x6c], eax
jmp 0x52e51e
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0052e030
add esp, 8
mov dword [ebp - 0x6c], eax
jmp 0x52e51e
mov edx, dword [ebp + 8]
mov dword [edx], 3
jmp 0x52e51e
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.00472a1c
add esp, 8
mov eax, dword [ebp - 0x6c]
push edx
mov ecx, ebp
push eax
lea edx, [0x52e54c]
call fcn.00471914
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047120c
add esp, 0x78
cmp ebp, esp
call fcn.00471e55
mov esp, ebp
pop ebp
ret