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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push 8
call fcn.0040f0ac
add esp, 4
mov dword [ebp - 4], eax
mov edi, eax
mov esi, 0x485c4d
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 8
call fcn.0040f0ac
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x485c4d
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 8
call fcn.0040f0ac
add esp, 4
mov dword [ebp - 0xc], eax
mov edi, eax
mov esi, 0x485c4d
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 8
call fcn.0040f0ac
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x485c4d
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
push str.g_f160cmd3feed1page1
push dword [0x574614]
push 0x485924
push dword [0x574610]
push str.http:__qqpet.wapsns.3g.qq.com_qqpet_fcgi_bin_phone_pet_sid
mov ecx, 5
call fcn.00401277
add esp, 0x14
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
push 1
mov eax, str.User_Agent:_Mozilla_5.0__iPhone__U__CPU_OS_4_2_1_like_Mac_OS_X__AppleWebKit_532.9__KHTML__like_Gecko__Version_5.0.3_Mobile_8B5097d_Safari_6531.22.7
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
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
lea eax, [ebp - 0x1c]
push eax
call fcn.00401921
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4074e7
push ebx
call fcn.0040f0b2
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4074f7
push ebx
call fcn.0040f0b2
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x407507
push ebx
call fcn.0040f0b2
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x407517
push ebx
call fcn.0040f0b2
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x407527
push ebx
call fcn.0040f0b2
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x407537
push ebx
call fcn.0040f0b2
add esp, 4
lea eax, [ebp - 0x34]
push eax
call fcn.00402dfe
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x407553
push ebx
call fcn.0040f0b2
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [0x57462c]
test ebx, ebx
je 0x40756a
push ebx
call fcn.0040f0b2
add esp, 4
pop eax
mov dword [0x57462c], eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
push 1
lea eax, [ebp - 4]
push eax
mov eax, str._n_____n_____n
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
mov eax, str.__P__n
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
push 0x57462c
call fcn.004045dd
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4075f2
push ebx
call fcn.0040f0b2
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x407602
push ebx
call fcn.0040f0b2
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x407612
push ebx
call fcn.0040f0b2
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x407622
push ebx
call fcn.0040f0b2
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
push 1
lea eax, [ebp - 8]
push eax
mov eax, str._br__
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
mov eax, str._n_____n_____n
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
push 0x57462c
call fcn.004045dd
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4076a4
push ebx
call fcn.0040f0b2
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4076b4
push ebx
call fcn.0040f0b2
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4076c4
push ebx
call fcn.0040f0b2
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4076d4
push ebx
call fcn.0040f0b2
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
push 1
lea eax, [ebp - 0xc]
push eax
mov eax, str._br__
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
mov eax, 0x54d5c1
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
push 0x57462c
call fcn.004045dd
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x407756
push ebx
call fcn.0040f0b2
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x407766
push ebx
call fcn.0040f0b2
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x407776
push ebx
call fcn.0040f0b2
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x407786
push ebx
call fcn.0040f0b2
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
push 1
lea eax, [ebp - 0x10]
push eax
mov eax, 0x54d5c7
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
mov eax, 0x54d5ce
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
push 0x57462c
call fcn.004045dd
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x407808
push ebx
call fcn.0040f0b2
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x407818
push ebx
call fcn.0040f0b2
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x407828
push ebx
call fcn.0040f0b2
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x407838
push ebx
call fcn.0040f0b2
add esp, 4
mov ebx, dword [ebp - 0x10]
call fcn.004045c4
xor ecx, ecx
push eax
lea eax, [ebp - 0x14]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x407a84
mov ebx, dword [ebp - 0x10]
call fcn.00403c66
push ebx
push ecx
mov eax, dword [ebp - 0x14]
dec eax
jns 0x407874
push 4
call fcn.0040f0ca
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x407887
push 1
call fcn.0040f0ca
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
mov ebx, 0xc
call fcn.00403c0d
push getpeername
push 0
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
test eax, eax
jne 0x4078ae
mov eax, 0x48590c
push eax
push 0
push 0
push 0
push 0x40004
push 0x160113d8
push 0x520113d7
push 7
mov eax, 3
mov ebx, 0x45cf30
call fcn.0040f0be
add esp, 0x58
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 4]
call fcn.00403c66
push ebx
push ecx
mov eax, dword [ebp - 0x14]
dec eax
jns 0x4078fb
push 4
call fcn.0040f0ca
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40790e
push 1
call fcn.0040f0ca
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
push getpeername
push 0
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
test eax, eax
jne 0x40792b
mov eax, 0x48590c
push eax
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp - 0x18]
push 0x40004
push 0x160113d8
push 0x520113d7
push 4
mov eax, 3
mov ebx, 0x45cf10
call fcn.0040f0be
add esp, 0x34
mov ebx, dword [ebp - 8]
call fcn.00403c66
push ebx
push ecx
mov eax, dword [ebp - 0x14]
dec eax
jns 0x407985
push 4
call fcn.0040f0ca
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x407998
push 1
call fcn.0040f0ca
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
push getpeername
push 0
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
test eax, eax
jne 0x4079b5
mov eax, 0x48590c
push eax
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push dword [ebp - 0x18]
push 0x40004
push 0x160113d8
push 0x520113d7
push 4
mov eax, 3
mov ebx, 0x45cf10
call fcn.0040f0be
add esp, 0x34
mov ebx, dword [ebp - 0xc]
call fcn.00403c66
push ebx
push ecx
mov eax, dword [ebp - 0x14]
dec eax
jns 0x407a0f
push 4
call fcn.0040f0ca
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x407a22
push 1
call fcn.0040f0ca
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
push getpeername
push 0
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
test eax, eax
jne 0x407a3f
mov eax, 0x48590c
push eax
push 0x80000301
push 0
push 3
push 0x80000301
push 0
push dword [ebp - 0x18]
push 0x40004
push 0x160113d8
push 0x520113d7
push 4
mov eax, 3
mov ebx, 0x45cf10
call fcn.0040f0be
add esp, 0x34
pop eax
pop ebx
pop ecx
jmp 0x407849
add esp, 0xc
mov ebx, dword [ebp - 4]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x407aa5
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x407aa1
imul eax, dword [ebx]
jmp 0x407a96
mov ecx, eax
test ecx, ecx
je 0x407ac4
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x407abd
push ebx
push eax
call fcn.0040f0b2
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x407aab
call fcn.0040f0b2
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x407aea
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x407ae6
imul eax, dword [ebx]
jmp 0x407adb
mov ecx, eax
test ecx, ecx
je 0x407b09
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x407b02
push ebx
push eax
call fcn.0040f0b2
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x407af0
call fcn.0040f0b2
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x407b2f
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x407b2b
imul eax, dword [ebx]
jmp 0x407b20
mov ecx, eax
test ecx, ecx
je 0x407b4e
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x407b47
push ebx
push eax
call fcn.0040f0b2
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x407b35
call fcn.0040f0b2
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x407b74
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x407b70
imul eax, dword [ebx]
jmp 0x407b65
mov ecx, eax
test ecx, ecx
je 0x407b93
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x407b8c
push ebx
push eax
call fcn.0040f0b2
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x407b7a
call fcn.0040f0b2
add esp, 4
mov esp, ebp
pop ebp
ret