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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push esi
mov dword [ebp - 0x58], str.octet
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x4c], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 0x374], 0
je 0x1003fed5
mov dword [ebp - 0x58], str.netascii
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x5c], ecx
cmp dword [ebp - 0x5c], 7
ja case.0x1003fee8.1
mov edx, dword [ebp - 0x5c]
jmp dword [edx*4 + 0x100402db]
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 0x1003ff27
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0xffffff9e
mov ecx, dword [ebp + 8]
mov dword [ecx], 3
mov eax, dword [ebp - 4]
jmp 0x100402d6
mov edx, dword [ebp - 0x4c]
cmp dword [edx + 0x3ac], 0
je 0x1003ff9b
push 2
mov eax, dword [ebp + 8]
add eax, 0x150
push eax
call fcn.100402fb
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 - 0x4c]
add ecx, 0x4828
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 0x1003ff99
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x482c]
push eax
mov ecx, dword [edx + 0x4828]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
call fcn.10031dc0
add esp, 0xc
jmp 0x1003ffae
push 1
mov eax, dword [ebp + 8]
add eax, 0x150
push eax
call fcn.100402fb
add esp, 8
push 0
push 0
lea ecx, [ebp - 0x50]
push ecx
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x47f8]
add edx, 1
push edx
mov eax, dword [ebp - 0x4c]
push eax
call fcn.1000d49f
add esp, 0x18
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1003ffe7
mov eax, dword [ebp - 4]
jmp 0x100402d6
push 0
mov ecx, dword [ebp - 0x58]
push ecx
push 0
mov edx, dword [ebp - 0x50]
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 sym.libcurl.dll_curl_msnprintf
add esp, 0x1c
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.1004fb70
add esp, 4
mov esi, eax
mov edx, dword [ebp - 0x58]
push edx
call fcn.1004fb70
add esp, 4
lea eax, [esi + eax + 4]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x4c]
cmp dword [ecx + 0x1ec], 0
jne 0x100401d6
mov edx, dword [ebp - 0x4c]
cmp dword [edx + 0x3ac], 0
je 0x10040095
mov eax, dword [ebp - 0x4c]
add eax, 0x4828
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 0x10040095
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 0x482c]
push edx
mov eax, dword [ecx + 0x4828]
push eax
push str._I64d
push 0x40
lea ecx, [ebp - 0x44]
push ecx
call sym.libcurl.dll_curl_msnprintf
add esp, 0x14
jmp 0x100400a6
push 0x1006656c
lea edx, [ebp - 0x44]
push edx
call fcn.100509f0
add esp, 8
push 0x10066570
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x150]
add ecx, dword [ebp - 0x54]
push ecx
mov edx, dword [ebp - 0x54]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.10040327
add esp, 0x10
mov ecx, dword [ebp - 0x54]
add ecx, eax
mov dword [ebp - 0x54], ecx
lea edx, [ebp - 0x44]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x150]
add ecx, dword [ebp - 0x54]
push ecx
mov edx, dword [ebp - 0x54]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.10040327
add esp, 0x10
mov ecx, dword [ebp - 0x54]
add ecx, eax
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x148]
push eax
push 0x10066578
push 0x40
lea ecx, [ebp - 0x44]
push ecx
call sym.libcurl.dll_curl_msnprintf
add esp, 0x10
push 0x1006657c
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x150]
add eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x54]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10040327
add esp, 0x10
mov ecx, dword [ebp - 0x54]
add ecx, eax
mov dword [ebp - 0x54], ecx
lea edx, [ebp - 0x44]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x150]
add ecx, dword [ebp - 0x54]
push ecx
mov edx, dword [ebp - 0x54]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.10040327
add esp, 0x10
mov ecx, dword [ebp - 0x54]
add ecx, eax
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
push eax
push 0x10066584
push 0x40
lea ecx, [ebp - 0x44]
push ecx
call sym.libcurl.dll_curl_msnprintf
add esp, 0x10
push str.timeout
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x150]
add eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x54]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10040327
add esp, 0x10
mov ecx, dword [ebp - 0x54]
add ecx, eax
mov dword [ebp - 0x54], ecx
lea edx, [ebp - 0x44]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x150]
add ecx, dword [ebp - 0x54]
push ecx
mov edx, dword [ebp - 0x54]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.10040327
add esp, 0x10
mov ecx, dword [ebp - 0x54]
add ecx, eax
mov dword [ebp - 0x54], 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 - 0x54]
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 - 0x48], eax
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x54]
je 0x10040240
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
push edx
call fcn.1003c041
add esp, 8
push eax
push 0x10066590
mov eax, dword [ebp - 0x4c]
push eax
call fcn.100350d3
add esp, 0xc
mov ecx, dword [ebp - 0x50]
push ecx
call dword [0x1005fda8]
add esp, 4
jmp 0x100402d3
mov edx, dword [ebp - 0x4c]
cmp dword [edx + 0x3ac], 0
je 0x10040273
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.1004036d
add esp, 8
mov dword [ebp - 4], eax
jmp 0x10040286
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.100403cb
add esp, 8
mov dword [ebp - 4], eax
jmp 0x100402d3
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1004036d
add esp, 8
mov dword [ebp - 4], eax
jmp 0x100402d3
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.100403cb
add esp, 8
mov dword [ebp - 4], eax
jmp 0x100402d3
mov edx, dword [ebp + 8]
mov dword [edx], 3
jmp 0x100402d3
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.100350d3
add esp, 8
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret