Function at 0x41b4d0
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42adfb
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x44c264]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x14000000
xor edi, edi
push edi
push edi
push edi
push str.Mozilla_4.0__compatible__MSIE_5.00__Windows_98_
mov dword [ebp - 0x18], edi
call dword [sym.imp.WININET.dll_InternetOpenW]
cmp eax, edi
mov dword [esi + 0x5c], eax
je 0x41b544
push 0x41b300
push eax
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
cmp eax, 0xffffffff
jne 0x41b55b
push 0xe0
push str..NetworkHttp_Download.cpp
push str.Assert_failed___File:_s__line:_d__operation:::InternetSetStatusCallback_m_hInternet___INTERNET_STATUS_CALLBACK_CHttp_Download::InternetStatusCallback____INTERNET_INVALID_STATUS_CALLBACK
push 4
call dword [sym.imp.QQMusicCommon.dll_void___cdecl_qqmusic::WriteLog_unsigned_long_int__wchar_t_const__]
add esp, 0x10
mov eax, 2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x44cc60]
mov edx, dword [eax + 0xc]
mov ecx, 0x44cc60
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], edi
call dword [sym.imp.QQMusicCommon.dll_public:_void___thiscall_UrlHelper::constructor_void_]
mov eax, dword [esi + 0x24]
mov ecx, dword [eax - 0xc]
cmp ecx, edi
mov byte [ebp - 4], 1
jne 0x41b5aa
mov eax, dword [esi + 0x1c]
sub eax, 0x10
push eax
call fcn.00401330
add esp, 4
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 2
mov ebx, 1
jmp 0x41b5c8
add eax, 0xfffffff0
push eax
call fcn.00401330
add esp, 4
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 3
mov ebx, 2
lea eax, [ebp - 0x1c]
mov eax, dword [eax]
sub eax, 0x10
push eax
mov dword [ebp - 0x18], ebx
call fcn.00401330
lea edi, [eax + 0x10]
add esp, 4
mov dword [ebp - 0x14], edi
test bl, 2
mov dword [ebp - 4], 5
je 0x41b613
mov eax, dword [ebp - 0x1c]
and ebx, 0xfffffffd
add eax, 0xfffffff0
mov dword [ebp - 0x18], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b613
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, 1
mov byte [ebp - 4], 6
je 0x41b63b
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b63b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
push str.CHttp_Download::BeforeDownload____strUrl___s
push 2
call dword [sym.imp.QQMusicCommon.dll_void___cdecl_qqmusic::WriteLog_unsigned_long_int__wchar_t_const__]
add esp, 8
mov dword [ebp - 0x1c], esp
lea ebx, [edi - 0x10]
mov dword [ebp - 0x1c], esp
push ebx
call fcn.00401330
mov ecx, dword [ebp - 0x1c]
add eax, 0x10
mov dword [ecx], eax
add esp, 4
lea ecx, [ebp - 0x54]
call dword [sym.imp.QQMusicCommon.dll_public:_int___thiscall_UrlHelper::ParseUrl_class_ATL::CStringT_wchar_t__class_ATL::StrTraitATL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____]
test eax, eax
jne 0x41b6ea
push str.CHttp_Download::BeforeDownload____ParseUrl_failed.
push 4
call dword [sym.imp.QQMusicCommon.dll_void___cdecl_qqmusic::WriteLog_unsigned_long_int__wchar_t_const__]
add esp, 8
mov byte [ebp - 4], 1
lea edx, [ebx + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x41b6a0
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0
call dword [sym.imp.QQMusicCommon.dll_public_virtual:_void___thiscall_UrlHelper::destructor_void_]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b6d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0x40]
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00401820
lea edx, [ebp - 0x20]
lea ecx, [esi + 0x20]
push edx
call fcn.00401820
test ebx, ebx
movzx edi, word [ebp - 0x4c]
je 0x41b75b
push 0x100
push str..NetworkHttp_Download.cpp
push str.Assert_failed___File:_s__line:_d__operation:nScheme__ST_HTTP
push 4
call dword [sym.imp.QQMusicCommon.dll_void___cdecl_qqmusic::WriteLog_unsigned_long_int__wchar_t_const__]
add esp, 0x10
lea ecx, [ebp - 0x14]
call fcn.00412f60
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0
call dword [sym.imp.QQMusicCommon.dll_public_virtual:_void___thiscall_UrlHelper::destructor_void_]
lea ecx, [ebp - 0x10]
call fcn.00412f60
mov eax, 2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ebx, [esi + 0x68]
mov ecx, ebx
call dword [sym.imp.QQMusicCommon.dll_public:_void___thiscall_CQMPEvent::Reset_void_]
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi + 0x5c]
push esi
push 0
push 3
push 0
push 0
push edi
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetConnectW]
test eax, eax
mov dword [esi + 0x60], eax
jne 0x41b85e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x41b7aa
push 0x10b
push str..NetworkHttp_Download.cpp
push str.Assert_failed___File:_s__line:_d__operation:::GetLastError____ERROR_IO_PENDING
jmp 0x41b71c
mov edx, dword [esi + 0x48]
push 1
push edx
mov ecx, ebx
call dword [sym.imp.QQMusicCommon.dll_public:_void____thiscall_CQMPEvent::Get_void_const]
push eax
mov ecx, esi
call dword [sym.imp.QQMusicCommon.dll_public:_void____thiscall_CQMPThreadBase::QueryEventByTime_void___unsigned_long_int__bool_]
mov edi, eax
test edi, edi
je 0x41b82a
cmp edi, dword [esi + 4]
jne 0x41b800
lea ecx, [ebp - 0x14]
call fcn.00412f60
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0
call dword [sym.imp.QQMusicCommon.dll_public_virtual:_void___thiscall_UrlHelper::destructor_void_]
lea ecx, [ebp - 0x10]
call fcn.00412f60
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, ebx
call dword [sym.imp.QQMusicCommon.dll_public:_void____thiscall_CQMPEvent::Get_void_const]
cmp edi, eax
jne 0x41b727
cmp dword [esi + 0x60], 0
jne 0x41b85e
push 0x11a
push str..NetworkHttp_Download.cpp
push str.Assert_failed___File:_s__line:_d__operation:m_hConnect
jmp 0x41b71c
lea ecx, [ebp - 0x14]
call fcn.00412f60
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0
call dword [sym.imp.QQMusicCommon.dll_public_virtual:_void___thiscall_UrlHelper::destructor_void_]
lea ecx, [ebp - 0x10]
call fcn.00412f60
mov eax, 7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.00412f60
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0
call dword [sym.imp.QQMusicCommon.dll_public_virtual:_void___thiscall_UrlHelper::destructor_void_]
lea ecx, [ebp - 0x10]
call fcn.00412f60
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret