Function at 0x40857a
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push ebp
sub esp, 0x104
lea ebp, [esp - 4]
mov eax, dword [0x430158]
xor eax, ebp
mov dword [ebp + 0x104], eax
push 0x80
mov eax, 0x423a7b
call fcn.0040e02b
mov eax, dword [ebp + 0x118]
mov edi, dword [ebp + 0x110]
xor ebx, ebx
push ebx
push ebx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x11c]
push ebx
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x120]
push ebx
push str.BaiduToolbarReport
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.WININET.dll_InternetOpenA]
cmp eax, ebx
mov dword [ebp - 0x14], eax
jne 0x4085ff
mov dword [ebp - 0x54], str.Open_Inter_Fail
push 0x42c710
lea eax, [ebp - 0x54]
push eax
call fcn.0040e2d5
mov ecx, dword [ebp + 0x124]
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionA]
push 4
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x20]
push ecx
push 2
push eax
call esi
push 4
lea eax, [ebp - 0x20]
push eax
push 5
push dword [ebp - 0x14]
call esi
push 4
lea eax, [ebp - 0x20]
push eax
push 5
push dword [ebp - 0x14]
call esi
push 4
lea eax, [ebp - 0x20]
push eax
push 6
push dword [ebp - 0x14]
call esi
push 4
lea eax, [ebp - 0x20]
push eax
push 6
push dword [ebp - 0x14]
call esi
cmp edi, ebx
je 0x408660
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x408664
xor edi, edi
jmp 0x40867e
lea esi, [eax + eax]
mov eax, esi
call fcn.0040ee80
mov dword [ebp - 0x10], esp
mov eax, esp
push ebx
push esi
push edi
push eax
call fcn.004012a9
mov edi, eax
cmp dword [ebp - 0x1c], ebx
je 0x408694
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x408698
xor esi, esi
jmp 0x4086b4
lea esi, [eax + eax]
mov eax, esi
call fcn.0040ee80
mov dword [ebp - 0x10], esp
mov eax, esp
push ebx
push esi
push dword [ebp - 0x1c]
push eax
call fcn.004012a9
mov esi, eax
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp + 0x114]
push edi
push dword [ebp - 0x14]
call dword [sym.imp.WININET.dll_InternetConnectA]
cmp eax, ebx
mov dword [ebp - 0x28], eax
jne 0x4086e5
mov dword [ebp - 0x3c], str.Con_Inter_Fail_
push 0x42c710
lea eax, [ebp - 0x3c]
jmp 0x4085f9
push ebx
push 0x4400040
lea ecx, [ebp - 0x60]
push ecx
push ebx
push str.HTTP_1.0
push esi
push str.POST
push eax
mov dword [ebp - 0x60], 0x425778
mov dword [ebp - 0x5c], ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x18], esi
jne 0x408729
mov dword [ebp - 0x50], str.Open_Request_Fail_
push 0x42c710
lea eax, [ebp - 0x50]
jmp 0x4085f9
mov edi, dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
push SysReAllocString
push 0xffffffffffffffff
push str.Accept:___r_n
push esi
call edi
test eax, eax
jne 0x408756
mov dword [ebp - 0x34], str.additional_header_failed...
push 0x42c710
lea eax, [ebp - 0x34]
jmp 0x4085f9
push 0x10000000
push 0xffffffffffffffff
push str.Content_Type:_multipart_form_data__boundary__MULTI_PARTS_FORM_DATA_BOUNDARY_r_n
push esi
call edi
test eax, eax
jne 0x40877d
mov dword [ebp - 0x40], str.additional_header_failed...
push 0x42c710
lea eax, [ebp - 0x40]
jmp 0x4085f9
mov esi, dword [ebp - 0x24]
push 0x103
lea eax, [ebp + 1]
push ebx
add esi, 0xbc
push eax
mov dword [ebp - 0x2c], esi
mov byte [ebp], bl
call fcn.0040ede0
push esi
push str.Content_Length:__d_r_n
push 0xffffffffffffffff
lea eax, [ebp]
push 0x104
push eax
call fcn.0040f7c5
add esp, 0x20
push 0xa0000000
push 0xffffffffffffffff
lea eax, [ebp]
push eax
push dword [ebp - 0x18]
call edi
test eax, eax
jne 0x4087dc
mov dword [ebp - 0x58], str.additional_header_Len_failed...
push 0x42c710
lea eax, [ebp - 0x58]
jmp 0x4085f9
push 0xa
pop ecx
push ebx
xor eax, eax
push ebx
lea edi, [ebp - 0x8c]
rep stosd dword es:[edi], eax
push ebx
lea eax, [ebp - 0x8c]
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x8c], 0x28
mov dword [ebp - 0x70], esi
call dword [sym.imp.WININET.dll_HttpSendRequestExA]
test eax, eax
jne 0x408821
mov dword [ebp - 0x48], str.http_SendRequestEx_fail_
push 0x42c710
lea eax, [ebp - 0x48]
jmp 0x4085f9
push esi
call fcn.0040ea97
pop ecx
mov dword [ebp - 0x1c], eax
push 0x25
pop ecx
push dword [ebp - 0x24]
mov edi, eax
push dword [ebp - 0x4c]
mov esi, str.____MULTI_PARTS_FORM_DATA_BOUNDARY_r_nContent_Disposition:_form_data__name_userfile___filename_filename__r_nContent_Type:_application_octet_stream_r_n_r_n
rep movsd dword es:[edi], dword [esi]
lea edi, [eax + 0x94]
push edi
mov byte [ebp - 4], 1
call fcn.00410170
add edi, dword [ebp - 0x24]
add esp, 0xc
push 0xa
pop ecx
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x2c]
mov esi, str._r_n____MULTI_PARTS_FORM_DATA_BOUNDARY___r_n
push dword [ebp - 0x1c]
rep movsd dword es:[edi], dword [esi]
push dword [ebp - 0x18]
mov dword [ebp - 0x38], ebx
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
jne 0x40888b
mov dword [ebp - 0x44], str.Int_WriteFile
push 0x42c710
lea eax, [ebp - 0x44]
jmp 0x4085f9
push ebx
push 8
push ebx
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_HttpEndRequestA]
push dword [ebp - 0x1c]
call fcn.0040dbd8
pop ecx
jmp 0x4088c2
cmp dword [ebp - 0x18], ebx
je 0x4088d0
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0x28], ebx
je 0x4088de
push dword [ebp - 0x28]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0x14], ebx
je 0x4088ec
push dword [ebp - 0x14]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x30]
lea esp, [ebp - 0x9c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x104]
xor ecx, ebp
call fcn.0040dfe9
add ebp, 0x108
leave
ret