Function at 0x486b8e
Capabilities:
Read and send data from client to server
Read file on windows
Send data

Disassembly:
push 0x430
mov eax, 0x49ad8c
call fcn.004961c2
mov ebx, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x418], ebx
mov eax, dword [0x4c8014]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x414], eax
lea eax, [ebp - 0x414]
push eax
push ecx
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x420], esp
push eax
mov byte [ebp - 4], 1
call fcn.0045e829
mov ecx, esi
call fcn.004865a9
cmp eax, edi
jne 0x486c03
push 1
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x418], esp
push str.Error_formatting_attachment_part_header.
call fcn.0045ffe5
mov ecx, dword [esi + 0x24]
call fcn.00461a7e
jmp 0x486f23
mov dword [ebp - 0x43c], edi
mov dword [ebp - 0x438], edi
mov dword [ebp - 0x434], edi
push dword [ebp - 0x414]
lea ecx, [ebp - 0x43c]
mov byte [ebp - 4], 2
call fcn.00464854
mov dword [ebp - 0x420], eax
cmp eax, edi
jne 0x486c57
push 1
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x418], esp
push str.Error_converting_attachment_part_header_to_ASCII.
call fcn.0045ffe5
mov ecx, dword [esi + 0x24]
call fcn.00461a7e
jmp 0x486f14
lea ecx, [ebp - 0x428]
push ecx
push eax
mov dword [ebp - 0x428], edi
call sub.MSVCR100.dll_strlen
pop ecx
push eax
push dword [ebp - 0x420]
push ebx
mov ebx, dword [sym.imp.WININET.dll_InternetWriteFile]
call ebx
cmp eax, edi
jne 0x486c92
push 1
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x418], esp
push str.Error_uploading_attachment_part_header.
jmp 0x486c45
push dword [ebp - 0x428]
mov ecx, esi
call fcn.0048602b
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [esi + 0x14]
call fcn.004864c2
mov ecx, dword [esi + 0x18]
mov eax, dword [ebp - 0x420]
cmp eax, ecx
jne 0x486cd5
push 1
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x418], esp
push str.Error_searching_for_attachment_part_name.
jmp 0x486c45
push edi
lea ecx, [eax + 0x10]
call fcn.0045f46b
push eax
lea ecx, [ebp - 0x424]
call fcn.0045ffe5
push edi
push edi
push 3
push edi
push 1
push connect
push dword [ebp - 0x424]
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x41c], eax
cmp eax, 0xffffffff
jne 0x486d27
push 1
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x418], esp
push str.Error_opening_attachment_file.
jmp 0x486efc
mov dword [ebp - 0x42c], edi
jmp 0x486d92
push edi
lea eax, [ebp - 0x42c]
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, edi
je 0x486da3
cmp dword [ebp - 0x42c], edi
je 0x486dd2
lea eax, [ebp - 0x420]
push eax
push dword [ebp - 0x42c]
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x418]
mov dword [ebp - 0x420], edi
call ebx
cmp eax, edi
je 0x486eeb
push dword [ebp - 0x420]
mov ecx, esi
call fcn.0048602b
mov ecx, dword [esi + 0x24]
call fcn.00461490
test al, al
je 0x486d2f
jmp 0x486f09
push 1
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x418], esp
push str.Error_reading_data_from_attachment_file.
call fcn.0045ffe5
mov ecx, dword [esi + 0x24]
call fcn.00461a7e
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x486f09
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x4c8014]
mov dword [ebp - 0x41c], eax
lea eax, [ebp - 0x41c]
push eax
push ecx
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x420], esp
push eax
mov byte [ebp - 4], 4
call fcn.0045e829
mov ecx, esi
call fcn.00486452
cmp eax, edi
jne 0x486e3f
push 1
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x418], esp
push str.Error_formatting_attachment_part_footer.
call fcn.0045ffe5
mov ecx, dword [esi + 0x24]
call fcn.00461a7e
lea ecx, [ebp - 0x41c]
call fcn.0045ddba
jmp 0x486f09
push dword [ebp - 0x41c]
lea ecx, [ebp - 0x43c]
call fcn.00464854
mov dword [ebp - 0x420], eax
cmp eax, edi
jne 0x486e6d
push 1
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x418], esp
push str.Error_converting_attachment_part_footer_to_ASCII.
jmp 0x486e22
lea ecx, [ebp - 0x428]
push ecx
push eax
call sub.MSVCR100.dll_strlen
pop ecx
push eax
push dword [ebp - 0x420]
push dword [ebp - 0x418]
call ebx
cmp eax, edi
jne 0x486ea1
push 1
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x418], esp
push str.Error_uploading_attachment_part_footer.
jmp 0x486e22
push dword [ebp - 0x428]
mov ecx, esi
call fcn.0048602b
lea ecx, [ebp - 0x41c]
call fcn.0045ddba
lea ecx, [ebp - 0x424]
call fcn.0045ddba
lea ecx, [ebp - 0x43c]
mov byte [ebp - 4], 1
call fcn.0045fe4f
lea ecx, [ebp - 0x414]
call fcn.0045ddba
lea ecx, [ebp + 0xc]
call fcn.0045ddba
xor eax, eax
inc eax
jmp 0x486f38
push 1
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x418], esp
push str.Error_uploading_attachment_part_data.
call fcn.0045ffe5
mov ecx, dword [esi + 0x24]
call fcn.00461a7e
lea ecx, [ebp - 0x424]
call fcn.0045ddba
lea ecx, [ebp - 0x43c]
mov byte [ebp - 4], 1
call fcn.0045fe4f
lea ecx, [ebp - 0x414]
call fcn.0045ddba
lea ecx, [ebp + 0xc]
call fcn.0045ddba
xor eax, eax
call fcn.00496245
ret 8