Function at 0x40c930
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x415214
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x42001c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
push str.http:__qqhelper.qq.com:8080_site_media_QQTroubleShoot.exe
lea ecx, [ebp - 0x414]
mov dword [ebp - 0x424], eax
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringA::constructor_char_const__]
xor ebx, ebx
lea ecx, [ebp - 0x428]
mov dword [ebp - 4], ebx
call fcn.004121c0
push str.QQTroubleShoot.exe
push eax
lea ecx, [ebp - 0x420]
push ecx
mov byte [ebp - 4], 1
call dword [sym.imp.Common.dll_class_CTXStringW___cdecl_operator_class_CTXStringW_const___wchar_t_const__]
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call dword [sym.imp.Common.dll_public:_class_CTXStringW____thiscall_CTXStringW::operator_class_CTXStringW_const__]
mov byte [ebp - 4], 1
mov edi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x420]
call edi
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], bl
call edi
push ebx
push 0x80
push 2
push ebx
push 1
push 0x40000000
mov ecx, esi
call dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
lea ecx, [ebp - 0x414]
je 0x40cac5
push ebx
push 0x80000000
push ebx
push ebx
call dword [sym.imp.Common.dll_public:_char_const____thiscall_CTXStringA::operator_char_const__void_const]
mov edx, dword [ebp - 0x424]
push eax
mov eax, dword [edx]
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov edi, eax
cmp edi, ebx
je 0x40cabf
lea ecx, [ebp - 0x418]
push ecx
push 0x3ff
lea edx, [ebp - 0x410]
push edx
push edi
mov dword [ebp - 0x418], ebx
mov dword [ebp - 0x41c], ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x40cab1
mov eax, dword [ebp - 0x418]
cmp eax, ebx
je 0x40caf2
push ebx
lea ecx, [ebp - 0x41c]
push ecx
push eax
lea edx, [ebp - 0x410]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40cab1
mov eax, dword [ebp - 0x418]
cmp eax, dword [ebp - 0x41c]
jne 0x40cab1
lea ecx, [ebp - 0x418]
push ecx
push 0x3ff
lea edx, [ebp - 0x410]
push edx
push edi
mov dword [ebp - 0x418], ebx
mov dword [ebp - 0x41c], ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x40ca50
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x414]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringA::destructor_void_]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00413efc
mov esp, ebp
pop ebp
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea ecx, [ebp - 0x414]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringA::destructor_void_]
mov eax, 1
jmp 0x40cad4