Function at 0x4094bf
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 4], 0
push 8
call fcn.00409c9c
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x60001
push 0
push ebx
push 1
mov eax, 5
mov ebx, 0x4644b0
call fcn.00409c96
add esp, 0x10
push 8
call fcn.00409c9c
add esp, 4
mov dword [ebp - 0xc], eax
mov edi, eax
mov esi, 0x4a7659
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
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
push str.g_f0cmd3
push dword [0x4cd96c]
push str.petid
push dword [0x4cd968]
push str.http:__qqpet.wapsns.3g.qq.com_qqpet_fcgi_bin_phone_pet_sid
mov ecx, 5
call fcn.0040108a
add esp, 0x14
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
push 1
mov eax, str.User_Agent:_Mozilla_5.0__SymbianOS_9.4__Series60_5.0_NokiaN97_1_20.0.019__Profile_MIDP_2.1_Configuration_CLDC_1.1__AppleWebKit_525__KHTML__like_Gecko__BrowserNG_7.1.18124
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x54], 0
push 0
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00402245
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x409629
push ebx
call fcn.00409c90
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x409639
push ebx
call fcn.00409c90
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x409649
push ebx
call fcn.00409c90
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x409659
push ebx
call fcn.00409c90
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x409669
push ebx
call fcn.00409c90
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x409679
push ebx
call fcn.00409c90
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x409689
push ebx
call fcn.00409c90
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x409699
push ebx
call fcn.00409c90
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4096a9
push ebx
call fcn.00409c90
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4096b9
push ebx
call fcn.00409c90
add esp, 4
lea eax, [ebp - 0x58]
push eax
call fcn.004077c6
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x4096d5
push ebx
call fcn.00409c90
add esp, 4
mov eax, dword [ebp - 0x5c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4096e9
push ebx
call fcn.00409c90
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 1
mov eax, str.__wml_
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push 1
mov eax, 0x4a7a28
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00407174
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x409725
push ebx
call fcn.00409c90
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x409735
push ebx
call fcn.00409c90
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x409749
push ebx
call fcn.00409c90
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0
push 0
push 0
push getpeername
push 0
push str._p__n_.____.______.___br___n_n_a_href__.____
push 0x60001
push 0
push dword [ebp - 8]
push 3
mov eax, 5
mov ebx, 0x464510
call fcn.00409c96
add esp, 0x28
push getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x409793
mov eax, 0x4a7345
push eax
push 0x60001
push 0
push dword [ebp - 8]
push 2
mov eax, 5
mov ebx, 0x464920
call fcn.00409c96
add esp, 0x1c
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0xc]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4097da
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4097d6
imul eax, dword [ebx]
jmp 0x4097cb
mov ecx, eax
test ecx, ecx
je 0x409811
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push 0x60002
push 0
push ebx
push 1
mov eax, 5
mov ebx, 0x464830
call fcn.00409c96
add esp, 0x10
call fcn.00409c90
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4097e0
call fcn.00409c90
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 0xc]
call fcn.00403788
xor ecx, ecx
push eax
lea eax, [ebp - 0x10]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x409b1b
mov ebx, dword [ebp - 0xc]
call fcn.004037a1
push ebx
push ecx
mov eax, dword [ebp - 0x10]
dec eax
jns 0x409859
push 4
call fcn.00409ca8
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40986c
push 1
call fcn.00409ca8
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push 0
push 0
push 0
push 0x80000301
push 0
push 1
push getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x409899
mov eax, 0x4a7345
push eax
push 0x60002
push 0
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push 4
mov eax, 5
mov ebx, 0x464870
call fcn.00409c96
add esp, 0x34
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4098d4
push ebx
call fcn.00409c90
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0xc]
call fcn.004037a1
push ebx
push ecx
mov eax, dword [ebp - 0x10]
dec eax
jns 0x4098f5
push 4
call fcn.00409ca8
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x409908
push 1
call fcn.00409ca8
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push 0
push 0
push 0
push 0x80000301
push 0
push 2
push getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x409935
mov eax, 0x4a7345
push eax
push 0x60002
push 0
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push 4
mov eax, 5
mov ebx, 0x464870
call fcn.00409c96
add esp, 0x34
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x409970
push ebx
call fcn.00409c90
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0xc]
call fcn.004037a1
push ebx
push ecx
mov eax, dword [ebp - 0x10]
dec eax
jns 0x409991
push 4
call fcn.00409ca8
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4099a4
push 1
call fcn.00409ca8
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4099d1
mov eax, 0x4a7345
push eax
push 0x60002
push 0
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push 4
mov eax, 5
mov ebx, 0x464870
call fcn.00409c96
add esp, 0x34
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x409a0c
push ebx
call fcn.00409c90
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0xc]
call fcn.004037a1
push ebx
push ecx
mov eax, dword [ebp - 0x10]
dec eax
jns 0x409a2d
push 4
call fcn.00409ca8
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x409a40
push 1
call fcn.00409ca8
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push 0
push 0
push 0
push 0x80000301
push 0
push 4
push getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x409a6d
mov eax, 0x4a7345
push eax
push 0x60002
push 0
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push 4
mov eax, 5
mov ebx, 0x464870
call fcn.00409c96
add esp, 0x34
mov dword [ebp - 0x28], eax
push closesocket
push 0
push 1
mov ebx, 6
call fcn.00403780
push getpeername
push 0
push 0x4a7345
push getpeername
push 0
push str.amp_
push getpeername
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x409ad5
mov eax, 0x4a7345
push eax
push 6
mov ebx, 0x40a9c0
call fcn.00409ca2
add esp, 0x4c
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x409afb
push ebx
call fcn.00409c90
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x409b0f
push ebx
call fcn.00409c90
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
pop eax
pop ebx
pop ecx
jmp 0x40982e
add esp, 0xc
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x409b2e
push ebx
call fcn.00409c90
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
push 0x60001
push 0
push ebx
push 1
mov eax, 5
mov ebx, 0x4644f0
call fcn.00409c96
add esp, 0x10
call fcn.00409c90
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x409b74
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x409b70
imul eax, dword [ebx]
jmp 0x409b65
mov ecx, eax
test ecx, ecx
je 0x409bab
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push 0x60002
push 0
push ebx
push 1
mov eax, 5
mov ebx, 0x464830
call fcn.00409c96
add esp, 0x10
call fcn.00409c90
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x409b7a
call fcn.00409c90
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x409bc3
push ebx
call fcn.00409c90
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x409bd3
push ebx
call fcn.00409c90
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x409be3
push ebx
call fcn.00409c90
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x409bf3
push ebx
call fcn.00409c90
add esp, 4
mov esp, ebp
pop ebp
ret