Function at 0x405800
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Initialize winsock library
Make an http request with a cookie
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x42b12b
push eax
mov eax, 0xd8bc
mov dword fs:[0], esp
call fcn.0040fdb0
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0x404
call fcn.0042393a
mov eax, dword [eax + 0x1c]
push 0
push 0
push pe_nt_image_headers32
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 1
jne 0x405853
mov ecx, esi
call fcn.00404820
jmp 0x405f2e
mov eax, dword [0x437b20]
mov dword [esp + 0x10], eax
mov dword [esp + 0xd8d4], 0
mov dword [esp + 0x38], eax
mov byte [esp + 0xd8d4], 1
mov dword [esp + 0x18], eax
mov byte [esp + 0xd8d4], 2
mov dword [esp + 0x1c], eax
mov byte [esp + 0xd8d4], 3
mov dword [esp + 0x28], eax
mov byte [esp + 0xd8d4], 4
mov dword [esp + 0x20], eax
mov byte [esp + 0xd8d4], 5
mov dword [esp + 0x2c], eax
mov byte [esp + 0xd8d4], 6
mov dword [esp + 0x34], eax
mov byte [esp + 0xd8d4], 7
mov dword [esp + 0x24], eax
push 0x43e1e0
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd8d8], 8
call fcn.00420b08
mov eax, dword [0x437b20]
mov dword [esp + 0x14], eax
mov byte [esp + 0xd8d4], 9
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x14]
push str.GET__cqssc_haoma__HTTP_1.1_r_n
push ecx
mov byte [esp + 0xd8dc], 0xa
call fcn.0041e2b5
add esp, 8
lea ecx, [esp + 0x14]
push str.Accept:_image_gif__image_jpeg__image_pjpeg__image_pjpeg__application_x_shockwave_flash__application_xamlxml__application_x_ms_xbap__application_x_ms_application__application_vnd.ms_xpsdocument__application_vnd.ms_excel__application_vnd.ms_powerpoint__application_msword____r_n
call fcn.00420ce7
push str.Accept_Language:_zh_cn_r_n
lea ecx, [esp + 0x18]
call fcn.00420ce7
push str.Content_Type:_application_x_www_form_urlencoded_r_n
lea ecx, [esp + 0x18]
call fcn.00420ce7
push str.User_Agent:_Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.1__SV1__POTU_RR:28031409:0:5513822___Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.1__SV1____.NET_CLR_2.0.50727__CIBA__r_n
lea ecx, [esp + 0x18]
call fcn.00420ce7
push str.Host:_data.shishicai.cn_r_n
lea ecx, [esp + 0x18]
call fcn.00420ce7
push str.Connection:_Keep_Alive_r_n
lea ecx, [esp + 0x18]
call fcn.00420ce7
push str.Cache_Control:_no_cache_r_n
lea ecx, [esp + 0x18]
call fcn.00420ce7
push str.Cookie:
lea ecx, [esp + 0x18]
call fcn.00420ce7
push str._r_n_r_n
lea ecx, [esp + 0x18]
call fcn.00420ce7
lea edx, [esp + 0x64]
push edx
push 0x202
call dword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
jne 0x405e6e
push str.data.shishicai.cn
call dword [sym.imp.WSOCK32.dll_gethostbyname]
mov edi, eax
test edi, edi
je 0x405e6e
push 6
push 1
push 2
call dword [sym.imp.WSOCK32.dll_socket]
push 0x50
mov ebx, eax
mov word [esp + 0x58], 2
call dword [sym.imp.WSOCK32.dll_htons]
mov word [esp + 0x56], ax
mov eax, dword [edi + 0xc]
push 0x10
mov ecx, dword [eax]
lea eax, [esp + 0x58]
push eax
push ebx
mov edx, dword [ecx]
mov dword [esp + 0x64], edx
call dword [sym.imp.WSOCK32.dll_connect]
or edi, 0xffffffff
cmp eax, edi
je 0x405a16
mov ecx, dword [esp + 0x14]
push 0
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x18]
push eax
push 0
call fcn.00420d26
push eax
push ebx
call dword [sym.imp.WSOCK32.dll_send]
cmp eax, edi
jne 0x405ad3
push ebx
call dword [sym.imp.WSOCK32.dll_closesocket]
lea ecx, [esp + 0x30]
mov byte [esp + 0xd8d4], 9
call fcn.0042097f
lea ecx, [esp + 0x14]
mov byte [esp + 0xd8d4], 8
call fcn.0042097f
lea ecx, [esp + 0x24]
mov byte [esp + 0xd8d4], 7
call fcn.0042097f
lea ecx, [esp + 0x34]
mov byte [esp + 0xd8d4], 6
call fcn.0042097f
lea ecx, [esp + 0x2c]
mov byte [esp + 0xd8d4], 5
call fcn.0042097f
lea ecx, [esp + 0x20]
mov byte [esp + 0xd8d4], 4
call fcn.0042097f
lea ecx, [esp + 0x28]
mov byte [esp + 0xd8d4], 3
call fcn.0042097f
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd8d4], 2
call fcn.0042097f
lea ecx, [esp + 0x18]
mov byte [esp + 0xd8d4], 1
call fcn.0042097f
lea ecx, [esp + 0x38]
mov byte [esp + 0xd8d4], 0
call fcn.0042097f
mov dword [esp + 0xd8d4], edi
jmp 0x405f23
mov ebp, dword [sym.imp.WSOCK32.dll_recv]
mov ecx, 0x35b6
xor eax, eax
lea edi, [esp + 0x1f4]
rep stosd dword es:[edi], eax
push 0
lea edx, [esp + 0x1f8]
push 0xd6d8
push edx
push ebx
call ebp
mov edi, eax
test edi, edi
jle 0x405b0b
mov byte [esp + edi + 0x1f4], 0
jmp 0x405b13
mov byte [esp + 0x1f4], 0
lea eax, [esp + 0x1f4]
lea ecx, [esp + 0x14]
push eax
push 0x43742c
push ecx
call fcn.0041e2b5
add esp, 0xc
lea edx, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
call fcn.00420d0e
push str.__html_
lea ecx, [esp + 0x18]
call fcn.0041df2f
cmp eax, 0xffffffff
jne 0x405b52
test edi, edi
jg 0x405ae9
push ebx
call dword [sym.imp.WSOCK32.dll_closesocket]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
call fcn.00420ab8
push str.kkListNumber
lea ecx, [esp + 0x14]
call fcn.0041df2f
cmp eax, 0xffffffff
je 0x405e6e
mov eax, dword [0x437b20]
mov dword [esp + 0x3c], eax
mov byte [esp + 0xd8d4], 0xb
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x18]
mov bl, 0xc
push ecx
lea ecx, [esp + 0x14]
mov byte [esp + 0xd8d8], bl
call fcn.00420ab8
push 0x437754
lea ecx, [esp + 0x14]
mov dword [esi + 0x3ee8], 0
call fcn.0041df2f
cmp eax, 0xffffffff
je 0x405d84
lea ebp, [esi + 0x3edc]
mov edx, dword [esp + 0x10]
push 0x437754
lea ecx, [esp + 0x14]
mov edi, dword [edx - 8]
call fcn.0041df2f
sub edi, eax
lea eax, [esp + 0x4c]
sub edi, 5
lea ecx, [esp + 0x10]
push edi
push eax
call fcn.0041de3b
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xd8d8], 0xd
call fcn.00420ab8
lea ecx, [esp + 0x4c]
mov byte [esp + 0xd8d4], bl
call fcn.0042097f
push 0x437750
lea ecx, [esp + 0x14]
call fcn.0041df2f
lea ecx, [esp + 0x50]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.0041deb7
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0xd8d8], 0xe
call fcn.00420ab8
lea ecx, [esp + 0x50]
mov byte [esp + 0xd8d4], bl
call fcn.0042097f
push 0x43e1e0
push 0x43774c
lea ecx, [esp + 0x44]
call fcn.0041dcd8
mov edx, dword [esp + 0x10]
push 0x437748
lea ecx, [esp + 0x14]
mov edi, dword [edx - 8]
call fcn.0041df2f
sub edi, eax
lea eax, [esp + 0x44]
sub edi, 5
lea ecx, [esp + 0x10]
push edi
push eax
call fcn.0041de3b
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xd8d8], 0xf
call fcn.00420ab8
lea ecx, [esp + 0x44]
mov byte [esp + 0xd8d4], bl
call fcn.0042097f
push 0x22
lea ecx, [esp + 0x14]
call fcn.00420dbd
lea ecx, [esp + 0x48]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.0041deb7
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0xd8d8], 0x10
call fcn.00420ab8
lea ecx, [esp + 0x48]
mov byte [esp + 0xd8d4], bl
call fcn.0042097f
push 0x43e1e0
push 0x43740c
lea ecx, [esp + 0x48]
call fcn.0041dcd8
lea edx, [esp + 0x3c]
mov eax, dword [esi + 0x3ee8]
push edx
lea ecx, [esi + eax*8 + 0x5c]
call fcn.00420ab8
mov edx, dword [esi + 0x3ee8]
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esi + edx*8 + 0x60]
call fcn.00420ab8
mov edi, dword [esi + 0x3ee8]
mov eax, dword [ebp]
inc edi
mov dword [esi + 0x3ee8], edi
mov edx, dword [eax - 8]
test edx, edx
mov ecx, edi
jne 0x405d4e
cmp ecx, 2
jge 0x405d79
push eax
mov eax, dword [esp + 0x40]
push eax
call fcn.004106a3
add esp, 8
test eax, eax
je 0x405d84
push 0x437754
lea ecx, [esp + 0x14]
call fcn.0041df2f
cmp eax, 0xffffffff
jne 0x405bd1
jmp 0x405d84
add esi, 0x64
mov ecx, ebp
push esi
call fcn.00420ab8
lea ecx, [esp + 0x40]
mov byte [esp + 0xd8d4], 0xb
call fcn.0042097f
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd8d4], 0xa
call fcn.0042097f
lea ecx, [esp + 0x30]
mov byte [esp + 0xd8d4], 9
call fcn.0042097f
lea ecx, [esp + 0x14]
mov byte [esp + 0xd8d4], 8
call fcn.0042097f
lea ecx, [esp + 0x24]
mov byte [esp + 0xd8d4], 7
call fcn.0042097f
lea ecx, [esp + 0x34]
mov byte [esp + 0xd8d4], 6
call fcn.0042097f
lea ecx, [esp + 0x2c]
mov byte [esp + 0xd8d4], 5
call fcn.0042097f
lea ecx, [esp + 0x20]
mov byte [esp + 0xd8d4], 4
call fcn.0042097f
lea ecx, [esp + 0x28]
mov byte [esp + 0xd8d4], 3
call fcn.0042097f
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd8d4], 2
call fcn.0042097f
lea ecx, [esp + 0x18]
mov byte [esp + 0xd8d4], 1
call fcn.0042097f
lea ecx, [esp + 0x38]
mov byte [esp + 0xd8d4], 0
call fcn.0042097f
lea ecx, [esp + 0x10]
mov dword [esp + 0xd8d4], 0xffffffff
call fcn.0042097f
mov eax, 1
jmp 0x405f2e
lea ecx, [esp + 0x30]
mov byte [esp + 0xd8d4], 9
call fcn.0042097f
lea ecx, [esp + 0x14]
mov byte [esp + 0xd8d4], 8
call fcn.0042097f
lea ecx, [esp + 0x24]
mov byte [esp + 0xd8d4], 7
call fcn.0042097f
lea ecx, [esp + 0x34]
mov byte [esp + 0xd8d4], 6
call fcn.0042097f
lea ecx, [esp + 0x2c]
mov byte [esp + 0xd8d4], 5
call fcn.0042097f
lea ecx, [esp + 0x20]
mov byte [esp + 0xd8d4], 4
call fcn.0042097f
lea ecx, [esp + 0x28]
mov byte [esp + 0xd8d4], 3
call fcn.0042097f
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd8d4], 2
call fcn.0042097f
lea ecx, [esp + 0x18]
mov byte [esp + 0xd8d4], 1
call fcn.0042097f
lea ecx, [esp + 0x38]
mov byte [esp + 0xd8d4], 0
call fcn.0042097f
mov dword [esp + 0xd8d4], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.0042097f
xor eax, eax
mov ecx, dword [esp + 0xd8cc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xd8c8
ret