Function at 0x40e760
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response
Set http header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 8], 0
push str.Sending_a_crash_report.
push 1
mov eax, dword [0x47ddcc]
push eax
call fcn.0040c000
add esp, 0xc
push 0
push 0
push 0
push 0
push str.WinHTTP_client_for_mudfish_2.0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x40e7dc
push str.WinHttpOpen_error
push 0
mov ecx, dword [0x47ddcc]
push ecx
call fcn.0040c000
add esp, 0xc
jmp 0x40eb7e
push 0
push 0x1bb
push str.crs.loxch.com
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x40e815
push str.WinHttpConnect_error
push 0
mov eax, dword [0x47ddcc]
push eax
call fcn.0040c000
add esp, 0xc
jmp 0x40eb7e
push 0x800000
push 0
push 0
push 0
push str._report_crash.php
push str.POST
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40e858
push str.WinHttpOpenRequest_error
push 0
mov edx, dword [0x47ddcc]
push edx
call fcn.0040c000
add esp, 0xc
jmp 0x40eb7e
mov dword [ebp - 0x24], 0x3300
push 4
lea eax, [ebp - 0x24]
push eax
push 0x1f
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x40e895
push str.WinHttpSetOption_error
push 0
mov edx, dword [0x47ddcc]
push edx
call fcn.0040c000
add esp, 0xc
jmp 0x40eb7e
push 0x20000000
push 0xffffffffffffffff
push str.Content_Type:_multipart_form_data__boundary______mudfishFormBoundaryj2U6RdY2ckKXjaso
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
je 0x40e8cf
push str.WinHttpAddRequestHeaders_error
push 0
mov ecx, dword [0x47ddcc]
push ecx
call fcn.0040c000
add esp, 0xc
jmp 0x40eb7e
push 1
push 0
push 0
push 0
call fcn.00407be0
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40e8fc
push 0x7b
push str.C:Work_ttol_binmudadmwin32_mudadm_larva.c
push str._vsb____0
call fcn.0041de99
add esp, 0xc
xor eax, eax
jne 0x40e8e2
mov ecx, dword [ebp + 8]
push ecx
call fcn.00408470
add esp, 4
test eax, eax
je 0x40e93b
mov edx, dword [ebp + 8]
push edx
call fcn.00408400
add esp, 4
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00408440
add esp, 4
push eax
push str.________mudfishFormBoundaryj2U6RdY2ckKXjaso_r_nContent_Disposition:_form_data__name_desc__r_n_r_n_.s_r_n
mov ecx, dword [ebp - 4]
push ecx
call fcn.00408070
add esp, 0x10
mov edx, dword [ebp + 0xc]
push edx
call fcn.0040eb90
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x40e9a4
push str.________mudfishFormBoundaryj2U6RdY2ckKXjaso_r_nContent_Disposition:_form_data__name_minidump___filename_minidumpfile__r_nContent_Type:_application_octet_stream_r_n_r_n
mov eax, dword [ebp - 4]
push eax
call fcn.00408070
add esp, 8
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00408440
add esp, 4
push eax
mov edx, dword [ebp - 0x18]
push edx
call fcn.00408400
add esp, 4
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.00407e20
add esp, 0xc
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00408480
add esp, 4
push 0x47c534
mov edx, dword [ebp - 4]
push edx
call fcn.00408070
add esp, 8
push str.________mudfishFormBoundaryj2U6RdY2ckKXjaso___r_n
mov eax, dword [ebp - 4]
push eax
call fcn.00408070
add esp, 8
mov ecx, dword [ebp - 4]
push ecx
call fcn.00408390
add esp, 4
push 0
mov edx, dword [ebp - 4]
push edx
call fcn.00408440
add esp, 4
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.00408440
add esp, 4
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00408400
add esp, 4
push eax
push 0
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x40ea2e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.WinHttpSendRequest_error__d
push 0
mov eax, dword [0x47ddcc]
push eax
call fcn.0040c000
add esp, 0x10
mov ecx, dword [ebp - 4]
push ecx
call fcn.00408480
add esp, 4
jmp 0x40eb7e
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x40ea69
push str.WinHttpReceiveResponse_error
push 0
mov eax, dword [0x47ddcc]
push eax
call fcn.0040c000
add esp, 0xc
mov ecx, dword [ebp - 4]
push ecx
call fcn.00408480
add esp, 4
jmp 0x40eb7e
mov dword [ebp - 0x10], 0
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x40ea9f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__u_in_WinHttpQueryDataAvailable.
push 0
mov ecx, dword [0x47ddcc]
push ecx
call fcn.0040c000
add esp, 0x10
mov edx, dword [ebp - 0x10]
add edx, 1
push edx
call fcn.00432c49
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x40ead5
push str.Out_of_memory
push 0
mov eax, dword [0x47ddcc]
push eax
call fcn.0040c000
add esp, 0xc
mov dword [ebp - 0x10], 0
jmp 0x40eb4a
mov ecx, dword [ebp - 0x10]
add ecx, 1
push ecx
push 0
mov edx, dword [ebp - 0x14]
push edx
call fcn.00412d20
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x40eb23
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__u_in_WinHttpReadData.
push 0
mov ecx, dword [0x47ddcc]
push ecx
call fcn.0040c000
add esp, 0x10
jmp 0x40eb3e
push 0xffffffffffffffff
mov edx, dword [ebp - 0x14]
push edx
push 0x47c6ec
push 1
mov eax, dword [0x47ddcc]
push eax
call fcn.0040c1f0
add esp, 0x14
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0042f891
add esp, 4
cmp dword [ebp - 0x10], 0
ja 0x40ea69
mov edx, dword [ebp - 4]
push edx
call fcn.00408480
add esp, 4
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov esp, ebp
pop ebp
ret