Function at 0x45ba60
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 0x5b4fe5
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x120c
call fcn.004a52e0
mov eax, dword [0x628960]
xor eax, esp
mov dword [esp + 0x1208], eax
push ebx
push esi
push edi
mov eax, dword [0x628960]
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.004a2440
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 0x45bb4e
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.004a2440
add esp, 0xc
push 0
push 0x60d1fc
lea ecx, [esp + 0xf4]
mov dword [esp + 0x108], 0xf
mov dword [esp + 0x104], 0
mov byte [esp + 0xf4], 0
call fcn.004373f0
mov dword [esp + 0x1228], 0
cmp dword [edi + 0x64], 0
jne 0x45bbc0
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.004373f0
lea esi, [esp + 0x2c]
mov ebx, 1
jmp 0x45bc02
lea eax, [edi + 0x54]
mov edx, 0x60eda0
push eax
lea ecx, [esp + 0x18]
call fcn.0043ec30
mov dword [esp + 0x122c], 2
lea ecx, [esp + 0xa8]
push str._HTTP_1.1
mov edx, eax
mov dword [esp + 0x18], 2
call fcn.00440b60
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 0x45bc38
mov eax, dword [esi + 0x10]
inc eax
je 0x45bc44
push eax
lea eax, [esp + 0x48]
push esi
push eax
call fcn.004a0690
add esp, 0xc
jmp 0x45bc44
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 0x60edb4
mov dword [esp + 0xd8], 0xf
mov dword [esp + 0xd4], 0
mov byte [esp + 0xc4], 0
call fcn.004373f0
push 0x60e38c
lea edx, [esp + 0xc0]
mov byte [esp + 0x122c], 5
lea ecx, [esp + 0x90]
call fcn.00440b60
lea ecx, [edi + 0x3c]
mov byte [esp + 0x122c], 6
push ecx
mov edx, eax
lea ecx, [esp + 0x7c]
call fcn.0043ed20
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1230], 7
push ecx
mov edx, eax
lea ecx, [esp + 0x68]
call fcn.00445c30
push 0x60ed80
mov edx, eax
mov byte [esp + 0x1238], 8
lea ecx, [esp + 0xe4]
call fcn.00440b60
mov esi, eax
add esp, 0x10
lea eax, [esp + 0xec]
cmp eax, esi
je 0x45bda8
cmp dword [esp + 0x100], 0x10
jb 0x45bd36
push dword [esp + 0xec]
call fcn.0048b2ba
add esp, 4
mov dword [esp + 0x100], 0xf
mov dword [esp + 0xfc], 0
mov byte [esp + 0xec], 0
cmp dword [esi + 0x14], 0x10
jae 0x45bd74
mov eax, dword [esi + 0x10]
inc eax
je 0x45bd83
push eax
lea eax, [esp + 0xf0]
push esi
push eax
call fcn.004a0690
add esp, 0xc
jmp 0x45bd83
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 0x45bdc1
push dword [esp + 0xd4]
call fcn.0048b2ba
add esp, 4
cmp dword [esp + 0x70], 0x10
mov dword [esp + 0xe8], 0xf
mov dword [esp + 0xe4], 0
mov byte [esp + 0xd4], 0
jb 0x45bdf2
push dword [esp + 0x5c]
call fcn.0048b2ba
add esp, 4
cmp dword [esp + 0x88], 0x10
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], 0
mov byte [esp + 0x5c], 0
jb 0x45be1d
push dword [esp + 0x74]
call fcn.0048b2ba
add esp, 4
cmp dword [esp + 0xa0], 0x10
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], 0
mov byte [esp + 0x74], 0
jb 0x45be51
push dword [esp + 0x8c]
call fcn.0048b2ba
add esp, 4
cmp dword [esp + 0xd0], 0x10
mov dword [esp + 0xa0], 0xf
mov dword [esp + 0x9c], 0
mov byte [esp + 0x8c], 0
jb 0x45be88
push dword [esp + 0xbc]
call fcn.0048b2ba
add esp, 4
cmp dword [esp + 0x58], 0x10
mov dword [esp + 0xd0], 0xf
mov dword [esp + 0xcc], 0
mov byte [esp + 0xbc], 0
jb 0x45beb9
push dword [esp + 0x44]
call fcn.0048b2ba
add esp, 4
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], 0
mov byte [esp + 0x44], 0
test bl, 4
je 0x45bf11
and ebx, 0xfffffffb
cmp dword [esp + 0xb8], 0x10
mov dword [esp + 0x10], ebx
jb 0x45bef3
push dword [esp + 0xa4]
call fcn.0048b2ba
add esp, 4
mov dword [esp + 0xb8], 0xf
mov dword [esp + 0xb4], 0
mov byte [esp + 0xa4], 0
test bl, 2
je 0x45bf45
and ebx, 0xfffffffd
cmp dword [esp + 0x28], 0x10
mov dword [esp + 0x10], ebx
jb 0x45bf30
push dword [esp + 0x14]
call fcn.0048b2ba
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 0x45bf6f
and ebx, 0xfffffffe
cmp dword [esp + 0x40], 0x10
mov dword [esp + 0x10], ebx
jb 0x45bf6f
push dword [esp + 0x2c]
call fcn.0048b2ba
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.004373f0
push 0x60edb0
lea edx, [esp + 0x30]
mov byte [esp + 0x122c], 9
lea ecx, [esp + 0x18]
call fcn.00440b60
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xf8]
mov byte [esp + 0x1234], 0xa
call fcn.004409b0
cmp dword [esp + 0x28], 0x10
jb 0x45bfdd
push dword [esp + 0x14]
call fcn.0048b2ba
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 0x45c00d
push dword [esp + 0x2c]
call fcn.0048b2ba
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.004373f0
push 0x60edb0
lea edx, [esp + 0x30]
mov byte [esp + 0x122c], 0xb
lea ecx, [esp + 0x18]
call fcn.00440b60
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xf8]
mov byte [esp + 0x1234], 0xc
call fcn.004409b0
cmp dword [esp + 0x28], 0x10
jb 0x45c07b
push dword [esp + 0x14]
call fcn.0048b2ba
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 0x45c0ab
push dword [esp + 0x2c]
call fcn.0048b2ba
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.004373f0
push 0x60edb0
lea edx, [esp + 0x30]
mov byte [esp + 0x122c], 0xd
lea ecx, [esp + 0x18]
call fcn.00440b60
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xf8]
mov byte [esp + 0x1234], 0xe
call fcn.004409b0
cmp dword [esp + 0x28], 0x10
jb 0x45c119
push dword [esp + 0x14]
call fcn.0048b2ba
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 0x45c149
push dword [esp + 0x2c]
call fcn.0048b2ba
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.004373f0
push 0x60edb0
lea edx, [esp + 0x30]
mov byte [esp + 0x122c], 0xf
lea ecx, [esp + 0x18]
call fcn.00440b60
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xf8]
mov byte [esp + 0x1234], 0x10
call fcn.004409b0
cmp dword [esp + 0x28], 0x10
jb 0x45c1b7
push dword [esp + 0x14]
call fcn.0048b2ba
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 0x45c1e7
push dword [esp + 0x2c]
call fcn.0048b2ba
add esp, 4
movzx eax, word [edi + 0x6c]
mov ecx, 0x50
cmp cx, ax
jne 0x45c217
lea eax, [edi + 0xc]
mov edx, str.Host:
push eax
lea ecx, [esp + 0xd8]
call fcn.0043ec30
add esp, 4
mov esi, eax
or ebx, 8
jmp 0x45c29a
push ecx
mov edx, eax
lea ecx, [esp + 0x60]
call fcn.0044d6c0
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.0043ec30
mov dword [esp + 0x1230], 0x13
lea ecx, [esp + 0x94]
or ebx, 0x20
mov edx, eax
push 0x60d36c
mov dword [esp + 0x1c], ebx
call fcn.00440b60
mov dword [esp + 0x1234], 0x14
lea ecx, [esp + 0xb0]
or ebx, 0x40
mov edx, eax
push esi
mov dword [esp + 0x20], ebx
call fcn.00445c30
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 0x45c2d0
mov eax, dword [esi + 0x10]
inc eax
je 0x45c2dc
push eax
lea eax, [esp + 0x48]
push esi
push eax
call fcn.004a0690
add esp, 0xc
jmp 0x45c2dc
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 0x60ee68
lea edx, [esp + 0x48]
mov dword [esp + 0x122c], 0x16
lea ecx, [esp + 0x18]
call fcn.00440b60
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xf8]
mov byte [esp + 0x1234], 0x17
call fcn.004409b0
cmp dword [esp + 0x28], 0x10
jb 0x45c347
push dword [esp + 0x14]
call fcn.0048b2ba
add esp, 4
cmp dword [esp + 0x58], 0x10
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
jb 0x45c36f
push dword [esp + 0x44]
call fcn.0048b2ba
add esp, 4
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], 0
mov byte [esp + 0x44], 0
test bl, bl
jns 0x45c3c5
and ebx, 0xffffff7f
cmp dword [esp + 0xb8], 0x10
jb 0x45c3a7
push dword [esp + 0xa4]
call fcn.0048b2ba
add esp, 4
mov dword [esp + 0xb8], 0xf
mov dword [esp + 0xb4], 0
mov byte [esp + 0xa4], 0
test bl, 0x40
je 0x45c404
and ebx, 0xffffffbf
cmp dword [esp + 0xa0], 0x10
jb 0x45c3e6
push dword [esp + 0x8c]
call fcn.0048b2ba
add esp, 4
mov dword [esp + 0xa0], 0xf
mov dword [esp + 0x9c], 0
mov byte [esp + 0x8c], 0
test bl, 0x20
je 0x45c43d
and ebx, 0xffffffdf
cmp dword [esp + 0x88], 0x10
jb 0x45c422
push dword [esp + 0x74]
call fcn.0048b2ba
add esp, 4
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], 0
mov byte [esp + 0x74], 0
test bl, 0x10
je 0x45c46d
and ebx, 0xffffffef
cmp dword [esp + 0x70], 0x10
jb 0x45c458
push dword [esp + 0x5c]
call fcn.0048b2ba
add esp, 4
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], 0
mov byte [esp + 0x5c], 0
test bl, 8
je 0x45c48b
cmp dword [esp + 0xe8], 0x10
jb 0x45c48b
push dword [esp + 0xd4]
call fcn.0048b2ba
add esp, 4
lea ecx, [esp + 0x214]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45c495
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 0x45c4d9
push dword [esp + 0xec]
call fcn.0048b2ba
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.004a0676
mov esp, ebp
pop ebp
ret