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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push esi
push edi
lea edi, [ebp - 0x11c]
mov ecx, 0x47
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x7a3104]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x11c], edx
mov eax, dword [ebp - 0x11c]
sub eax, 3
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 4
ja case.0x5e92ab.1
mov ecx, dword [ebp - 0x11c]
jmp dword [ecx*4 + 0x5e96e4]
mov edx, dword [ebp + 8]
add edx, 0x158
push edx
call fcn.005eaa20
add esp, 4
movzx eax, ax
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + 0x154]
add edx, 1
and edx, 0xffff
cmp edx, dword [ebp - 0xc]
jne 0x5e92ee
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0
jmp 0x5e9341
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + 0x154]
cmp edx, dword [ebp - 0xc]
jne 0x5e9314
mov eax, dword [ebp - 0xc]
push eax
push str.Received_last_DATA_packet_block__d_again._n
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00514800
add esp, 0xc
jmp 0x5e9341
mov edx, dword [ebp + 8]
movzx eax, word [edx + 0x154]
add eax, 1
and eax, 0xffff
push eax
mov ecx, dword [ebp - 0xc]
push ecx
push str.Received_unexpected_DATA_packet_block__d__expecting_block__d_n
mov edx, dword [ebp - 0x10]
push edx
call fcn.00514800
add esp, 0x10
jmp 0x5e9698
mov eax, dword [ebp + 8]
mov cx, word [ebp - 0xc]
mov word [eax + 0x154], cx
push 4
mov edx, dword [ebp + 8]
add edx, 0x15c
push edx
call fcn.005ea970
add esp, 8
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0x154]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x15c
push edx
call fcn.005ea9b0
add esp, 8
mov esi, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x140]
push ecx
mov edx, dword [ebp + 8]
add edx, 0xc0
push edx
push 0
push 4
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x15c]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x14]
push eax
call dword [sym.imp.WS2_32.dll_sendto]
cmp esi, esp
call fcn.00516fe7
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jge 0x5e9401
push 0x100
lea ecx, [ebp - 0x114]
push ecx
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, esp
call fcn.00516fe7
push eax
call fcn.00514f4e
add esp, 0xc
push eax
push 0x79fcd4
mov edx, dword [ebp - 0x10]
push edx
call fcn.00518f9a
add esp, 0xc
mov eax, 0x37
jmp 0x5e969a
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14c]
add ecx, 4
mov edx, dword [ebp + 8]
cmp dword [edx + 0x144], ecx
jge 0x5e9423
mov eax, dword [ebp + 8]
mov dword [eax], 3
jmp 0x5e942c
mov ecx, dword [ebp + 8]
mov dword [ecx], 1
mov edx, dword [ebp + 8]
add edx, 0x38
push edx
call fcn.005e9230
add esp, 4
jmp 0x5e9698
xor eax, eax
mov ecx, dword [ebp + 8]
mov word [ecx + 0x154], ax
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], 0
push 4
mov eax, dword [ebp + 8]
add eax, 0x15c
push eax
call fcn.005ea970
add esp, 8
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + 0x154]
push edx
mov eax, dword [ebp + 8]
add eax, 0x15c
push eax
call fcn.005ea9b0
add esp, 8
mov esi, esp
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x140]
push edx
mov eax, dword [ebp + 8]
add eax, 0xc0
push eax
push 0
push 4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x15c]
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.00516fe7
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jge 0x5e9505
push 0x100
lea edx, [ebp - 0x114]
push edx
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, esp
call fcn.00516fe7
push eax
call fcn.00514f4e
add esp, 0xc
push eax
push 0x79fcd8
mov eax, dword [ebp - 0x10]
push eax
call fcn.00518f9a
add esp, 0xc
mov eax, 0x37
jmp 0x5e969a
mov ecx, dword [ebp + 8]
mov dword [ecx], 1
mov edx, dword [ebp + 8]
add edx, 0x38
push edx
call fcn.005e9230
add esp, 4
jmp 0x5e9698
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 [eax + 0x18]
push ecx
mov edx, dword [ebp + 8]
movzx eax, word [edx + 0x154]
add eax, 1
and eax, 0xffff
push eax
push 0x79fcdc
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00514800
add esp, 0x10
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 0x18]
cmp ecx, dword [eax + 0x20]
jle 0x5e9582
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0xffffff9d
mov eax, dword [ebp + 8]
mov dword [eax], 3
jmp 0x5e9602
mov esi, esp
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x140]
push edx
mov eax, dword [ebp + 8]
add eax, 0xc0
push eax
push 0
push 4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x15c]
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.00516fe7
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jge 0x5e9602
push 0x100
lea edx, [ebp - 0x114]
push edx
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, esp
call fcn.00516fe7
push eax
call fcn.00514f4e
add esp, 0xc
push eax
push 0x79fd10
mov eax, dword [ebp - 0x10]
push eax
call fcn.00518f9a
add esp, 0xc
mov eax, 0x37
jmp 0x5e969a
jmp 0x5e9698
push 5
mov ecx, dword [ebp + 8]
add ecx, 0x15c
push ecx
call fcn.005ea970
add esp, 8
mov edx, dword [ebp + 8]
movzx eax, word [edx + 0x154]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x15c
push ecx
call fcn.005ea9b0
add esp, 8
mov esi, esp
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x140]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xc0
push ecx
push 0
push 4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x15c]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
push edx
call dword [sym.imp.WS2_32.dll_sendto]
cmp esi, esp
call fcn.00516fe7
mov eax, dword [ebp + 8]
mov dword [eax], 3
jmp 0x5e9698
push str.tftp_rx:_internal_error
push 0x79fd2c
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00518f9a
add esp, 0xc
mov eax, 0x47
jmp 0x5e969a
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x5e96c8]
call fcn.005163b2
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005150f7
add esp, 0x11c
cmp ebp, esp
call fcn.00516fe7
mov esp, ebp
pop ebp
ret