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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x629af0]
xor eax, ebp
mov dword [ebp - 0xc], eax
push esi
mov dword [ebp - 4], str.octet
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x58]
cmp dword [eax + 0x2f4], 0
je 0x4563ad
mov dword [ebp - 4], str.netascii
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x64], ecx
cmp dword [ebp - 0x64], 7
ja case.0x4563c0.1
mov edx, dword [ebp - 0x64]
jmp dword [edx*4 + 0x4567b4]
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 0x4563ff
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0xffffff9e
mov ecx, dword [ebp + 8]
mov dword [ecx], 3
mov eax, dword [ebp - 0x5c]
jmp 0x4567a2
mov edx, dword [ebp - 0x58]
cmp dword [edx + 0x32c], 0
je 0x456474
push 2
mov eax, dword [ebp + 8]
add eax, 0x160
push eax
call fcn.004567e0
add esp, 8
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x160]
add edx, 4
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov dword [eax + 0x114], edx
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x68]
mov ecx, dword [edx + 0x86f8]
and ecx, dword [eax + 0x86fc]
cmp ecx, 0xffffffff
je 0x456472
mov edx, dword [ebp - 0x58]
mov eax, dword [edx + 0x86fc]
push eax
mov ecx, dword [edx + 0x86f8]
push ecx
mov edx, dword [ebp - 0x58]
push edx
call fcn.0046cd90
add esp, 0xc
jmp 0x456487
push 1
mov eax, dword [ebp + 8]
add eax, 0x160
push eax
call fcn.004567e0
add esp, 8
push 0
push 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
mov eax, dword [edx]
mov ecx, dword [eax + 0x86c8]
add ecx, 1
push ecx
mov edx, dword [ebp - 0x58]
push edx
call fcn.00471270
add esp, 0x10
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
jne 0x4564bc
mov eax, 0x1b
jmp 0x4567a2
push 0
mov eax, dword [ebp - 4]
push eax
push 0
mov ecx, dword [ebp - 0x60]
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.0044b1d0
add esp, 0x1c
mov eax, dword [ebp - 0x60]
push eax
call fcn.0057e4d0
add esp, 4
mov esi, eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.0057e4d0
add esp, 4
lea edx, [esi + eax + 4]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x58]
cmp dword [eax + 0x32c], 0
je 0x45655c
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x6c]
mov ecx, dword [edx + 0x86f8]
and ecx, dword [eax + 0x86fc]
cmp ecx, 0xffffffff
je 0x45655c
mov edx, dword [ebp - 0x58]
mov eax, dword [edx + 0x86fc]
push eax
mov ecx, dword [edx + 0x86f8]
push ecx
push str._I64d
push 0x40
lea edx, [ebp - 0x50]
push edx
call fcn.0044b1d0
add esp, 0x14
jmp 0x45656d
push 0x5cb8fc
lea eax, [ebp - 0x50]
push eax
call fcn.0057ec40
add esp, 8
push str.tsize
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x160]
add edx, dword [ebp - 0x54]
push edx
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00456810
add esp, 0x10
add eax, dword [ebp - 0x54]
mov dword [ebp - 0x54], eax
lea edx, [ebp - 0x50]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x160]
add ecx, dword [ebp - 0x54]
push ecx
mov edx, dword [ebp - 0x54]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00456810
add esp, 0x10
add eax, dword [ebp - 0x54]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x158]
push edx
push 0x5c9960
push 0x40
lea eax, [ebp - 0x50]
push eax
call fcn.0044b1d0
add esp, 0x10
push str.blksize
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x160]
add edx, dword [ebp - 0x54]
push edx
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00456810
add esp, 0x10
add eax, dword [ebp - 0x54]
mov dword [ebp - 0x54], eax
lea edx, [ebp - 0x50]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x160]
add ecx, dword [ebp - 0x54]
push ecx
mov edx, dword [ebp - 0x54]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00456810
add esp, 0x10
add eax, dword [ebp - 0x54]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1c]
push edx
push 0x5c9960
push 0x40
lea eax, [ebp - 0x50]
push eax
call fcn.0044b1d0
add esp, 0x10
push str.timeout
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x160]
add edx, dword [ebp - 0x54]
push edx
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00456810
add esp, 0x10
add eax, dword [ebp - 0x54]
mov dword [ebp - 0x54], eax
lea edx, [ebp - 0x50]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x160]
add ecx, dword [ebp - 0x54]
push ecx
mov edx, dword [ebp - 0x54]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00456810
add esp, 0x10
add eax, dword [ebp - 0x54]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + 0x4c]
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 - 0x54]
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]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0x54]
je 0x4566fb
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
push ecx
call fcn.00435db0
add esp, 8
push eax
push 0x5ca2dc
mov edx, dword [ebp - 0x58]
push edx
call fcn.004440d0
add esp, 0xc
cmp dword [ebp - 0x60], 0
je 0x456715
mov eax, dword [ebp - 0x60]
push eax
call dword [0x6252e8]
add esp, 4
mov dword [ebp - 0x60], 0
xor ecx, ecx
jne 0x4566fb
jmp 0x45679f
mov edx, dword [ebp - 0x58]
cmp dword [edx + 0x32c], 0
je 0x45673f
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00456860
add esp, 8
mov dword [ebp - 0x5c], eax
jmp 0x456752
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004568c0
add esp, 8
mov dword [ebp - 0x5c], eax
jmp 0x45679f
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00456860
add esp, 8
mov dword [ebp - 0x5c], eax
jmp 0x45679f
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004568c0
add esp, 8
mov dword [ebp - 0x5c], eax
jmp 0x45679f
mov edx, dword [ebp + 8]
mov dword [edx], 3
jmp 0x45679f
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.004440d0
add esp, 8
mov eax, dword [ebp - 0x5c]
pop esi
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0057976c
mov esp, ebp
pop ebp
ret