Function at 0x40d5fd
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x44], esp
push 0
lea eax, [ebp - 4]
push eax
call dword [0x604f8c]
nop
nop
nop
nop
cmp dword [ebp - 0x44], esp
je 0x40d69e
push 6
call fcn.0044cbc1
add esp, 4
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.0044e050
add esp, 0x10
mov dword [ebp - 0x48], eax
push dword [ebp - 0x48]
push str.Agent
mov ecx, 2
call fcn.00401841
add esp, 8
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x40d6f5
push ebx
call fcn.0044cbbb
add esp, 4
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40d709
push ebx
call fcn.0044cbbb
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc4
call fcn.0044f790
add esp, 0x1c
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x40d780
mov dword [ebp - 0x44], esp
push 0
push 0
push 0
push 4
push dword [ebp - 8]
call dword [0x604f90]
nop
nop
nop
nop
cmp dword [ebp - 0x44], esp
je 0x40d778
push 6
call fcn.0044cbc1
add esp, 4
mov dword [ebp - 0xc], eax
jmp 0x40d7b9
mov dword [ebp - 0x44], esp
push 0
push 0
push 0
push 0
push dword [ebp - 8]
call dword [0x604f90]
nop
nop
nop
nop
cmp dword [ebp - 0x44], esp
je 0x40d7b6
push 6
call fcn.0044cbc1
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x40d7cd
mov eax, 0xffffffff
jmp 0x40dcbc
mov eax, str.Accept:___r_nAccept_Language:_zh_cn_r_nAccept_Encoding:_gzip__deflate_r_nUser_Agent:_Mozilla_4.0_compatible__MSIE_6.0__Windows_NT_5.0__MyIE2__.NET_CLR_1.1.4322_
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40d7e3
push ebx
call fcn.0044cbbb
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
cmp dword [ebp + 0x18], 0
mov eax, 0
sete al
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x40d867
push 0x80000301
push 0
push dword [ebp + 0x14]
push 1
mov ebx, 0x168
call fcn.0044e050
add esp, 0x10
mov dword [ebp - 0x44], eax
push 0x4777ea
push dword [ebp - 0x44]
push str._r_nRange:bytes
push dword [ebp - 0x10]
mov ecx, 4
call fcn.00401841
add esp, 0x10
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40d84f
push ebx
call fcn.0044cbbb
add esp, 4
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40d863
push ebx
call fcn.0044cbbb
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 0x80000301
push 0
push 0x2800
push 1
mov ebx, 0x1bc
call fcn.0044f7b0
add esp, 0x10
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40d89c
push ebx
call fcn.0044cbbb
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x40d8b3
mov eax, 0x477315
push eax
push 1
mov ebx, 0x130
call fcn.0044dec0
add esp, 0x10
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], esp
push 0
push 0x84000100
push dword [ebp - 0x44]
push dword [ebp - 0x10]
mov ebx, dword [ebp + 8]
push dword [ebx]
push dword [ebp - 0xc]
call dword [0x604f94]
nop
nop
nop
nop
cmp dword [ebp - 0x48], esp
je 0x40d900
push 6
call fcn.0044cbc1
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x40d917
mov eax, 0xffffffff
jmp 0x40dcbc
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 4
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
cmp dword [ebp + 0x18], 0
jne 0x40d97f
push 0
push 0
push 0
push 0x80000301
push 0
push 4
push reloc.WSOCK32.dll_connect
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x40d964
mov eax, 0x477315
push eax
push 3
mov ebx, 0x270
call fcn.0044da10
add esp, 0x28
mov dword [ebp - 0x2c], eax
jmp 0x40da54
push reloc.WSOCK32.dll_connect
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x40d994
mov eax, 0x477315
push eax
push 1
mov ebx, 0x24c
call fcn.0044f7e0
add esp, 0x10
test eax, eax
je 0x40d9f1
push 0
push 0
push 0
push 0x80000301
push 0
push 5
push reloc.WSOCK32.dll_connect
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x40d9d6
mov eax, 0x477315
push eax
push 3
mov ebx, 0x270
call fcn.0044da10
add esp, 0x28
mov dword [ebp - 0x2c], eax
jmp 0x40da2e
push 0
push 0
push 0
push 0x80000301
push 0
push 4
push reloc.WSOCK32.dll_connect
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x40da18
mov eax, 0x477315
push eax
push 3
mov ebx, 0x270
call fcn.0044da10
add esp, 0x28
mov dword [ebp - 0x2c], eax
push 0x80000301
push 0
push dword [ebp - 0x2c]
push 1
mov ebx, 0x290
call fcn.0044f7f0
add esp, 0x10
mov eax, dword [ebp + 0x14]
cdq
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x2c], 0
jne 0x40da68
mov eax, 0xffffffff
jmp 0x40dcbc
mov dword [ebp - 0x44], esp
mov eax, 0
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x20000005
push dword [ebp - 0x18]
call dword [0x604f98]
nop
nop
nop
nop
cmp dword [ebp - 0x44], esp
je 0x40daa3
push 6
call fcn.0044cbc1
add esp, 4
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x40dab7
mov dword [ebp - 0x1c], 0
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0xa
mov dword [ebp - 0x44], esp
lea eax, [ebp - 0x40]
push eax
push 0x2800
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x40daf0
add eax, 8
push eax
push dword [ebp - 0x18]
call dword [0x604f9c]
nop
nop
nop
nop
cmp dword [ebp - 0x44], esp
je 0x40db10
push 6
call fcn.0044cbc1
add esp, 4
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x40db43
push 0x80000301
push 0
push dword [ebp - 0x2c]
push 1
mov ebx, 0x278
call fcn.0044daf0
add esp, 0x10
mov eax, 0xffffffff
jmp 0x40dcbc
cmp dword [ebp - 0x40], 0
jne 0x40db4d
cmp dword [ebp - 0x3c], 0
jne 0x40db5d
jmp 0x40dc74
push 0x80000301
push 0
push dword [ebp - 0x40]
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x40db7a
mov eax, 0x47734a
push eax
push 2
mov ebx, 0x1a0
call fcn.0044f850
add esp, 0x1c
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40dba4
push ebx
call fcn.0044cbbb
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x40dbbb
mov eax, 0x47734a
push eax
push 0x80000301
push 0
push dword [ebp - 0x2c]
push 2
mov ebx, 0x298
call fcn.0044f880
add esp, 0x1c
fild qword [ebp - 0x28]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
fild qword [ebp - 0x40]
fstp qword [ebp - 0x50]
fadd qword [ebp - 0x50]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x58]
call fcn.00403690
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
fild dword [ebp - 0x30]
fstp qword [ebp - 0x50]
fsub qword [ebp - 0x50]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x58]
call fcn.00403690
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x40dc41
mov dword [ebp - 0x38], 0xa
mov dword [ebp - 0x44], esp
push dword [ebp + 0x1c]
push dword [ebp - 0x38]
push dword [ebp - 0x28]
push dword [ebp - 0x1c]
push dword [ebp + 0x10]
call dword [0x604fa0]
nop
nop
nop
nop
cmp dword [ebp - 0x44], esp
je 0x40dc6f
push 6
call fcn.0044cbc1
add esp, 4
jmp 0x40dada
push 0x80000301
push 0
push dword [ebp - 0x2c]
push 1
mov ebx, 0x278
call fcn.0044daf0
add esp, 0x10
mov dword [ebp - 0x44], esp
push dword [ebp - 0xc]
call dword [0x604fa4]
nop
nop
nop
nop
cmp dword [ebp - 0x44], esp
je 0x40dcb2
push 6
call fcn.0044cbc1
add esp, 4
mov eax, 0
jmp 0x40dcbc
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40dccd
push ebx
call fcn.0044cbbb
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40dcdd
push ebx
call fcn.0044cbbb
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40dced
push ebx
call fcn.0044cbbb
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x18