Function at 0x405bb0
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
push 0xffffffffffffffff
push 0x4079ae
mov eax, dword fs:[0]
push eax
mov eax, 0x20a4
call fcn.00407540
mov eax, dword [0x40b018]
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]
xor ebx, ebx
push 0x38
lea ecx, [ebp - 0x2034]
push ebx
push ecx
mov dword [ebp - 0x1fdc], eax
mov dword [ebp - 0x1fec], ebx
mov dword [ebp - 0x2038], ebx
call sub.MSVCR100.dll_memset
push 0xff
lea edx, [ebp - 0x34f]
push ebx
push edx
mov byte [ebp - 0x350], bl
call sub.MSVCR100.dll_memset
lea eax, [ebx + 4]
add esp, 0x18
mov ebx, 0x40b34c
lea ecx, [ebp - 0x1fd8]
call fcn.004010d0
lea eax, [ebp - 0x350]
push eax
mov ecx, 0xa0
mov edx, 0x40b1f0
lea eax, [ebp - 0x1fd8]
call section..text
lea ecx, [ebp - 0x8d0]
lea edx, [ebp - 0xdd0]
lea eax, [ebp - 0x350]
mov dword [ebp - 0x2028], ecx
mov dword [ebp - 0x2038], 0x3c
mov dword [ebp - 0x2024], 0x80
mov dword [ebp - 0x200c], edx
mov dword [ebp - 0x2008], pe_nt_image_headers32
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x405c91
sub eax, ecx
lea ecx, [ebp - 0x2038]
push ecx
xor ebx, ebx
push ebx
push eax
lea edx, [ebp - 0x350]
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 - 0x2028]
push ebx
push ebx
push 3
push ebx
push ebx
push 0x1bb
push ecx
push eax
mov dword [ebp - 0x1fe4], eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edx, dword [ebp - 0x200c]
push ebx
push 0x800000
push ebx
push 0x4082b1
push ebx
push edx
push 0x4085b4
push eax
mov dword [ebp - 0x1ff4], eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
push ebx
push ebx
push ebx
mov esi, eax
push ebx
push esi
mov dword [ebp - 0x1ffc], esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
push 0xfff
lea eax, [ebp - 0x1dcf]
push ebx
push eax
mov dword [ebp - 0x1fe8], 0x1000
mov byte [ebp - 0x1dd0], bl
call sub.MSVCR100.dll_memset
add esp, 0xc
push ebx
lea ecx, [ebp - 0x1fe8]
push ecx
lea edx, [ebp - 0x1dd0]
push edx
push 0x16
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
lea eax, [ebp - 0x1dd0]
mov dword [ebp - 0x1e2c], 0xf
mov dword [ebp - 0x1e30], ebx
mov byte [ebp - 0x1e40], bl
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x405d76
sub eax, esi
mov edi, eax
lea eax, [ebp - 0x1dd0]
lea esi, [ebp - 0x1e40]
call fcn.00403bd0
mov dword [ebp - 4], ebx
mov edi, 0xb
mov eax, str.Set_Cookie:
lea esi, [ebp - 0x1e08]
mov dword [ebp - 0x1df4], 0xf
mov dword [ebp - 0x1df8], ebx
mov byte [ebp - 0x1e08], bl
call fcn.00403bd0
mov byte [ebp - 4], 1
xor edi, edi
mov eax, 0x4082b1
lea esi, [ebp - 0x1dec]
mov dword [ebp - 0x1dd8], 0xf
mov dword [ebp - 0x1ddc], ebx
mov byte [ebp - 0x1dec], bl
call fcn.00403bd0
mov byte [ebp - 4], 2
jmp 0x405e02
xor ebx, ebx
cmp dword [ebp - 0x1df4], 0x10
mov eax, dword [ebp - 0x1e08]
jae 0x405e17
lea eax, [ebp - 0x1e08]
mov ecx, dword [ebp - 0x1df8]
push ecx
push eax
lea edx, [ebp - 0x1e40]
push edx
mov eax, edi
call fcn.00403710
mov esi, eax
cmp esi, 0xffffffff
je 0x405fc1
add esi, dword [ebp - 0x1df8]
push 1
push 0x4085c4
lea eax, [ebp - 0x1e40]
push eax
mov eax, esi
call fcn.00403710
lea edi, [eax + 1]
mov ebx, esi
cmp edi, 0xffffffff
je 0x405f77
mov ecx, edi
sub ecx, esi
push ecx
lea edx, [ebp - 0x1e40]
push edx
lea esi, [ebp - 0x1e24]
call fcn.004028a0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1e14]
inc edi
or ebx, 0xffffffff
cmp eax, 0xffffffff
jae 0x405e8d
mov ebx, eax
mov ecx, dword [ebp - 0x1ddc]
or eax, 0xffffffff
sub eax, ecx
cmp eax, ebx
jbe 0x406172
test ebx, ebx
je 0x405f51
lea esi, [ecx + ebx]
cmp esi, 0xfffffffe
ja 0x406172
mov eax, dword [ebp - 0x1dd8]
cmp eax, esi
jae 0x405ece
push ecx
push esi
lea ecx, [ebp - 0x1dec]
push ecx
call fcn.00403cf0
jmp 0x405eec
test esi, esi
jne 0x405ef4
cmp eax, 0x10
mov eax, dword [ebp - 0x1dec]
mov dword [ebp - 0x1ddc], esi
jae 0x405ee9
lea eax, [ebp - 0x1dec]
mov byte [eax], 0
mov ecx, dword [ebp - 0x1ddc]
test esi, esi
setne al
test al, al
je 0x405f51
cmp dword [ebp - 0x1e10], 0x10
mov edx, dword [ebp - 0x1e24]
jae 0x405f10
lea edx, [ebp - 0x1e24]
cmp dword [ebp - 0x1dd8], 0x10
mov eax, dword [ebp - 0x1dec]
jae 0x405f25
lea eax, [ebp - 0x1dec]
push ebx
add eax, ecx
push edx
push eax
call sub.MSVCR100.dll_memcpy
mov eax, dword [ebp - 0x1dec]
add esp, 0xc
cmp dword [ebp - 0x1dd8], 0x10
mov dword [ebp - 0x1ddc], esi
jae 0x405f4d
lea eax, [ebp - 0x1dec]
mov byte [esi + eax], 0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1e10], 0x10
jb 0x405e00
mov edx, dword [ebp - 0x1e24]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
jmp 0x405e00
push 0xffffffffffffffff
lea eax, [ebp - 0x1e40]
push eax
lea esi, [ebp - 0x1e24]
call fcn.004028a0
push 0
mov ecx, esi
push ecx
or eax, 0xffffffff
lea edi, [ebp - 0x1dec]
mov byte [ebp - 4], 4
call fcn.00403500
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1e10], 0x10
jb 0x405fbf
mov edx, dword [ebp - 0x1e24]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ebx, ebx
cmp dword [ebp - 0x1dd8], 0x10
mov eax, dword [ebp - 0x1dec]
jae 0x405fd6
lea eax, [ebp - 0x1dec]
mov esi, dword [ebp - 0x1fe8]
inc eax
mov dword [ebp - 0x1fec], eax
lea esi, [ebp + esi - 0x1dd0]
lea eax, [ebp - 0x1dd0]
mov dword [ebp - 0x1fe0], esi
cmp esi, eax
je 0x406038
mov edi, dword [sym.imp.MSVCR100.dll_strstr]
push str.pt_local_token
push esi
call edi
add esp, 8
test eax, eax
jne 0x406022
dec esi
lea ecx, [ebp - 0x1dd0]
cmp esi, ecx
jne 0x406000
mov dword [ebp - 0x1fe0], esi
jmp 0x406038
add esi, 0xf
push 0x4085c4
push esi
mov dword [ebp - 0x1fe0], esi
call edi
add esp, 8
mov byte [eax], bl
mov edx, dword [ebp - 0x1ff4]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edx
call edi
mov eax, dword [ebp - 0x1ffc]
push eax
call edi
push 0xff
lea ecx, [ebp - 0x24f]
push ebx
push ecx
mov byte [ebp - 0x250], bl
call sub.MSVCR100.dll_memset
push 0x38
lea edx, [ebp - 0x2070]
push ebx
push edx
mov dword [ebp - 0x2074], ebx
call sub.MSVCR100.dll_memset
add esp, 0x18
mov eax, 4
mov ebx, 0x40b34c
lea ecx, [ebp - 0x1fd8]
call fcn.004010d0
lea eax, [ebp - 0x250]
push eax
mov ecx, 0x56
mov edx, 0x40b290
lea eax, [ebp - 0x1fd8]
call section..text
push esi
mov esi, pe_nt_image_headers32
lea ecx, [ebp - 0x250]
push esi
push ecx
call dword [sym.imp.MSVCR100.dll_strcat_s]
lea eax, [ebp - 0x9d0]
mov dword [ebp - 0x2048], eax
lea edx, [ebp - 0xad0]
lea eax, [ebp - 0x250]
add esp, 0xc
mov dword [ebp - 0x2074], 0x3c
mov dword [ebp - 0x2064], edx
mov dword [ebp - 0x2060], esi
mov dword [ebp - 0x2044], esi
lea ecx, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x406100
sub eax, ecx
lea ecx, [ebp - 0x2074]
push ecx
push 0
push eax
lea edx, [ebp - 0x250]
push edx
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
mov ecx, dword [ebp - 0x1fe4]
push 0
push 0
push 3
push 0
push 0
push 0x10cd
lea eax, [ebp - 0xad0]
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edi, eax
test edi, edi
jne 0x406257
mov esi, dword [ebp - 0x1fdc]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], edi
mov byte [esi], al
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406162
sub eax, edx
mov ebx, eax
cmp ebx, 0xfffffffe
jbe 0x40617d
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, ebx
jae 0x4061a1
mov edx, dword [esi + 0x10]
push edx
push ebx
push esi
call fcn.00403cf0
cmp ebx, edi
jbe 0x4061dd
mov edi, 0x10
cmp dword [esi + 0x14], edi
jb 0x4061bb
mov eax, dword [esi]
jmp 0x4061bd
cmp ebx, edi
jne 0x406191
mov dword [esi + 0x10], edi
cmp eax, 0x10
jb 0x4061b4
mov eax, dword [esi]
mov byte [eax], 0
jmp 0x4061dd
mov eax, esi
mov byte [eax], 0
jmp 0x4061dd
mov eax, esi
push ebx
push 0
push eax
call sub.MSVCR100.dll_memcpy
add esp, 0xc
mov dword [esi + 0x10], ebx
cmp dword [esi + 0x14], edi
jb 0x4061d5
mov eax, dword [esi]
jmp 0x4061d7
mov eax, esi
mov byte [ebx + eax], 0
xor edi, edi
cmp dword [ebp - 0x1dd8], 0x10
mov ebx, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
jb 0x4061f8
mov eax, dword [ebp - 0x1dec]
push eax
call ebx
add esp, 4
cmp dword [ebp - 0x1df4], 0x10
mov dword [ebp - 0x1dd8], 0xf
mov dword [ebp - 0x1ddc], edi
mov byte [ebp - 0x1dec], 0
jb 0x406224
mov ecx, dword [ebp - 0x1e08]
push ecx
call ebx
add esp, 4
cmp dword [ebp - 0x1e2c], 0x10
mov dword [ebp - 0x1df4], 0xf
mov dword [ebp - 0x1df8], edi
mov byte [ebp - 0x1e08], 0
jb 0x406250
mov edx, dword [ebp - 0x1e40]
push edx
call ebx
add esp, 4
mov eax, esi
jmp 0x406ac3
push 0
push 0xa80000
push 0
push 0
push 0
lea eax, [ebp - 0x9d0]
push eax
push 0x4085b4
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
test esi, esi
jne 0x4063a5
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov esi, dword [ebp - 0x1fdc]
mov edi, 0xf
xor eax, eax
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], 0
mov byte [esi], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4062a5
sub eax, edx
mov ebx, eax
cmp ebx, 0xfffffffe
jbe 0x4062c0
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, ebx
jae 0x4062e4
mov ecx, dword [esi + 0x10]
push ecx
push ebx
push esi
call fcn.00403cf0
test ebx, ebx
je 0x406327
mov edi, 0x10
cmp dword [esi + 0x14], edi
jb 0x406302
mov eax, dword [esi]
jmp 0x406304
test ebx, ebx
jne 0x4062d6
mov dword [esi + 0x10], 0
cmp eax, 0x10
jb 0x4062fb
mov eax, dword [esi]
mov byte [eax], 0
jmp 0x406327
mov eax, esi
mov byte [eax], 0
jmp 0x406327
mov eax, esi
push ebx
push 0
push eax
call sub.MSVCR100.dll_memcpy
add esp, 0xc
mov dword [esi + 0x10], ebx
cmp dword [esi + 0x14], edi
jb 0x40631c
mov eax, dword [esi]
jmp 0x40631e
mov eax, esi
mov byte [ebx + eax], 0
mov edi, 0xf
cmp dword [ebp - 0x1dd8], 0x10
mov ebx, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
jb 0x406342
mov edx, dword [ebp - 0x1dec]
push edx
call ebx
add esp, 4
cmp dword [ebp - 0x1df4], 0x10
mov byte [ebp - 0x1dec], 0
mov dword [ebp - 0x1ddc], 0
mov dword [ebp - 0x1dd8], edi
jb 0x40636e
mov eax, dword [ebp - 0x1e08]
push eax
call ebx
add esp, 4
cmp dword [ebp - 0x1e2c], 0x10
mov dword [ebp - 0x1df4], edi
mov dword [ebp - 0x1df8], 0
mov byte [ebp - 0x1e08], 0
jb 0x406250
mov ecx, dword [ebp - 0x1e40]
push ecx
call ebx
add esp, 4
mov eax, esi
jmp 0x406ac3
push 0x3f
lea edx, [ebp - 0x4f]
push 0
push edx
mov byte [ebp - 0x50], 0
call sub.MSVCR100.dll_memset
add esp, 0xc
mov eax, 4
mov ebx, 0x40b34c
lea ecx, [ebp - 0x1fd8]
call fcn.004010d0
lea eax, [ebp - 0x50]
push eax
mov ecx, 0x2c
mov edx, 0x40b2e8
lea eax, [ebp - 0x1fd8]
call section..text
mov ecx, dword [str.Cookie:]
mov edx, dword [0x4085dc]
push 0x1f8
lea eax, [ebp - 0x748]
push 0
push eax
mov dword [ebp - 0x750], ecx
mov dword [ebp - 0x74c], edx
call sub.MSVCR100.dll_memset
mov ecx, dword [ebp - 0x1fec]
push ecx
lea edx, [ebp - 0x750]
push 0x200
push edx
call dword [sym.imp.MSVCR100.dll_strcat_s]
lea eax, [ebp - 0x750]
add esp, 0x18
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406437
mov ebx, dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
push 0x20000000
sub eax, edx
push eax
lea eax, [ebp - 0x750]
push eax
push esi
call ebx
test eax, eax
jne 0x4064ec
mov esi, dword [ebp - 0x1fdc]
mov edi, 0xf
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], eax
mov byte [esi], al
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406474
sub eax, edx
mov ebx, eax
cmp ebx, 0xfffffffe
jbe 0x40648f
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, ebx
jae 0x4064b7
mov ecx, dword [esi + 0x10]
push ecx
push ebx
push esi
call fcn.00403cf0
test ebx, ebx
je 0x406327
mov edi, 0x10
cmp dword [esi + 0x14], edi
jb 0x4064c0
mov eax, dword [esi]
jmp 0x4064c2
test ebx, ebx
jne 0x4064a9
jmp 0x4062e8
mov eax, esi
push ebx
push 0
push eax
call sub.MSVCR100.dll_memcpy
add esp, 0xc
mov dword [esi + 0x10], ebx
cmp dword [esi + 0x14], edi
jb 0x4064e1
mov eax, dword [esi]
mov byte [eax + ebx], 0
jmp 0x406322
mov eax, esi
mov byte [eax + ebx], 0
jmp 0x406322
lea eax, [ebp - 0x50]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4064f2
push 0x20000000
sub eax, edx
push eax
lea edx, [ebp - 0x50]
push edx
push esi
call ebx
test eax, eax
jne 0x4065a0
mov ecx, dword [ebp - 0x1fdc]
call fcn.00405660
mov esi, 0x10
cmp dword [ebp - 0x1dd8], esi
jb 0x406538
mov eax, dword [ebp - 0x1dec]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edi, edi
mov ebx, 0xf
mov dword [ebp - 0x1dd8], ebx
mov dword [ebp - 0x1ddc], edi
mov byte [ebp - 0x1dec], 0
cmp dword [ebp - 0x1df4], esi
jb 0x40656a
mov ecx, dword [ebp - 0x1e08]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x1df4], ebx
mov dword [ebp - 0x1df8], edi
mov byte [ebp - 0x1e08], 0
cmp dword [ebp - 0x1e2c], esi
jb 0x406595
mov edx, dword [ebp - 0x1e40]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [ebp - 0x1fdc]
jmp 0x406ac3
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
push 0xff
lea eax, [ebp - 0x44f]
push 0
push eax
mov byte [ebp - 0x450], 0
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x1ff8]
push ecx
push pe_nt_image_headers32
lea edx, [ebp - 0x450]
push edx
push esi
mov dword [ebp - 0x1ff8], 0
call dword [sym.imp.WININET.dll_InternetReadFile]
push edi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call edi
push esi
call edi
mov ecx, dword [0x4085e4]
mov eax, dword [str.var_sso_uin_list]
mov edx, dword [0x4085e8]
mov dword [ebp - 0x1e1c], eax
mov eax, dword [0x4085ec]
mov dword [ebp - 0x1e18], ecx
mov cl, byte [0x4085f0]
mov dword [ebp - 0x1e10], eax
mov byte [ebp - 0x1e0c], cl
lea eax, [ebp - 0x450]
lea ecx, [ebp - 0x1e94]
mov dword [ebp - 0x1e14], edx
call fcn.00405660
lea eax, [ebp - 0x1e1c]
mov byte [ebp - 4], 5
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x406654
push 0x10
sub eax, ecx
push str.var_sso_uin_list
lea edx, [ebp - 0x1e94]
mov esi, eax
push edx
xor eax, eax
call fcn.00403710
push 1
lea ebx, [eax + esi + 9]
push 0x4085f4
lea eax, [ebp - 0x1e94]
push eax
mov eax, ebx
call fcn.00403710
sub eax, ebx
push eax
lea ecx, [ebp - 0x1e94]
push ecx
lea esi, [ebp - 0x1e78]
call fcn.004028a0
push 0xff
lea edx, [ebp - 0x14f]
push 0
mov byte [ebp - 4], 6
push edx
mov byte [ebp - 0x150], 0
call sub.MSVCR100.dll_memset
add esp, 0xc
mov eax, 4
mov ebx, 0x40b34c
lea ecx, [ebp - 0x1fd8]
call fcn.004010d0
lea eax, [ebp - 0x150]
push eax
mov ecx, 0x36
mov edx, 0x40b314
lea eax, [ebp - 0x1fd8]
call section..text
cmp dword [ebp - 0x1e64], 0x10
mov eax, dword [ebp - 0x1e78]
jae 0x406705
mov eax, esi
mov esi, dword [sym.imp.MSVCR100.dll_strcat_s]
push eax
mov edi, pe_nt_image_headers32
lea ecx, [ebp - 0x150]
push edi
push ecx
call esi
push str.callbackptui_getst_CBrpt_local_tk
lea edx, [ebp - 0x150]
push edi
push edx
call esi
mov eax, dword [ebp - 0x1fe0]
push eax
lea ecx, [ebp - 0x150]
push edi
push ecx
call esi
push 0x38
lea edx, [ebp - 0x20ac]
push 0
push edx
call sub.MSVCR100.dll_memset
push 0xff
lea eax, [ebp - 0x54f]
push 0
push eax
mov byte [ebp - 0x550], 0
call sub.MSVCR100.dll_memset
push 0xff
lea ecx, [ebp - 0x84f]
push 0
push ecx
mov byte [ebp - 0x850], 0
call sub.MSVCR100.dll_memset
lea eax, [ebp - 0x850]
mov dword [ebp - 0x2084], eax
lea edx, [ebp - 0x550]
lea eax, [ebp - 0x150]
add esp, 0x48
mov dword [ebp - 0x20b0], 0x3c
mov dword [ebp - 0x20a0], edx
mov dword [ebp - 0x209c], edi
mov dword [ebp - 0x2080], edi
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4067c0
sub eax, ecx
lea ecx, [ebp - 0x20b0]
push ecx
push 0
push eax
lea edx, [ebp - 0x150]
push edx
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
mov ecx, dword [ebp - 0x1fe4]
push 0
push 0
push 3
push 0
push 0
push 0x10cd
lea eax, [ebp - 0x550]
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ebx, eax
test ebx, ebx
je 0x406836
push 0
push 0xa80000
push 0
push 0
push 0
lea edx, [ebp - 0x850]
push edx
push 0x4085b4
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
test esi, esi
jne 0x40684a
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edi, dword [ebp - 0x1fdc]
xor eax, eax
mov ecx, edi
call fcn.00405660
jmp 0x406a8a
lea eax, [ebp - 0x750]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406853
mov edi, dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
push 0x20000000
sub eax, edx
push eax
lea eax, [ebp - 0x750]
push eax
push esi
call edi
test eax, eax
je 0x406836
lea eax, [ebp - 0x50]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406880
push 0x20000000
sub eax, edx
push eax
lea ecx, [ebp - 0x50]
push ecx
push esi
call edi
test eax, eax
je 0x406836
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
push 0x1ff
lea edx, [ebp - 0xccf]
push 0
push edx
mov byte [ebp - 0xcd0], 0
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0
lea eax, [ebp - 0x1ff0]
push eax
lea ecx, [ebp - 0xcd0]
push ecx
push 0x16
push esi
mov dword [ebp - 0x1ff0], 0x200
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call edi
push esi
call edi
mov eax, dword [0x408624]
mov edx, dword [str.clientkey]
mov cx, word [0x408628]
mov dword [ebp - 0x1e10], eax
mov eax, 0x3b
mov dword [ebp - 0x1e14], edx
mov dl, byte [0x40862a]
mov word [ebp - 0x1e0c], cx
mov word [ebp - 0x1fe0], ax
lea eax, [ebp - 0xcd0]
lea ecx, [ebp - 0x1eb0]
mov byte [ebp - 0x1e0a], dl
call fcn.00405660
lea eax, [ebp - 0x1e14]
mov byte [ebp - 4], 7
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x406950
sub eax, ecx
push 0
lea ecx, [ebp - 0x1eb0]
push ecx
lea edx, [ebp - 0x1e14]
mov ebx, eax
call fcn.00406ae0
add ebx, eax
push ebx
lea edx, [ebp - 0x1eb0]
push edx
lea edx, [ebp - 0x1fe0]
call fcn.00406ae0
sub eax, ebx
push eax
lea eax, [ebp - 0x1eb0]
push eax
lea esi, [ebp - 0x1ecc]
call fcn.004028a0
mov eax, str.Hello_QQ:
lea ecx, [ebp - 0x1e5c]
mov byte [ebp - 4], 8
call fcn.00405660
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x1e78]
push ecx
or eax, 0xffffffff
lea edi, [ebp - 0x1e5c]
mov byte [ebp - 4], 9
call fcn.00403500
mov edx, edi
push edx
mov eax, str.Key:
call fcn.00402870
push ebx
mov eax, esi
push eax
or eax, 0xffffffff
call fcn.00403500
mov edi, dword [ebp - 0x1fdc]
mov esi, 0xf
lea ecx, [ebp - 0x1e5c]
mov dword [edi + 0x14], esi
mov dword [edi + 0x10], ebx
mov byte [edi], bl
cmp edi, ecx
je 0x406a69
cmp dword [edi + 0x14], 0x10
jb 0x406a11
mov edx, dword [edi]
push edx
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 - 0x1e48], 0x10
jae 0x406a3d
mov eax, dword [ebp - 0x1e4c]
inc eax
push eax
lea ecx, [ebp - 0x1e5c]
push ecx
push edi
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
jmp 0x406a4b
mov edx, dword [ebp - 0x1e5c]
mov dword [edi], edx
mov dword [ebp - 0x1e5c], ebx
mov eax, dword [ebp - 0x1e4c]
mov ecx, dword [ebp - 0x1e48]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
mov dword [ebp - 0x1e4c], ebx
mov dword [ebp - 0x1e48], ebx
lea esi, [ebp - 0x1e5c]
call fcn.00402810
lea esi, [ebp - 0x1ecc]
call fcn.00402810
lea esi, [ebp - 0x1eb0]
call fcn.00402810
lea esi, [ebp - 0x1e78]
call fcn.00402810
lea esi, [ebp - 0x1e94]
call fcn.00402810
lea esi, [ebp - 0x1dec]
call fcn.00402810
lea esi, [ebp - 0x1e08]
call fcn.00402810
lea esi, [ebp - 0x1e40]
call fcn.00402810
mov eax, edi
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.00406bba
mov esp, ebp
pop ebp
ret