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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10024e01
mov eax, dword fs:[0]
push eax
mov eax, 0x11f04
call fcn.10021250
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x11f10]
mov ecx, 0x47c1
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x10031424]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
push 1
push 3
lea ecx, [ebp - 0xfe14]
call fcn.1000f9e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xfe3c]
call fcn.1000d9b0
mov byte [ebp - 4], 1
mov esi, esp
push 2
push 0
push 0
mov ecx, dword [ebp + 8]
call dword [sym.imp.MSVCP100D.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int_]
cmp esi, esp
call fcn.10021000
mov esi, esp
lea eax, [ebp - 0x11edc]
push eax
mov ecx, dword [ebp + 8]
call dword [sym.imp.MSVCP100D.dll_public:_class_std::fpos_int____thiscall_std::basic_istream_char__struct_std::char_traits_char__::tellg_void_]
cmp esi, esp
call fcn.10021000
mov ecx, eax
call fcn.10013490
mov dword [ebp - 0xfd4c], eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x11ebc], esp
push 0
push 0
call fcn.10013360
mov ecx, dword [ebp + 8]
call dword [sym.imp.MSVCP100D.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::seekg_class_std::fpos_int__]
push 0x30
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x24]
push ecx
lea ecx, [ebp - 0x11f04]
call fcn.1000da50
mov dword [ebp - 0x11f0c], eax
mov edx, dword [ebp - 0x11f0c]
mov dword [ebp - 0x11f10], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x11f10]
push eax
lea ecx, [ebp - 0xfe3c]
call fcn.1000dbc0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x11f04]
call fcn.10002320
mov esi, esp
push 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x24]
push ecx
lea ecx, [ebp - 0xfe3c]
call fcn.10002410
push eax
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x350]
push eax
call dword [sym.imp.WS2_32.dll_send]
cmp esi, esp
call fcn.10021000
mov dword [ebp - 0xfd64], eax
mov eax, dword [ebp - 0xfd64]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.1001a090
movzx ecx, al
test ecx, ecx
je 0x10019e54
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xfe3c]
call fcn.10002320
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xfe14]
call fcn.10005f60
jmp 0x1001a000
mov dword [ebp - 0xfe48], 0
jmp 0x10019e6f
mov eax, dword [ebp - 0xfe48]
add eax, 1
mov dword [ebp - 0xfe48], eax
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xfd4c]
xor edx, edx
div dword [ecx + 0x28]
cmp dword [ebp - 0xfe48], eax
jae 0x10019f34
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x28]
xor edx, edx
mov esi, esp
push edx
push ecx
lea eax, [ebp - 0xfd40]
push eax
mov ecx, dword [ebp + 8]
call dword [sym.imp.MSVCP100D.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::read_char___long_long___int64__]
cmp esi, esp
call fcn.10021000
mov esi, esp
push 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x28]
push ecx
lea edx, [ebp - 0xfd40]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x350]
push ecx
call dword [sym.imp.WS2_32.dll_send]
cmp esi, esp
call fcn.10021000
mov dword [ebp - 0xfd64], eax
mov eax, dword [ebp - 0xfd64]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.1001a090
movzx ecx, al
test ecx, ecx
je 0x10019f17
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xfe3c]
call fcn.10002320
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xfe14]
call fcn.10005f60
jmp 0x1001a000
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x28]
push ecx
push 0
lea edx, [ebp - 0xfd40]
push edx
call sub.MSVCR100D.dll_memset
add esp, 0xc
jmp 0x10019e60
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xfd4c]
xor edx, edx
div dword [ecx + 0x28]
mov dword [ebp - 0xfd58], edx
cmp dword [ebp - 0xfd58], 0
je 0x10019fdf
mov eax, dword [ebp - 0xfd58]
cdq
mov esi, esp
push edx
push eax
lea eax, [ebp - 0x11df0]
push eax
mov ecx, dword [ebp + 8]
call dword [sym.imp.MSVCP100D.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::read_char___long_long___int64__]
cmp esi, esp
call fcn.10021000
mov esi, esp
push 0
mov eax, dword [ebp - 0xfd58]
push eax
lea ecx, [ebp - 0x11df0]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x350]
push eax
call dword [sym.imp.WS2_32.dll_send]
cmp esi, esp
call fcn.10021000
mov dword [ebp - 0xfd64], eax
mov eax, dword [ebp - 0xfd64]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.1001a090
movzx ecx, al
test ecx, ecx
je 0x10019fdf
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xfe3c]
call fcn.10002320
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xfe14]
call fcn.10005f60
jmp 0x1001a000
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xfe3c]
call fcn.10002320
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xfe14]
call fcn.10005f60
push edx
mov ecx, ebp
push eax
lea edx, [0x1001a03c]
call fcn.10021030
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10021220
add esp, 0x11f10
cmp ebp, esp
call fcn.10021000
mov esp, ebp
pop ebp
ret 4