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

Disassembly:
push ebp
lea ebp, [esp - 0x404]
sub esp, 0x404
push 0xffffffffffffffff
push 0x4af5fd
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4e8008]
xor eax, ebp
mov dword [ebp + 0x400], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 0x40c]
mov dword [ebp - 0x1c], ebx
and dword [ebp - 4], 0
mov eax, dword [0x4e8960]
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
push eax
push ecx
lea eax, [ebp + 0x410]
mov dword [ebp - 0x10], esp
mov ecx, esp
push eax
call fcn.0040180b
mov byte [ebp - 4], 2
mov byte [ebp - 4], 1
mov ecx, edi
call fcn.00448270
test eax, eax
jne 0x4484e9
mov esi, dword [edi + 0x14]
push 1
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.Error_formatting_attachment_part_header.
call fcn.00402ae6
mov byte [ebp - 4], 3
mov byte [ebp - 4], 1
mov ecx, esi
call fcn.00437bfa
xor esi, esi
jmp 0x4487d5
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x34]
push dword [ebp - 0x28]
call fcn.00403677
mov edx, eax
test edx, edx
jne 0x448525
mov esi, dword [edi + 0x14]
push 1
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.Error_converting_attachment_part_header_to_ASCII.
call fcn.00402ae6
mov byte [ebp - 4], 6
jmp 0x4485a4
and dword [ebp - 0x18], 0
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44852e
lea eax, [ebp - 0x18]
sub ecx, esi
push eax
push ecx
push edx
push ebx
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
jne 0x448564
mov esi, dword [edi + 0x14]
push 1
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.Error_uploading_attachment_part_header.
call fcn.00402ae6
mov byte [ebp - 4], 7
jmp 0x4485a4
push dword [ebp - 0x18]
mov ecx, edi
call fcn.00447dd0
lea eax, [ebp + 0x410]
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [edi + 0xc]
call fcn.004101c5
mov eax, dword [ebp - 0x10]
cmp eax, dword [edi + 0xc]
jne 0x4485b6
mov esi, dword [edi + 0x14]
push 1
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.Error_searching_for_attachment_part_name.
call fcn.00402ae6
mov byte [ebp - 4], 8
mov byte [ebp - 4], 5
mov ecx, esi
call fcn.00437bfa
xor esi, esi
jmp 0x4487c9
xor ebx, ebx
lea ecx, [eax + 0x14]
push ebx
call fcn.00402bdb
push eax
lea ecx, [ebp - 0x10]
call fcn.00402ae6
mov byte [ebp - 4], 9
push ebx
push ebx
push 3
push ebx
push 3
push connect
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, dword [edi + 0x14]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x448615
push 1
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.Error_opening_attachment_file.
call fcn.00402ae6
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 9
mov ecx, esi
call fcn.00437bfa
jmp 0x4487bb
and dword [ebp - 0x24], 0
mov ecx, esi
call fcn.00437ae6
test al, al
jne 0x4487bb
mov esi, dword [ebp - 0x1c]
push 0
lea eax, [ebp - 0x24]
push eax
push 0x400
lea eax, [ebp]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44878e
cmp dword [ebp - 0x24], 0
je 0x4486a4
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x24]
lea eax, [ebp]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x448684
push dword [ebp - 0x14]
mov ecx, edi
call fcn.00447dd0
mov ecx, dword [edi + 0x14]
call fcn.00437ae6
test al, al
je 0x44862b
jmp 0x4487bb
mov esi, dword [edi + 0x14]
push 1
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.Error_uploading_attachment_part_data.
call fcn.00402ae6
mov byte [ebp - 4], 0xc
jmp 0x448605
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x4e8960]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x14]
push eax
push ecx
lea eax, [ebp + 0x410]
mov dword [ebp - 0x20], esp
mov ecx, esp
push eax
call fcn.0040180b
mov byte [ebp - 4], 0xe
mov byte [ebp - 4], 0xd
mov ecx, edi
call fcn.00448230
test eax, eax
jne 0x4486fc
mov esi, dword [edi + 0x14]
push 1
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Error_formatting_attachment_part_footer.
call fcn.00402ae6
mov byte [ebp - 4], 0xf
jmp 0x448764
push dword [ebp - 0x14]
lea ecx, [ebp - 0x34]
call fcn.00403677
mov edx, eax
test edx, edx
jne 0x448729
mov esi, dword [edi + 0x14]
push 1
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Error_converting_attachment_part_footer_to_ASCII.
call fcn.00402ae6
mov byte [ebp - 4], 0x10
jmp 0x448764
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44872e
lea eax, [ebp - 0x18]
sub ecx, esi
push eax
push ecx
push edx
push dword [ebp - 0x1c]
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
jne 0x448773
mov esi, dword [edi + 0x14]
push 1
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Error_uploading_attachment_part_footer.
call fcn.00402ae6
mov byte [ebp - 4], 0x11
mov byte [ebp - 4], 0xd
mov ecx, esi
call fcn.00437bfa
xor esi, esi
jmp 0x448780
push dword [ebp - 0x18]
mov ecx, edi
call fcn.00447dd0
xor esi, esi
inc esi
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x14]
call fcn.004019df
jmp 0x4487bd
mov esi, dword [edi + 0x14]
push 1
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Error_reading_data_from_attachment_file.
call fcn.00402ae6
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 9
mov ecx, esi
call fcn.00437bfa
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x10]
call fcn.004019df
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.00401a38
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004019df
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x410]
call fcn.004019df
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x400]
xor ecx, ebp
call fcn.00413912
add ebp, 0x404
leave
ret 8