Function at 0x405650
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 0x40742e
mov eax, dword fs:[0]
push eax
mov eax, 0x20a4
call fcn.00406fc0
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
add esp, 0x18
mov ebx, 0x40b34c
lea ecx, [ebp - 0x1fd8]
call fcn.004010b0
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], 0x100
lea ecx, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x405730
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 0x4085bc
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 0x405815
sub eax, esi
mov edi, eax
lea eax, [ebp - 0x1dd0]
lea esi, [ebp - 0x1e40]
call fcn.00403b50
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.00403b50
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.00403b50
mov byte [ebp - 4], 2
jmp 0x405893
xor ebx, ebx
cmp dword [ebp - 0x1df4], 0x10
mov eax, dword [ebp - 0x1e08]
jae 0x4058a8
lea eax, [ebp - 0x1e08]
mov ecx, dword [ebp - 0x1df8]
push ecx
push eax
lea edx, [ebp - 0x1e40]
push edx
mov eax, edi
call fcn.00403690
mov esi, eax
cmp esi, 0xffffffff
je 0x405a52
add esi, dword [ebp - 0x1df8]
push 1
push 0x4085cc
lea eax, [ebp - 0x1e40]
push eax
mov eax, esi
call fcn.00403690
lea edi, [eax + 1]
mov ebx, esi
cmp edi, 0xffffffff
je 0x405a08
mov ecx, edi
sub ecx, esi
push ecx
lea edx, [ebp - 0x1e40]
push edx
lea esi, [ebp - 0x1e24]
call fcn.00402820
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1e14]
inc edi
or ebx, 0xffffffff
cmp eax, 0xffffffff
jae 0x40591e
mov ebx, eax
mov ecx, dword [ebp - 0x1ddc]
or eax, 0xffffffff
sub eax, ecx
cmp eax, ebx
jbe 0x405c01
test ebx, ebx
je 0x4059e2
lea esi, [ecx + ebx]
cmp esi, 0xfffffffe
ja 0x405c01
mov eax, dword [ebp - 0x1dd8]
cmp eax, esi
jae 0x40595f
push ecx
push esi
lea ecx, [ebp - 0x1dec]
push ecx
call fcn.00403c70
jmp 0x40597d
test esi, esi
jne 0x405985
cmp eax, 0x10
mov eax, dword [ebp - 0x1dec]
mov dword [ebp - 0x1ddc], esi
jae 0x40597a
lea eax, [ebp - 0x1dec]
mov byte [eax], 0
mov ecx, dword [ebp - 0x1ddc]
test esi, esi
setne al
test al, al
je 0x4059e2
cmp dword [ebp - 0x1e10], 0x10
mov edx, dword [ebp - 0x1e24]
jae 0x4059a1
lea edx, [ebp - 0x1e24]
cmp dword [ebp - 0x1dd8], 0x10
mov eax, dword [ebp - 0x1dec]
jae 0x4059b6
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 0x4059de
lea eax, [ebp - 0x1dec]
mov byte [esi + eax], 0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1e10], 0x10
jb 0x405891
mov edx, dword [ebp - 0x1e24]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
jmp 0x405891
push 0xffffffffffffffff
lea eax, [ebp - 0x1e40]
push eax
lea esi, [ebp - 0x1e24]
call fcn.00402820
push 0
mov ecx, esi
push ecx
or eax, 0xffffffff
lea edi, [ebp - 0x1dec]
mov byte [ebp - 4], 4
call fcn.00403480
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1e10], 0x10
jb 0x405a50
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 0x405a67
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 0x405ac9
mov edi, dword [sym.imp.MSVCR100.dll_strstr]
push str.pt_local_token
push esi
call edi
add esp, 8
test eax, eax
jne 0x405ab3
dec esi
lea ecx, [ebp - 0x1dd0]
cmp esi, ecx
jne 0x405a91
mov dword [ebp - 0x1fe0], esi
jmp 0x405ac9
add esi, 0xf
push 0x4085cc
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 ebx, 0x40b34c
lea ecx, [ebp - 0x1fd8]
call fcn.004010b0
lea eax, [ebp - 0x250]
push eax
mov ecx, 0x56
mov edx, 0x40b290
lea eax, [ebp - 0x1fd8]
call section..text
push esi
mov esi, 0x100
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]
jmp 0x405b90
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x405b90
sub eax, ecx
lea ecx, [ebp - 0x2074]
push ecx
xor ebx, ebx
push ebx
push eax
lea edx, [ebp - 0x250]
push edx
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
mov ecx, dword [ebp - 0x1fe4]
push ebx
push ebx
push 3
push ebx
push ebx
push 0x10cd
lea eax, [ebp - 0xad0]
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edi, eax
cmp edi, ebx
jne 0x405ce4
mov esi, dword [ebp - 0x1fdc]
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
test cl, cl
jne 0x405bf1
sub eax, edx
mov edi, eax
cmp edi, 0xfffffffe
jbe 0x405c0c
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 0x405c30
mov edx, dword [esi + 0x10]
push edx
push edi
push esi
call fcn.00403c70
cmp edi, ebx
jbe 0x405c6a
mov ebx, 0x10
cmp dword [esi + 0x14], ebx
jb 0x405c48
mov eax, dword [esi]
jmp 0x405c4a
cmp edi, ebx
jne 0x405c20
mov dword [esi + 0x10], ebx
cmp eax, 0x10
jb 0x405c42
mov eax, dword [esi]
mov byte [eax], bl
jmp 0x405c6a
mov eax, esi
mov byte [eax], bl
jmp 0x405c6a
mov eax, esi
push edi
push 0
push eax
call sub.MSVCR100.dll_memcpy
add esp, 0xc
mov dword [esi + 0x10], edi
cmp dword [esi + 0x14], ebx
jb 0x405c62
mov eax, dword [esi]
jmp 0x405c64
mov eax, esi
mov byte [edi + eax], 0
xor ebx, ebx
cmp dword [ebp - 0x1dd8], 0x10
mov edi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
jb 0x405c85
mov eax, dword [ebp - 0x1dec]
push eax
call edi
add esp, 4
cmp dword [ebp - 0x1df4], 0x10
mov dword [ebp - 0x1dd8], 0xf
mov dword [ebp - 0x1ddc], ebx
mov byte [ebp - 0x1dec], 0
jb 0x405cb1
mov ecx, dword [ebp - 0x1e08]
push ecx
call edi
add esp, 4
cmp dword [ebp - 0x1e2c], 0x10
mov dword [ebp - 0x1df4], 0xf
mov dword [ebp - 0x1df8], ebx
mov byte [ebp - 0x1e08], 0
jb 0x405cdd
mov edx, dword [ebp - 0x1e40]
push edx
call edi
add esp, 4
mov eax, esi
jmp 0x406543
push ebx
push 0xa80000
push ebx
push ebx
push ebx
lea eax, [ebp - 0x9d0]
push eax
push 0x4085bc
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
cmp esi, ebx
jne 0x405e1f
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov esi, dword [ebp - 0x1fdc]
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
test cl, cl
jne 0x405d28
sub eax, edx
mov edi, eax
cmp edi, 0xfffffffe
jbe 0x405d43
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 0x405d67
mov ecx, dword [esi + 0x10]
push ecx
push edi
push esi
call fcn.00403c70
cmp edi, ebx
jbe 0x405da1
mov ebx, 0x10
cmp dword [esi + 0x14], ebx
jb 0x405d7f
mov eax, dword [esi]
jmp 0x405d81
cmp edi, ebx
jne 0x405d57
mov dword [esi + 0x10], ebx
cmp eax, 0x10
jb 0x405d79
mov eax, dword [esi]
mov byte [eax], bl
jmp 0x405da1
mov eax, esi
mov byte [eax], bl
jmp 0x405da1
mov eax, esi
push edi
push 0
push eax
call sub.MSVCR100.dll_memcpy
add esp, 0xc
mov dword [esi + 0x10], edi
cmp dword [esi + 0x14], ebx
jb 0x405d99
mov eax, dword [esi]
jmp 0x405d9b
mov eax, esi
mov byte [edi + eax], 0
xor ebx, ebx
cmp dword [ebp - 0x1dd8], 0x10
mov edi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
jb 0x405dbc
mov edx, dword [ebp - 0x1dec]
push edx
call edi
add esp, 4
cmp dword [ebp - 0x1df4], 0x10
mov byte [ebp - 0x1dec], 0
mov dword [ebp - 0x1ddc], ebx
mov dword [ebp - 0x1dd8], 0xf
jb 0x405de8
mov eax, dword [ebp - 0x1e08]
push eax
call edi
add esp, 4
cmp dword [ebp - 0x1e2c], 0x10
mov dword [ebp - 0x1df4], 0xf
mov dword [ebp - 0x1df8], ebx
mov byte [ebp - 0x1e08], 0
jb 0x405cdd
mov ecx, dword [ebp - 0x1e40]
push ecx
call edi
add esp, 4
mov eax, esi
jmp 0x406543
push 0x3f
lea edx, [ebp - 0x4f]
push ebx
push edx
mov byte [ebp - 0x50], bl
call sub.MSVCR100.dll_memset
add esp, 0xc
mov ebx, 0x40b34c
lea ecx, [ebp - 0x1fd8]
call fcn.004010b0
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 [0x4085e4]
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]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405eb0
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 0x405f78
mov esi, dword [ebp - 0x1fdc]
xor ebx, ebx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405ef0
sub eax, edx
mov edi, eax
cmp edi, 0xfffffffe
jbe 0x405f0b
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 0x405f33
mov ecx, dword [esi + 0x10]
push ecx
push edi
push esi
call fcn.00403c70
cmp edi, ebx
jbe 0x405da1
mov ebx, 0x10
cmp dword [esi + 0x14], ebx
jb 0x405f4c
mov eax, dword [esi]
jmp 0x405f4e
cmp edi, ebx
jne 0x405f1f
mov dword [esi + 0x10], ebx
cmp eax, 0x10
jb 0x405d79
mov eax, dword [esi]
mov byte [eax], bl
jmp 0x405da1
mov eax, esi
push edi
push 0
push eax
call sub.MSVCR100.dll_memcpy
add esp, 0xc
mov dword [esi + 0x10], edi
cmp dword [esi + 0x14], ebx
jb 0x405f6d
mov eax, dword [esi]
mov byte [eax + edi], 0
jmp 0x405d9f
mov eax, esi
mov byte [eax + edi], 0
jmp 0x405d9f
lea eax, [ebp - 0x50]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405f80
push 0x20000000
sub eax, edx
push eax
lea edx, [ebp - 0x50]
push edx
push esi
call ebx
test eax, eax
jne 0x40602e
mov ecx, dword [ebp - 0x1fdc]
call fcn.00405180
mov esi, 0x10
cmp dword [ebp - 0x1dd8], esi
jb 0x405fc6
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 0x405ff8
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 0x406023
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 0x406543
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 0x100
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 [0x4085ec]
mov eax, dword [str.var_sso_uin_list]
mov edx, dword [0x4085f0]
mov dword [ebp - 0x1e1c], eax
mov eax, dword [0x4085f4]
mov dword [ebp - 0x1e18], ecx
mov cl, byte [0x4085f8]
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.00405180
lea eax, [ebp - 0x1e1c]
mov byte [ebp - 4], 5
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4060e2
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.00403690
push 1
lea ebx, [eax + esi + 9]
push 0x4085fc
lea eax, [ebp - 0x1e94]
push eax
mov eax, ebx
call fcn.00403690
sub eax, ebx
push eax
lea ecx, [ebp - 0x1e94]
push ecx
lea esi, [ebp - 0x1e78]
call fcn.00402820
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 ebx, 0x40b34c
lea ecx, [ebp - 0x1fd8]
call fcn.004010b0
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 0x40618e
mov eax, esi
mov esi, dword [sym.imp.MSVCR100.dll_strcat_s]
push eax
mov edi, 0x100
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]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x406242
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 edi, eax
test edi, edi
je 0x4062b8
push 0
push 0xa80000
push 0
push 0
push 0
lea edx, [ebp - 0x850]
push edx
push 0x4085bc
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
test esi, esi
jne 0x4062cc
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edi, dword [ebp - 0x1fdc]
xor eax, eax
mov ecx, edi
call fcn.00405180
jmp 0x40650a
lea eax, [ebp - 0x750]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4062d5
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
je 0x4062b8
lea eax, [ebp - 0x50]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406300
push 0x20000000
sub eax, edx
push eax
lea ecx, [ebp - 0x50]
push ecx
push esi
call ebx
test eax, eax
je 0x4062b8
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]
push edi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call edi
push esi
call edi
mov eax, dword [0x40862c]
mov edx, dword [str.clientkey]
mov cx, word [0x408630]
mov dword [ebp - 0x1e10], eax
mov eax, 0x3b
mov dword [ebp - 0x1e14], edx
mov dl, byte [0x408632]
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.00405180
lea eax, [ebp - 0x1e14]
mov byte [ebp - 4], 7
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4063d0
sub eax, ecx
push 0
lea ecx, [ebp - 0x1eb0]
push ecx
lea edx, [ebp - 0x1e14]
mov ebx, eax
call fcn.00406560
add ebx, eax
push ebx
lea edx, [ebp - 0x1eb0]
push edx
lea edx, [ebp - 0x1fe0]
call fcn.00406560
sub eax, ebx
push eax
lea eax, [ebp - 0x1eb0]
push eax
lea esi, [ebp - 0x1ecc]
call fcn.00402820
mov eax, str.Hello_QQ:
lea ecx, [ebp - 0x1e5c]
mov byte [ebp - 4], 8
call fcn.00405180
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.00403480
mov edx, edi
push edx
mov eax, str.Key:
call fcn.004027f0
push ebx
mov eax, esi
push eax
or eax, 0xffffffff
call fcn.00403480
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 0x4064e9
cmp dword [edi + 0x14], 0x10
jb 0x406491
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 0x4064bd
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 0x4064cb
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.00402790
lea esi, [ebp - 0x1ecc]
call fcn.00402790
lea esi, [ebp - 0x1eb0]
call fcn.00402790
lea esi, [ebp - 0x1e78]
call fcn.00402790
lea esi, [ebp - 0x1e94]
call fcn.00402790
lea esi, [ebp - 0x1dec]
call fcn.00402790
lea esi, [ebp - 0x1e08]
call fcn.00402790
lea esi, [ebp - 0x1e40]
call fcn.00402790
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.0040663a
mov esp, ebp
pop ebp
ret