Function at 0x405270
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 0x406de2
push eax
mov eax, 0x209c
mov dword fs:[0], esp
call fcn.00406ad0
push ebx
push esi
push edi
xor ebx, ebx
push 0x38
lea eax, [ebp - 0x144]
push ebx
push eax
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x148], ebx
call sub.MSVCR100.dll_memset
push 0xff
lea ecx, [ebp - 0x627]
push ebx
push ecx
mov byte [ebp - 0x628], bl
call sub.MSVCR100.dll_memset
add esp, 0x18
mov ebx, 0x40a344
lea ecx, [ebp - 0x428]
call fcn.004010b0
lea edx, [ebp - 0x628]
push edx
mov ecx, 0xa0
mov edx, 0x40a1e8
lea eax, [ebp - 0x428]
call section..text
lea eax, [ebp - 0xca8]
lea ecx, [ebp - 0x10a8]
mov dword [ebp - 0x138], eax
lea eax, [ebp - 0x628]
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x148], 0x3c
mov dword [ebp - 0x134], 0x80
mov dword [ebp - 0x118], 0x100
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x405338
lea edx, [ebp - 0x148]
push edx
sub eax, ecx
xor ebx, ebx
push ebx
push eax
lea eax, [ebp - 0x628]
push eax
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 - 0x6c], 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 0x407604
push eax
mov dword [ebp - 0xb4], eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
push ebx
push ebx
push ebx
mov esi, eax
push ebx
push esi
mov dword [ebp - 0xb8], esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
push 0xfff
lea eax, [ebp - 0x20a7]
push ebx
push eax
mov dword [ebp - 0x68], 0x1000
mov byte [ebp - 0x20a8], bl
call sub.MSVCR100.dll_memset
add esp, 0xc
push ebx
lea ecx, [ebp - 0x68]
push ecx
lea edx, [ebp - 0x20a8]
push edx
push 0x16
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
lea eax, [ebp - 0x20a8]
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], ebx
mov byte [ebp - 0x88], bl
lea esi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x405410
sub eax, esi
mov edi, eax
lea eax, [ebp - 0x20a8]
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 - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
call fcn.00403aa0
mov byte [ebp - 4], 2
jmp 0x405476
xor ebx, ebx
cmp dword [ebp - 0x34], 0x10
mov eax, dword [ebp - 0x48]
jae 0x405482
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 0x4055d7
add esi, dword [ebp - 0x38]
push 1
push 0x407614
lea eax, [ebp - 0x88]
push eax
mov eax, esi
call fcn.004035d0
lea edi, [eax + 1]
mov ebx, esi
cmp edi, 0xffffffff
je 0x405599
mov ecx, edi
sub ecx, esi
push ecx
lea edx, [ebp - 0x88]
push edx
lea esi, [ebp - 0x64]
call fcn.00402710
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x54]
inc edi
or ebx, 0xffffffff
cmp eax, 0xffffffff
jae 0x4054ec
mov ebx, eax
mov ecx, dword [ebp - 0x18]
or eax, 0xffffffff
sub eax, ecx
cmp eax, ebx
jbe 0x405770
test ebx, ebx
je 0x405579
lea esi, [ecx + ebx]
cmp esi, 0xfffffffe
ja 0x405770
mov eax, dword [ebp - 0x14]
cmp eax, esi
jae 0x405520
push ecx
push esi
lea ecx, [ebp - 0x28]
push ecx
call fcn.00403bc0
jmp 0x405535
test esi, esi
jne 0x40553a
cmp eax, 0x10
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], esi
jae 0x405532
lea eax, [ebp - 0x28]
mov byte [eax], 0
mov ecx, dword [ebp - 0x18]
test esi, esi
setne al
test al, al
je 0x405579
cmp dword [ebp - 0x50], 0x10
mov edx, dword [ebp - 0x64]
jae 0x40554d
lea edx, [ebp - 0x64]
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x405559
lea eax, [ebp - 0x28]
push ebx
add eax, ecx
push edx
push eax
call sub.MSVCR100.dll_memcpy
mov eax, dword [ebp - 0x28]
add esp, 0xc
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x18], esi
jae 0x405575
lea eax, [ebp - 0x28]
mov byte [esi + eax], 0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x50], 0x10
jb 0x405474
mov edx, dword [ebp - 0x64]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
jmp 0x405474
push 0xffffffffffffffff
lea eax, [ebp - 0x88]
push eax
lea esi, [ebp - 0x64]
call fcn.00402710
push 0
mov ecx, esi
push ecx
or eax, 0xffffffff
lea edi, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.004033c0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x50], 0x10
jb 0x4055d5
mov edx, dword [ebp - 0x64]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ebx, ebx
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x4055e3
lea eax, [ebp - 0x28]
mov esi, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x8c], eax
lea esi, [ebp + esi - 0x20a8]
lea eax, [ebp - 0x20a8]
mov dword [ebp - 0x2c], esi
cmp esi, eax
je 0x405639
mov edi, dword [sym.imp.MSVCR100.dll_strstr]
push str.pt_local_token
push esi
call edi
add esp, 8
test eax, eax
jne 0x405626
dec esi
lea ecx, [ebp - 0x20a8]
cmp esi, ecx
jne 0x405607
mov dword [ebp - 0x2c], esi
jmp 0x405639
add esi, 0xf
push 0x407614
push esi
mov dword [ebp - 0x2c], esi
call edi
add esp, 8
mov byte [eax], bl
mov edx, dword [ebp - 0xb4]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edx
call edi
mov eax, dword [ebp - 0xb8]
push eax
call edi
push 0xff
lea ecx, [ebp - 0x527]
push ebx
push ecx
mov byte [ebp - 0x528], bl
call sub.MSVCR100.dll_memset
push 0x38
lea edx, [ebp - 0x180]
push ebx
push edx
mov dword [ebp - 0x184], ebx
call sub.MSVCR100.dll_memset
add esp, 0x18
mov ebx, 0x40a344
lea ecx, [ebp - 0x428]
call fcn.004010b0
lea eax, [ebp - 0x528]
push eax
mov ecx, 0x56
mov edx, 0x40a288
lea eax, [ebp - 0x428]
call section..text
push esi
mov esi, 0x100
lea ecx, [ebp - 0x528]
push esi
push ecx
call dword [sym.imp.MSVCR100.dll_strcat_s]
lea eax, [ebp - 0xc28]
mov dword [ebp - 0x158], eax
lea edx, [ebp - 0xda8]
lea eax, [ebp - 0x528]
add esp, 0xc
mov dword [ebp - 0x184], 0x3c
mov dword [ebp - 0x174], edx
mov dword [ebp - 0x170], esi
mov dword [ebp - 0x154], esi
lea ecx, [eax + 1]
jmp 0x405700
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x405700
sub eax, ecx
lea ecx, [ebp - 0x184]
push ecx
xor ebx, ebx
push ebx
push eax
lea edx, [ebp - 0x528]
push edx
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
mov ecx, dword [ebp - 0x6c]
push ebx
push ebx
push 3
push ebx
push ebx
push 0x10cd
lea eax, [ebp - 0xda8]
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edi, eax
cmp edi, ebx
jne 0x40583e
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]
jmp 0x405760
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405760
sub eax, edx
mov edi, eax
cmp edi, 0xfffffffe
jbe 0x40577b
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 0x40579f
mov edx, dword [esi + 0x10]
push edx
push edi
push esi
call fcn.00403bc0
cmp edi, ebx
jbe 0x4057d9
mov ebx, 0x10
cmp dword [esi + 0x14], ebx
jb 0x4057b7
mov eax, dword [esi]
jmp 0x4057b9
cmp edi, ebx
jne 0x40578f
mov dword [esi + 0x10], ebx
cmp eax, 0x10
jb 0x4057b1
mov eax, dword [esi]
mov byte [eax], bl
jmp 0x4057d9
mov eax, esi
mov byte [eax], bl
jmp 0x4057d9
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 0x4057d1
mov eax, dword [esi]
jmp 0x4057d3
mov eax, esi
mov byte [edi + eax], 0
xor ebx, ebx
cmp dword [ebp - 0x14], 0x10
mov edi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
jb 0x4057ee
mov eax, dword [ebp - 0x28]
push eax
call edi
add esp, 4
cmp dword [ebp - 0x34], 0x10
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], 0
jb 0x40580b
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], 0
jb 0x40582b
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 - 0xc28]
push eax
push 0x407604
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
cmp esi, ebx
jne 0x405962
push edi
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]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405880
sub eax, edx
mov edi, eax
cmp edi, 0xfffffffe
jbe 0x40589b
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 0x4058bf
mov ecx, dword [esi + 0x10]
push ecx
push edi
push esi
call fcn.00403bc0
cmp edi, ebx
jbe 0x4058f9
mov ebx, 0x10
cmp dword [esi + 0x14], ebx
jb 0x4058d7
mov eax, dword [esi]
jmp 0x4058d9
cmp edi, ebx
jne 0x4058af
mov dword [esi + 0x10], ebx
cmp eax, 0x10
jb 0x4058d1
mov eax, dword [esi]
mov byte [eax], bl
jmp 0x4058f9
mov eax, esi
mov byte [eax], bl
jmp 0x4058f9
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 0x4058f1
mov eax, dword [esi]
jmp 0x4058f3
mov eax, esi
mov byte [edi + eax], 0
xor ebx, ebx
cmp dword [ebp - 0x14], 0x10
mov edi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
jb 0x40590e
mov edx, dword [ebp - 0x28]
push edx
call edi
add esp, 4
cmp dword [ebp - 0x34], 0x10
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0xf
jb 0x40592b
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], 0
jb 0x40582b
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
push 0x3f
lea edx, [ebp - 0x1ff]
push ebx
push edx
mov byte [ebp - 0x200], bl
call sub.MSVCR100.dll_memset
add esp, 0xc
mov ebx, 0x40a344
lea ecx, [ebp - 0x428]
call fcn.004010b0
lea eax, [ebp - 0x200]
push eax
mov ecx, 0x2c
mov edx, 0x40a2e0
lea eax, [ebp - 0x428]
call section..text
mov ecx, dword [str.Cookie:]
mov edx, dword [0x40762c]
push 0x1f8
lea eax, [ebp - 0xa20]
push 0
push eax
mov dword [ebp - 0xa28], ecx
mov dword [ebp - 0xa24], edx
call sub.MSVCR100.dll_memset
mov ecx, dword [ebp - 0x8c]
push ecx
lea edx, [ebp - 0xa28]
push 0x200
push edx
call dword [sym.imp.MSVCR100.dll_strcat_s]
lea eax, [ebp - 0xa28]
add esp, 0x18
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4059f6
mov ebx, dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
push 0x20000000
sub eax, edx
push eax
lea eax, [ebp - 0xa28]
push eax
push esi
call ebx
test eax, eax
jne 0x405ab9
mov esi, dword [ebp + 8]
xor ebx, ebx
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 0x405a31
sub eax, edx
mov edi, eax
cmp edi, 0xfffffffe
jbe 0x405a4c
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 0x405a74
mov ecx, dword [esi + 0x10]
push ecx
push edi
push esi
call fcn.00403bc0
cmp edi, ebx
jbe 0x4058f9
mov ebx, 0x10
cmp dword [esi + 0x14], ebx
jb 0x405a8d
mov eax, dword [esi]
jmp 0x405a8f
cmp edi, ebx
jne 0x405a60
mov dword [esi + 0x10], ebx
cmp eax, 0x10
jb 0x4058d1
mov eax, dword [esi]
mov byte [eax], bl
jmp 0x4058f9
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 0x405aae
mov eax, dword [esi]
mov byte [eax + edi], 0
jmp 0x4058f7
mov eax, esi
mov byte [eax + edi], 0
jmp 0x4058f7
lea eax, [ebp - 0x200]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405ac2
push 0x20000000
sub eax, edx
push eax
lea edx, [ebp - 0x200]
push edx
push esi
call ebx
test eax, eax
jne 0x405b54
mov ecx, dword [ebp + 8]
call fcn.00404db0
mov esi, 0x10
cmp dword [ebp - 0x14], esi
jb 0x405afe
mov eax, dword [ebp - 0x28]
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 - 0x14], ebx
mov dword [ebp - 0x18], edi
mov byte [ebp - 0x28], 0
cmp dword [ebp - 0x34], esi
jb 0x405b21
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], edi
mov byte [ebp - 0x48], 0
cmp dword [ebp - 0x74], esi
jb 0x405b40
mov edx, dword [ebp - 0x88]
push edx
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 0
push 0
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
push 0xff
lea eax, [ebp - 0x727]
push 0
push eax
mov byte [ebp - 0x728], 0
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xb0]
push ecx
push 0x100
lea edx, [ebp - 0x728]
push edx
push esi
mov dword [ebp - 0xb0], 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 [0x407634]
mov eax, dword [str.var_sso_uin_list]
mov edx, dword [0x407638]
mov dword [ebp - 0x5c], eax
mov eax, dword [0x40763c]
mov dword [ebp - 0x58], ecx
mov cl, byte [0x407640]
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x4c], cl
lea eax, [ebp - 0x728]
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x54], edx
call fcn.00404db0
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 5
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x405bf6
push 0x10
sub eax, ecx
push str.var_sso_uin_list
lea edx, [ebp - 0xf0]
mov esi, eax
push edx
xor eax, eax
call fcn.004035d0
push 1
lea ebx, [eax + esi + 9]
push 0x407644
lea eax, [ebp - 0xf0]
push eax
mov eax, ebx
call fcn.004035d0
sub eax, ebx
push eax
lea ecx, [ebp - 0xf0]
push ecx
lea esi, [ebp - 0xd4]
call fcn.00402710
push 0xff
lea edx, [ebp - 0x31b]
push 0
mov byte [ebp - 4], 6
push edx
mov byte [ebp - 0x31c], 0
call sub.MSVCR100.dll_memset
add esp, 0xc
mov ebx, 0x40a344
lea ecx, [ebp - 0x428]
call fcn.004010b0
lea eax, [ebp - 0x31c]
push eax
mov ecx, 0x36
mov edx, 0x40a30c
lea eax, [ebp - 0x428]
call section..text
cmp dword [ebp - 0xc0], 0x10
mov eax, dword [ebp - 0xd4]
jae 0x405ca2
mov eax, esi
mov esi, dword [sym.imp.MSVCR100.dll_strcat_s]
push eax
mov edi, 0x100
lea ecx, [ebp - 0x31c]
push edi
push ecx
call esi
push str.callbackptui_getst_CBrpt_local_tk
lea edx, [ebp - 0x31c]
push edi
push edx
call esi
mov eax, dword [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x31c]
push edi
push ecx
call esi
push 0x38
lea edx, [ebp - 0x1bc]
push 0
push edx
call sub.MSVCR100.dll_memset
push 0xff
lea eax, [ebp - 0xb27]
push 0
push eax
mov byte [ebp - 0xb28], 0
call sub.MSVCR100.dll_memset
push 0xff
lea ecx, [ebp - 0x827]
push 0
push ecx
mov byte [ebp - 0x828], 0
call sub.MSVCR100.dll_memset
lea eax, [ebp - 0x828]
mov dword [ebp - 0x194], eax
lea edx, [ebp - 0xb28]
lea eax, [ebp - 0x31c]
add esp, 0x48
mov dword [ebp - 0x1c0], 0x3c
mov dword [ebp - 0x1b0], edx
mov dword [ebp - 0x1ac], edi
mov dword [ebp - 0x190], edi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x405d53
sub eax, ecx
lea ecx, [ebp - 0x1c0]
push ecx
push 0
push eax
lea edx, [ebp - 0x31c]
push edx
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
mov ecx, dword [ebp - 0x6c]
push 0
push 0
push 3
push 0
push 0
push 0x10cd
lea eax, [ebp - 0xb28]
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edi, eax
test edi, edi
je 0x405dc6
push 0
push 0xa80000
push 0
push 0
push 0
lea edx, [ebp - 0x828]
push edx
push 0x407604
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
test esi, esi
jne 0x405dd7
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, edi
call fcn.00404db0
jmp 0x406022
lea eax, [ebp - 0xa28]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405de0
mov ebx, dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
push 0x20000000
sub eax, edx
push eax
lea eax, [ebp - 0xa28]
push eax
push esi
call ebx
test eax, eax
je 0x405dc6
lea eax, [ebp - 0x200]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405e10
push 0x20000000
sub eax, edx
push eax
lea ecx, [ebp - 0x200]
push ecx
push esi
call ebx
test eax, eax
je 0x405dc6
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
push 0x1ff
lea edx, [ebp - 0xfa7]
push 0
push edx
mov byte [ebp - 0xfa8], 0
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0xfa8]
push ecx
push 0x16
push esi
mov dword [ebp - 0xac], 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 [0x407674]
mov edx, dword [str.clientkey]
mov cx, word [0x407678]
mov dword [ebp - 0x50], eax
mov eax, 0x3b
mov dword [ebp - 0x54], edx
mov dl, byte [0x40767a]
mov word [ebp - 0x4c], cx
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0xfa8]
lea ecx, [ebp - 0x10c]
mov byte [ebp - 0x4a], dl
call fcn.00404db0
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 7
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x405ed1
sub eax, ecx
push 0
lea ecx, [ebp - 0x10c]
push ecx
lea edx, [ebp - 0x54]
mov ebx, eax
call fcn.00406070
add ebx, eax
push ebx
lea edx, [ebp - 0x10c]
push edx
lea edx, [ebp - 0x2c]
call fcn.00406070
sub eax, ebx
push eax
lea eax, [ebp - 0x10c]
push eax
lea esi, [ebp - 0x21c]
call fcn.00402710
mov eax, str.Hello_QQ:
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 8
call fcn.00404db0
xor ebx, ebx
push ebx
lea ecx, [ebp - 0xd4]
push ecx
or eax, 0xffffffff
lea edi, [ebp - 0xa8]
mov byte [ebp - 4], 9
call fcn.004033c0
mov edx, edi
push edx
mov eax, str.Key:
call fcn.004026e0
push ebx
mov eax, esi
push eax
or eax, 0xffffffff
call fcn.004033c0
cmp dword [ebp - 0x94], 0x10
mov eax, dword [ebp - 0xa8]
jae 0x405f6e
mov eax, edi
push 1
push 0x4072c1
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edi, dword [ebp + 8]
mov esi, 0xf
lea ecx, [ebp - 0xa8]
mov dword [edi + 0x14], esi
mov dword [edi + 0x10], ebx
mov byte [edi], bl
cmp edi, ecx
je 0x406001
cmp dword [edi + 0x14], 0x10
jb 0x405fa9
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 - 0x94], 0x10
jae 0x405fd5
mov eax, dword [ebp - 0x98]
inc eax
push eax
lea ecx, [ebp - 0xa8]
push ecx
push edi
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
jmp 0x405fe3
mov edx, dword [ebp - 0xa8]
mov dword [edi], edx
mov dword [ebp - 0xa8], ebx
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x94]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], ebx
lea esi, [ebp - 0xa8]
call fcn.00402680
lea esi, [ebp - 0x21c]
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 - 0x28]
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