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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x406d22
push eax
mov eax, 0x1f8c
mov dword fs:[0], esp
call fcn.00406a10
push ebx
push esi
push edi
xor ebx, ebx
push 0x38
lea eax, [ebp - 0x144]
push ebx
push eax
mov dword [ebp - 0x94], ebx
call sub.MSVCR100.dll_memset
mov ecx, 0x43
mov esi, str.https:__ssl.xui.ptlogin2.weiyun.com_cgi_bin_xlogin_appid527020901daid372low_login0qlogin_auto_login1s_urlhttps:__www.weiyun.com_web_callback_common_qq_login_ok.html_login_succstyle20hide_title1targetselflink_targetblankhide_close_icon1pt_no_auth1
lea edi, [ebp - 0xa18]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0xe98]
lea edx, [ebp - 0xf98]
lea eax, [ebp - 0xa18]
add esp, 0xc
mov dword [ebp - 0x148], 0x3c
mov dword [ebp - 0x138], ecx
mov dword [ebp - 0x134], 0x80
mov dword [ebp - 0x11c], edx
mov dword [ebp - 0x118], 0x100
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x405310
lea ecx, [ebp - 0x148]
push ecx
push ebx
sub eax, esi
push eax
lea edx, [ebp - 0xa18]
push edx
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
push ebx
push ebx
push ebx
push 1
push str.Microsoft_Internet_Explorer
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ecx, dword [ebp - 0x138]
push ebx
push ebx
push 3
push ebx
push ebx
push 0x1bb
push ecx
push eax
mov dword [ebp - 0x8c], eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edx, dword [ebp - 0x11c]
push ebx
push 0x800000
push ebx
push 0x4072c1
push ebx
push edx
push 0x407710
push eax
mov dword [ebp - 0x50], eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
push ebx
push ebx
push ebx
mov esi, eax
push ebx
push esi
mov dword [ebp - 0x4c], esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
push 0xfff
lea eax, [ebp - 0x1f97]
push ebx
push eax
mov dword [ebp - 0x90], 0x1000
mov byte [ebp - 0x1f98], bl
call sub.MSVCR100.dll_memset
add esp, 0xc
push ebx
lea ecx, [ebp - 0x90]
push ecx
lea edx, [ebp - 0x1f98]
push edx
push 0x16
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
lea eax, [ebp - 0x1f98]
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], ebx
mov byte [ebp - 0x88], bl
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4053e7
sub eax, esi
mov edi, eax
lea eax, [ebp - 0x1f98]
lea esi, [ebp - 0x88]
call fcn.00403aa0
mov dword [ebp - 4], ebx
mov edi, 0xb
mov eax, str.Set_Cookie:
lea esi, [ebp - 0x48]
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.00403aa0
mov byte [ebp - 4], 1
xor edi, edi
mov eax, 0x4072c1
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00403aa0
mov byte [ebp - 4], 2
jmp 0x405452
xor ebx, ebx
cmp dword [ebp - 0x34], 0x10
mov eax, dword [ebp - 0x48]
jae 0x40545e
lea eax, [ebp - 0x48]
mov ecx, dword [ebp - 0x38]
push ecx
push eax
lea edx, [ebp - 0x88]
push edx
mov eax, edi
call fcn.004035d0
mov esi, eax
cmp esi, 0xffffffff
je 0x4055b3
add esi, dword [ebp - 0x38]
push 1
push 0x407720
lea eax, [ebp - 0x88]
push eax
mov eax, esi
call fcn.004035d0
lea edi, [eax + 1]
mov ebx, esi
cmp edi, 0xffffffff
je 0x405575
mov ecx, edi
sub ecx, esi
push ecx
lea edx, [ebp - 0x88]
push edx
lea esi, [ebp - 0x6c]
call fcn.00402710
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x5c]
inc edi
or ebx, 0xffffffff
cmp eax, 0xffffffff
jae 0x4054c8
mov ebx, eax
mov ecx, dword [ebp - 0x1c]
or eax, 0xffffffff
sub eax, ecx
cmp eax, ebx
jbe 0x405726
test ebx, ebx
je 0x405555
lea esi, [ecx + ebx]
cmp esi, 0xfffffffe
ja 0x405726
mov eax, dword [ebp - 0x18]
cmp eax, esi
jae 0x4054fc
push ecx
push esi
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00403bc0
jmp 0x405511
test esi, esi
jne 0x405516
cmp eax, 0x10
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
jae 0x40550e
lea eax, [ebp - 0x2c]
mov byte [eax], 0
mov ecx, dword [ebp - 0x1c]
test esi, esi
setne al
test al, al
je 0x405555
cmp dword [ebp - 0x58], 0x10
mov edx, dword [ebp - 0x6c]
jae 0x405529
lea edx, [ebp - 0x6c]
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x405535
lea eax, [ebp - 0x2c]
push ebx
add eax, ecx
push edx
push eax
call sub.MSVCR100.dll_memcpy
mov eax, dword [ebp - 0x2c]
add esp, 0xc
cmp dword [ebp - 0x18], 0x10
mov dword [ebp - 0x1c], esi
jae 0x405551
lea eax, [ebp - 0x2c]
mov byte [esi + eax], 0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x58], 0x10
jb 0x405450
mov edx, dword [ebp - 0x6c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
jmp 0x405450
push 0xffffffffffffffff
lea eax, [ebp - 0x88]
push eax
lea esi, [ebp - 0x6c]
call fcn.00402710
push 0
mov ecx, esi
push ecx
or eax, 0xffffffff
lea edi, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.004033c0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x58], 0x10
jb 0x4055b1
mov edx, dword [ebp - 0x6c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ebx, ebx
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4055bf
lea eax, [ebp - 0x2c]
mov esi, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0xb8], eax
lea esi, [ebp + esi - 0x1f98]
lea eax, [ebp - 0x1f98]
mov dword [ebp - 0x10], esi
cmp esi, eax
je 0x405618
mov edi, dword [sym.imp.MSVCR100.dll_strstr]
push str.pt_local_token
push esi
call edi
add esp, 8
test eax, eax
jne 0x405605
dec esi
lea ecx, [ebp - 0x1f98]
cmp esi, ecx
jne 0x4055e6
mov dword [ebp - 0x10], esi
jmp 0x405618
add esi, 0xf
push 0x407720
push esi
mov dword [ebp - 0x10], esi
call edi
add esp, 8
mov byte [eax], bl
mov edx, dword [ebp - 0x50]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edx
call esi
mov eax, dword [ebp - 0x4c]
push eax
call esi
push 0x38
lea ecx, [ebp - 0x180]
push ebx
push ecx
mov dword [ebp - 0x184], ebx
call sub.MSVCR100.dll_memset
mov ecx, 0x15
mov esi, str.https:__localhost.ptlogin2.qq.com_pt_get_uins_callbackptui_getuins_CBrpt_local_tk
lea edi, [ebp - 0x40c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0xa9
lea edx, [ebp - 0x3b5]
push ebx
push edx
movsb byte es:[edi], byte [esi]
call sub.MSVCR100.dll_memset
mov eax, dword [ebp - 0x10]
push eax
mov esi, 0x100
lea ecx, [ebp - 0x40c]
push esi
push ecx
call dword [sym.imp.MSVCR100.dll_strcat_s]
lea eax, [ebp - 0xc18]
mov dword [ebp - 0x158], eax
lea edx, [ebp - 0xb18]
lea eax, [ebp - 0x40c]
mov dword [ebp - 0x170], esi
mov dword [ebp - 0x154], esi
add esp, 0x24
mov dword [ebp - 0x184], 0x3c
mov dword [ebp - 0x174], edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4056b7
lea ecx, [ebp - 0x184]
push ecx
push ebx
sub eax, esi
push eax
lea edx, [ebp - 0x40c]
push edx
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
mov ecx, dword [ebp - 0x8c]
push ebx
push ebx
push 3
push ebx
push ebx
push 0x10cd
lea eax, [ebp - 0xb18]
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov esi, eax
mov dword [ebp - 0x50], esi
cmp esi, ebx
jne 0x4057eb
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x405716
sub eax, edx
mov edi, eax
cmp edi, 0xfffffffe
jbe 0x405731
push str.string_too_long
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const__]
mov eax, dword [esi + 0x14]
cmp eax, edi
jae 0x405751
mov edx, dword [esi + 0x10]
push edx
push edi
push esi
call fcn.00403bc0
cmp edi, ebx
jbe 0x405788
cmp dword [esi + 0x14], 0x10
jb 0x405769
mov eax, dword [esi]
jmp 0x40576b
cmp edi, ebx
jne 0x405745
mov dword [esi + 0x10], ebx
cmp eax, 0x10
jb 0x405763
mov eax, dword [esi]
mov byte [eax], bl
jmp 0x405788
mov eax, esi
mov byte [eax], bl
jmp 0x405788
mov eax, esi
push edi
push ebx
push eax
call sub.MSVCR100.dll_memcpy
add esp, 0xc
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], edi
jb 0x405783
mov eax, dword [esi]
jmp 0x405785
mov eax, esi
mov byte [edi + eax], bl
cmp dword [ebp - 0x18], 0x10
mov edi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
jb 0x40579d
mov eax, dword [ebp - 0x2c]
push eax
call edi
add esp, 4
cmp dword [ebp - 0x34], 0x10
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 0xf
jb 0x4057b9
mov ecx, dword [ebp - 0x48]
push ecx
call edi
add esp, 4
cmp dword [ebp - 0x74], 0x10
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
jb 0x4057d8
mov edx, dword [ebp - 0x88]
push edx
call edi
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push ebx
push 0xa80000
push ebx
push ebx
push ebx
lea eax, [ebp - 0xc18]
push eax
push 0x407710
push esi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [ebp - 0x4c], eax
cmp eax, ebx
jne 0x405909
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x405830
sub eax, edx
mov edi, eax
cmp edi, 0xfffffffe
jbe 0x40584b
push str.string_too_long
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const__]
mov eax, dword [esi + 0x14]
cmp eax, edi
jae 0x40586b
mov ecx, dword [esi + 0x10]
push ecx
push edi
push esi
call fcn.00403bc0
cmp edi, ebx
jbe 0x4058a2
cmp dword [esi + 0x14], 0x10
jb 0x405883
mov eax, dword [esi]
jmp 0x405885
cmp edi, ebx
jne 0x40585f
mov dword [esi + 0x10], ebx
cmp eax, 0x10
jb 0x40587d
mov eax, dword [esi]
mov byte [eax], bl
jmp 0x4058a2
mov eax, esi
mov byte [eax], bl
jmp 0x4058a2
mov eax, esi
push edi
push ebx
push eax
call sub.MSVCR100.dll_memcpy
add esp, 0xc
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], edi
jb 0x40589d
mov eax, dword [esi]
jmp 0x40589f
mov eax, esi
mov byte [edi + eax], bl
cmp dword [ebp - 0x18], 0x10
mov edi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
jb 0x4058b7
mov edx, dword [ebp - 0x2c]
push edx
call edi
add esp, 4
cmp dword [ebp - 0x34], 0x10
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
jb 0x4058d3
mov eax, dword [ebp - 0x48]
push eax
call edi
add esp, 4
cmp dword [ebp - 0x74], 0x10
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
jb 0x4057d8
mov ecx, dword [ebp - 0x88]
push ecx
call edi
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov edx, dword [str.Cookie:]
mov eax, dword [0x4077c4]
mov ecx, 0xb
mov esi, str.Referer:https:__ssl.xui.ptlogin2.weiyun.com_
lea edi, [ebp - 0x1f0]
rep movsd dword es:[edi], dword [esi]
push 0x1f8
lea ecx, [ebp - 0x904]
push ebx
push ecx
movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x90c], edx
mov dword [ebp - 0x908], eax
call sub.MSVCR100.dll_memset
mov edx, dword [ebp - 0xb8]
push edx
lea eax, [ebp - 0x90c]
push 0x200
push eax
call dword [sym.imp.MSVCR100.dll_strcat_s]
lea eax, [ebp - 0x90c]
add esp, 0x18
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x405970
mov esi, dword [ebp - 0x4c]
mov edi, dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
push 0x20000000
sub eax, edx
push eax
lea ecx, [ebp - 0x90c]
push ecx
push esi
call edi
test eax, eax
jne 0x405a32
mov esi, dword [ebp + 8]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4059b0
sub eax, edx
mov edi, eax
cmp edi, 0xfffffffe
jbe 0x4059cb
push str.string_too_long
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const__]
mov eax, dword [esi + 0x14]
cmp eax, edi
jae 0x4059ef
mov edx, dword [esi + 0x10]
push edx
push edi
push esi
call fcn.00403bc0
cmp edi, ebx
jbe 0x405788
cmp dword [esi + 0x14], 0x10
jb 0x405a08
mov eax, dword [esi]
jmp 0x405a0a
cmp edi, ebx
jne 0x4059df
mov dword [esi + 0x10], ebx
cmp eax, 0x10
jb 0x405763
mov eax, dword [esi]
mov byte [eax], bl
jmp 0x405788
mov eax, esi
push edi
push ebx
push eax
call sub.MSVCR100.dll_memcpy
add esp, 0xc
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], edi
jb 0x405a28
mov eax, dword [esi]
mov byte [eax + edi], bl
jmp 0x405788
mov eax, esi
mov byte [eax + edi], bl
jmp 0x405788
lea eax, [ebp - 0x1f0]
lea edx, [eax + 1]
jmp 0x405a40
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x405a40
push 0x20000000
sub eax, edx
push eax
lea eax, [ebp - 0x1f0]
push eax
push esi
call edi
test eax, eax
jne 0x405ace
mov ecx, dword [ebp + 8]
call fcn.00404dc0
mov esi, 0x10
cmp dword [ebp - 0x18], esi
jb 0x405a7c
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov edi, 0xf
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [ebp - 0x34], esi
jb 0x405a9c
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
cmp dword [ebp - 0x74], esi
jb 0x405aba
mov eax, dword [ebp - 0x88]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push ebx
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
push 0xff
lea ecx, [ebp - 0x50b]
push ebx
push ecx
mov byte [ebp - 0x50c], bl
call sub.MSVCR100.dll_memset
add esp, 0xc
lea edx, [ebp - 0xb4]
push edx
push 0x100
lea eax, [ebp - 0x50c]
push eax
push esi
mov dword [ebp - 0xb4], ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, dword [ebp - 0x50]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ecx
call edi
push esi
call edi
mov eax, dword [0x4077cc]
mov edx, dword [str.var_sso_uin_list]
mov ecx, dword [0x4077d0]
mov dword [ebp - 0x60], eax
mov al, byte [0x4077d8]
mov dword [ebp - 0x64], edx
mov edx, dword [0x4077d4]
mov dword [ebp - 0x5c], ecx
mov byte [ebp - 0x54], al
lea eax, [ebp - 0x50c]
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x58], edx
call fcn.00404dc0
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 5
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x405b70
push 0x10
sub eax, esi
push str.var_sso_uin_list
lea ecx, [ebp - 0xf0]
mov esi, eax
push ecx
xor eax, eax
call fcn.004035d0
push 1
lea ebx, [eax + esi + 9]
push 0x4077dc
lea edx, [ebp - 0xf0]
push edx
mov eax, ebx
call fcn.004035d0
sub eax, ebx
push eax
lea eax, [ebp - 0xf0]
push eax
lea esi, [ebp - 0xd4]
call fcn.00402710
mov byte [ebp - 4], 6
mov ecx, 0xd
mov esi, str.https:__localhost.ptlogin2.qq.com_pt_get_st_clientuin
lea edi, [ebp - 0x30c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0xc9
lea ecx, [ebp - 0x2d5]
push 0
push ecx
movsb byte es:[edi], byte [esi]
call sub.MSVCR100.dll_memset
mov eax, dword [ebp - 0xd4]
add esp, 0xc
cmp dword [ebp - 0xc0], 0x10
jae 0x405c02
lea eax, [ebp - 0xd4]
mov esi, dword [sym.imp.MSVCR100.dll_strcat_s]
push eax
mov edi, 0x100
lea edx, [ebp - 0x30c]
push edi
push edx
call esi
push str.callbackptui_getst_CBrpt_local_tk
lea eax, [ebp - 0x30c]
push edi
push eax
call esi
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp - 0x30c]
push edi
push edx
call esi
push 0x38
lea eax, [ebp - 0x1bc]
push 0
push eax
call sub.MSVCR100.dll_memset
push 0xff
lea ecx, [ebp - 0x60b]
push 0
push ecx
mov byte [ebp - 0x60c], 0
call sub.MSVCR100.dll_memset
push 0xff
lea edx, [ebp - 0x70b]
push 0
push edx
mov byte [ebp - 0x70c], 0
call sub.MSVCR100.dll_memset
lea eax, [ebp - 0x60c]
lea ecx, [ebp - 0x70c]
mov dword [ebp - 0x1b0], eax
lea eax, [ebp - 0x30c]
mov dword [ebp - 0x194], ecx
add esp, 0x48
mov dword [ebp - 0x1c0], 0x3c
mov dword [ebp - 0x1ac], edi
mov dword [ebp - 0x190], edi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x405cb3
lea edx, [ebp - 0x1c0]
push edx
sub eax, ecx
push 0
push eax
lea eax, [ebp - 0x30c]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
mov edx, dword [ebp - 0x8c]
push 0
push 0
push 3
push 0
push 0
push 0x10cd
lea ecx, [ebp - 0x60c]
push ecx
push edx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edi, eax
test edi, edi
je 0x405d29
push 0
push 0xa80000
push 0
push 0
push 0
lea eax, [ebp - 0x70c]
push eax
push 0x407710
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
test esi, esi
jne 0x405d3a
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, edi
call fcn.00404dc0
jmp 0x405f61
lea eax, [ebp - 0x90c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405d43
mov ebx, dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
push 0x20000000
sub eax, edx
push eax
lea ecx, [ebp - 0x90c]
push ecx
push esi
call ebx
test eax, eax
je 0x405d29
lea eax, [ebp - 0x1f0]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405d70
push 0x20000000
sub eax, edx
push eax
lea edx, [ebp - 0x1f0]
push edx
push esi
call ebx
test eax, eax
je 0x405d29
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
push 0x1ff
lea eax, [ebp - 0xe17]
push 0
push eax
mov byte [ebp - 0xe18], 0
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0
lea ecx, [ebp - 0x94]
push ecx
lea edx, [ebp - 0xe18]
push edx
push 0x16
push esi
mov dword [ebp - 0x94], 0x200
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
push edi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call edi
push esi
call edi
mov eax, dword [str.clientkey]
mov ecx, dword [0x407844]
mov dx, word [0x407848]
mov dword [ebp - 0x5c], eax
mov al, byte [0x40784a]
mov dword [ebp - 0x58], ecx
mov ecx, 0x3b
mov byte [ebp - 0x52], al
mov word [ebp - 0x10], cx
lea eax, [ebp - 0xe18]
lea ecx, [ebp - 0x10c]
mov word [ebp - 0x54], dx
call fcn.00404dc0
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 7
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x405e30
push 0
lea edx, [ebp - 0x10c]
sub eax, ecx
push edx
lea edx, [ebp - 0x5c]
mov ebx, eax
call fcn.00405fb0
add ebx, eax
push ebx
lea eax, [ebp - 0x10c]
push eax
lea edx, [ebp - 0x10]
call fcn.00405fb0
sub eax, ebx
push eax
lea ecx, [ebp - 0x10c]
push ecx
lea esi, [ebp - 0x20c]
call fcn.00402710
mov eax, str.Hello_QQ:
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 8
call fcn.00404dc0
xor ebx, ebx
push ebx
lea edx, [ebp - 0xd4]
push edx
or eax, 0xffffffff
lea edi, [ebp - 0xb0]
mov byte [ebp - 4], 9
call fcn.004033c0
mov eax, edi
push eax
mov eax, str.Key:
call fcn.004026e0
push ebx
mov ecx, esi
push ecx
or eax, 0xffffffff
call fcn.004033c0
mov edi, dword [ebp + 8]
mov esi, 0xf
lea edx, [ebp - 0xb0]
mov dword [edi + 0x14], esi
mov dword [edi + 0x10], ebx
mov byte [edi], bl
cmp edi, edx
je 0x405f40
cmp dword [edi + 0x14], 0x10
jb 0x405ee8
mov eax, dword [edi]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [edi + 0x14], esi
mov dword [edi + 0x10], ebx
mov byte [edi], bl
cmp dword [ebp - 0x9c], 0x10
jae 0x405f14
mov ecx, dword [ebp - 0xa0]
inc ecx
push ecx
lea edx, [ebp - 0xb0]
push edx
push edi
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
jmp 0x405f22
mov eax, dword [ebp - 0xb0]
mov dword [edi], eax
mov dword [ebp - 0xb0], ebx
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ebp - 0x9c]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], edx
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x9c], ebx
lea esi, [ebp - 0xb0]
call fcn.00402680
lea esi, [ebp - 0x20c]
call fcn.00402680
lea esi, [ebp - 0x10c]
call fcn.00402680
lea esi, [ebp - 0xd4]
call fcn.00402680
lea esi, [ebp - 0xf0]
call fcn.00402680
lea esi, [ebp - 0x2c]
call fcn.00402680
lea esi, [ebp - 0x48]
call fcn.00402680
lea esi, [ebp - 0x88]
call fcn.00402680
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret