Function at 0x45be20
Capabilities:
Get socket status
Receive data
Receive data on socket
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b6125
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x120c
call fcn.004a6330
mov eax, dword [0x629960]
xor eax, esp
mov dword [esp + 0x1208], eax
push ebx
push esi
push edi
mov eax, dword [0x629960]
xor eax, esp
push eax
lea eax, [esp + 0x1220]
mov dword fs:[0], eax
mov edi, ecx
push 0xfff
lea eax, [esp + 0x219]
mov dword [esp + 0x14], 0
push 0
push eax
mov byte [esp + 0x220], 0
call fcn.004a3440
mov eax, dword [edi + 0xc8]
add esp, 0xc
mov dword [esp + 0x110], eax
lea eax, [esp + 0x104]
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0xa
push eax
push 0
push 0
lea eax, [esp + 0x118]
mov dword [esp + 0x118], 1
push eax
push 0
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x45bf0e
push 0
push 0x1000
lea eax, [esp + 0x21c]
push eax
push dword [edi + 0xc8]
call dword [sym.imp.WS2_32.dll_recv]
push 0x1000
lea eax, [esp + 0x218]
push 0
push eax
call fcn.004a3440
add esp, 0xc
push 0
push 0x60e134
lea ecx, [esp + 0xf4]
mov dword [esp + 0x108], 0xf
mov dword [esp + 0x104], 0
mov byte [esp + 0xf4], 0
call fcn.00437370
mov dword [esp + 0x1228], 0
cmp dword [edi + 0x64], 0
jne 0x45bf80
push 9
push str._HTTP_1.1
lea ecx, [esp + 0x34]
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], 0
mov byte [esp + 0x34], 0
call fcn.00437370
lea esi, [esp + 0x2c]
mov ebx, 1
jmp 0x45bfc2
lea eax, [edi + 0x54]
mov edx, 0x60fcd8
push eax
lea ecx, [esp + 0x18]
call fcn.0043e9c0
mov dword [esp + 0x122c], 2
lea ecx, [esp + 0xa8]
push str._HTTP_1.1
mov edx, eax
mov dword [esp + 0x18], 2
call fcn.004407a0
add esp, 8
mov esi, eax
mov ebx, 6
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], 0
mov byte [esp + 0x44], 0
cmp dword [esi + 0x14], 0x10
mov dword [esp + 0x10], ebx
jae 0x45bff8
mov eax, dword [esi + 0x10]
inc eax
je 0x45c004
push eax
lea eax, [esp + 0x48]
push esi
push eax
call fcn.004a1700
add esp, 0xc
jmp 0x45c004
mov eax, dword [esi]
mov dword [esp + 0x44], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x58], eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
mov dword [esp + 0x1228], 4
lea ecx, [esp + 0xbc]
push 3
push 0x60fcec
mov dword [esp + 0xd8], 0xf
mov dword [esp + 0xd4], 0
mov byte [esp + 0xc4], 0
call fcn.00437370
push 0x60f2c4
lea edx, [esp + 0xc0]
mov byte [esp + 0x122c], 5
lea ecx, [esp + 0x90]
call fcn.004407a0
lea ecx, [edi + 0x3c]
mov byte [esp + 0x122c], 6
push ecx
mov edx, eax
lea ecx, [esp + 0x7c]
call fcn.0043eab0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1230], 7
push ecx
mov edx, eax
lea ecx, [esp + 0x68]
call fcn.00445c00
push 0x60fcb8
mov edx, eax
mov byte [esp + 0x1238], 8
lea ecx, [esp + 0xe4]
call fcn.004407a0
mov esi, eax
add esp, 0x10
lea eax, [esp + 0xec]
cmp eax, esi
je 0x45c168
cmp dword [esp + 0x100], 0x10
jb 0x45c0f6
push dword [esp + 0xec]
call fcn.0048c32c
add esp, 4
mov dword [esp + 0x100], 0xf
mov dword [esp + 0xfc], 0
mov byte [esp + 0xec], 0
cmp dword [esi + 0x14], 0x10
jae 0x45c134
mov eax, dword [esi + 0x10]
inc eax
je 0x45c143
push eax
lea eax, [esp + 0xf0]
push esi
push eax
call fcn.004a1700
add esp, 0xc
jmp 0x45c143
mov eax, dword [esi]
mov dword [esp + 0xec], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [esp + 0xfc], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x100], eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp dword [esp + 0xe8], 0x10
jb 0x45c181
push dword [esp + 0xd4]
call fcn.0048c32c
add esp, 4
cmp dword [esp + 0x70], 0x10
mov dword [esp + 0xe8], 0xf
mov dword [esp + 0xe4], 0
mov byte [esp + 0xd4], 0
jb 0x45c1b2
push dword [esp + 0x5c]
call fcn.0048c32c
add esp, 4
cmp dword [esp + 0x88], 0x10
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], 0
mov byte [esp + 0x5c], 0
jb 0x45c1dd
push dword [esp + 0x74]
call fcn.0048c32c
add esp, 4
cmp dword [esp + 0xa0], 0x10
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], 0
mov byte [esp + 0x74], 0
jb 0x45c211
push dword [esp + 0x8c]
call fcn.0048c32c
add esp, 4
cmp dword [esp + 0xd0], 0x10
mov dword [esp + 0xa0], 0xf
mov dword [esp + 0x9c], 0
mov byte [esp + 0x8c], 0
jb 0x45c248
push dword [esp + 0xbc]
call fcn.0048c32c
add esp, 4
cmp dword [esp + 0x58], 0x10
mov dword [esp + 0xd0], 0xf
mov dword [esp + 0xcc], 0
mov byte [esp + 0xbc], 0
jb 0x45c279
push dword [esp + 0x44]
call fcn.0048c32c
add esp, 4
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], 0
mov byte [esp + 0x44], 0
test bl, 4
je 0x45c2d1
and ebx, 0xfffffffb
cmp dword [esp + 0xb8], 0x10
mov dword [esp + 0x10], ebx
jb 0x45c2b3
push dword [esp + 0xa4]
call fcn.0048c32c
add esp, 4
mov dword [esp + 0xb8], 0xf
mov dword [esp + 0xb4], 0
mov byte [esp + 0xa4], 0
test bl, 2
je 0x45c305
and ebx, 0xfffffffd
cmp dword [esp + 0x28], 0x10
mov dword [esp + 0x10], ebx
jb 0x45c2f0
push dword [esp + 0x14]
call fcn.0048c32c
add esp, 4
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
mov dword [esp + 0x1228], 0
test bl, 1
je 0x45c32f
and ebx, 0xfffffffe
cmp dword [esp + 0x40], 0x10
mov dword [esp + 0x10], ebx
jb 0x45c32f
push dword [esp + 0x2c]
call fcn.0048c32c
add esp, 4
push 0xa
push str.Accept:_
lea ecx, [esp + 0x34]
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], 0
mov byte [esp + 0x34], 0
call fcn.00437370
push 0x60fce8
lea edx, [esp + 0x30]
mov byte [esp + 0x122c], 9
lea ecx, [esp + 0x18]
call fcn.004407a0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xf8]
mov byte [esp + 0x1234], 0xa
call fcn.004405f0
cmp dword [esp + 0x28], 0x10
jb 0x45c39d
push dword [esp + 0x14]
call fcn.0048c32c
add esp, 4
mov byte [esp + 0x1228], 0
cmp dword [esp + 0x40], 0x10
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
jb 0x45c3cd
push dword [esp + 0x2c]
call fcn.0048c32c
add esp, 4
push 0x16
push str.Accept_Language:_zh_cn
lea ecx, [esp + 0x34]
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], 0
mov byte [esp + 0x34], 0
call fcn.00437370
push 0x60fce8
lea edx, [esp + 0x30]
mov byte [esp + 0x122c], 0xb
lea ecx, [esp + 0x18]
call fcn.004407a0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xf8]
mov byte [esp + 0x1234], 0xc
call fcn.004405f0
cmp dword [esp + 0x28], 0x10
jb 0x45c43b
push dword [esp + 0x14]
call fcn.0048c32c
add esp, 4
mov byte [esp + 0x1228], 0
cmp dword [esp + 0x40], 0x10
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
jb 0x45c46b
push dword [esp + 0x2c]
call fcn.0048c32c
add esp, 4
push 0x6f
push str.User_Agent:_sess_Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.1__SV1__.NET_CLR_1.1.4322__.NET_CLR_2.0.50727_
lea ecx, [esp + 0x34]
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], 0
mov byte [esp + 0x34], 0
call fcn.00437370
push 0x60fce8
lea edx, [esp + 0x30]
mov byte [esp + 0x122c], 0xd
lea ecx, [esp + 0x18]
call fcn.004407a0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xf8]
mov byte [esp + 0x1234], 0xe
call fcn.004405f0
cmp dword [esp + 0x28], 0x10
jb 0x45c4d9
push dword [esp + 0x14]
call fcn.0048c32c
add esp, 4
mov byte [esp + 0x1228], 0
cmp dword [esp + 0x40], 0x10
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
jb 0x45c509
push dword [esp + 0x2c]
call fcn.0048c32c
add esp, 4
push 0x11
push str.Connection:_Close
lea ecx, [esp + 0x34]
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], 0
mov byte [esp + 0x34], 0
call fcn.00437370
push 0x60fce8
lea edx, [esp + 0x30]
mov byte [esp + 0x122c], 0xf
lea ecx, [esp + 0x18]
call fcn.004407a0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xf8]
mov byte [esp + 0x1234], 0x10
call fcn.004405f0
cmp dword [esp + 0x28], 0x10
jb 0x45c577
push dword [esp + 0x14]
call fcn.0048c32c
add esp, 4
mov byte [esp + 0x1228], 0
cmp dword [esp + 0x40], 0x10
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
jb 0x45c5a7
push dword [esp + 0x2c]
call fcn.0048c32c
add esp, 4
movzx eax, word [edi + 0x6c]
mov ecx, 0x50
cmp cx, ax
jne 0x45c5d7
lea eax, [edi + 0xc]
mov edx, str.Host:
push eax
lea ecx, [esp + 0xd8]
call fcn.0043e9c0
add esp, 4
mov esi, eax
or ebx, 8
jmp 0x45c65a
push ecx
mov edx, eax
lea ecx, [esp + 0x60]
call fcn.0044d4d0
mov esi, eax
lea ecx, [edi + 0xc]
mov dword [esp + 0x122c], 0x12
push ecx
or ebx, 0x10
lea ecx, [esp + 0x7c]
mov edx, str.Host:
mov dword [esp + 0x18], ebx
call fcn.0043e9c0
mov dword [esp + 0x1230], 0x13
lea ecx, [esp + 0x94]
or ebx, 0x20
mov edx, eax
push 0x60e2a4
mov dword [esp + 0x1c], ebx
call fcn.004407a0
mov dword [esp + 0x1234], 0x14
lea ecx, [esp + 0xb0]
or ebx, 0x40
mov edx, eax
push esi
mov dword [esp + 0x20], ebx
call fcn.00445c00
add esp, 0x10
mov esi, eax
or ebx, 0x80
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], 0
mov byte [esp + 0x44], 0
cmp dword [esi + 0x14], 0x10
mov dword [esp + 0x10], ebx
jae 0x45c690
mov eax, dword [esi + 0x10]
inc eax
je 0x45c69c
push eax
lea eax, [esp + 0x48]
push esi
push eax
call fcn.004a1700
add esp, 0xc
jmp 0x45c69c
mov eax, dword [esi]
mov dword [esp + 0x44], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x58], eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
push 0x60fda0
lea edx, [esp + 0x48]
mov dword [esp + 0x122c], 0x16
lea ecx, [esp + 0x18]
call fcn.004407a0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xf8]
mov byte [esp + 0x1234], 0x17
call fcn.004405f0
cmp dword [esp + 0x28], 0x10
jb 0x45c707
push dword [esp + 0x14]
call fcn.0048c32c
add esp, 4
cmp dword [esp + 0x58], 0x10
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
jb 0x45c72f
push dword [esp + 0x44]
call fcn.0048c32c
add esp, 4
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], 0
mov byte [esp + 0x44], 0
test bl, bl
jns 0x45c785
and ebx, 0xffffff7f
cmp dword [esp + 0xb8], 0x10
jb 0x45c767
push dword [esp + 0xa4]
call fcn.0048c32c
add esp, 4
mov dword [esp + 0xb8], 0xf
mov dword [esp + 0xb4], 0
mov byte [esp + 0xa4], 0
test bl, 0x40
je 0x45c7c4
and ebx, 0xffffffbf
cmp dword [esp + 0xa0], 0x10
jb 0x45c7a6
push dword [esp + 0x8c]
call fcn.0048c32c
add esp, 4
mov dword [esp + 0xa0], 0xf
mov dword [esp + 0x9c], 0
mov byte [esp + 0x8c], 0
test bl, 0x20
je 0x45c7fd
and ebx, 0xffffffdf
cmp dword [esp + 0x88], 0x10
jb 0x45c7e2
push dword [esp + 0x74]
call fcn.0048c32c
add esp, 4
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], 0
mov byte [esp + 0x74], 0
test bl, 0x10
je 0x45c82d
and ebx, 0xffffffef
cmp dword [esp + 0x70], 0x10
jb 0x45c818
push dword [esp + 0x5c]
call fcn.0048c32c
add esp, 4
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], 0
mov byte [esp + 0x5c], 0
test bl, 8
je 0x45c84b
cmp dword [esp + 0xe8], 0x10
jb 0x45c84b
push dword [esp + 0xd4]
call fcn.0048c32c
add esp, 4
lea ecx, [esp + 0x214]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45c855
push 0
sub ecx, edx
lea eax, [esp + 0x218]
push ecx
push eax
push dword [edi + 0xc8]
call dword [sym.imp.WS2_32.dll_send]
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esp + 0x100], 0x10
jb 0x45c899
push dword [esp + 0xec]
call fcn.0048c32c
add esp, 4
mov ecx, dword [esp + 0x1220]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1208]
xor ecx, esp
call fcn.004a16e5
mov esp, ebp
pop ebp
ret