Function at 0x4075d0
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43b450
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x450440]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
push dword [ebp + 8]
call fcn.00407090
push eax
lea ecx, [esp + 0x1c]
call fcn.00404e30
mov dword [esp + 0x38], 0
push dword [esp + 0x18]
push str.URL:__ls
push 0x3b
push str.Stats::Send
call fcn.0040e8c0
add esp, 0x10
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], 0
push 0
push 0
push 0
push 0
push str.browser_downloader_1.0.1
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [esp + 0x28], eax
test eax, eax
je 0x407802
push 0
push 0x50
push dword [esi]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [esp + 0x24], eax
test eax, eax
je 0x4077f2
push 0
push 0
push 0
push 0
push dword [esp + 0x28]
push 0x447a10
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
je 0x4076bd
push 0
push 0
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4077a4
jmp 0x4076d4
call ebx
push eax
push str.hRequest_error__d_has_occurred._n
push 0x6f
push str.Stats::Send
call fcn.0040e8c0
add esp, 0x10
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4077a4
lea esp, [esp]
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x407718
call ebx
push eax
push str.Error__u_in_WinHttpQueryDataAvailable._n
call fcn.00420152
add esp, 8
mov eax, dword [esp + 0x14]
inc eax
push eax
call fcn.00420134
mov esi, eax
add esp, 4
test esi, esi
je 0x40778f
mov ecx, dword [esp + 0x14]
inc ecx
push ecx
push 0
push esi
call fcn.00422b60
add esp, 0xc
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x18]
push esi
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x407761
call ebx
push eax
push str.Error__u_in_WinHttpReadData._n
push 0x8f
jmp 0x40776c
push esi
push 0x447ab8
push 0x93
push str.Stats::Send
call fcn.0040e8c0
add esp, 0x10
push esi
call fcn.0041ff8b
add esp, 4
cmp dword [esp + 0x14], 0
ja 0x4076f0
jmp 0x4077a4
push str.Out_of_memory_n
call fcn.00420152
add esp, 4
mov dword [esp + 0x14], 0
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test edi, edi
je 0x4077b1
push edi
call esi
push dword [esp + 0x24]
call esi
push dword [esp + 0x28]
call esi
cmp dword [esp + 0x1c], 0
jne 0x4077d3
call ebx
push eax
push str.bResults_error__d_has_occurred._n
push 0xa4
jmp 0x407810
push dword [esp + 0x18]
push str.Stat_send_SUCCESS:__ls
push 0xa9
push str.Stats::Send
call fcn.0040e8c0
add esp, 0x10
mov bl, 1
jmp 0x40781f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.hConnect_error__d_has_occurred._n
push 0x61
jmp 0x407810
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.hSession_error__d_has_occurred._n
push 0x52
push str.Stats::Send
call fcn.0040e8c0
add esp, 0x10
xor bl, bl
mov dword [esp + 0x38], 0xffffffff
or ecx, 0xffffffff
mov esi, dword [esp + 0x18]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x407845
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4