Function at 0x4868d9
Capabilities:
Send data

Disassembly:
push 0x50
mov eax, 0x49ad33
call fcn.004961c2
mov ebx, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x5c], ebx
mov eax, dword [0x4c8014]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push ecx
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x30], esp
push eax
mov byte [ebp - 4], 1
call fcn.0045e829
mov ecx, esi
call fcn.00486552
cmp eax, edi
jne 0x48693c
push 1
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.Error_formatting_text_part_header.
call fcn.0045ffe5
mov ecx, dword [esi + 0x24]
call fcn.00461a7e
jmp 0x486b74
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], edi
push dword [ebp - 0x34]
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.00464854
mov dword [ebp - 0x44], eax
cmp eax, edi
jne 0x48697b
push 1
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.Error_converting_text_part_header_to_ASCII.
call fcn.0045ffe5
mov ecx, dword [esi + 0x24]
call fcn.00461a7e
jmp 0x486b68
lea ecx, [ebp - 0x3c]
push ecx
push eax
mov dword [ebp - 0x3c], edi
call sub.MSVCR100.dll_strlen
pop ecx
push eax
push dword [ebp - 0x44]
push ebx
mov ebx, dword [sym.imp.WININET.dll_InternetWriteFile]
call ebx
cmp eax, edi
jne 0x4869aa
push 1
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.Error_uploading_text_part_header.
jmp 0x486969
push dword [ebp - 0x3c]
mov ecx, esi
call fcn.0048602b
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [esi + 4]
call fcn.00486481
mov ecx, dword [ebp - 0x58]
cmp ecx, dword [esi + 8]
jne 0x4869dc
push 1
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.Error_searching_for_text_part_header_name.
jmp 0x486969
mov eax, dword [ecx + 0x20]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x40], edi
jmp 0x486a5e
mov ecx, dword [ebp - 0x30]
sub ecx, dword [ebp - 0x40]
mov eax, 0x400
cmp ecx, eax
jbe 0x4869fb
mov dword [ebp - 0x38], eax
jmp 0x486a02
mov dword [ebp - 0x38], ecx
cmp ecx, edi
je 0x486a73
push dword [ebp - 0x38]
mov ecx, dword [ebp - 0x58]
push dword [ebp - 0x40]
lea eax, [ebp - 0x2c]
push eax
add ecx, 0x10
call fcn.00486879
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 3
mov dword [ebp - 0x44], edi
jae 0x486a2a
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x44]
push ecx
push dword [ebp - 0x38]
push eax
push dword [ebp - 0x5c]
call ebx
cmp eax, edi
je 0x486b42
push dword [ebp - 0x44]
mov ecx, esi
call fcn.0048602b
mov eax, dword [ebp - 0x38]
add dword [ebp - 0x40], eax
push edi
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00461e79
mov ecx, dword [esi + 0x24]
call fcn.00461490
test al, al
je 0x4869e7
jmp 0x486b68
mov eax, dword [0x4c8014]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
push ecx
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x30], esp
push eax
mov byte [ebp - 4], 4
call fcn.0045e829
mov ecx, esi
call fcn.00486423
cmp eax, edi
jne 0x486ac5
push 1
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.Error_formatting_text_part_footer.
call fcn.0045ffe5
mov ecx, dword [esi + 0x24]
call fcn.00461a7e
lea ecx, [ebp - 0x38]
call fcn.0045ddba
jmp 0x486b68
push dword [ebp - 0x38]
lea ecx, [ebp - 0x54]
call fcn.00464854
mov dword [ebp - 0x30], eax
cmp eax, edi
jne 0x486ae7
push 1
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.Error_converting_text_part_footer_to_ASCII.
jmp 0x486aab
lea ecx, [ebp - 0x3c]
push ecx
push eax
call sub.MSVCR100.dll_strlen
pop ecx
push eax
push dword [ebp - 0x30]
push dword [ebp - 0x5c]
call ebx
cmp eax, edi
jne 0x486b0f
push 1
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.Error_uploading_text_part_footer.
jmp 0x486aab
push dword [ebp - 0x3c]
mov ecx, esi
call fcn.0048602b
lea ecx, [ebp - 0x38]
call fcn.0045ddba
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.0045fe4f
lea ecx, [ebp - 0x34]
call fcn.0045ddba
lea ecx, [ebp + 0xc]
call fcn.0045ddba
xor eax, eax
inc eax
jmp 0x486b86
push 1
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.Error_uploading_text_part_data.
call fcn.0045ffe5
mov ecx, dword [esi + 0x24]
call fcn.00461a7e
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.00461e79
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.0045fe4f
lea ecx, [ebp - 0x34]
call fcn.0045ddba
lea ecx, [ebp + 0xc]
call fcn.0045ddba
xor eax, eax
call fcn.00496245
ret 8